[LU-15998] PCC: sanity-pcc/3b failed with copytool setup with multiple agents Created: 07/Jul/22  Updated: 06/Dec/22  Resolved: 06/Dec/22

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Bug Priority: Minor
Reporter: Qian Yingjin Assignee: Qian Yingjin
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

On both master and b_es6_0, sanity-pcc/3b failed with the following errors:

https://testing.whamcloud.com/test_sets/b0da45b1-0172-47de-b993-f334b5882134

Starting copytool 'agt2' on 'trevis-82vm3' with cmdline 'lhsmtool_posix --hsm-root=/tmp/arc1/sanity-pcc.test_3b/ --archive-format=v1 --daemon --pid-file=/var/run/lhsmtool_posix.pid --archive 2  "/mnt/lustre"'
CMD: trevis-82vm3 lhsmtool_posix --hsm-root=/tmp/arc1/sanity-pcc.test_3b/ --archive-format=v1 --daemon --pid-file=/var/run/lhsmtool_posix.pid --archive 2  "/mnt/lustre" < /dev/null > "/autotest/autotest-2/2022-07-07/lustre-reviews_custom_88325_1_101_9c7e9e43-202a-4c03-aeca-58a994a43ae9//sanity-pcc.test_3b.copytool2_log.trevis-82vm3.log" 2>&1
pdsh@trevis-82vm1: trevis-82vm3: ssh exited with exit code 254
 sanity-pcc test_3b: @@@@@@ FAIL: Failed to start copytool agt2 on 'trevis-82vm3' 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:6522:error()
  = /usr/lib64/lustre/tests/test-framework.sh:10526:copytool()
  = /usr/lib64/lustre/tests/sanity-pcc.sh:681:test_3b()
  = /usr/lib64/lustre/tests/test-framework.sh:6857:run_one()
  = /usr/lib64/lustre/tests/test-framework.sh:6904:run_one_logged()
  = /usr/lib64/lustre/tests/test-framework.sh:6745:run_test()
  = /usr/lib64/lustre/tests/sanity-pcc.sh:750:main() 

The reason is that we set the hsm-root wrong during copytool setup.



 Comments   
Comment by Gerrit Updater [ 08/Jul/22 ]

"Yingjin Qian <qian@ddn.com>" uploaded a new patch: https://review.whamcloud.com/47909
Subject: LU-15998 pcc: set hsm-root correctly during copytool setup
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 38991c57fc566bd6cddc01b491420c0b21150dfa

Comment by Gerrit Updater [ 06/Dec/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/47909/
Subject: LU-15998 pcc: set hsm-root correctly during copytool setup
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 030dd9e88ab9687aae7a7510147af1005930a2b1

Comment by Peter Jones [ 06/Dec/22 ]

Landed for 2.16

Generated at Sat Feb 10 03:23:05 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.