Permission warnings in `/tmp` showing in the AIX build logs.

Open Beginner friendly
#4,363 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
shell

Research direction

Start with build-farm/platform-specific-configurations/aix.sh and compare its /tmp cleanup logic with the AIX build log shown in the issue. Reproduce or inspect the find commands that scan /tmp, then adjust the handling so inaccessible directories do not emit permission warnings while Jenkins-owned files are still removed; verify the AIX build log is clean.

Written by the indexing model from the issue text.

Description

From jdk11u-aix-ppc64-tempurin#431 on build-osuosl-aix72-ppc64-1:

10:27:11  [SUCCESS] Executing local file at /home/jenkins/workspace/build-scripts/jobs/jdk11u/jdk11u-aix-ppc64-temurin/build-farm/platform-specific-configurations/aix.sh
10:27:11  find: 0652-081 cannot change directory to </tmp/.workdir.11141450.12452294_1>:
10:27:11    : The file access permissions do not allow the specified action.
10:27:11  find: 0652-081 cannot change directory to </tmp/.workdir.12321178.12779880_1>:
10:27:11    : The file access permissions do not allow the specified action.
10:27:11  find: 0652-081 cannot change directory to </tmp/diagSEgenSnap>:
10:27:11    : The file access permissions do not allow the specified action.
10:27:11  find: 0652-081 cannot change directory to </tmp/errmbatch>:
10:27:11    : The file access permissions do not allow the specified action.
10:27:11  find: 0652-081 cannot change directory to </tmp/saved_errmbatch>:
10:27:11    : The file access permissions do not allow the specified action.
10:27:11  There are 9416 sh-np files owned by jenkins in /tmp that I am going to remove...
10:27:11  find: 0652-081 cannot change directory to </tmp/.workdir.11141450.12452294_1>:
10:27:11    : The file access permissions do not allow the specified action.
10:27:11  find: 0652-081 cannot change directory to </tmp/.workdir.12321178.12779880_1>:
10:27:11    : The file access permissions do not allow the specified action.
10:27:11  find: 0652-081 cannot change directory to </tmp/diagSEgenSnap>:
10:27:11    : The file access permissions do not allow the specified action.
10:27:11  find: 0652-081 cannot change directory to </tmp/errmbatch>:
10:27:11    : The file access permissions do not allow the specified action.
10:27:11  find: 0652-081 cannot change directory to </tmp/saved_errmbatch>:
10:27:11    : The file access permissions do not allow the specified action.

While these are pretty much just warnings that jenkins cannot access all of the directories under /tmp it possibly makes sense to adjust the logic to stop it sending this to the log.

Dominant language
Python
Stars
96
Forks
106
Avg merge
1d 23h
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from adoptium/infrastructure

All issues in adoptium/infrastructure

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.