celo-org / celo-blockchain

Official repository for the golang Celo Blockchain
https://celo.org
GNU Lesser General Public License v3.0
554 stars 199 forks source link

Using debian:trixie as base image #2219

Open jcortejoso opened 7 months ago

jcortejoso commented 7 months ago

Description

Using new debian release codename trixie (testing debian release branch) to compare the affected CVEs using this base image compared to bookworm (stable release branch)

github-actions[bot] commented 7 months ago

Coverage from tests in ./e2e_test/... for ./consensus/istanbul/... at commit 77e75bed45a74fbae0f4770492d0188bea7e7890

coverage: 51.1% of statements across all listed packages
coverage:  63.2% of statements in consensus/istanbul
coverage:  43.4% of statements in consensus/istanbul/announce
coverage:  55.8% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  65.6% of statements in consensus/istanbul/core
coverage:  50.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.2% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random
github-actions[bot] commented 7 months ago

5869 passed, 12 failed, 45 skipped

Test failures:
  TestUnlockFlag: geth

    test_cmd.go:262: (stderr:10) INFO [01-19|17:25:39.846] Maximum peer count                       ETH=0 LES=0 total=0
    test_cmd.go:262: (stderr:10) INFO [01-19|17:25:39.848] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:10) INFO [01-19|17:25:39.848] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:10) INFO [01-19|17:25:39.848] Allocated trie memory caches             clean=9.00MiB dirty=16.00MiB
    test_cmd.go:262: (stderr:10) INFO [01-19|17:25:39.848] Allocated cache and file handles         database=/tmp/geth-test828651119/celo/chaindata cache=32.00MiB handles=524,288
    test_cmd.go:242: killing the child process (timeout)
    test_cmd.go:116: not enough output, got until ◊:
        ---------------- (stdout text)

        ---------------- (expected text)
        ◊Unlocking account f466859ead1932d743d622cb74fc058882e8648a | Attempt 1/3
        !! Unsupported terminal, password will be echoed.
        Password: 
        
  TestUnlockFlagWrongPassword: geth
    test_cmd.go:262: (stderr:11) INFO [01-19|17:26:07.506] Maximum peer count                       ETH=0 LES=0 total=0
    test_cmd.go:262: (stderr:11) INFO [01-19|17:26:07.508] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:11) INFO [01-19|17:26:07.508] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:11) INFO [01-19|17:26:07.508] Allocated trie memory caches             clean=9.00MiB dirty=16.00MiB
    test_cmd.go:262: (stderr:11) INFO [01-19|17:26:07.508] Allocated cache and file handles         database=/tmp/geth-test323638910/celo/chaindata cache=32.00MiB handles=524,288
    test_cmd.go:242: killing the child process (timeout)
    test_cmd.go:116: not enough output, got until ◊:
        ---------------- (stdout text)

        ---------------- (expected text)
        ◊Unlocking account f466859ead1932d743d622cb74fc058882e8648a | Attempt 1/3
        !! Unsupported terminal, password will be echoed.
        Password: 
        Unlocking account f466859ead1932d743d622cb74fc058882e8648a | Attempt 2/3
        Password: 
        Unlocking account f466859ead1932d743d622cb74fc058882e8648a | Attempt 3/3
        Password: 
        Fatal: Failed to unlock account f466859ead1932d743d622cb74fc058882e8648a (could not decrypt key with given password)
        
  TestUnlockFlagMultiIndex: geth
    test_cmd.go:262: (stderr:12) INFO [01-19|17:26:29.772] Maximum peer count                       ETH=0 LES=0 total=0
    test_cmd.go:262: (stderr:12) INFO [01-19|17:26:29.774] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:12) INFO [01-19|17:26:29.774] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:12) INFO [01-19|17:26:29.774] Allocated trie memory caches             clean=9.00MiB dirty=16.00MiB
    test_cmd.go:262: (stderr:12) INFO [01-19|17:26:29.774] Allocated cache and file handles         database=/tmp/geth-test3052565859/celo/chaindata cache=32.00MiB handles=524,288
    test_cmd.go:242: killing the child process (timeout)
    test_cmd.go:116: not enough output, got until ◊:
        ---------------- (stdout text)

        ---------------- (expected text)
        ◊Unlocking account 0 | Attempt 1/3
        !! Unsupported terminal, password will be echoed.
        Password: 
        Unlocking account 2 | Attempt 1/3
        Password: 
        
  TestUnlockFlagPasswordFile: geth
    test_cmd.go:262: (stderr:13) INFO [01-19|17:26:45.409] Maximum peer count                       ETH=0 LES=0 total=0
    test_cmd.go:262: (stderr:13) INFO [01-19|17:26:45.410] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:13) INFO [01-19|17:26:45.410] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:13) INFO [01-19|17:26:45.410] Allocated trie memory caches             clean=9.00MiB dirty=16.00MiB
    test_cmd.go:262: (stderr:13) INFO [01-19|17:26:45.410] Allocated cache and file handles         database=/tmp/geth-test2657698861/celo/chaindata cache=32.00MiB handles=524,288
    test_cmd.go:242: killing the child process (timeout)
    accountcmd_test.go:258: stderr text does not contain "Unlocked account"
    accountcmd_test.go:258: stderr text does not contain "=0x7EF5A6135f1FD6a02593eEdC869c6D41D934aef8"
    accountcmd_test.go:258: stderr text does not contain "=0x289d485D9771714CCe91D3393D764E1311907ACc"
  TestUnlockFlagPasswordFileWrongPassword: geth
    test_cmd.go:262: (stderr:14) INFO [01-19|17:27:04.085] Maximum peer count                       ETH=0 LES=0 total=0
    test_cmd.go:262: (stderr:14) INFO [01-19|17:27:04.086] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:14) INFO [01-19|17:27:04.086] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:14) INFO [01-19|17:27:04.086] Allocated trie memory caches             clean=9.00MiB dirty=16.00MiB
    test_cmd.go:262: (stderr:14) INFO [01-19|17:27:04.086] Allocated cache and file handles         database=/tmp/geth-test4126687029/celo/chaindata cache=32.00MiB handles=524,288
    test_cmd.go:242: killing the child process (timeout)
    test_cmd.go:116: not enough output, got until ◊:
        ---------------- (stdout text)

        ---------------- (expected text)
        ◊Fatal: Failed to unlock account 0 (could not decrypt key with given password)
        
  TestUnlockFlagAmbiguous: geth
    test_cmd.go:262: (stderr:15) INFO [01-19|17:27:30.900] Maximum peer count                       ETH=0 LES=0 total=0
    test_cmd.go:262: (stderr:15) INFO [01-19|17:27:30.902] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:15) INFO [01-19|17:27:30.902] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:15) INFO [01-19|17:27:30.902] Allocated trie memory caches             clean=9.00MiB dirty=16.00MiB
    test_cmd.go:262: (stderr:15) INFO [01-19|17:27:30.902] Allocated cache and file handles         database=/tmp/geth-test1464343939/celo/chaindata cache=32.00MiB handles=524,288
    test_cmd.go:242: killing the child process (timeout)
    test_cmd.go:116: not enough output, got until ◊:
        ---------------- (stdout text)

        ---------------- (expected text)
        ◊Unlocking account f466859ead1932d743d622cb74fc058882e8648a | Attempt 1/3
        !! Unsupported terminal, password will be echoed.
        Password: 
        Multiple key files exist for address f466859ead1932d743d622cb74fc058882e8648a:
           keystore:///runner/_work/celo-blockchain/celo-blockchain/accounts/keystore/testdata/dupes/1
           keystore:///runner/_work/celo-blockchain/celo-blockchain/accounts/keystore/testdata/dupes/2
        Testing your password against all of them...
        Your password unlocked keystore:///runner/_work/celo-blockchain/celo-blockchain/accounts/keystore/testdata/dupes/1
        In order to avoid this warning, you need to remove the following duplicate key files:
           keystore:///runner/_work/celo-blockchain/celo-blockchain/accounts/keystore/testdata/dupes/2
        
  TestUnlockFlagAmbiguousWrongPassword: geth
    test_cmd.go:262: (stderr:16) INFO [01-19|17:27:47.455] Maximum peer count                       ETH=0 LES=0 total=0
    test_cmd.go:262: (stderr:16) INFO [01-19|17:27:47.456] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:16) INFO [01-19|17:27:47.456] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:16) INFO [01-19|17:27:47.456] Allocated trie memory caches             clean=9.00MiB dirty=16.00MiB
    test_cmd.go:262: (stderr:16) INFO [01-19|17:27:47.456] Allocated cache and file handles         database=/tmp/geth-test3227440100/celo/chaindata cache=32.00MiB handles=524,288
    test_cmd.go:242: killing the child process (timeout)
    test_cmd.go:116: not enough output, got until ◊:
        ---------------- (stdout text)

        ---------------- (expected text)
        ◊Unlocking account f466859ead1932d743d622cb74fc058882e8648a | Attempt 1/3
        !! Unsupported terminal, password will be echoed.
        Password: 
        Multiple key files exist for address f466859ead1932d743d622cb74fc058882e8648a:
           keystore:///runner/_work/celo-blockchain/celo-blockchain/accounts/keystore/testdata/dupes/1
           keystore:///runner/_work/celo-blockchain/celo-blockchain/accounts/keystore/testdata/dupes/2
        Testing your password against all of them...
        Fatal: None of the listed files could be unlocked.
        
  TestConsoleWelcome: geth
    test_cmd.go:262: (stderr:17) INFO [01-19|17:28:06.873] Maximum peer count                       ETH=0 LES=0 total=0
    test_cmd.go:262: (stderr:17) INFO [01-19|17:28:06.874] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:17) INFO [01-19|17:28:06.874] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:17) INFO [01-19|17:28:06.874] Allocated trie memory caches             clean=9.00MiB dirty=16.00MiB
    test_cmd.go:262: (stderr:17) INFO [01-19|17:28:06.874] Allocated cache and file handles         database=/tmp/geth-test2051596481/celo/chaindata cache=32.00MiB handles=524,288
    test_cmd.go:242: killing the child process (timeout)
    test_cmd.go:116: not enough output, got until ◊:
        ---------------- (stdout text)

        ---------------- (expected text)
        ◊Welcome to the Celo JavaScript console!

        instance: celo/v1.8.0-unstable/linux-amd64/go1.19.13
        coinbase: 0x8605cdbbdb6d264aa742e77020dcbc58fcdce182
        at block: 0 (Wed Apr 22 2020 16:00:00 GMT+0000 (UTC))
         datadir: /tmp/geth-test2051596481
         modules: admin:1.0 debug:1.0 eth:1.0 istanbul:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0

        To exit, press ctrl-d or type exit
        > 
        
  TestAttachWelcome: geth
    test_cmd.go:262: (stderr:18) INFO [01-19|17:28:22.280] Maximum peer count                       ETH=0 LES=0 total=0
    test_cmd.go:262: (stderr:18) INFO [01-19|17:28:22.281] Set global gas inflation rate            rate=1.300
    test_cmd.go:262: (stderr:18) INFO [01-19|17:28:22.281] Set global gas cap                       cap=25,000,000
    test_cmd.go:262: (stderr:18) INFO [01-19|17:28:22.281] Allocated trie memory caches             clean=9.00MiB dirty=16.00MiB
    test_cmd.go:262: (stderr:18) INFO [01-19|17:28:22.281] Allocated cache and file handles         database=/tmp/geth-test114417949/celo/chaindata cache=32.00MiB handles=524,288
  TestAttachWelcome/ipc: geth
    run_test.go:122: endpoint /tmp/geth-test2594040151/geth.ipc did not open within 3s
  TestAttachWelcome/http: geth
    run_test.go:122: endpoint http://127.0.0.1:34643 did not open within 3s
  TestAttachWelcome/ws: geth
    run_test.go:122: endpoint ws://127.0.0.1:34644 did not open within 3s
This test report was produced by the test-summary action.  Made with ❤️ in Cambridge.
codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (346c5b3) 55.08% compared to head (8bc1700) 55.07%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2219 +/- ## ========================================== - Coverage 55.08% 55.07% -0.02% ========================================== Files 683 683 Lines 114533 114533 ========================================== - Hits 63095 63076 -19 - Misses 47555 47566 +11 - Partials 3883 3891 +8 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.