Symbol resolution failed for gawk_64 on AIX test machines
- Dominant language
- HTML
- Stars
- 155
- Forks
- 346
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 36
Description
Call in [getTestenvProperties.sh](https://github.com/adoptium/TKG/blob/master/scripts/getTestenvProperties.sh) script from TKG repo. Console output from https://ci.adoptium.net/job/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/105/consoleFull:
```
04:43:35 /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests/TKG/scripts/getSHA.sh --repo_dir /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests --output_file /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests/TKG/SHA.txt
04:43:35 Check sha in /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests and store the info in /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests/TKG/SHA.txt
04:43:35 touch /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests/TKG/SHA.txt
04:43:35 ================================================
04:43:35 timestamp: 20240222-094334
04:43:35 repo dir: /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests
04:43:35 git repo:
04:43:35 Fetch URL: https://github.com/adoptium/aqa-tests.git
04:43:35 sha:
04:43:35 948157573c8eac61881a0e6f9efcfed936cac68a
04:43:35 /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests/TKG/scripts/getTestenvProperties.sh --repo_dir /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests --output_file /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests/testenv/testenv.properties --repo_name ADOPTOPENJDK
04:43:35 Check sha in /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests and store the info in /home/jenkins/workspace/Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_1/aqa-tests/testenv/testenv.properties
04:43:35 exec(): 0509-036 Cannot load program gawk_64 because of the following errors:
04:43:35 0509-130 Symbol resolution failed for gawk_64 because:
04:43:35 0509-136 Symbol _GLOBAL__AIXI_libintl_so (number 176) is not exported from
04:43:35 dependent module /usr/jdk-17.0.4+7/../lib/libintl.a[libintl.so.8].
04:43:35 0509-136 Symbol _GLOBAL__AIXD_libintl_so (number 177) is not exported from
04:43:35 dependent module /usr/jdk-17.0.4+7/../lib/libintl.a[libintl.so.8].
04:43:35 0509-192 Examine .loader section symbols with the
04:43:35 'dump -Tv' command.
```
Contributor guide
Research direction
Start with TKG/scripts/getTestenvProperties.sh and reproduce the AIX failure shown in the linked console output. Inspect gawk_64 and its dependent libintl.a[libintl.so.8] with the mentioned `dump -Tv` command. Done means the script completes on the AIX test machines and generates testenv.properties without the symbol-resolution error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- operating-systems, testing-qa, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100