Uploaded image for project: 'CoreOS OCP'
  1. CoreOS OCP
  2. COS-2808

[coreos/coreos-installer] Image test failure on grep during "check_dest"

XMLWordPrintable

    • Upstream
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • 254 - Core Packages
    • 0
    • 0.000

      [2323889780] Upstream Reporter: Steven Presti
      Upstream issue status: Closed
      Upstream description:

      1. Bug #
        When submitting any PR to Coreos-installer we see failure on the image test check.
        1. Expected Behavior ##
          CI passes while checking

      ```shell
      check_dest()

      Unknown macro: { ! assert @applied-live-ign@ ! assert @applied-live-2-ign@ assert @applied-dest-ign@ assert @applied-dest-2-ign@ ! assert @preinst-1@ ! assert @preinst-2@ ! assert @postinst-1@ ! assert @postinst-2@ assert 'Adding "coreos-installer test certificate" to list of CAs' }

      ```

        1. Actual Behavior ##
          The * are the asserts which are reporting incorrectly inside the check_dest()
          ```
          [2024-05-28T17:57:22.885Z] 314: check_dest
          [2024-05-28T17:57:22.885Z] 182: assert @applied-live-ign@
          [2024-05-28T17:57:22.885Z] 148: grep -Fq @applied-live-ign@ log
          [2024-05-28T17:57:22.885Z] 151: echo 'Assertion failed: '''@applied-live-ign@''' not found in log'
          [2024-05-28T17:57:22.885Z] Assertion failed: '@applied-live-ign@' not found in log
          [2024-05-28T17:57:22.885Z] 183: assert @applied-live-2-ign@
          [2024-05-28T17:57:22.885Z] 148: grep -Fq @applied-live-2-ign@ log
          [2024-05-28T17:57:22.885Z] 151: echo 'Assertion failed: '''@applied-live-2-ign@''' not found in log'
          [2024-05-28T17:57:22.885Z] Assertion failed: '@applied-live-2-ign@' not found in log
          [2024-05-28T17:57:22.885Z] 184: assert @applied-dest-ign@
          [2024-05-28T17:57:22.885Z] 148: grep -Fq @applied-dest-ign@ log
          *[2024-05-28T17:57:22.885Z] 151: echo 'Assertion failed: '''@applied-dest-ign@''' not found in log'*
          [2024-05-28T17:57:22.885Z] Assertion failed: '@applied-dest-ign@' not found in log
          [2024-05-28T17:57:22.885Z] 185: assert @applied-dest-2-ign@
          [2024-05-28T17:57:22.885Z] 148: grep -Fq @applied-dest-2-ign@ log
          [2024-05-28T17:57:22.885Z] 149: echo 'Assertion passed: '''@applied-dest-2-ign@''' found in log'
          [2024-05-28T17:57:22.885Z] Assertion passed: '@applied-dest-2-ign@' found in log
          [2024-05-28T17:57:22.885Z] 186: assert @preinst-1@
          [2024-05-28T17:57:22.885Z] 148: grep -Fq @preinst-1@ log
          [2024-05-28T17:57:22.885Z] 151: echo 'Assertion failed: '''@preinst-1@''' not found in log'
          [2024-05-28T17:57:22.885Z] Assertion failed: '@preinst-1@' not found in log
          [2024-05-28T17:57:22.885Z] 187: assert @preinst-2@
          [2024-05-28T17:57:22.885Z] 148: grep -Fq @preinst-2@ log
          [2024-05-28T17:57:22.885Z] 151: echo 'Assertion failed: '''@preinst-2@''' not found in log'
          [2024-05-28T17:57:22.885Z] Assertion failed: '@preinst-2@' not found in log
          [2024-05-28T17:57:22.885Z] 188: assert @postinst-1@
          [2024-05-28T17:57:22.885Z] 148: grep -Fq @postinst-1@ log
          [2024-05-28T17:57:22.885Z] 151: echo 'Assertion failed: '''@postinst-1@''' not found in log'
          [2024-05-28T17:57:22.885Z] Assertion failed: '@postinst-1@' not found in log
          [2024-05-28T17:57:22.885Z] 189: assert @postinst-2@
          [2024-05-28T17:57:22.885Z] 148: grep -Fq @postinst-2@ log
          [2024-05-28T17:57:22.885Z] 151: echo 'Assertion failed: '''@postinst-2@''' not found in log'
          [2024-05-28T17:57:22.885Z] Assertion failed: '@postinst-2@' not found in log
          [2024-05-28T17:57:22.885Z] 190: assert 'Adding "coreos-installer test certificate" to list of CAs'
          [2024-05-28T17:57:22.885Z] 148: grep -Fq 'Adding "coreos-installer test certificate" to list of CAs' log
          [2024-05-28T17:57:22.885Z] 149: echo 'Assertion passed: '''Adding "coreos-installer test certificate" to list of CAs''' found in log'
          [2024-05-28T17:57:22.885Z] Assertion passed: 'Adding "coreos-installer test certificate" to list of CAs' found in log
          ```
        1. Reproduction Steps ##

      1. Create a PR with any content
      2. See failing CI.

        1. Other Information ##

      This issue seems to stem from something external.

              rh-ee-spresti Steven Presti
              upstream-sync Upstream Sync
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: