Fail golang tests

Sometimes golang test failed
https://github.com/Smolevich/roadrunner/commit/fc6cef7233fad1fe46bea5a265b044715211bfbb/checks?check_suite_id=279156928

on Github Actions CI
but work in Travis CI

https://travis-ci.org/spiral/roadrunner/jobs/602197948?utm_medium=notification&utm_source=github_status

Someone help me with this pronlem?

Hi Smolevich,

Could you share the complete debug logs of the jobs and steps in your workflow, so that we can analyze the root cause?
To get the debug logs, you need to add two Secrets ( ACTIONS_RUNNER_DEBUG and ACTIONS_STEP_DEBUG ), and set their value to be true.

Yes, i try it 

@brightran, Full log archive https://drive.google.com/file/d/1rnNEj9UxJASEfSGyEZOy9cNWn1HPcczl/view?usp=sharing

@smolevich Thanks for your reply. It seems that the logs you shared does not include the debug logs. After you add the two Secrets ( ACTIONS_RUNNER_DEBUG  and  ACTIONS_STEP_DEBUG ), you need to re-run the workflow and get the debug logs from the new run.

After add new secrets i pushed new commit and link on new full archive log https://drive.google.com/file/d/1W-WRlVz6xoA3sPeVp-fMHpnpaitph5vL/view?usp=sharing

but i don’t find lines such as

##[debug]Evaluating condition for step: 'Run golang tests'
##[debug]Parsing expression: <success()>

in logs

@brightran , i delete secrets and add againg , pushed new commits and debug info was founded in logs https://drive.google.com/file/d/1ZMTBLn3Gj6AhN_XOAlvp7XNwFS6r3_On/view?usp=sharing

Hey @smolevich 

I see the following error in your logs:

flag provided but not defined: -coverprofilevers

See: https://github.com/Smolevich/roadrunner/commit/f03015ab9ecc95fbd06c8f9fe33f3d9f28a53422/checks?check_suite_id=304557418#step:8:546

In your YAML for the headers step you have 

-coverprofilevers=headers.txt

 Based on the travis file and the other tests, I believe it should just be 

-coverprofile=headers.txt

Typo: https://github.com/Smolevich/roadrunner/blob/add-support-for-github-actions/.github/workflows/ci-build.yml#L69

Reference from travis file: https://github.com/spiral/roadrunner/blob/master/.travis.yml#L27

2 Likes

Thanks a lot! I don’t see this typo.