fix: integration tests #510

Merged
decentral1se merged 1 commits from p4u1/abra:integration-fixes into main 2025-03-13 07:40:54 +00:00
Member

https://build.coopcloud.tech/toolshed/abra/2611/1/5

app_deploy_overview.bats

   can not redep... 83/299 in 497 sec ✗ can not redeploy chaos version without --chaos [7393]

   (from function `assert_failure' in file /usr/lib/bats/bats-assert/src/assert_failure.bash, line 66,

    in test file tests/integration/app_deploy_overview.bats, line 158)

     `assert_failure' failed

   

   -- command succeeded, but it was expected to fail --

   output (14 lines):

     ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓

     ┃                 UNCHAOS DEPLOY OVERVIEW                ┃

     ┃                                                        ┃

     ┃ DOMAIN                app_deploy_overview_bats.default ┃

     ┃ RECIPE                abra-test-recipe                 ┃

     ┃ SERVER                local                            ┃

     ┃ CONFIG                compose.yml                      ┃

     ┃                                                        ┃

     ┃ CURRENT DEPLOYMENT    96a5435d+U                       ┃

     ┃ ENV VERSION           96a5435d+U                       ┃

     ┃ NEW DEPLOYMENT        96a5435d                         ┃

     ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

     INFO updating app_deploy_overview_bats_default_app

     WARN skipping converge logic checks

   --

   hash deploy t... 86/299 in 522 sec ✗ hash deploy then force deploy [7097]

   (from function `assert_output' in file /usr/lib/bats/bats-assert/src/assert_output.bash, line 186,

    in test file tests/integration/app_deploy_overview.bats, line 252)

     `assert_output --partial 'CHAOS DEPLOY OVERVIEW'' failed

   

   -- output does not contain substring --

   substring (1 lines):

     CHAOS DEPLOY OVERVIEW

   output (14 lines):

     ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓

     ┃                    REDEPLOY OVERVIEW                   ┃

     ┃                                                        ┃

     ┃ DOMAIN                app_deploy_overview_bats.default ┃

     ┃ RECIPE                abra-test-recipe                 ┃

     ┃ SERVER                local                            ┃

     ┃ CONFIG                compose.yml                      ┃

     ┃                                                        ┃

     ┃ CURRENT DEPLOYMENT    96a5435d                         ┃

     ┃ ENV VERSION           96a5435d                         ┃

     ┃ NEW DEPLOYMENT        96a5435d                         ┃

     ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛

     INFO updating app_deploy_overview_bats_default_app

     WARN skipping converge logic checks

   --

   
app_rollbak.bats
   rollback chao...156/299 in 999 sec ✗ rollback chaos deployment is not possible [7267]

   tags: slow

   (from function `assert_output' in file /usr/lib/bats/bats-assert/src/assert_output.bash, line 186,

    in test file tests/integration/app_rollback.bats, line 167)

     `assert_output --partial "0.1.1+1.20.2"' failed

   

   -- output does not contain substring --

   substring : 0.1.1+1.20.2

   output    : FATA 'eae5fb5d' is not a known version for abra-test-recipe

   --

   

   Last output:

   Cloning into '/home/abra/.abra_test/recipes/abra-test-recipe'...

   chaos commit...157/299 in 1007 sec ✗ chaos commit rollback not possible [18349]

   tags: slow

   (from function `assert_success' in file /usr/lib/bats/bats-assert/src/assert_success.bash, line 42,

    from function `_deploy_app' in file tests/integration/helpers/app.bash, line 18,

    in test file tests/integration/app_rollback.bats, line 173)

     `_deploy_app' failed

   

   -- command failed --

   status : 1

   output : FATA 'eae5fb5d' is not supported (^[a-f0-9]{7,40}$)

   --

   

   Last output:

   Cloning into '/home/abra/.abra_test/recipes/abra-test-recipe'...

   no chaos ver...158/299 in 1025 sec ✗ no chaos version label if no chaos [18335]

   tags: slow

   (from function `assert_success' in file /usr/lib/bats/bats-assert/src/assert_success.bash, line 42,

    from function `_deploy_app' in file tests/integration/helpers/app.bash, line 18,

    in test file tests/integration/app_rollback.bats, line 184)

     `_deploy_app' failed

   

   -- command failed --

   status : 1

   output : FATA 'eae5fb5d' is not supported (^[a-f0-9]{7,40}$)

   --

   

   Last output:

   Cloning into '/home/abra/.abra_test/recipes/abra-test-recipe'...
https://build.coopcloud.tech/toolshed/abra/2611/1/5 ``` app_deploy_overview.bats can not redep... 83/299 in 497 sec ✗ can not redeploy chaos version without --chaos [7393] (from function `assert_failure' in file /usr/lib/bats/bats-assert/src/assert_failure.bash, line 66, in test file tests/integration/app_deploy_overview.bats, line 158) `assert_failure' failed -- command succeeded, but it was expected to fail -- output (14 lines): ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ UNCHAOS DEPLOY OVERVIEW ┃ ┃ ┃ ┃ DOMAIN app_deploy_overview_bats.default ┃ ┃ RECIPE abra-test-recipe ┃ ┃ SERVER local ┃ ┃ CONFIG compose.yml ┃ ┃ ┃ ┃ CURRENT DEPLOYMENT 96a5435d+U ┃ ┃ ENV VERSION 96a5435d+U ┃ ┃ NEW DEPLOYMENT 96a5435d ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ INFO updating app_deploy_overview_bats_default_app WARN skipping converge logic checks -- hash deploy t... 86/299 in 522 sec ✗ hash deploy then force deploy [7097] (from function `assert_output' in file /usr/lib/bats/bats-assert/src/assert_output.bash, line 186, in test file tests/integration/app_deploy_overview.bats, line 252) `assert_output --partial 'CHAOS DEPLOY OVERVIEW'' failed -- output does not contain substring -- substring (1 lines): CHAOS DEPLOY OVERVIEW output (14 lines): ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓ ┃ REDEPLOY OVERVIEW ┃ ┃ ┃ ┃ DOMAIN app_deploy_overview_bats.default ┃ ┃ RECIPE abra-test-recipe ┃ ┃ SERVER local ┃ ┃ CONFIG compose.yml ┃ ┃ ┃ ┃ CURRENT DEPLOYMENT 96a5435d ┃ ┃ ENV VERSION 96a5435d ┃ ┃ NEW DEPLOYMENT 96a5435d ┃ ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛ INFO updating app_deploy_overview_bats_default_app WARN skipping converge logic checks -- app_rollbak.bats rollback chao...156/299 in 999 sec ✗ rollback chaos deployment is not possible [7267] tags: slow (from function `assert_output' in file /usr/lib/bats/bats-assert/src/assert_output.bash, line 186, in test file tests/integration/app_rollback.bats, line 167) `assert_output --partial "0.1.1+1.20.2"' failed -- output does not contain substring -- substring : 0.1.1+1.20.2 output : FATA 'eae5fb5d' is not a known version for abra-test-recipe -- Last output: Cloning into '/home/abra/.abra_test/recipes/abra-test-recipe'... chaos commit...157/299 in 1007 sec ✗ chaos commit rollback not possible [18349] tags: slow (from function `assert_success' in file /usr/lib/bats/bats-assert/src/assert_success.bash, line 42, from function `_deploy_app' in file tests/integration/helpers/app.bash, line 18, in test file tests/integration/app_rollback.bats, line 173) `_deploy_app' failed -- command failed -- status : 1 output : FATA 'eae5fb5d' is not supported (^[a-f0-9]{7,40}$) -- Last output: Cloning into '/home/abra/.abra_test/recipes/abra-test-recipe'... no chaos ver...158/299 in 1025 sec ✗ no chaos version label if no chaos [18335] tags: slow (from function `assert_success' in file /usr/lib/bats/bats-assert/src/assert_success.bash, line 42, from function `_deploy_app' in file tests/integration/helpers/app.bash, line 18, in test file tests/integration/app_rollback.bats, line 184) `_deploy_app' failed -- command failed -- status : 1 output : FATA 'eae5fb5d' is not supported (^[a-f0-9]{7,40}$) -- Last output: Cloning into '/home/abra/.abra_test/recipes/abra-test-recipe'... ```
p4u1 added 1 commit 2025-03-13 07:31:14 +00:00
fix: integration tests
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
0a371ec360
Author
Member

@decentral1se fixed the failured from nightly tests

@decentral1se fixed the failured from nightly tests
decentral1se merged commit 0a371ec360 into main 2025-03-13 07:40:54 +00:00
Sign in to join this conversation.
No description provided.