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

ci: fix codeql unable to download its own bundle #5783

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

kmk3
Copy link
Collaborator

@kmk3 kmk3 commented Apr 10, 2023

Due to step-security/harden-runner blocking access to
objects.githubusercontent.com.

Log from a recent run of CodeQL[1] [2]:

##[group]Setup CodeQL tools
Did not find CodeQL tools version 2.12.6 in the toolcache.
Downloading CodeQL tools from https://github.com/github/codeql-action/releases/download/codeql-bundle-20230403/codeql-bundle-linux64.tar.gz. This may take a while.
connect ECONNREFUSED 54.185.253.63:443
Waiting 13 seconds before trying again
connect ECONNREFUSED 54.185.253.63:443
Waiting 12 seconds before trying again
##[error]connect ECONNREFUSED 54.185.253.63:443
##[error]Unable to download and extract CodeQL CLI
Post job cleanup.
[...]
Mon, 10 Apr 2023 07:20:18 GMT:endpoint called ip address:port 140.82.112.4:443, domain: github.com.
Mon, 10 Apr 2023 07:20:20 GMT:endpoint called ip address:port 140.82.112.6:443, domain: api.github.com.
Mon, 10 Apr 2023 07:20:23 GMT:domain not allowed: objects.githubusercontent.com.
Mon, 10 Apr 2023 07:20:23 GMT:ip address dropped: 54.185.253.63
Mon, 10 Apr 2023 07:20:23 GMT:endpoint called ip address:port 140.82.112.4:443, domain: github.com.
Mon, 10 Apr 2023 07:20:23 GMT:endpoint called ip address:port 54.185.253.63:443, domain: objects.githubusercontent.com.
Mon, 10 Apr 2023 07:20:35 GMT:domain not allowed: api.snapcraft.io.

Relates to #5439 #5485.

[1] #5781
[2] https://github.com/netblue30/firejail/actions/runs/4655304231/jobs/8238131624

Due to step-security/harden-runner blocking access to
objects.githubusercontent.com.

Log from a recent run of CodeQL[1] [2]:

    ##[group]Setup CodeQL tools
    Did not find CodeQL tools version 2.12.6 in the toolcache.
    Downloading CodeQL tools from https://github.com/github/codeql-action/releases/download/codeql-bundle-20230403/codeql-bundle-linux64.tar.gz. This may take a while.
    connect ECONNREFUSED 54.185.253.63:443
    Waiting 13 seconds before trying again
    connect ECONNREFUSED 54.185.253.63:443
    Waiting 12 seconds before trying again
    ##[error]connect ECONNREFUSED 54.185.253.63:443
    ##[error]Unable to download and extract CodeQL CLI
    Post job cleanup.
    [...]
    Mon, 10 Apr 2023 07:20:18 GMT:endpoint called ip address:port 140.82.112.4:443, domain: github.com.
    Mon, 10 Apr 2023 07:20:20 GMT:endpoint called ip address:port 140.82.112.6:443, domain: api.github.com.
    Mon, 10 Apr 2023 07:20:23 GMT:domain not allowed: objects.githubusercontent.com.
    Mon, 10 Apr 2023 07:20:23 GMT:ip address dropped: 54.185.253.63
    Mon, 10 Apr 2023 07:20:23 GMT:endpoint called ip address:port 140.82.112.4:443, domain: github.com.
    Mon, 10 Apr 2023 07:20:23 GMT:endpoint called ip address:port 54.185.253.63:443, domain: objects.githubusercontent.com.
    Mon, 10 Apr 2023 07:20:35 GMT:domain not allowed: api.snapcraft.io.

[1] netblue30#5781
[2] https://github.com/netblue30/firejail/actions/runs/4655304231/jobs/8238131624
@kmk3 kmk3 requested a review from topimiettinen April 10, 2023 09:21
@topimiettinen topimiettinen merged commit 03a1f47 into netblue30:master Apr 10, 2023
@kmk3 kmk3 deleted the ci-fix-codeql branch April 10, 2023 09:24
kmk3 added a commit that referenced this pull request Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done (on RELNOTES)
Development

Successfully merging this pull request may close these issues.

2 participants