-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update tests that failed due to the #1739 fix
* fix for 1739 * fixed failing tests * update failing test * update failing test * update failing test * Update failing test * Fix rubocop issue * Fix rubocop issues * update failing tests * update failing test * Update failing tests * Fix rubocop issues * Fix rubocop issues * Fix create alignment test * Fix change alignment tests * Fix ci failure * Fix rubocop failures * Fix rubocop errors * Fix rubocop errors * Update to KB 0.24.11 * Fix for ci failures
- Loading branch information
1 parent
bb75f21
commit 2c194a6
Showing
14 changed files
with
90 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,8 +58,8 @@ jobs: | |
- name: Start stack | ||
run: | | ||
cd docker | ||
docker-compose -p it -f ${{ matrix.docker-compose-file }} up --no-start | ||
docker start it_db_1 | ||
docker compose -p it -f ${{ matrix.docker-compose-file }} up --no-start | ||
docker start it-db-1 | ||
- name: Wait for MySQL | ||
if: ${{ matrix.docker-compose-file == 'docker-compose.ci.mysql.yml' }} | ||
run: | | ||
|
@@ -120,7 +120,7 @@ jobs: | |
run: | | ||
# Start all remaining containers | ||
cd docker | ||
docker-compose -p it -f ${{ matrix.docker-compose-file }} up -d | ||
docker compose -p it -f ${{ matrix.docker-compose-file }} up -d | ||
count=0 | ||
until $(curl --connect-timeout 10 --max-time 30 --output /dev/null --silent --fail http://${KB_ADDRESS}:${KB_PORT}/1.0/healthcheck); do | ||
if [[ "$count" == "180" ]]; then | ||
|
@@ -193,10 +193,14 @@ jobs: | |
./bin/retry bundle exec rake test:plugins:catalog-test TESTOPTS="--stop-on-failure" | ||
echo "::endgroup::" | ||
- name: Debugging after failure | ||
if: failure() | ||
run: | | ||
echo "::group::killbill healthcheck" | ||
curl --connect-timeout 10 --max-time 30 -v http://${KB_ADDRESS}:${KB_PORT}/1.0/healthcheck || true | ||
echo "::endgroup::" | ||
echo "::group::killbill nodesinfo" | ||
curl --connect-timeout 10 --max-time 30 -u admin:password -v http://${KB_ADDRESS}:${KB_PORT}/1.0/kb/nodesInfo || true | ||
echo "::endgroup::" | ||
echo "::group::hostname" | ||
hostname | ||
echo "::endgroup::" | ||
|
@@ -210,19 +214,20 @@ jobs: | |
docker ps -a | ||
echo "::endgroup::" | ||
echo "::group::killbill env" | ||
docker exec it_killbill_1 env || true | ||
docker exec it-killbill-1 env || true | ||
echo "::endgroup::" | ||
echo "::group::db env" | ||
docker exec it_db_1 env || true | ||
docker exec it-db-1 env || true | ||
echo "::endgroup::" | ||
echo "::group::killbill logs" | ||
(docker logs -t --details it_killbill_1 || true) | tee /var/tmp/killbill.txt | ||
(docker logs -t --details it-killbill-1 || true) | tee /var/tmp/killbill.txt | ||
echo "::endgroup::" | ||
echo "::group::db logs" | ||
docker logs -t --details it_db_1 || true | ||
docker logs -t --details it-db-1 || true | ||
echo "::endgroup::" | ||
- name: Upload logs | ||
uses: actions/[email protected] | ||
if: failure() | ||
with: | ||
name: killbill-${{ matrix.docker-compose-file }}.txt | ||
path: /var/tmp/killbill.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.