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

sanity test 100: netstat: command not found on SLES15 SP1

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • None
    • None
    • None
    • SLES15 SP1 and SP2
    • 3
    • 9223372036854775807

    Description

      sanity test 100 failed as follows:

      == sanity test 100: check local port using privileged port =========================================== 00:34:34 (1580805274)
      /usr/lib64/lustre/tests/sanity.sh: line 8735: netstat: command not found
       sanity test_100: @@@@@@ FAIL: privileged port not found
      

      https://testing.whamcloud.com/test_sets/2ebe54e4-476a-11ea-b58e-52540065bddc

      The tools arp, route, netstat, iptunnel, ipmaddr, and ifconfig from the package net-tools are deprecated on SLES15 SP1.

      The package net-tools-deprecated contains the obsolete tools that can be replaced with ip subcommands as below:

      arp -> ip [r] neigh
      route -> ip route
      netstat -> ss [-r]
      iptunnel -> ip tunnel
      ipmaddr -> ip maddress
      ifconfig -> ip address

      Attachments

        Issue Links

          Activity

            [LU-13204] sanity test 100: netstat: command not found on SLES15 SP1
            simmonsja James A Simmons added a comment - Patch https://review.whamcloud.com/#/c/fs/lustre-release/+/50397 resolved this issue

            It turns out this is because SLES15 no longer installs "netstat" by default.

            adilger Andreas Dilger added a comment - It turns out this is because SLES15 no longer installs " netstat " by default.

            "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50676
            Subject: LU-13204 tests: replace netstat with ss tool
            Project: fs/lustre-release
            Branch: master
            Current Patch Set: 1
            Commit: e3bc4319b95b558c43c2b02aa02cbf10aceb21ec

            gerrit Gerrit Updater added a comment - "James Simmons <jsimmons@infradead.org>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/50676 Subject: LU-13204 tests: replace netstat with ss tool Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: e3bc4319b95b558c43c2b02aa02cbf10aceb21ec

            It looks like this is intermittently failing on other runs (14 times in the past week out of 62 runs on SLES 15.2).

            It looks like the trevis test runs are passing and onyx test runs are failing.

            adilger Andreas Dilger added a comment - It looks like this is intermittently failing on other runs (14 times in the past week out of 62 runs on SLES 15.2). It looks like the trevis test runs are passing and onyx test runs are failing.
            yujian Jian Yu added a comment -

            It's not a blocker, James. Only sanity test 100 is affected.

            yujian Jian Yu added a comment - It's not a blocker, James. Only sanity test 100 is affected.

            Is this the blocker to start testing SLES15?

            simmonsja James A Simmons added a comment - Is this the blocker to start testing SLES15?

            People

              yujian Jian Yu
              yujian Jian Yu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: