Skip to content

need help troubleshooting workflow #639

Open
@shahzebsiddiqui

Description

@shahzebsiddiqui

I need help troubleshooting this workflow which depends on action/checkout

workflow: https://github.com/buildtesters/buildtest/runs/4257276971?check_suite_focus=true
PR: buildtesters/buildtest#930
workflow file: https://github.com/buildtesters/buildtest/blob/devel/.github/workflows/regressiontest_docker.yml

Error message is the following you can find it at https://github.com/buildtesters/buildtest/runs/4257276971?check_suite_focus=true#step:4:1

Run actions/checkout@v2
/usr/bin/docker exec  b3d770ebc235553a7ae12857a93d7d4526b89bf70b390af80228408f29f79ea8 sh -c "cat /etc/*release | grep ^ID"
Syncing repository: buildtesters/buildtest
Getting Git version info
Deleting the contents of '/__w/buildtest/buildtest'
The repository will be downloaded using the GitHub REST API
To create a local Git repository instead, add Git 2.18 or higher to the PATH
Downloading the archive
(node:37) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
Writing archive to disk
Error: EACCES: permission denied, open '/__w/buildtest/buildtest/34ba7d3c-6df7-47d9-af5e-0a8a61034ecc.tar.gz'

objective: i want to run regression test in container however issue i see is that container is being launched in way that is not sourcing startup script i.e /etc/profile. The PR i did was to ensure this gets added and added to ~/.bashrc.

The issue i have right now is that the base container is ubuntu 18.04 which is git 2.17.1 and this causes issue because i need git 2.18 to download the project and container is readonly for some reason. I have a git instance in the container which I am able to use.

I would appreciate some help troubleshooting this problem as it relates to this checkout action.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions