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

Cannot read property 'split' of undefined #98

Open
aolds01 opened this issue Jul 9, 2022 · 10 comments
Open

Cannot read property 'split' of undefined #98

aolds01 opened this issue Jul 9, 2022 · 10 comments

Comments

@aolds01
Copy link

aolds01 commented Jul 9, 2022

We have a GitHub Action which utilizes aws-actions/aws-codebuild-run-build. We have been using this for the past 6 months in a few different repos. Yesterday (7/8/22) at around 2pm CST the action started failing with an error
STARTING CODEBUILD
Error: Cannot read property 'split' of undefined
CODEBUILD COMPLETE
All of our repos utilizing this action are experiencing the same error. The CodeBuild project in AWS is triggered and runs successfully, however, the workflow in GitHub fails.
We are using v1 in one of our repos and v1.0.3 in another one of our repos. Both experience the same error.
We are using self hosted runners in one of the repos and ubuntu-latest from GitHub runners in another repo. Both experience the same error

@Canas
Copy link
Contributor

Canas commented Jul 10, 2022

Was facing the same issue so I submitted a PR to fix it #99. It was literally breaking all our CI checks lol.

@ThrowsException
Copy link

ThrowsException commented Jul 13, 2022

Any updates on this? I have a support ticket open with AWS and all of our builds are suddenly failing due to this issue. Theres been radio silence on this. Thinking about just moving to plain github actions or travis or something

@aolds01
Copy link
Author

aolds01 commented Jul 13, 2022

I have a support ticket open with AWS as well. I have not gotten any resolution yet. We had to implement manual workarounds in our pipeline to deal with the error coming back which is definitely not ideal

@ThrowsException
Copy link

@aolds01 Were you able to get this github actions that were triggered to pass despite the error? right now all our fail but were just manually checking the runs in codebuild before merging PRs. Can you add something to the action or the codebuild job to make github report it as passing?

@aolds01
Copy link
Author

aolds01 commented Jul 13, 2022

@ThrowsException - We added continue-on-error: true to the step in our action to have GitHub always report it as success and continue on with subsequent steps. However, we still need to manually inspect CodeBuild outcome for failures. In the case of failures we have to manually revert the github repo, etc. Definitely not ideal but a workaround while this is broken

@leoherran-aws
Copy link

Hey, thanks for raising awareness about this issue--we identified a recent change that deployed to a couple regions which was causing the problem and have rolled it back. We'll update the CodeBuild action before rolling forward.

@aolds01
Copy link
Author

aolds01 commented Jul 13, 2022

Thanks @leoherran-aws ! I can confirm it's working for us now

@aolds01
Copy link
Author

aolds01 commented Jul 19, 2022

@leoherran-aws - This issue started occurring again this afternoon. Did the change get deployed again prior to making the necessary updates to the CodeBuild action?

@ThrowsException
Copy link

Also saw this briefly pop again this afternoon in us-east-2. Seemed intermittent, rerunning the action passed.

@akazakou
Copy link

Hey guys. I see that GitHub Action is not supported last few months. If you really need a quick solution, I can offer to you use the dark-mechanicum/aws-codebuild instead. Try this, and in case of some issues, I can help you to resolve them.

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

No branches or pull requests

5 participants