Skip to content

Commit d2820af

Browse files
test base
1 parent 8d30d4d commit d2820af

File tree

3 files changed

+40
-2
lines changed

3 files changed

+40
-2
lines changed

.github/workflows/end2end.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,19 @@ jobs:
490490
- name: Configure E2E CTST test environment
491491
run: bash configure-e2e-ctst.sh
492492
working-directory: ./.github/scripts/end2end
493+
- name: Dump setup state for PRIMARY instance (OLD)
494+
run: bash dump-setup-state.sh default end2end > /tmp/old-primary-dump.txt 2>&1
495+
working-directory: ./.github/scripts/end2end
496+
continue-on-error: true
497+
- name: Dump setup state for PRA instance (OLD)
498+
run: bash dump-setup-state.sh default end2end-pra > /tmp/old-pra-dump.txt 2>&1
499+
working-directory: ./.github/scripts/end2end
500+
continue-on-error: true
501+
- name: Show diagnostic dumps (OLD)
502+
run: |
503+
echo "=== PRIMARY INSTANCE DUMP ===" && cat /tmp/old-primary-dump.txt
504+
echo "=== PRA INSTANCE DUMP ===" && cat /tmp/old-pra-dump.txt
505+
continue-on-error: true
493506
- name: Run CTST end to end tests
494507
run: bash run-e2e-ctst.sh "" "" "" "" --tags @PRA
495508
working-directory: ./.github/scripts/end2end
@@ -662,6 +675,13 @@ jobs:
662675
- name: Configure E2E test environment
663676
run: bash configure-e2e-ctst.sh
664677
working-directory: ./.github/scripts/end2end
678+
- name: Dump setup state before tests (OLD)
679+
run: bash dump-setup-state.sh default end2end > /tmp/old-ctst-sharded-dump.txt 2>&1
680+
working-directory: ./.github/scripts/end2end
681+
continue-on-error: true
682+
- name: Show diagnostic dump (OLD)
683+
run: cat /tmp/old-ctst-sharded-dump.txt
684+
continue-on-error: true
665685
- name: Run CTST end to end tests
666686
run: bash run-e2e-ctst.sh "" "" "" "" --tags 'not @PRA'
667687
working-directory: ./.github/scripts/end2end

V2/.github/workflows/end2end.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,19 @@ jobs:
518518
- name: Configure hosts file
519519
run: bash configure-hosts.sh
520520
working-directory: ./.github/scripts/end2end
521+
- name: Dump setup state for PRIMARY instance
522+
run: bash dump-setup-state.sh default end2end > /tmp/v2-primary-dump.txt 2>&1
523+
working-directory: ./.github/scripts/end2end
524+
continue-on-error: true
525+
- name: Dump setup state for PRA instance
526+
run: bash dump-setup-state.sh default end2end-pra > /tmp/v2-pra-dump.txt 2>&1
527+
working-directory: ./.github/scripts/end2end
528+
continue-on-error: true
529+
- name: Show diagnostic dumps
530+
run: |
531+
echo "=== PRIMARY INSTANCE DUMP ===" && cat /tmp/v2-primary-dump.txt
532+
echo "=== PRA INSTANCE DUMP ===" && cat /tmp/v2-pra-dump.txt
533+
continue-on-error: true
521534
- name: Run CTST end to end tests
522535
env:
523536
E2E_CTST_IMAGE: ${{ env.E2E_CTST_IMAGE_NAME }}:${{ env.E2E_IMAGE_TAG }}
@@ -723,6 +736,13 @@ jobs:
723736
- name: Configure hosts file
724737
run: bash configure-hosts.sh
725738
working-directory: ./.github/scripts/end2end
739+
- name: Dump setup state before tests
740+
run: bash dump-setup-state.sh default end2end > /tmp/v2-ctst-sharded-dump.txt 2>&1
741+
working-directory: ./.github/scripts/end2end
742+
continue-on-error: true
743+
- name: Show diagnostic dump
744+
run: cat /tmp/v2-ctst-sharded-dump.txt
745+
continue-on-error: true
726746
- name: Run CTST end to end tests
727747
env:
728748
E2E_CTST_IMAGE: ${{ env.E2E_CTST_IMAGE_NAME }}:${{ env.E2E_IMAGE_TAG }}

tests/ctst/steps/diagnostics.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,3 @@ Given('DIAGNOSTIC: dump complete world state', function (this: Zenko) {
1414
this.logger.info(JSON.stringify(diagnosticData, null, 2));
1515
this.logger.info('='.repeat(80));
1616
});
17-
18-

0 commit comments

Comments
 (0)