Uploaded image for project: 'RHEL Testing'
  1. RHEL Testing
  2. RHELTEST-87

kernel/general/memory/function/memory-failure warning on ppc64le

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • rhel-kernel-ft

      This issue was originally created at 2023-08-30T08:57:15.218Z as a Gitlab issue:
      https://gitlab.com/redhat/centos-stream/tests/kernel/kernel-tests/-/issues/1718

      1. Snippet of test failure
        kernel-4.18.0-512.el8.5255_976446247
        host: ibm-p8-kvm-07-guest-07.virt.pnr.lab.eng.rdu2.redhat.com

        ~~^ ~~~~~~~
        %lx
        mce-inject.c:293:19: warning: format ‘%Lx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__u64’

        Unknown macro: {aka ‘long unsigned int’}

        [-Wformat=]
        printf("ADDR 0x%Lx\n", m->addr);
        ~~^ ~~~~~~~
        %lx
        mce-inject.c:294:21: warning: format ‘%Lx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__u64’

        [-Wformat=]
        printf("STATUS 0x%Lx\n", m->status);
        ~~^ ~~~~~~~~~
        %lx
        mce-inject.c:295:24: warning: format ‘%Lx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘__u64’

        Unknown macro: {aka ‘long unsigned int’}

        [-Wformat=]
        printf("MCGSTATUS 0x%Lx\n", m->mcgstatus);
        ~~^ ~~~~~~~~~~~~
        %lx
        cc -Os -g -Wall -c -o mce.tab.o mce.tab.c
        cc -Os -g -Wall -c -o lex.yy.o lex.yy.c
        cc -Os -g -Wall -c -o util.o util.c
        cc -pthread mce-inject.o mce.tab.o lex.yy.o util.o -o mce-inject
        make[1]: Leaving directory '/mnt/tests/gerrit-git.engineering.redhat.com/kernel-tests-public.git/general/memory/function/memory-failure/mce-inject'
        make[1]: Entering directory '/mnt/tests/gerrit-git.engineering.redhat.com/kernel-tests-public.git/general/memory/function/memory-failure/mce-inject'
        install -d /usr/sbin
        install -m 755 mce-inject /usr/sbin/mce-inject
        install -d /usr/share/man/man8
        install -m 644 mce-inject.8 /usr/share/man/man8/mce-inject.8
        make[1]: Leaving directory '/mnt/tests/gerrit-git.engineering.redhat.com/kernel-tests-public.git/general/memory/function/memory-failure/mce-inject'
        /mnt/tests/gerrit-git.engineering.redhat.com/kernel-tests-public.git/general/memory/function/memory-failure
        Installing mcelog ...
        Updating Subscription Management repositories.
        Unable to read consumer identity

        This system is not registered with an entitlement server. You can use subscription-manager to register.

        Last metadata expiration check: 0:58:14 ago on Wed 23 Aug 2023 12:03:38 PM EDT.
        No match for argument: mcelog
        Error: Unable to find a match: mcelog
        :: [ 13:01:53 ] :: [ FATAL ] :: Test setup failed: no match for package mcelog
        :: [ 13:01:53 ] :: [ FAIL ] :: Test setup failed: no match for package mcelog (Assert: expected 0, got 1)
        ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
        :: Duration: 7s
        :: Assertions: 0 good, 1 bad
        :: RESULT: WARN (Setup)

          • Setup WARN Score:1
            Uploading resultoutputfile.log .done
      1. Test logs
        https://beaker.engineering.redhat.com/recipes/14469969#task165016676

      Please include a link to the test execution on DataWarehouse, e.g.
      https://datawarehouse.cki-project.org/kcidb/tests/1234567.

      1. DataWarehouse issue

      If the problem is already tracked on DataWarehouse, please include a link to
      the DataWarehouse issue, e.g.
      https://datawarehouse.cki-project.org/issue/12345.

      1. Additional details

      ppc64le don't require mcelog as it's a different test suit in ppc64le.So need to address in test case.

      **In case opening the links above result in a 404 page on DataWarehouse, please
      make sure you are [correctly logged into DataWarehouse via Red Hat SSO](
      https://cki-project.org/docs/user_docs/gitlab-mr-testing/faq/#datawarehouse-links-return-404).**

              chuhu@redhat.com Hu Chunyu
              chuhu@redhat.com Hu Chunyu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: