Uploaded image for project: 'CFEngine Community'
  1. CFEngine Community
  2. CFE-3202

sys.hardware and sys.mac_addresses changes broke on AIX 7

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12.4, 3.15.1, 3.16.0
    • Component/s: None
    • Labels:
      None

      Description

      Recent PR:

      https://github.com/cfengine/core/pull/3949

      was reverted because it caused test failures on AIX 7.

      Probably need to review the tests.

      https://ci.cfengine.com/job/testing-pr/5438/label=PACKAGES_ppc64_aix_71/

      Error Message
      FAIL (UNEXPECTED FAILURE) ./01_vars/03_lists/016.cf
      Stacktrace
      2019-11-20T17:04:19CST     info: Created directory "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__01_vars_03_lists_016_cf/tmp/TESTDIR.cfengine/."
      2019-11-20T17:04:19CST     info: Created file "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__01_vars_03_lists_016_cf/tmp/TEST.cfengine.actual", mode 0600
      2019-11-20T17:04:19CST     info: Edit file "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__01_vars_03_lists_016_cf/tmp/TEST.cfengine.actual"
      R: /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/./01_vars/03_lists/016.cf FAIL
      
      Error Message
      FAIL (UNEXPECTED FAILURE) ./02_classes/02_functions/iprange.cf
      Stacktrace
      2019-11-20T17:05:12CST     info: Created directory "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/."
      2019-11-20T17:05:12CST     info: Created file "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/template", mode 0600
      2019-11-20T17:05:12CST     info: Edit file "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/template"
      R: DEBUG file_make: creating /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/template with contents "{{%state}}"
      2019-11-20T17:05:12CST     info: Created file "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/actual", mode 0600
      2019-11-20T17:05:12CST     info: Edit file "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/actual"
      R: DEBUG file_make: creating /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/actual with contents ""
      2019-11-20T17:05:12CST     info: Updated rendering of "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/actual" from mustache template "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/template"
      2019-11-20T17:05:12CST     info: Edit file "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/actual"
      R: FILES DIFFER BUT SHOULD BE THE SAME
      R: CONTENTS OF /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/actual:
      {
        "found": [
          "just_locals",
          "local_range",
          "all_zeroes"
        ]
      }
      
      R: CONTENTS OF /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/./02_classes/02_functions/iprange.cf.expected.json:
      {
        "found": [
          "just_locals",
          "local_range2",
          "local_range",
          "all_zeroes_some_interfaces",
          "all_zeroes"
        ]
      }
      
      R: --- /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/./02_classes/02_functions/iprange.cf.expected.json	2019-11-19 17:10:47.000000000 -0600
      +++ /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__02_classes_02_functions_iprange_cf/tmp/TESTDIR.cfengine/actual	2019-11-20 17:05:12.000000000 -0600
      @@ -1,9 +1,7 @@
        {
          "found": [
            "just_locals",
      -     "local_range2",
            "local_range",
      -     "all_zeroes_some_interfaces",
            "all_zeroes"
          ]
        }
      R: /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/./02_classes/02_functions/iprange.cf FAIL
      
      Error Message
      FAIL (UNEXPECTED FAILURE) ./14_reports/00_output/002.cf
      Stacktrace
      2019-11-20T17:11:09CST     info: Created directory "/home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/workdir/__14_reports_00_output_002_cf/tmp/TESTDIR.cfengine/."
      R: R: $(sys.hardware_addresses)
      R: /home/jenkins/workspace/testing-pr/label/PACKAGES_ppc64_aix_71/cfengine-3.15.0a.5a1d0adfa/tests/acceptance/./14_reports/00_output/002.cf FAIL
      

        Attachments

          Activity

            People

            • Assignee:
              oleorhagen Ole Petter Orhagen
              Reporter:
              olehermanse Ole Herman Schumacher Elgesem
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel