You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by GitBox <gi...@apache.org> on 2022/12/05 12:44:10 UTC

[GitHub] [buildstream] lbiaggi opened a new issue, #1797: Feature request build: Failure when SSL doesn't initialize correctly

lbiaggi opened a new issue, #1797:
URL: https://github.com/apache/buildstream/issues/1797

   I think buildstream should have an option to fail when are building some project, it would fail as in  `bst artifact push`. 
   
   Additionally, the following snippet report the cache initialized successfully, which is entirely wrong, it should report that something went wrong.
   
   ```
   [--:--:--][        ][    main:core activity                 ] START   Build
   [--:--:--][        ][    main:core activity                 ] START   Loading elements
   [00:00:00][        ][    main:core activity                 ] SUCCESS Loading elements
   [--:--:--][        ][    main:core activity                 ] START   Resolving elements
   [00:00:00][        ][    main:core activity                 ] SUCCESS Resolving elements
   [--:--:--][        ][    main:core activity                 ] START   Initializing remote caches
   E1205 12:33:27.451127941       1 ssl_transport_security.cc:556] Corruption detected.
   E1205 12:33:27.451195069       1 ssl_transport_security.cc:532] error:0A000412:SSL routines::sslv3 alert bad certificate
   E1205 12:33:27.451204156       1 secure_endpoint.cc:304]     Decryption error: TSI_DATA_CORRUPTED
   [--:--:--][        ][    main:core activity                 ] WARNING Failed to initialize remote https://myserver:11002: Remote initialisation failed with status UNAVAILABLE: failed to connect to all addresses; last error: UNAVAILABLE: ipv4:172.16.103.212:11002: Endpoint read failed
   [00:00:00][        ][    main:core activity                 ] SUCCESS Initializing remote caches
   [--:--:--][        ][    main:core activity                 ] START   Query cache
   [00:00:00][        ][    main:core activity                 ] SUCCESS Query cache
   
   BuildStream Version 1.95.3.dev0
       Session Start: Monday, 05-12-2022 at 12:33:27
       Project:       composition (/src)
       Targets:       base.bst, runtime-only.bst, hello.bst, libhello.bst, base/alpine.bst
   
   User Configuration
       Configuration File:      Default Configuration
       Cache Directory:         /root/.cache/buildstream
       Log Files:               /root/.cache/buildstream/logs
       Source Mirrors:          /root/.cache/buildstream/sources
       Build Area:              /root/.cache/buildstream/build
       Strict Build Plan:       Yes
       Maximum Fetch Tasks:     10
       Maximum Build Tasks:     4
       Maximum Push Tasks:      4
       Maximum Network Retries: 2
   
   Project: composition
   
       Element Plugins
           stack:   core plugin
           import:  core plugin
           compose: core plugin
           manual:  core plugin
   
       Source Plugins
           tar:   core plugin
           local: core plugin
   
       Artifact cache servers
         * https://myserver:11002
           push: True type: all instance: None
           loaded from: project.conf [line 16 column 6]
   
   Pipeline
         cached 2f643c2da05dd1f300aa1b5aa016a925a6fecfdb3c9ff947c66a97002496aac2 base/alpine.bst
         cached 82d7d3429a94cd01054753bbdc565d3f37069aacba51051764ec0f72129349f7 base.bst
         cached 0babd9cc5beb41704ffe9a110ed8b4ca69ff8241a630b46176052544c07a35b2 libhello.bst
         cached 6fb0f24a1fee36ba2f486fa0cd0cbedeb8f7a69df15908b9370aaa7799f8353d hello.bst
         cached c22b89ed1a1f72aac4ee28fe220f9efa2c2d4002a1b1c414e659cfb089435960 runtime-only.bst
   ===============================================================================
   [00:00:00][        ][    main:core activity                 ] SUCCESS Build
   
   Pipeline Summary
       Total:       5
       Session:     5
       Fetch Queue: processed 0, skipped 5, failed 0
       Build Queue: processed 0, skipped 5, failed 0
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [buildstream] juergbi commented on issue #1797: Feature request build: Failure when SSL doesn't initialize correctly

Posted by GitBox <gi...@apache.org>.
juergbi commented on issue #1797:
URL: https://github.com/apache/buildstream/issues/1797#issuecomment-1337293883

   A possible solution would be to support `remote-init` in the config section `fatal-warnings`, immediately aborting if a configured remote fails to initialize.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org