[LU-16183] sanity-hsm test_70: python: command not found Created: 31/Aug/22  Updated: 06/Dec/22  Resolved: 25/Oct/22

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

Type: Bug Priority: Minor
Reporter: Maloo Assignee: Minh Diep
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

This issue was created by maloo for sarah <sarah@whamcloud.com>

This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/749230b9-e2e3-4e51-a99e-0a1903206633

test_70 failed with the following error:

'Copytool sent malformed event: {event_time: 2022-08-28 03:23:01 +0000, event_type: REGISTER, archive: 0, mount_point: /mnt/lustre2, uuid: 09590127-4305-4c82-a53e-ddd1f6add07c}'

following error is seen in es6.1.1 testing

pdsh@onyx-209vm3: onyx-209vm4: ssh exited with exit code 1
copytools stopped in 1s
CMD: onyx-209vm4 cat /tmp/sanity-hsm.test_70.CpR1/events
/usr/lib64/lustre/tests/sanity-hsm.sh: line 437: python: command not found
 sanity-hsm test_70: @@@@@@ FAIL: Copytool sent malformed event: {"event_time": "2022-08-28 03:23:01 +0000", "event_type": "REGISTER", "archive": 0, "mount_point": "/mnt/lustre2", "uuid": "09590127-4305-4c82-a53e-ddd1f6add07c"} 
  Trace dump:

VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
sanity-hsm test_70 - 'Copytool sent malformed event:

{event_time: 2022-08-28 03:23:01 +0000, event_type: REGISTER, archive: 0, mount_point: /mnt/lustre2, uuid: 09590127-4305-4c82-a53e-ddd1f6add07c}

'



 Comments   
Comment by Minh Diep [ 01/Sep/22 ]

python not found because in el8.6 python is no longer exist, it has to be called explicitly with version (python2 or python3). this is lustre test script issue

Comment by Minh Diep [ 06/Sep/22 ]

yujian could you please advise?

Comment by Sarah Liu [ 13/Sep/22 ]

sles15sp3/sp4 also has the same issue
https://testing.whamcloud.com/test_sets/9b0bcf8e-1fc3-4ce2-a604-10df7e2fb8a2
https://testing.whamcloud.com/test_sessions/1af41796-15f0-46f3-8527-ae6a5d920770

Comment by Gerrit Updater [ 03/Oct/22 ]

"Minh Diep <mdiep@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/48737
Subject: LU-16183 test: sanity-hsm/70 should detect python
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f03220740cbc7fdac0f175b274fc74a3e705baab

Comment by Gerrit Updater [ 25/Oct/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/48737/
Subject: LU-16183 test: sanity-hsm/70 should detect python
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: c24a38b583cad8e3a92c1d74e8e56e80f07c67b5

Comment by Peter Jones [ 25/Oct/22 ]

Landed for 2.16

Comment by Gerrit Updater [ 25/Nov/22 ]

"Andreas Dilger <adilger@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/49247
Subject: LU-16183 test: sanity-hsm/70 should detect python
Project: fs/lustre-release
Branch: b2_15
Current Patch Set: 1
Commit: 86f48ad3393fe826bf884f55b345430ba09bfa64

Comment by Gerrit Updater [ 06/Dec/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/49247/
Subject: LU-16183 test: sanity-hsm/70 should detect python
Project: fs/lustre-release
Branch: b2_15
Current Patch Set:
Commit: ca01d54c684201a439840a02de0b3eb9dcdc5694

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