René's URL Explorer Experiment


Title: Workflow failing with ".Exit code was 32 and last log line was: CodeQL detected code written in Go but could not process any of it." · Issue #2186 · github/codeql-action · GitHub

Open Graph Title: Workflow failing with ".Exit code was 32 and last log line was: CodeQL detected code written in Go but could not process any of it." · Issue #2186 · github/codeql-action

X Title: Workflow failing with ".Exit code was 32 and last log line was: CodeQL detected code written in Go but could not process any of it." · Issue #2186 · github/codeql-action

Description: We are using a multi module Golang repository with Go Workspace. CodeQL default workflow settings were working fine with no issues. Suddenly, with no changes in repo structure, it now fails with CodeQL detected code written in Go but cou...

Open Graph Description: We are using a multi module Golang repository with Go Workspace. CodeQL default workflow settings were working fine with no issues. Suddenly, with no changes in repo structure, it now fails with Co...

X Description: We are using a multi module Golang repository with Go Workspace. CodeQL default workflow settings were working fine with no issues. Suddenly, with no changes in repo structure, it now fails with Co...

Opengraph URL: https://github.com/github/codeql-action/issues/2186

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Workflow failing with \".Exit code was 32 and last log line was: CodeQL detected code written in Go but could not process any of it.\"","articleBody":"We are using a multi module Golang repository with Go [Workspace](https://go.dev/ref/mod#workspaces). CodeQL default workflow settings were working fine with no issues. Suddenly, with no changes in repo structure, it now fails with `CodeQL detected code written in Go but could not process any of it`.\r\n\r\nAlso, troubleshooting steps [here](https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/no-source-code-seen-during-build) did not fix it.\r\n\r\nAutobuild step and Init seems to be working fine but Analysis started failing all the time.\r\n\r\nrepo: https://github.com/threefoldtech/tfgrid-sdk-go\r\nexample workflow: https://github.com/threefoldtech/tfgrid-sdk-go/actions/runs/8079246055/job/22073247305\r\n\u003cdetails\u003e\r\n\u003csummary\u003elogs:\u003c/summary\u003e\r\n\r\n```\r\nRun github/codeql-action/analyze@v3\r\n  with:\r\n    category: /language:go\r\n    output: ../results\r\n    upload: always\r\n    cleanup-level: brutal\r\n    add-snippets: false\r\n    skip-queries: false\r\n    checkout_path: /home/runner/work/tfgrid-sdk-go/tfgrid-sdk-go\r\n    upload-database: true\r\n    wait-for-processing: true\r\n    token: ***\r\n    matrix: {\r\n    \"language\": \"go\"\r\n  }\r\n    expect-error: false\r\n  env:\r\n    CODE_SCANNING_REF: refs/pull/867/head\r\n    CODE_SCANNING_IS_ANALYZING_DEFAULT_BRANCH: false\r\n    CODE_SCANNING_WORKFLOW_FILE: H4sIAAAAAAAA/6xUTW/bOBC961cMvEGye5B82PYiIEBUx07dGnYbtwjaIhBoaSSzkUiHHMpVXP/3gqKUxo2T+NCbOPP45uM9UbASQ+gNZIofJz1PGeG70NFmAzmnpVkEWKGggIuVIR0kMsVYJ0wILvJYGRFbPGy3nhQhpLVgJU8877tc6NADYIIV9R3aTwDHHLlQE1FGaN9eNAsjyPgFI9TUpFaoSq41l0K72wAsoeYIClnaxhIpCAXtBjUmRnGq/aZ1HcJacXIVLZ4Lg74UPiolVQgZK7RLalKMMK+7ghnjhZ8xTQ9BACUjxX90IICCidywHEP4BrmE6yaBouoQg9n5MJ4Poul0PL2IL4ejg9eLmd3sPpbxPI6m0eTLV3s4H46iz5NP8ZvLaDp4eyg717GTxx5SzJgpKF4oJpLlU1WvZpfvR5PZVTwaT4aH1llLdZMVch1nvMCOWROuWmH91hiDJSY30hAoXEnNSaq6bcJo1GEnfz9pcWfVK2+HYCw4cVbwOwRn6J3rrtG+7e228B1ZnwtOZ9X/LXDNaflYVu0GdaoHXfT3igBuDSpucb0e/APnbpVNtAZtOuu19st4HsLP+wgALRUy8kuZYqGth+B6d65Bc8kofHkehVoWFfooKq6kKFE8GI+n9i95BHh2+Gdn7xqcI5kVXMi9cmmb9HN5Vr3u+sjCR4ynp3CSyxM4PoZMyfLdfDb9t/FIsKfjQBpqjPYg9l+QtGtitm6Qy6BCZd+PvfPl0m/TbsK/XdSuaGdHkSG5MLxIXxaRdVAr3Q7JB1SZVGVrb/eUaq4PoHSP7lNWT+yzJ1UdQq9/r/zRZvOHStttz/sVAAD//7BdVxsyBgAA\r\n    CODEQL_ACTION_FEATURE_MULTI_LANGUAGE: false\r\n    CODEQL_ACTION_FEATURE_SANDWICH: false\r\n    CODEQL_ACTION_FEATURE_SARIF_COMBINE: true\r\n    CODEQL_ACTION_FEATURE_WILL_UPLOAD: true\r\n    CODEQL_ACTION_VERSION: 3.24.5\r\n    JOB_RUN_UUID: b4f685d9-0748-425b-8025-3f1f4bc397e4\r\n    CODEQL_ACTION_INIT_HAS_RUN: true\r\n    CODEQL_ACTION_ANALYSIS_KEY: dynamic/github-code-scanning/codeql:analyze\r\n    CODEQL_WORKFLOW_STARTED_AT: 2024-02-28T10:59:00.858Z\r\n    CODEQL_ACTION_GO_BINARY: /home/runner/work/_temp/codeql-action-go-tracing/bin/go\r\n    CODEQL_RAM: 14567\r\n    CODEQL_THREADS: 4\r\n    CODEQL_EXTRACTOR_PYTHON_DISABLE_LIBRARY_EXTRACTION: true\r\n    CODEQL_SCRATCH_DIR: /home/runner/work/_temp/codeql_databases/working\r\n    CODEQL_DIST: /opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql\r\n    CODEQL_PLATFORM: linux64\r\n    CODEQL_PLATFORM_DLL_EXTENSION: .so\r\n    CODEQL_JAVA_HOME: /opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/tools/linux64/java\r\n    CODEQL_EXTRACTOR_GO_ROOT: /opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/go\r\n    CODEQL_EXTRACTOR_GO_WIP_DATABASE: /home/runner/work/_temp/codeql_databases/go\r\n    CODEQL_EXTRACTOR_GO_DIAGNOSTIC_DIR: /home/runner/work/_temp/codeql_databases/go/diagnostic/extractors/go\r\n    CODEQL_EXTRACTOR_GO_LOG_DIR: /home/runner/work/_temp/codeql_databases/go/log\r\n    CODEQL_EXTRACTOR_GO_SCRATCH_DIR: /home/runner/work/_temp/codeql_databases/go/working\r\n    CODEQL_EXTRACTOR_GO_TRAP_DIR: /home/runner/work/_temp/codeql_databases/go/trap/go\r\n    CODEQL_EXTRACTOR_GO_SOURCE_ARCHIVE_DIR: /home/runner/work/_temp/codeql_databases/go/src\r\n    SEMMLE_HANDLE_STATIC_BINARIES: true\r\n    CODEQL_EXTRACTOR_GO_THREADS: 4\r\n    CODEQL_EXTRACTOR_GO_RAM: 14567\r\n    CODEQL_TRACER_LOG: /home/runner/work/_temp/codeql_databases/log/build-tracer.log\r\n    CODEQL_TRACER_DIAGNOSTICS_DIR: /home/runner/work/_temp/codeql_databases/diagnostic/tracer\r\n    CODEQL_TRACER_LANGUAGES: go\r\n    SEMMLE_PRELOAD_libtrace: /opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/tools/linux64/${LIB}_${PLATFORM}_trace.so\r\n    SEMMLE_PRELOAD_libtrace32: /opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/tools/linux64/lib32trace.so\r\n    SEMMLE_PRELOAD_libtrace64: /opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/tools/linux64/lib64trace.so\r\n    CODEQL_RUNNER: /opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/tools/linux64/runner\r\n    LD_PRELOAD: /opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/tools/linux64/${LIB}_${PLATFORM}_trace.so\r\n    CODEQL_ACTION_DID_AUTOBUILD_GOLANG: true\r\n    CODEQL_ACTION_AUTOBUILD_DID_COMPLETE_SUCCESSFULLY: true\r\nWhile resolving threads, found a cgroup CPUs file with 4 CPUs in /sys/fs/cgroup/cpuset.cpus.effective.\r\n/opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/codeql version --format=json\r\n{\r\n  \"productName\" : \"CodeQL\",\r\n  \"vendor\" : \"GitHub\",\r\n  \"version\" : \"2.16.3\",\r\n  \"sha\" : \"89973abb6e1d3083dfb8426eb0e210df19ca36be\",\r\n  \"branches\" : [\r\n    \"codeql-cli-2.16.3\"\r\n  ],\r\n  \"copyright\" : \"Copyright (C) 2019-2024 GitHub, Inc.\",\r\n  \"unpackedLocation\" : \"/opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql\",\r\n  \"configFileLocation\" : \"/home/runner/.config/codeql/config\",\r\n  \"configFileFound\" : false,\r\n  \"features\" : {\r\n    \"analysisSummaryV2Option\" : true,\r\n    \"buildModeOption\" : true,\r\n    \"bundleSupportsIncludeDiagnostics\" : true,\r\n    \"featuresInVersionResult\" : true,\r\n    \"indirectTracingSupportsStaticBinaries\" : false,\r\n    \"supportsPython312\" : true,\r\n    \"mrvaPackCreate\" : true,\r\n    \"threatModelOption\" : true,\r\n    \"traceCommandUseBuildMode\" : true,\r\n    \"v2ramSizing\" : true,\r\n    \"mrvaPackCreateMultipleQueries\" : true,\r\n    \"setsCodeqlRunnerEnvVar\" : true\r\n  }\r\n}\r\nFinalizing go\r\n  /opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14567 /home/runner/work/_temp/codeql_databases/go\r\n  CodeQL detected code written in Go but could not process any of it. Review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build .\r\n  Error: Encountered a fatal error while running \"/opt/hostedtoolcache/CodeQL/2.16.3/x64/codeql/codeql database finalize --finalize-dataset --threads=4 --ram=14567 /home/runner/work/_temp/codeql_databases/go\". Exit code was 32 and last log line was: CodeQL detected code written in Go but could not process any of it. Review our troubleshooting guide at https://gh.io/troubleshooting-code-scanning/no-source-code-seen-during-build . See the logs for more details.\r\n```\r\n\u003c/details\u003e\r\n\r\nI am not sure where the issue is since we are not using custom building and Autobuild step seems to be working fine. It was also working with no errors before.","author":{"url":"https://github.com/AbdelrahmanElawady","@type":"Person","name":"AbdelrahmanElawady"},"datePublished":"2024-03-07T12:24:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/2186/codeql-action/issues/2186"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a735c173-ef66-ab15-3d55-cb3f0349f4e0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC13A:2DFBD1:59C425:834DC8:6A4E0A9E
html-safe-nonceca1522af5cc5aa236cb0c0ec60e619450aaf7bcc13ce2ee87452a0ea01ee3a3a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMTNBOjJERkJEMTo1OUM0MjU6ODM0REM4OjZBNEUwQTlFIiwidmlzaXRvcl9pZCI6IjYzODA5NzYxODEyMjc2ODY1NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2c7c0bab75bba845c5753f0da6fdc0a5643150576c1c0d055fefd85b4754c3f3
hovercard-subject-tagissue:2173745203
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/2186/issue_layout
twitter:imagehttps://opengraph.githubassets.com/61c9e8e66acea6a0921cb18929f55e007b43e78abd9a250b7f58ca8a43db7821/github/codeql-action/issues/2186
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/61c9e8e66acea6a0921cb18929f55e007b43e78abd9a250b7f58ca8a43db7821/github/codeql-action/issues/2186
og:image:altWe are using a multi module Golang repository with Go Workspace. CodeQL default workflow settings were working fine with no issues. Suddenly, with no changes in repo structure, it now fails with Co...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAbdelrahmanElawady
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-preview
go-importgithub.com/github/codeql-action git https://github.com/github/codeql-action.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id259445878
octolytics-dimension-repository_nwogithub/codeql-action
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id259445878
octolytics-dimension-repository_network_root_nwogithub/codeql-action
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release51470c353b8a1f52a88d3e3cc2014b17ab8cc1ce
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/issues/2186#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fissues%2F2186
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fissues%2F2186
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/issues/2186
Reloadhttps://github.com/github/codeql-action/issues/2186
Reloadhttps://github.com/github/codeql-action/issues/2186
Please reload this pagehttps://github.com/github/codeql-action/issues/2186
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 470 https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Star 1.6k https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Code https://github.com/github/codeql-action
Issues 156 https://github.com/github/codeql-action/issues
Pull requests 26 https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality 2 https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
Code https://github.com/github/codeql-action
Issues https://github.com/github/codeql-action/issues
Pull requests https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
Workflow failing with ".Exit code was 32 and last log line was: CodeQL detected code written in Go but could not process any of it."https://github.com/github/codeql-action/issues/2186#top
https://github.com/mbg
https://github.com/AbdelrahmanElawady
AbdelrahmanElawadyhttps://github.com/AbdelrahmanElawady
on Mar 7, 2024https://github.com/github/codeql-action/issues/2186#issue-2173745203
Workspacehttps://go.dev/ref/mod#workspaces
herehttps://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/no-source-code-seen-during-build
https://github.com/threefoldtech/tfgrid-sdk-gohttps://github.com/threefoldtech/tfgrid-sdk-go
https://github.com/threefoldtech/tfgrid-sdk-go/actions/runs/8079246055/job/22073247305https://github.com/threefoldtech/tfgrid-sdk-go/actions/runs/8079246055/job/22073247305
mbghttps://github.com/mbg
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.