Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable full tests across Java, Python, Ghidra versions #48

Closed
clearbluejar opened this issue Oct 20, 2023 · 1 comment · Fixed by #50
Closed

Enable full tests across Java, Python, Ghidra versions #48

clearbluejar opened this issue Oct 20, 2023 · 1 comment · Fixed by #50

Comments

@clearbluejar
Copy link
Owner

Currently, the devcontainer can only test one version. Use github actions to test across versions.

@clearbluejar clearbluejar changed the title Fix workflows to enable full tests across Java, Python, Ghidra versions Enable full tests across Java, Python, Ghidra versions Oct 20, 2023
@clearbluejar
Copy link
Owner Author

Currently failing with: https://github.com/clearbluejar/ghidriff/actions/runs/6588742165/job/17901707946

/usr/bin/docker exec  015ac5f6b179b05b7be40f56fd62fded0310ba92620f19cdf9477d26d49f5517 sh -c "cat /etc/*release | grep ^ID"
node:internal/fs/utils:347
    throw err;
    ^

Error: EACCES: permission denied, open '/__w/_temp/_runner_file_commands/save_state_fa9a8766-3f44-49b3-befb-0e396a8d6fd1'
    at Object.openSync (node:fs:590:3)
    at Object.writeFileSync (node:fs:2202:35)
    at Object.appendFileSync (node:fs:2264:6)
    at Object.issueFileCommand (/__w/_actions/actions/checkout/v3/dist/index.js:2950:8)
    at Object.saveState (/__w/_actions/actions/checkout/v3/dist/index.js:2867:31)
    at Object.8647 (/__w/_actions/actions/checkout/v3/dist/index.js:2326:10)
    at __nccwpck_require__ (/__w/_actions/actions/checkout/v3/dist/index.js:[18](https://github.com/clearbluejar/ghidriff/actions/runs/6588742165/job/17901707946#step:3:19)256:43)
    at Object.2565 (/__w/_actions/actions/checkout/v3/dist/index.js:146:34)
    at __nccwpck_require__ (/__w/_actions/actions/checkout/v3/dist/index.js:18256:43)
    at Object.9[21](https://github.com/clearbluejar/ghidriff/actions/runs/6588742165/job/17901707946#step:3:22)0 (/__w/_actions/actions/checkout/v3/dist/index.js:1141:36) {
  errno: -13,
  syscall: 'open',
  code: 'EACCES',
  path: '/__w/_temp/_runner_file_commands/save_state_fa9a8766-3f44-49b3-befb-0e396a8d6fd1'
}

This is because github actions do not allow a non-root user.. without a workaround. actions/checkout#1014 (comment)

@clearbluejar clearbluejar linked a pull request Oct 31, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant