[LU-12474] racer can't be found on Ubuntu 18.04 Created: 06/Mar/19 Updated: 25/Feb/20 Resolved: 10/Jul/19 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.13.0, Lustre 2.12.4 |
| Fix Version/s: | Lustre 2.13.0, Lustre 2.12.5 |
| Type: | Bug | Priority: | Major |
| Reporter: | James Nunez (Inactive) | Assignee: | Oleg Drokin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | rhel8, ubuntu | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
For Ubuntu 18.04, racer test suite is skipped due to not being able to find the executable. Looking at the skipped test suite suite_log at https://testing.whamcloud.com/test_sets/9b4f1cec-272c-11e9-a318-52540065bddc , PATH=/usr/lib64/lustre/tests:/usr/lib/lustre/tests:/usr/lib64/lustre/tests:/opt/iozone/bin:/opt/iozone/bin:/usr/lib64/lustre/tests/mpi:/usr/lib64/lustre/tests/racer:/usr/lib64/lustre/../lustre-iokit/sgpdd-survey:/usr/lib64/lustre/tests:/usr/lib64/lustre/utils/gss:/usr/lib64/lustre/utils:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/sbin:/sbin::/sbin:/bin:/usr/sbin: NAME=autotest_config bash rpc.sh _check_progs_installed /usr/lib64/lustre/tests/racer/racer.sh trevis-5vm9: trevis-5vm9.trevis.whamcloud.com: executing _check_progs_installed /usr/lib64/lustre/tests/racer/racer.sh trevis-5vm10: trevis-5vm10.trevis.whamcloud.com: executing _check_progs_installed /usr/lib64/lustre/tests/racer/racer.sh trevis-5vm10: /usr/lib64/lustre/tests/test-framework.sh: line 2620: /usr/lib64/lustre/tests/racer/racer.sh: bad substitution trevis-5vm9: /usr/lib64/lustre/tests/test-framework.sh: line 2620: /usr/lib64/lustre/tests/racer/racer.sh: bad substitution SKIP: racer /usr/lib64/lustre/tests/racer/racer.sh not found |
| Comments |
| Comment by Oleg Drokin [ 25/Jun/19 ] |
|
This seems to be a generic problem in newer distros of the arcane indirect variable feature in bash: {!blah}In the end I suspect the use of check_progs_installed() in racer.sh is in error as it was never fully designed to be used with full pathnames? added by 3a84f1d934e471f2ca6fb4c68a0e674651adf73e in Instead since we always have the full pathname, we should just at most check the path is valid? even more, the test seems to be superfluous since we check for racer/racer.sh from racer.sh... |
| Comment by Gerrit Updater [ 26/Jun/19 ] |
|
Oleg Drokin (green@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/35327 |
| Comment by Gerrit Updater [ 10/Jul/19 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/35327/ |
| Comment by Peter Jones [ 10/Jul/19 ] |
|
Landed for 2.13 |
| Comment by Jian Yu [ 29/Jan/20 ] |
|
The failure also occurred on Lustre b2_12 branch with RHEL 8.1 client: |
| Comment by Gerrit Updater [ 10/Feb/20 ] |
|
James Nunez (jnunez@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/37521 |
| Comment by Gerrit Updater [ 25/Feb/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/37521/ |