Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16457

sanity-pcc test_101a: Error: 'could not map uid 500 to root in namespace'

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.16.0
    • Lustre 2.15.1
    • None
    • 3
    • 9223372036854775807

    Description

      This issue was created by maloo for Minh Diep <mdiep@whamcloud.com>

      This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/b93b43b5-a8f2-4ae5-895a-e04966fbb5dd

      test_101a failed with the following error:

      could not map uid 500 to root in namespace
      

      == sanity-pcc test 101a: Test auto attach in mount namespace (simulated container) ========================================================== 17:56:00 (1672854960)
      CMD: trevis-48vm4 cat /proc/sys/user/max_user_namespaces
      CMD: trevis-48vm4 echo 10 > /proc/sys/user/max_user_namespaces
      creating user namespace for 500
      CMD: trevis-48vm4 runas -u 500 -g 500 unshare -Um sleep 600
      trevis-48vm4: running as uid/gid/euid/egid 500/500/500/500, groups:
      trevis-48vm4: [unshare] [-Um] [sleep] [600]
      CMD: trevis-48vm4 pgrep sleep
      pdsh@trevis-48vm3: trevis-48vm4: ssh exited with exit code 1
      Created NS: child (sleep) pid
      CMD: trevis-48vm4 runas -u 500 -g 500 newuidmap 0 500 1
      trevis-48vm4: running as uid/gid/euid/egid 500/500/500/500, groups:
      trevis-48vm4: [newuidmap] [0] [500] [1]
      trevis-48vm4: newuidmap: Could not open proc directory for target 0
      pdsh@trevis-48vm3: trevis-48vm4: ssh exited with exit code 1
      sanity-pcc test_101a: @@@@@@ FAIL: could not map uid 500 to root in namespace
      Trace dump:
      = /usr/lib64/lustre/tests/test-framework.sh:6406:error()
      = /usr/lib64/lustre/tests/sanity-pcc.sh:1523:test_101a()
      = /usr/lib64/lustre/tests/test-framework.sh:6723:run_one()
      = /usr/lib64/lustre/tests/test-framework.sh:6770:run_one_logged()
      = /usr/lib64/lustre/tests/test-framework.sh:6611:run_test()
      = /usr/lib64/lustre/tests/sanity-pcc.sh:1611:main()
      Dumping lctl log to /autotest/autotest-1/2023-01-04/lustre-b2_15_full-part-2_47_38_91d6a73b-aa04-4158-9b08-8e31c70d3c23//sanity-pcc.test_101a.*.1672854968.log
      CMD: trevis-48vm3.trevis.whamcloud.com,trevis-48vm4,trevis-48vm5,trevis-48vm6 /usr/sbin/lctl dk > /autotest/autotest-1/2023-01-04/lustre-b2_15_full-part-2_47_38_91d6a73b-aa04-4158-9b08-8e31c70d3c23//sanity-pcc.test_101a.debug_log.\$(hostname -s).1672854968.log;
      dmesg > /autotest/autotest-1/2023-01-04/lustre-b2_15_full-part-2_47_38_91d6a73b-aa04-4158-9b08-8e31c70d3c23//sanity-pcc.test_101a.dmesg.\$(hostname -s).1672854968.log
      CMD: trevis-48vm4 kill -9
      trevis-48vm4: kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
      pdsh@trevis-48vm3: trevis-48vm4: ssh exited with exit code 2

      Notice same test passed on 2.15.2.RC1 failed in RC2

      VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
      sanity-pcc test_101a - could not map uid 500 to root in namespace

      Attachments

        Issue Links

          Activity

            People

              sebastien Sebastien Buisson
              maloo Maloo
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: