Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vlab show tech #300

Merged
merged 7 commits into from
Jan 23, 2025
Merged

Vlab show tech #300

merged 7 commits into from
Jan 23, 2025

Conversation

pau-hedgehog
Copy link
Contributor

@pau-hedgehog pau-hedgehog commented Jan 9, 2025

Gathers outputs from the different VMs/SWs in the VLAB to allow forensic analysis when a vlab up ends/fails

Fixes #335

@pau-hedgehog pau-hedgehog self-assigned this Jan 9, 2025
@pau-hedgehog pau-hedgehog force-pushed the vlab_show_tech branch 10 times, most recently from 602951f to b2b10d6 Compare January 16, 2025 19:34
@pau-hedgehog pau-hedgehog added ci-hw Run hardware CI job and removed ci-hw Run hardware CI job labels Jan 17, 2025
@pau-hedgehog pau-hedgehog added ci-hw Run hardware CI job and removed ci-hw Run hardware CI job labels Jan 18, 2025
@pau-hedgehog pau-hedgehog added ci-hw Run hardware CI job and removed ci-hw Run hardware CI job labels Jan 20, 2025
@pau-hedgehog pau-hedgehog removed the ci-hw Run hardware CI job label Jan 20, 2025
@pau-hedgehog pau-hedgehog marked this pull request as ready for review January 20, 2025 14:49
@pau-hedgehog pau-hedgehog force-pushed the vlab_show_tech branch 3 times, most recently from ad58c71 to 61c05ab Compare January 21, 2025 14:20
@Frostman
Copy link
Member

@pau-hedgehog looks like it's not collecting data when running the upgrade scenario

@pau-hedgehog
Copy link
Contributor Author

pau-hedgehog commented Jan 22, 2025

@pau-hedgehog looks like it's not collecting data when running the upgrade scenario

This is because the old version still does not have show-tech helper support:

      - name: Initial VLAB with old version
        env:
          HHFAB_REG_REPO: 127.0.0.1:30000
        run: |
          mkdir old
          curl -fsSL https://i.hhdev.io/hhfab | USE_SUDO=false INSTALL_DIR=./old VERSION="${{ matrix.fromversion }}" bash

          old/hhfab init -v --dev -m ${{ matrix.fabricmode }} --include-onie=true
          old/hhfab vlab gen -v
          old/hhfab vlab up -v --ready setup-vpcs --ready test-connectivity --ready exit ${{ matrix.fromflags }}

pau-hedgehog and others added 5 commits January 23, 2025 09:24
vlab show-tech executes a script on each control,
switch and server and stores the resulting files
locally to analyze it further for diagnostics

upload show-tech diagnostics in ci always for vlab
and hlab jobs

Signed-off-by: Pau Capdevila <[email protected]>
Signed-off-by: Sergei Lukianov <[email protected]>
Signed-off-by: Sergei Lukianov <[email protected]>
@Frostman Frostman merged commit dbfe142 into master Jan 23, 2025
28 checks passed
@Frostman Frostman deleted the vlab_show_tech branch January 23, 2025 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create hafb vlab helper to gather outputs and logs of the testbed
2 participants