diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f32f41416..d2e74bd4d8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ See the [releases page](https://github.com/github/codeql-action/releases) for th Note that the only difference between `v2` and `v3` of the CodeQL Action is the node version they support, with `v3` running on node 20 while we continue to release `v2` to support running on node 16. For example `3.22.11` was the first `v3` release and is functionally identical to `2.22.11`. This approach ensures an easy way to track exactly which features are included in different versions, indicated by the minor and patch version numbers. +## 3.24.8 - 18 Mar 2024 + +- Improve the ease of debugging extraction issues by increasing the verbosity of the extractor logs when running in debug mode. [#2195](https://github.com/github/codeql-action/pull/2195) + ## 3.24.7 - 12 Mar 2024 - Update default CodeQL bundle version to 2.16.4. [#2185](https://github.com/github/codeql-action/pull/2185) diff --git a/init/action.yml b/init/action.yml index 1b6c8c547d..d55ca5d4c2 100644 --- a/init/action.yml +++ b/init/action.yml @@ -78,7 +78,7 @@ inputs: required: false packs: description: >- - [Experimental] Comma-separated list of packs to run. Reference a pack in the format `scope/name[@version]`. If `version` is not + Comma-separated list of packs to run. Reference a pack in the format `scope/name[@version]`. If `version` is not specified, then the latest version of the pack is used. By default, this overrides the same setting in a configuration file; prefix with "+" to use both sets of packs. diff --git a/lib/analyze.js b/lib/analyze.js index 13d2c4e51c..cf9c0a9158 100644 --- a/lib/analyze.js +++ b/lib/analyze.js @@ -138,7 +138,7 @@ async function finalizeDatabaseCreation(config, threadsFlag, memoryFlag, logger, } else { logger.startGroup(`Finalizing ${language}`); - await codeql.finalizeDatabase(util.getCodeQLDatabasePath(config, language), threadsFlag, memoryFlag); + await codeql.finalizeDatabase(util.getCodeQLDatabasePath(config, language), threadsFlag, memoryFlag, config.debugMode); logger.endGroup(); } } diff --git a/lib/analyze.js.map b/lib/analyze.js.map index dd831ef972..0db4cd2b59 100644 --- a/lib/analyze.js.map +++ b/lib/analyze.js.map @@ -1 +1 @@ -{"version":3,"file":"analyze.js","sourceRoot":"","sources":["../src/analyze.ts"],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7 +141,7 @@ async function runAutobuild(language, config, logger) { if (language === languages_1.Language.cpp) { await setupCppAutobuild(codeQL, logger); } - await codeQL.runAutobuild(language); + await codeQL.runAutobuild(language, config.debugMode); if (language === languages_1.Language.go) { core.exportVariable(environment_1.EnvVar.DID_AUTOBUILD_GOLANG, "true"); } diff --git a/lib/autobuild.js.map b/lib/autobuild.js.map index f49ce0ba73..4310e15ccc 100644 --- a/lib/autobuild.js.map +++ b/lib/autobuild.js.map @@ -1 +1 @@ -{"version":3,"file":"autobuild.js","sourceRoot":"","sources":["../src/autobuild.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,oDAAsC;AAEtC,iDAA6E;AAC7E,6CAAgD;AAChD,qCAA6C;AAE7C,iDAA2C;AAC3C,+CAAuC;AACvC,mDAAmE;AACnE,2CAAyD;AAEzD,6CAAkD;AAClD,qDAAgD;AAChD,iCAA6C;AAEtC,KAAK,UAAU,2BAA2B,CAC/C,MAAc,EACd,MAA0B,EAC1B,MAAc;IAEd,IACE,CAAC,MAAM,CAAC,SAAS,KAAK,wBAAS,CAAC,IAAI;QAClC,CAAC,MAAM,MAAM,CAAC,eAAe,CAAC,6BAAY,CAAC,wBAAwB,CAAC,CAAC,CAAC;QACxE,MAAM,CAAC,SAAS,KAAK,wBAAS,CAAC,MAAM,EACrC,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,SAAS,MAAM,CAAC,SAAS,oCAAoC,CAAC,CAAC;QAC3E,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,0CAA0C;IAC1C,mFAAmF;IACnF,oFAAoF;IACpF,4EAA4E;IAC5E,MAAM,kBAAkB,GAAG,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CACvD,IAAA,4BAAgB,EAAC,CAAC,CAAC,CACpB,CAAC;IAEF,IAAI,CAAC,kBAAkB,EAAE,CAAC;QACxB,MAAM,CAAC,IAAI,CACT,iEAAiE,CAClE,CAAC;QAC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AAC;IACH,CAAC;SAAM,CAAC;QACN,MAAM,CAAC,IAAI,CAAC,aAAa,WAAW,GAAG,CAAC,CAAC;QACzC,IAAI,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvC,CAAC;AACH,CAAC;AAvCD,8CAuCC;AAEM,KAAK,UAAU,YAAY,CAChC,QAAkB,EAClB,MAA0B,EAC1B,MAAc;IAEd,MAAM,CAAC,UAAU,CAAC,qCAAqC,QAAQ,OAAO,CAAC,CAAC;IACxE,MAAM,MAAM,GAAG,MAAM,IAAA,kBAAS,EAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACjD,IAAI,QAAQ,KAAK,oBAAQ,CAAC,GAAG,EAAE,CAAC;QAC9B,MAAM,iBAAiB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;IACD,MAAM,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,CAAC,SAAS,CAAC,CAAC;IACtD,IAAI,QAAQ,KAAK,oBAAQ,CAAC,EAAE,EAAE,CAAC;QAC7B,IAAI,CAAC,cAAc,CAAC,oBAAM,CAAC,oBAAoB,EAAE,MAAM,CAAC,CAAC;IAC3D,CAAC;IACD,MAAM,CAAC,QAAQ,EAAE,CAAC;AACpB,CAAC;AAfD,oCAeC"} \ No newline at end of file diff --git a/lib/cli-errors.js b/lib/cli-errors.js index ef1fb9899a..3672913006 100644 --- a/lib/cli-errors.js +++ b/lib/cli-errors.js @@ -13,17 +13,30 @@ class CommandInvocationError extends Error { .map((x) => (x.includes(" ") ? `'${x}'` : x)) .join(" "); const fatalErrors = extractFatalErrors(stderr); - const lastLine = stderr.trim().split("\n").pop()?.trim(); - let error = fatalErrors - ? ` and error was: ${fatalErrors.trim()}` - : lastLine - ? ` and last log line was: ${lastLine}` - : ""; - if (error[error.length - 1] !== ".") { - error += "."; + const autobuildErrors = extractAutobuildErrors(stderr); + let message; + if (fatalErrors) { + message = + `Encountered a fatal error while running "${prettyCommand}". ` + + `Exit code was ${exitCode} and error was: ${fatalErrors.trim()} See the logs for more details.`; } - super(`Encountered a fatal error while running "${prettyCommand}". ` + - `Exit code was ${exitCode}${error} See the logs for more details.`); + else if (autobuildErrors) { + const autobuildHelpLink = "https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/automatic-build-failed"; + message = + "We were unable to automatically build your code. Please provide manual build steps. " + + `For more information, see ${autobuildHelpLink}. ` + + `Encountered the following error: ${autobuildErrors}`; + } + else { + let lastLine = stderr.trim().split("\n").pop()?.trim() || ""; + if (lastLine[lastLine.length - 1] !== ".") { + lastLine += "."; + } + message = + `Encountered a fatal error while running "${prettyCommand}". ` + + `Exit code was ${exitCode} and last log line was: ${lastLine} See the logs for more details.`; + } + super(message); this.exitCode = exitCode; this.stderr = stderr; this.stdout = stdout; @@ -88,26 +101,44 @@ function extractFatalErrors(error) { } return undefined; } +function extractAutobuildErrors(error) { + const pattern = /.*\[autobuild\] \[ERROR\] (.*)/gi; + let errorLines = [...error.matchAll(pattern)].map((match) => match[1]); + // Truncate if there are more than 10 matching lines. + if (errorLines.length > 10) { + errorLines = errorLines.slice(0, 10); + errorLines.push("(truncated)"); + } + return errorLines.join("\n") || undefined; +} function ensureEndsInPeriod(text) { return text[text.length - 1] === "." ? text : `${text}.`; } /** Error messages from the CLI that we consider configuration errors and handle specially. */ var CliConfigErrorCategory; (function (CliConfigErrorCategory) { + CliConfigErrorCategory["GradleBuildFailed"] = "GradleBuildFailed"; CliConfigErrorCategory["IncompatibleWithActionVersion"] = "IncompatibleWithActionVersion"; CliConfigErrorCategory["InitCalledTwice"] = "InitCalledTwice"; CliConfigErrorCategory["InvalidSourceRoot"] = "InvalidSourceRoot"; + CliConfigErrorCategory["MavenBuildFailed"] = "MavenBuildFailed"; CliConfigErrorCategory["NoBuildCommandAutodetected"] = "NoBuildCommandAutodetected"; CliConfigErrorCategory["NoBuildMethodAutodetected"] = "NoBuildMethodAutodetected"; CliConfigErrorCategory["NoSourceCodeSeen"] = "NoSourceCodeSeen"; CliConfigErrorCategory["NoSupportedBuildCommandSucceeded"] = "NoSupportedBuildCommandSucceeded"; CliConfigErrorCategory["NoSupportedBuildSystemDetected"] = "NoSupportedBuildSystemDetected"; + CliConfigErrorCategory["SwiftBuildFailed"] = "SwiftBuildFailed"; })(CliConfigErrorCategory || (exports.CliConfigErrorCategory = CliConfigErrorCategory = {})); /** * All of our caught CLI error messages that we handle specially: ie. if we * would like to categorize an error as a configuration error or not. */ exports.cliErrorsConfig = { + [CliConfigErrorCategory.GradleBuildFailed]: { + cliErrorMessageCandidates: [ + new RegExp("[autobuild] FAILURE: Build failed with an exception."), + ], + }, // Version of CodeQL CLI is incompatible with this version of the CodeQL Action [CliConfigErrorCategory.IncompatibleWithActionVersion]: { cliErrorMessageCandidates: [ @@ -124,6 +155,11 @@ exports.cliErrorsConfig = { [CliConfigErrorCategory.InvalidSourceRoot]: { cliErrorMessageCandidates: [new RegExp("Invalid source root")], }, + [CliConfigErrorCategory.MavenBuildFailed]: { + cliErrorMessageCandidates: [ + new RegExp("\\[autobuild\\] \\[ERROR\\] Failed to execute goal"), + ], + }, [CliConfigErrorCategory.NoBuildCommandAutodetected]: { cliErrorMessageCandidates: [ new RegExp("Could not auto-detect a suitable build method"), @@ -162,6 +198,11 @@ exports.cliErrorsConfig = { new RegExp("No supported build system detected"), ], }, + [CliConfigErrorCategory.SwiftBuildFailed]: { + cliErrorMessageCandidates: [ + new RegExp("\\[autobuilder/build\\] \\[build-command-failed\\] `autobuild` failed to run the build command"), + ], + }, }; /** * Check if the given CLI error or exit code, if applicable, apply to any known diff --git a/lib/cli-errors.js.map b/lib/cli-errors.js.map index a87998863f..8195d33b43 100644 --- a/lib/cli-errors.js.map +++ b/lib/cli-errors.js.map @@ -1 +1 @@ -{"version":3,"file":"cli-errors.js","sourceRoot":"","sources":["../src/cli-errors.ts"],"names":[],"mappings":";;;AAAA,iCAA4C;AAE5C,MAAM,6BAA6B,GACjC,8EAA8E,CAAC;AAEjF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IACzE,IAAI,8BAA8B,KAAK,SAAS,EAAE,CAAC;QACjD,mBAAmB,GAAG,GAAG,mBAAmB,IAAI,8BAA8B,EAAE,CAAC;IACnF,CAAC;IAED,OAAO,IAAI,yBAAkB,CAAC,mBAAmB,CAAC,CAAC;AACrD,CAAC;AAzBD,8DAyBC"} \ No newline at end of file diff --git a/lib/codeql.js b/lib/codeql.js index 51251d830a..350a1e1b42 100644 --- a/lib/codeql.js +++ b/lib/codeql.js @@ -65,6 +65,8 @@ const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.7"; * This is the deprecation date for the version of GHES that was most recently deprecated. */ const GHES_MOST_RECENT_DEPRECATION_DATE = "2023-11-08"; +/** The CLI verbosity level to use for extraction in debug mode. */ +const EXTRACTION_DEBUG_MODE_VERBOSITY = "progress++"; /* * Deprecated in favor of ToolsFeature. * @@ -314,7 +316,7 @@ async function getCodeQLForCmd(cmd, checkVersion) { throw e; } }, - async runAutobuild(language) { + async runAutobuild(language, enableDebugLogging) { const autobuildCmd = path.join(await this.resolveExtractor(language), "tools", process.platform === "win32" ? "autobuild.cmd" : "autobuild.sh"); // Update JAVA_TOOL_OPTIONS to contain '-Dhttp.keepAlive=false' // This is because of an issue with Azure pipelines timing out connections after 4 minutes @@ -327,6 +329,11 @@ async function getCodeQLForCmd(cmd, checkVersion) { "-Dhttp.keepAlive=false", "-Dmaven.wagon.http.pool=false", ].join(" "); + // Bump the verbosity of the autobuild command if we're in debug mode + if (enableDebugLogging) { + process.env[environment_1.EnvVar.CLI_VERBOSITY] = + process.env[environment_1.EnvVar.CLI_VERBOSITY] || EXTRACTION_DEBUG_MODE_VERBOSITY; + } // On macOS, System Integrity Protection (SIP) typically interferes with // CodeQL build tracing of protected binaries. // The usual workaround is to prefix `$CODEQL_RUNNER` to build commands: @@ -356,6 +363,7 @@ async function getCodeQLForCmd(cmd, checkVersion) { "trace-command", "--index-traceless-dbs", ...(await getTrapCachingExtractorConfigArgsForLang(config, language)), + ...getExtractionVerbosityArguments(config.debugMode), ...getExtraOptionsFromEnv(["database", "trace-command"]), util.getCodeQLDatabasePath(config, language), ]); @@ -366,17 +374,19 @@ async function getCodeQLForCmd(cmd, checkVersion) { "trace-command", "--use-build-mode", ...(await getTrapCachingExtractorConfigArgsForLang(config, language)), + ...getExtractionVerbosityArguments(config.debugMode), ...getExtraOptionsFromEnv(["database", "trace-command"]), util.getCodeQLDatabasePath(config, language), ]); }, - async finalizeDatabase(databasePath, threadsFlag, memoryFlag) { + async finalizeDatabase(databasePath, threadsFlag, memoryFlag, enableDebugLogging) { const args = [ "database", "finalize", "--finalize-dataset", threadsFlag, memoryFlag, + ...getExtractionVerbosityArguments(enableDebugLogging), ...getExtraOptionsFromEnv(["database", "finalize"]), databasePath, ]; @@ -921,4 +931,9 @@ async function getCodeScanningQueryHelpArguments(codeql) { } return ["--sarif-add-query-help"]; } +function getExtractionVerbosityArguments(enableDebugLogging) { + return enableDebugLogging + ? [`--verbosity=${EXTRACTION_DEBUG_MODE_VERBOSITY}`] + : []; +} //# sourceMappingURL=codeql.js.map \ No newline at end of file diff --git a/lib/codeql.js.map b/lib/codeql.js.map index 93b46a8154..44993c8c9b 100644 --- a/lib/codeql.js.map +++ b/lib/codeql.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.js","sourceRoot":"","sources":["../src/codeql.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,oDAAsC;AACtC,yEAA2D;AAC3D,8CAAgC;AAChC,+CAAiC;AAEjC,iDAIwB;AAExB,6CAGsB;AAEtB,+CAAuC;AACvC,mDAKyB;AACzB,2CAAyD;AAEzD,4DAA8C;AAC9C,qDAAyE;AACzE,6CAA+B;AAC/B,iCAAmC;AA2NnC;;;GAGG;AACH,IAAI,YAAY,GAAuB,SAAS,CAAC;AAEjD;;;;;;;GAOG;AACH,MAAM,sBAAsB,GAAG,QAAQ,CAAC;AAExC;;GAEG;AACH,MAAM,2B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AC,OAAO,CAAC,MAAM,CAAC,OAAO,EAAE,kBAAkB,CAAC,CAAC;AAC1D,CAAC;AAFD,gFAEC;AAED,KAAK,UAAU,oCAAoC,CACjD,MAAc;IAEd,OAAO,MAAM,IAAI,CAAC,kBAAkB,CAClC,MAAM,EACN,+CAAuC,CACxC,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,4BAA4B,CAAC,MAAc;IACxD,IAAI,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,EAAE,wCAAgC,CAAC,EAAE,CAAC;QAC5E,OAAO,CAAC,6BAA6B,CAAC,CAAC;IACzC,CAAC;IACD,OAAO,EAAE,CAAC;AACZ,CAAC;AAED,KAAK,UAAU,gCAAgC,CAC7C,MAAc,EACd,MAAc;IAEd,OAAO;IACL,8DAA8D;IAC9D,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,KAAK,IAAI,CAAC,aAAa,CAAC,IAAI;QACpD,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;QACrD,CAAC,MAAM,IAAI,CAAC,kBAAkB,CAC5B,MAAM,EACN,gDAAwC,CACzC,CAAC,CACH,CAAC;AACJ,CAAC;AAED,KAAK,UAAU,iCAAiC,CAC9C,MAAc;IAEd,IACE,MAAM,IAAI,CAAC,kBAAkB,CAAC,MAAM,EAAE,iCAAiC,CAAC,EACxE,CAAC;QACD,OAAO,CAAC,mCAAmC,CAAC,CAAC;IAC/C,CAAC;IACD,OAAO,CAAC,wBAAwB,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,+BAA+B,CACtC,kBAA2B;IAE3B,OAAO,kBAAkB;QACvB,CAAC,CAAC,CAAC,eAAe,+BAA+B,EAAE,CAAC;QACpD,CAAC,CAAC,EAAE,CAAC;AACT,CAAC"} \ No newline at end of file diff --git a/lib/codeql.test.js b/lib/codeql.test.js index 2d74941831..beb05a7e2f 100644 --- a/lib/codeql.test.js +++ b/lib/codeql.test.js @@ -37,6 +37,7 @@ const yaml = __importStar(require("js-yaml")); const nock_1 = __importDefault(require("nock")); const sinon = __importStar(require("sinon")); const actionsUtil = __importStar(require("./actions-util")); +const cli_errors_1 = require("./cli-errors"); const codeql = __importStar(require("./codeql")); const defaults = __importStar(require("./defaults.json")); const languages_1 = require("./languages"); @@ -553,7 +554,7 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.11.6")); // safeWhich throws because of the test CodeQL object. sinon.stub(safeWhich, "safeWhich").resolves(""); - await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("", "", ""), { + await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("", "", "", false), { instanceOf: util.ConfigurationError, message: new RegExp("No code found during the build\\. Please see: " + "https://gh\\.io/troubleshooting-code-scanning/no-source-code-seen-during-build\\."), @@ -565,7 +566,7 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.11.6")); // safeWhich throws because of the test CodeQL object. sinon.stub(safeWhich, "safeWhich").resolves(""); - await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("", "", ""), { + await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("", "", "", false), { instanceOf: util.ConfigurationError, message: new RegExp("No code found during the build\\. Please see: " + "https://gh\\.io/troubleshooting-code-scanning/no-source-code-seen-during-build\\."), @@ -579,7 +580,7 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.12.4")); // safeWhich throws because of the test CodeQL object. sinon.stub(safeWhich, "safeWhich").resolves(""); - await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048"), { + await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048", false), { message: 'Encountered a fatal error while running "codeql-for-testing database finalize --finalize-dataset --threads=2 --ram=2048 db". ' + `Exit code was 32 and last log line was: ${cliMessage} See the logs for more details.`, }); @@ -594,12 +595,57 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.12.4")); // safeWhich throws because of the test CodeQL object. sinon.stub(safeWhich, "safeWhich").resolves(""); - await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048"), { + await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048", false), { instanceOf: util.ConfigurationError, message: new RegExp('Encountered a fatal error while running \\"codeql-for-testing database finalize --finalize-dataset --threads=2 --ram=2048 db\\"\\. ' + `Exit code was 32 and error was: ${datasetImportError.replaceAll(".", "\\.")}\\. Context: ${heapError.replaceAll(".", "\\.")}\\. See the logs for more details\\.`), }); }); +(0, ava_1.default)("runTool summarizes autobuilder errors", async (t) => { + const stderr = ` + [2019-09-18 12:00:00] [autobuild] A non-error message + [2019-09-18 12:00:00] Untagged message + [2019-09-18 12:00:00] [autobuild] [ERROR] Start of the error message + [2019-09-18 12:00:00] [autobuild] An interspersed non-error message + [2019-09-18 12:00:01] [autobuild] [ERROR] Some more context about the error message + [2019-09-18 12:00:01] [autobuild] [ERROR] continued + [2019-09-18 12:00:01] [autobuild] [ERROR] and finished here. + [2019-09-18 12:00:01] [autobuild] A non-error message + `; + stubToolRunnerConstructor(1, stderr); + const codeqlObject = await codeql.getCodeQLForTesting(); + sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.12.4")); + sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); + // safeWhich throws because of the test CodeQL object. + sinon.stub(safeWhich, "safeWhich").resolves(""); + await t.throwsAsync(async () => await codeqlObject.runAutobuild(languages_1.Language.java, false), { + instanceOf: cli_errors_1.CommandInvocationError, + message: "We were unable to automatically build your code. Please provide manual build steps. " + + "For more information, see " + + "https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/automatic-build-failed. " + + "Encountered the following error: Start of the error message\n" + + " Some more context about the error message\n" + + " continued\n" + + " and finished here.", + }); +}); +(0, ava_1.default)("runTool truncates long autobuilder errors", async (t) => { + const stderr = Array.from({ length: 20 }, (_, i) => `[2019-09-18 12:00:00] [autobuild] [ERROR] line${i + 1}`).join("\n"); + stubToolRunnerConstructor(1, stderr); + const codeqlObject = await codeql.getCodeQLForTesting(); + sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.12.4")); + sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); + // safeWhich throws because of the test CodeQL object. + sinon.stub(safeWhich, "safeWhich").resolves(""); + await t.throwsAsync(async () => await codeqlObject.runAutobuild(languages_1.Language.java, false), { + instanceOf: cli_errors_1.CommandInvocationError, + message: "We were unable to automatically build your code. Please provide manual build steps. " + + "For more information, see " + + "https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/automatic-build-failed. " + + "Encountered the following error: " + + `${Array.from({ length: 10 }, (_, i) => `line${i + 1}`).join("\n")}\n(truncated)`, + }); +}); (0, ava_1.default)("runTool outputs last line of stderr if fatal error could not be found", async (t) => { const cliStderr = "line1\nline2\nline3\nline4\nline5"; stubToolRunnerConstructor(32, cliStderr); @@ -607,7 +653,7 @@ for (const { codeqlVersion, flagPassed, githubVersion, negativeFlagPassed, } of sinon.stub(codeqlObject, "getVersion").resolves((0, testing_utils_1.makeVersionInfo)("2.12.4")); // safeWhich throws because of the test CodeQL object. sinon.stub(safeWhich, "safeWhich").resolves(""); - await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048"), { + await t.throwsAsync(async () => await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048", false), { instanceOf: util.ConfigurationError, message: new RegExp('Encountered a fatal error while running \\"codeql-for-testing database finalize --finalize-dataset --threads=2 --ram=2048 db\\"\\. ' + "Exit code was 32 and last log line was: line5\\. See the logs for more details\\."), diff --git a/lib/codeql.test.js.map b/lib/codeql.test.js.map index 1f11e4f1c2..29989136de 100644 --- a/lib/codeql.test.js.map +++ b/lib/codeql.test.js.map @@ -1 +1 @@ -{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAGzB,yEAA2D;AAC3D,+DAAiD;AACjD,kEAAoD;AACpD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAE/B,4DAA8C;AAE9C,iDAAmC;AAEnC,0DAA4C;AAC5C,2CAAuC;AACvC,uCAA4C;AAC5C,iDAA6C;AAC7C,mDASyB;AACzB,6CAA+B;AAC/B,iCAA+C;AAE/C,IAAA,0BAAU,EAAC,aAAI,CAAC,CAAC;AAEjB,IAAI,UAAkB,CAAC;AAEvB,aAAI,CAAC,UAAU,CAAC,GAAG,EAAE;IACnB,IAAA,4BAAqB,EAAC,OAAO,CAAC,CAAC;IAE/B,UAAU,GAAG,IAAA,gCAAgB,EAAC;QAC5B,SAAS,EAAE,CAAC,oBAAQ,CAAC,GAAG,CAAC;KAC1B,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,KAAK,UAAU,oBAAoB,CAAC,EAClC,UAAU,GAAG,yCAAyB,EACtC,UAAU,EACV,QAAQ,EACR,OAAO,EACP,MAAM,GAOP;IACC,MAAM,GAAG,GAAG,IAAA,qCAAqB,EAAC,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC,CAAC;IACrE,MAAM,MAAM,CAAC,WAAW,CACtB,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,EAC1C,UAAU,EACV,MAAM,EACN,IAAI,CAAC,aAAa,CAAC,IAAI,EACvB,UAAU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CAAC,IAAI,EAAE,aAAa,EAAE,YAAY,CAAC,EACxE;QACE,UAAU,EAAE,IAAI,CAAC,kBAAkB;QACnC,OAAO,EAAE,IAAI,MAAM,CACjB,qIAAqI;YACnI,mFAAmF,CACtF;KACF,CACF,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,WAAmB,CAAC,EACpB,MAAe;IAEf,MAAM,gBAAgB,GAAG,KAAK,CAAC,kBAAkB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;IACzE,MAAM,qBAAqB,GAAG,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,YAAY,CAAC,CAAC;IACnE,IAAI,cAAc,GAAyC,SAAS,CAAC;IACrE,qBAAqB,CAAC,SAAS,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,OAAoB,EAAE,EAAE;QACpE,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE,MAAM,CAAC;QAC3C,OAAO,gBAAgB,CAAC;IAC1B,CAAC,CAAC,CAAC;IACH,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,KAAK,IAAI,EAAE;QACzC,IAAI,cAAc,KAAK,SAAS,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;QACtC,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAlBD,8DAkBC"} \ No newline at end of file +{"version":3,"file":"codeql.test.js","sourceRoot":"","sources":["../src/codeql.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAGzB,yEAA2D;AAC3D,+DAAiD;AACjD,kEAAoD;AACpD,8CAA6C;AAC7C,8CAAsB;AACtB,8CAAgC;AAChC,gDAAwB;AACxB,6CAA+B;AAE/B,4DAA8C;AAE9C,6CAAsD;AACtD,iDAAmC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,OAAO,QAAQ,CAAC;IAClB,CAAC,CAAC,CAAC;IACH,OAAO,qBAAqB,CAAC;AAC/B,CAAC;AAlBD,8DAkBC"} \ No newline at end of file diff --git a/lib/environment.js b/lib/environment.js index 2aa6bdd05e..b4813f5cdb 100644 --- a/lib/environment.js +++ b/lib/environment.js @@ -13,6 +13,11 @@ var EnvVar; EnvVar["ANALYZE_DID_COMPLETE_SUCCESSFULLY"] = "CODEQL_ACTION_ANALYZE_DID_COMPLETE_SUCCESSFULLY"; /** Whether the `autobuild` Action completes successfully. */ EnvVar["AUTOBUILD_DID_COMPLETE_SUCCESSFULLY"] = "CODEQL_ACTION_AUTOBUILD_DID_COMPLETE_SUCCESSFULLY"; + /** + * The verbosity level of the CLI. One of the following: `errors`, `warnings`, `progress`, + * `progress+`, `progress++`, `progress+++`. + */ + EnvVar["CLI_VERBOSITY"] = "CODEQL_VERBOSITY"; /** Whether the CodeQL Action has invoked the Go autobuilder. */ EnvVar["DID_AUTOBUILD_GOLANG"] = "CODEQL_ACTION_DID_AUTOBUILD_GOLANG"; /** diff --git a/lib/environment.js.map b/lib/environment.js.map index 5c1719a57d..03607e22bd 100644 --- a/lib/environment.js.map +++ b/lib/environment.js.map @@ -1 +1 @@ -{"version":3,"file":"environment.js","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,MA+EX;AA/ED,WAAY,MAAM;IAChB,2DAA2D;IAC3D,+FAAqF,CAAA;IAErF,6DAA6D;IAC7D,mGAAyF,CAAA;IAEzF,gEAAgE;IAChE,qEAA2D,CAAA;IAE3D;;;OAGG;IACH,yFAA+E,CAAA;IAE/E;;;OAGG;IACH,yEAA+D,CAAA;IAE/D,gFAAgF;IAChF,6DAAmD,CAAA;IAEnD;;;OAGG;IACH,uEAA6D,CAAA;IAE7D,gEAAgE;IAChE,mEAAyD,CAAA;IAEzD,kFAAkF;IAClF,mFAAyE,CAAA;IAEzE,4CAA4C;IAC5C,4DAAkD,CAAA;IAElD,6CAA6C;IAC7C,uCAA6B,CAAA;IAE7B,+EAA+E;IAC/E,iDAAuC,CAAA;IAEvC,mEAAyD,CAAA;IAEzD;;;OAGG;IACH,2FAAiF,CAAA;IAEjF,mFAAmF;IACnF,6FAAmF,CAAA;IAEnF,qFAAqF;IACrF,+CAAqC,CAAA;IAErC,mEAAyD,CAAA;IAEzD,kEAAkE;IAClE,2CAAiC,CAAA;IAEjC;;;;;;OAMG;IACH,4DAAkD,CAAA;IAElD;;;OAGG;IACH,wDAA8C,CAAA;AAChD,CAAC,EA/EW,MAAM,sBAAN,MAAM,QA+EjB"} \ No newline at end of file +{"version":3,"file":"environment.js","sourceRoot":"","sources":["../src/environment.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,IAAY,MAqFX;AArFD,WAAY,MAAM;IAChB,2DAA2D;IAC3D,+FAAqF,CAAA;IAErF,6DAA6D;IAC7D,mGAAyF,CAAA;IAEzF;;;OAGG;IACH,4CAAkC,CAAA;IAElC,gEAAgE;IAChE,qEAA2D,CAAA;IAE3D;;;OAGG;IACH,yFAA+E,CAAA;IAE/E;;;OAGG;IACH,yEAA+D,CAAA;IAE/D,gFAAgF;IAChF,6DAAmD,CAAA;IAEnD;;;OAGG;IACH,uEAA6D,CAAA;IAE7D,gEAAgE;IAChE,mEAAyD,CAAA;IAEzD,kFAAkF;IAClF,mFAAyE,CAAA;IAEzE,4CAA4C;IAC5C,4DAAkD,CAAA;IAElD,6CAA6C;IAC7C,uCAA6B,CAAA;IAE7B,+EAA+E;IAC/E,iDAAuC,CAAA;IAEvC,mEAAyD,CAAA;IAEzD;;;OAGG;IACH,2FAAiF,CAAA;IAEjF,mFAAmF;IACnF,6FAAmF,CAAA;IAEnF,qFAAqF;IACrF,+CAAqC,CAAA;IAErC,mEAAyD,CAAA;IAEzD,kEAAkE;IAClE,2CAAiC,CAAA;IAEjC;;;;;;OAMG;IACH,4DAAkD,CAAA;IAElD;;;OAGG;IACH,wDAA8C,CAAA;AAChD,CAAC,EArFW,MAAM,sBAAN,MAAM,QAqFjB"} \ No newline at end of file diff --git a/lib/init-action-post.js b/lib/init-action-post.js index 0c81452d09..aa7a6bceae 100644 --- a/lib/init-action-post.js +++ b/lib/init-action-post.js @@ -62,6 +62,8 @@ async function runWrapper() { await (0, status_report_1.sendStatusReport)(await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.InitPost, (0, status_report_1.getActionsStatus)(error), startedAt, config, await (0, util_1.checkDiskUsage)(), logger, error.message, error.stack)); return; } + const jobStatus = initActionPostHelper.getFinalJobStatus(); + logger.info(`CodeQL job status was ${(0, status_report_1.getJobStatusDisplayName)(jobStatus)}.`); const statusReportBase = await (0, status_report_1.createStatusReportBase)(status_report_1.ActionName.InitPost, "success", startedAt, config, await (0, util_1.checkDiskUsage)(), logger); const statusReport = { ...statusReportBase, diff --git a/lib/init-action-post.js.map b/lib/init-action-post.js.map index c84b68fa9e..6d3571a552 100644 --- a/lib/init-action-post.js.map +++ b/lib/init-action-post.js.map @@ -1 +1 @@ -{"version":3,"file":"init-action-post.js","sourceRoot":"","sources":["../src/init-action-post.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAEtC,iDAAuE;AACvE,6CAAgD;AAChD,iDAAmD;AACnD,kEAAoD;AACpD,mDAA2C;AAC3C,gFAAkE;AAClE,uCAA6C;AAC7C,6CAAkD;AAClD,mDAMyB;AACzB,iCAKgB;AAOhB,KAAK,UAAU,UAAU;IACvB,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAI,MAA0B,CAAC;IAC/B,IAAI,uBAES,CAAC;IACd,IAAI,CAAC;QACH,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD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UAAU,EAAE,oBAAoB,CAAC,iBAAiB,EAAE;KACrD,CAAC;IACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;AACvC,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file +{"version":3,"file":"init-action-post.js","sourceRoot":"","sources":["../src/init-action-post.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,oDAAsC;AAEtC,iDAAuE;AACvE,6CAAgD;AAChD,iDAAmD;AACnD,kEAAoD;AACpD,mDAA2C;AAC3C,gFAAkE;AAClE,uCAA6C;AAC7C,6CAAkD;AAClD,mDAOyB;AACzB,iCAKgB;AAOhB,KAAK,UAAU,UAAU;IACvB,MAAM,MAAM,GAAG,IAAA,0BAAgB,GAAE,CAAC;IAClC,MAAM,SAAS,GAAG,IAAI,IAAI,EAAE,CAAC;IAC7B,IAAI,MAA0B,CAAC;IAC/B,IAAI,uBAES,CAAC;IACd,IAAI,CAAC;QACH,MAAM,aAAa,GAAG,MAAM,IAAA,6BAAgB,GAAE,CAAC;QAC/C,IAAA,gCAAyB,EAAC,aAAa,EAAE,MAAM,CAAC,CAAC;QAEjD,MAAM,aAAa,GAAG,IAAA,+BAAkB,EACtC,IAAA,0BAAmB,EAAC,mBAAmB,CAAC,CACzC,CAAC;QACF,MAAM,QAAQ,GAAG,IAAI,wBAAQ,CAC3B,aAAa,EACb,aAAa,EACb,IAAA,oCAAqB,GAAE,EACvB,MAAM,CACP,CAAC;QAEF,MAAM,GAAG,MAAM,IAAA,wBAAS,EAAC,IAAA,oCAAqB,GAAE,EAAE,MAAM,CAAC,CAAC;QAC1D,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;YACzB,MAAM,CAAC,OAAO,CACZ,iGAAiG,CAClG,CAAC;YACF,OAAO;QACT,CAAC;QAED,uBAAuB,GAAG,MAAM,oBAAoB,CAAC,GAAG,CACtD,cAAc,CAAC,iCAAiC,EAChD,cAAc,CAAC,uBAAuB,EACtC,6BAAc,EACd,MAAM,EACN,aAAa,EACb,QAAQ,EACR,MAAM,CACP,CAAC;IACJ,CAAC;IAAC,OAAO,cAAc,EAAE,CAAC;QACxB,MAAM,KAAK,GAAG,IAAA,gBAAS,EAAC,cAAc,CAAC,CAAC;QACxC,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAE9B,MAAM,IAAA,gCAAgB,EACpB,MAAM,IAAA,sCAAsB,EAC1B,0BAAU,CAAC,QAAQ,EACnB,IAAA,gCAAgB,EAAC,KAAK,CAAC,EACvB,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,EACN,KAAK,CAAC,OAAO,EACb,KAAK,CAAC,KAAK,CACZ,CACF,CAAC;QACF,OAAO;IACT,CAAC;IACD,MAAM,SAAS,GAAG,oBAAoB,CAAC,iBAAiB,EAAE,CAAC;IAC3D,MAAM,CAAC,IAAI,CAAC,yBAAyB,IAAA,uCAAuB,EAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAE5E,MAAM,gBAAgB,GAAG,MAAM,IAAA,sCAAsB,EACnD,0BAAU,CAAC,QAAQ,EACnB,SAAS,EACT,SAAS,EACT,MAAM,EACN,MAAM,IAAA,qBAAc,GAAE,EACtB,MAAM,CACP,CAAC;IACF,MAAM,YAAY,GAAyB;QACzC,GAAG,gBAAgB;QACnB,GAAG,uBAAuB;QAC1B,UAAU,EAAE,oBAAoB,CAAC,iBAAiB,EAAE;KACrD,CAAC;IACF,MAAM,IAAA,gCAAgB,EAAC,YAAY,CAAC,CAAC;AACvC,CAAC;AAED,KAAK,UAAU,EAAE,CAAC"} \ No newline at end of file diff --git a/lib/status-report.js b/lib/status-report.js index c3a9331224..e2de9b16dd 100644 --- a/lib/status-report.js +++ b/lib/status-report.js @@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) { return result; }; Object.defineProperty(exports, "__esModule", { value: true }); -exports.sendStatusReport = exports.createStatusReportBase = exports.getActionsStatus = exports.JobStatus = exports.isFirstPartyAnalysis = exports.ActionName = void 0; +exports.sendStatusReport = exports.createStatusReportBase = exports.getJobStatusDisplayName = exports.getActionsStatus = exports.JobStatus = exports.isFirstPartyAnalysis = exports.ActionName = void 0; const os = __importStar(require("os")); const core = __importStar(require("@actions/core")); const actions_util_1 = require("./actions-util"); @@ -71,6 +71,21 @@ function getActionsStatus(error, otherFailureCause) { } } exports.getActionsStatus = getActionsStatus; +function getJobStatusDisplayName(status) { + switch (status) { + case JobStatus.SuccessStatus: + return "success"; + case JobStatus.FailureStatus: + return "failure"; + case JobStatus.ConfigErrorStatus: + return "configuration error"; + case JobStatus.UnknownStatus: + return "unknown"; + default: + (0, util_1.assertNever)(status); + } +} +exports.getJobStatusDisplayName = getJobStatusDisplayName; /** * Sets the overall job status environment variable to configuration error * or failure, unless it's already been set to one of these values in a diff --git a/lib/status-report.js.map b/lib/status-report.js.map index 798313e930..cf139f45fe 100644 --- a/lib/status-report.js.map +++ b/lib/status-report.js.map @@ -1 +1 @@ -{"version":3,"file":"status-report.js","sourceRoot":"","sources":["../src/status-report.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,oDAAsC;AAEtC,iDAQwB;AACxB,6CAA4D;AAE5D,+CAAuC;AAEvC,iCAQgB;AAEhB,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,qCAAuB,CAAA;IACvB,gCAAkB,CAAA;IAClB,2BAAa,CAAA;IACb,oCAAsB,CAAA;IACtB,wDAA0C,CAAA;IAC1C,0CAA4B,CAAA;AAC9B,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAED;;;;;;;GAOG;AACH,SAAgB,oBAAoB,CAAC,UAAsB;IACzD,IAAI,UAAU,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC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AAC;wBACnE,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;oBAC/B,CAAC;yBAAM,CAAC;wBACN,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;oBAC9B,CAAC;oBACD,OAAO;YACX,CAAC;QACH,CAAC;QAED,mFAAmF;QACnF,0EAA0E;QAC1E,IAAI,CAAC,OAAO,CACV,wEAAwE,CACzE,CAAC;IACJ,CAAC;AACH,CAAC;AAnED,4CAmEC"} \ No newline at end of file +{"version":3,"file":"status-report.js","sourceRoot":"","sources":["../src/status-report.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAEzB,oDAAsC;AAEtC,iDAQwB;AACxB,6CAA4D;AAE5D,+CAAuC;AAEvC,iCASgB;AAEhB,IAAY,UAOX;AAPD,WAAY,UAAU;IACpB,qCAAuB,CAAA;IACvB,gCAAkB,CAAA;IAClB,2BAAa,CAAA;IACb,oCAAsB,CAAA;IACtB,wDAA0C,CAAA;IAC1C,0CAA4B,CAAA;AAC9B,CAAC,EAPW,UAAU,0BAAV,UAAU,QAOrB;AAED;;;;;;;GAOG;AACH,SAAgB,oBAAoB,CAAC,UAAsB;IACzD,IAAI,UAAU,KAAK,UAAU,CAAC,WAAW,EAAE,CAAC;QAC1C,OAAO,IAAI,CAAC;IACd,CAAC;IACD,OAAO,OAAO,CAAC,GAAG,CAAC,oBAAM,CAAC,mBAAmB,CAAC,KAAK,MAAM,CAAC;AAC5D,CAAC;AALD,oDAKC;AASD,8EAA8E;AAC9E,IAAY,SAKX;AALD,WAAY,SAAS;IACnB,iDAAoC,CAAA;IACpC,iDAAoC,CAAA;IACpC,iDAAoC,CAAA;IACpC,iEAAoD,CAAA;AACtD,CAAC,EALW,SAAS,yBAAT,SAAS,QAKpB;AAkGD,SAAgB,gBAAgB,CAC9B,KAAe,EACf,iBAA0B;IAE1B,IAAI,KAAK,IAAI,iBAAiB,EAAE,CAAC;QAC/B,OAAO,KAAK,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CAAC,KAAK,wBAAiB,EAAE,CAAC;wBACnE,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;oBAC/B,CAAC;yBAAM,CAAC;wBACN,IAAI,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC;oBAC9B,CAAC;oBACD,OAAO;YACX,CAAC;QACH,CAAC;QAED,mFAAmF;QACnF,0EAA0E;QAC1E,IAAI,CAAC,OAAO,CACV,wEAAwE,CACzE,CAAC;IACJ,CAAC;AACH,CAAC;AAnED,4CAmEC"} \ No newline at end of file diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index 85b30875aa..74f8c9536c 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.24.7", + "version": "3.24.8", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package-lock.json b/package-lock.json index b2f0ee7ab0..49434114c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "codeql", - "version": "3.24.7", + "version": "3.24.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "codeql", - "version": "3.24.7", + "version": "3.24.8", "license": "MIT", "dependencies": { "@actions/artifact": "^1.1.2", diff --git a/package.json b/package.json index 43fff587f7..3e571b728f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codeql", - "version": "3.24.7", + "version": "3.24.8", "private": true, "description": "CodeQL action", "scripts": { diff --git a/src/analyze.ts b/src/analyze.ts index 62d083a321..8793a9c50b 100644 --- a/src/analyze.ts +++ b/src/analyze.ts @@ -263,6 +263,7 @@ async function finalizeDatabaseCreation( util.getCodeQLDatabasePath(config, language), threadsFlag, memoryFlag, + config.debugMode, ); logger.endGroup(); } diff --git a/src/autobuild.ts b/src/autobuild.ts index a741586476..02397345cb 100644 --- a/src/autobuild.ts +++ b/src/autobuild.ts @@ -162,7 +162,7 @@ export async function runAutobuild( if (language === Language.cpp) { await setupCppAutobuild(codeQL, logger); } - await codeQL.runAutobuild(language); + await codeQL.runAutobuild(language, config.debugMode); if (language === Language.go) { core.exportVariable(EnvVar.DID_AUTOBUILD_GOLANG, "true"); } diff --git a/src/cli-errors.ts b/src/cli-errors.ts index 4fc634ec1a..e16fe062ad 100644 --- a/src/cli-errors.ts +++ b/src/cli-errors.ts @@ -20,20 +20,31 @@ export class CommandInvocationError extends Error { .join(" "); const fatalErrors = extractFatalErrors(stderr); - const lastLine = stderr.trim().split("\n").pop()?.trim(); - let error = fatalErrors - ? ` and error was: ${fatalErrors.trim()}` - : lastLine - ? ` and last log line was: ${lastLine}` - : ""; - if (error[error.length - 1] !== ".") { - error += "."; + const autobuildErrors = extractAutobuildErrors(stderr); + let message: string; + + if (fatalErrors) { + message = + `Encountered a fatal error while running "${prettyCommand}". ` + + `Exit code was ${exitCode} and error was: ${fatalErrors.trim()} See the logs for more details.`; + } else if (autobuildErrors) { + const autobuildHelpLink = + "https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/automatic-build-failed"; + message = + "We were unable to automatically build your code. Please provide manual build steps. " + + `For more information, see ${autobuildHelpLink}. ` + + `Encountered the following error: ${autobuildErrors}`; + } else { + let lastLine = stderr.trim().split("\n").pop()?.trim() || ""; + if (lastLine[lastLine.length - 1] !== ".") { + lastLine += "."; + } + message = + `Encountered a fatal error while running "${prettyCommand}". ` + + `Exit code was ${exitCode} and last log line was: ${lastLine} See the logs for more details.`; } - super( - `Encountered a fatal error while running "${prettyCommand}". ` + - `Exit code was ${exitCode}${error} See the logs for more details.`, - ); + super(message); } } @@ -96,20 +107,34 @@ function extractFatalErrors(error: string): string | undefined { return undefined; } +function extractAutobuildErrors(error: string): string | undefined { + const pattern = /.*\[autobuild\] \[ERROR\] (.*)/gi; + let errorLines = [...error.matchAll(pattern)].map((match) => match[1]); + // Truncate if there are more than 10 matching lines. + if (errorLines.length > 10) { + errorLines = errorLines.slice(0, 10); + errorLines.push("(truncated)"); + } + return errorLines.join("\n") || undefined; +} + function ensureEndsInPeriod(text: string): string { return text[text.length - 1] === "." ? text : `${text}.`; } /** Error messages from the CLI that we consider configuration errors and handle specially. */ export enum CliConfigErrorCategory { + GradleBuildFailed = "GradleBuildFailed", IncompatibleWithActionVersion = "IncompatibleWithActionVersion", InitCalledTwice = "InitCalledTwice", InvalidSourceRoot = "InvalidSourceRoot", + MavenBuildFailed = "MavenBuildFailed", NoBuildCommandAutodetected = "NoBuildCommandAutodetected", NoBuildMethodAutodetected = "NoBuildMethodAutodetected", NoSourceCodeSeen = "NoSourceCodeSeen", NoSupportedBuildCommandSucceeded = "NoSupportedBuildCommandSucceeded", NoSupportedBuildSystemDetected = "NoSupportedBuildSystemDetected", + SwiftBuildFailed = "SwiftBuildFailed", } type CliErrorConfiguration = { @@ -127,6 +152,11 @@ export const cliErrorsConfig: Record< CliConfigErrorCategory, CliErrorConfiguration > = { + [CliConfigErrorCategory.GradleBuildFailed]: { + cliErrorMessageCandidates: [ + new RegExp("[autobuild] FAILURE: Build failed with an exception."), + ], + }, // Version of CodeQL CLI is incompatible with this version of the CodeQL Action [CliConfigErrorCategory.IncompatibleWithActionVersion]: { cliErrorMessageCandidates: [ @@ -145,6 +175,11 @@ export const cliErrorsConfig: Record< [CliConfigErrorCategory.InvalidSourceRoot]: { cliErrorMessageCandidates: [new RegExp("Invalid source root")], }, + [CliConfigErrorCategory.MavenBuildFailed]: { + cliErrorMessageCandidates: [ + new RegExp("\\[autobuild\\] \\[ERROR\\] Failed to execute goal"), + ], + }, [CliConfigErrorCategory.NoBuildCommandAutodetected]: { cliErrorMessageCandidates: [ new RegExp("Could not auto-detect a suitable build method"), @@ -190,6 +225,13 @@ export const cliErrorsConfig: Record< new RegExp("No supported build system detected"), ], }, + [CliConfigErrorCategory.SwiftBuildFailed]: { + cliErrorMessageCandidates: [ + new RegExp( + "\\[autobuilder/build\\] \\[build-command-failed\\] `autobuild` failed to run the build command", + ), + ], + }, }; /** diff --git a/src/codeql.test.ts b/src/codeql.test.ts index e94e767fb5..d50e769b21 100644 --- a/src/codeql.test.ts +++ b/src/codeql.test.ts @@ -12,6 +12,7 @@ import * as sinon from "sinon"; import * as actionsUtil from "./actions-util"; import { GitHubApiDetails } from "./api-client"; +import { CommandInvocationError } from "./cli-errors"; import * as codeql from "./codeql"; import { AugmentationProperties, Config } from "./config-utils"; import * as defaults from "./defaults.json"; @@ -873,7 +874,7 @@ test("database finalize recognises JavaScript no code found error on CodeQL 2.11 sinon.stub(safeWhich, "safeWhich").resolves(""); await t.throwsAsync( - async () => await codeqlObject.finalizeDatabase("", "", ""), + async () => await codeqlObject.finalizeDatabase("", "", "", false), { instanceOf: util.ConfigurationError, message: new RegExp( @@ -892,7 +893,7 @@ test("database finalize overrides no code found error on CodeQL 2.11.6", async ( sinon.stub(safeWhich, "safeWhich").resolves(""); await t.throwsAsync( - async () => await codeqlObject.finalizeDatabase("", "", ""), + async () => await codeqlObject.finalizeDatabase("", "", "", false), { instanceOf: util.ConfigurationError, message: new RegExp( @@ -915,7 +916,12 @@ test("database finalize does not override no code found error on CodeQL 2.12.4", await t.throwsAsync( async () => - await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048"), + await codeqlObject.finalizeDatabase( + "db", + "--threads=2", + "--ram=2048", + false, + ), { message: 'Encountered a fatal error while running "codeql-for-testing database finalize --finalize-dataset --threads=2 --ram=2048 db". ' + @@ -940,7 +946,12 @@ test("runTool summarizes several fatal errors", async (t) => { await t.throwsAsync( async () => - await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048"), + await codeqlObject.finalizeDatabase( + "db", + "--threads=2", + "--ram=2048", + false, + ), { instanceOf: util.ConfigurationError, message: new RegExp( @@ -957,6 +968,68 @@ test("runTool summarizes several fatal errors", async (t) => { ); }); +test("runTool summarizes autobuilder errors", async (t) => { + const stderr = ` + [2019-09-18 12:00:00] [autobuild] A non-error message + [2019-09-18 12:00:00] Untagged message + [2019-09-18 12:00:00] [autobuild] [ERROR] Start of the error message + [2019-09-18 12:00:00] [autobuild] An interspersed non-error message + [2019-09-18 12:00:01] [autobuild] [ERROR] Some more context about the error message + [2019-09-18 12:00:01] [autobuild] [ERROR] continued + [2019-09-18 12:00:01] [autobuild] [ERROR] and finished here. + [2019-09-18 12:00:01] [autobuild] A non-error message + `; + stubToolRunnerConstructor(1, stderr); + const codeqlObject = await codeql.getCodeQLForTesting(); + sinon.stub(codeqlObject, "getVersion").resolves(makeVersionInfo("2.12.4")); + sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); + // safeWhich throws because of the test CodeQL object. + sinon.stub(safeWhich, "safeWhich").resolves(""); + + await t.throwsAsync( + async () => await codeqlObject.runAutobuild(Language.java, false), + { + instanceOf: CommandInvocationError, + message: + "We were unable to automatically build your code. Please provide manual build steps. " + + "For more information, see " + + "https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/automatic-build-failed. " + + "Encountered the following error: Start of the error message\n" + + " Some more context about the error message\n" + + " continued\n" + + " and finished here.", + }, + ); +}); + +test("runTool truncates long autobuilder errors", async (t) => { + const stderr = Array.from( + { length: 20 }, + (_, i) => `[2019-09-18 12:00:00] [autobuild] [ERROR] line${i + 1}`, + ).join("\n"); + stubToolRunnerConstructor(1, stderr); + const codeqlObject = await codeql.getCodeQLForTesting(); + sinon.stub(codeqlObject, "getVersion").resolves(makeVersionInfo("2.12.4")); + sinon.stub(codeqlObject, "resolveExtractor").resolves("/path/to/extractor"); + // safeWhich throws because of the test CodeQL object. + sinon.stub(safeWhich, "safeWhich").resolves(""); + + await t.throwsAsync( + async () => await codeqlObject.runAutobuild(Language.java, false), + { + instanceOf: CommandInvocationError, + message: + "We were unable to automatically build your code. Please provide manual build steps. " + + "For more information, see " + + "https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/automatic-build-failed. " + + "Encountered the following error: " + + `${Array.from({ length: 10 }, (_, i) => `line${i + 1}`).join( + "\n", + )}\n(truncated)`, + }, + ); +}); + test("runTool outputs last line of stderr if fatal error could not be found", async (t) => { const cliStderr = "line1\nline2\nline3\nline4\nline5"; stubToolRunnerConstructor(32, cliStderr); @@ -967,7 +1040,12 @@ test("runTool outputs last line of stderr if fatal error could not be found", as await t.throwsAsync( async () => - await codeqlObject.finalizeDatabase("db", "--threads=2", "--ram=2048"), + await codeqlObject.finalizeDatabase( + "db", + "--threads=2", + "--ram=2048", + false, + ), { instanceOf: util.ConfigurationError, message: new RegExp( diff --git a/src/codeql.ts b/src/codeql.ts index 91875375ec..fbc4969461 100644 --- a/src/codeql.ts +++ b/src/codeql.ts @@ -82,7 +82,7 @@ export interface CodeQL { /** * Runs the autobuilder for the given language. */ - runAutobuild(language: Language): Promise; + runAutobuild(language: Language, enableDebugLogging: boolean): Promise; /** * Extract code for a scanned language using 'codeql database trace-command' * and running the language extractor. @@ -100,6 +100,7 @@ export interface CodeQL { databasePath: string, threadsFlag: string, memoryFlag: string, + enableDebugLogging: boolean, ): Promise; /** * Run 'codeql resolve languages'. @@ -279,6 +280,9 @@ const GHES_VERSION_MOST_RECENTLY_DEPRECATED = "3.7"; */ const GHES_MOST_RECENT_DEPRECATION_DATE = "2023-11-08"; +/** The CLI verbosity level to use for extraction in debug mode. */ +const EXTRACTION_DEBUG_MODE_VERBOSITY = "progress++"; + /* * Deprecated in favor of ToolsFeature. * @@ -634,7 +638,7 @@ export async function getCodeQLForCmd( throw e; } }, - async runAutobuild(language: Language) { + async runAutobuild(language: Language, enableDebugLogging: boolean) { const autobuildCmd = path.join( await this.resolveExtractor(language), "tools", @@ -653,6 +657,12 @@ export async function getCodeQLForCmd( "-Dmaven.wagon.http.pool=false", ].join(" "); + // Bump the verbosity of the autobuild command if we're in debug mode + if (enableDebugLogging) { + process.env[EnvVar.CLI_VERBOSITY] = + process.env[EnvVar.CLI_VERBOSITY] || EXTRACTION_DEBUG_MODE_VERBOSITY; + } + // On macOS, System Integrity Protection (SIP) typically interferes with // CodeQL build tracing of protected binaries. // The usual workaround is to prefix `$CODEQL_RUNNER` to build commands: @@ -682,6 +692,7 @@ export async function getCodeQLForCmd( "trace-command", "--index-traceless-dbs", ...(await getTrapCachingExtractorConfigArgsForLang(config, language)), + ...getExtractionVerbosityArguments(config.debugMode), ...getExtraOptionsFromEnv(["database", "trace-command"]), util.getCodeQLDatabasePath(config, language), ]); @@ -692,6 +703,7 @@ export async function getCodeQLForCmd( "trace-command", "--use-build-mode", ...(await getTrapCachingExtractorConfigArgsForLang(config, language)), + ...getExtractionVerbosityArguments(config.debugMode), ...getExtraOptionsFromEnv(["database", "trace-command"]), util.getCodeQLDatabasePath(config, language), ]); @@ -700,6 +712,7 @@ export async function getCodeQLForCmd( databasePath: string, threadsFlag: string, memoryFlag: string, + enableDebugLogging: boolean, ) { const args = [ "database", @@ -707,6 +720,7 @@ export async function getCodeQLForCmd( "--finalize-dataset", threadsFlag, memoryFlag, + ...getExtractionVerbosityArguments(enableDebugLogging), ...getExtraOptionsFromEnv(["database", "finalize"]), databasePath, ]; @@ -1405,3 +1419,11 @@ async function getCodeScanningQueryHelpArguments( } return ["--sarif-add-query-help"]; } + +function getExtractionVerbosityArguments( + enableDebugLogging: boolean, +): string[] { + return enableDebugLogging + ? [`--verbosity=${EXTRACTION_DEBUG_MODE_VERBOSITY}`] + : []; +} diff --git a/src/environment.ts b/src/environment.ts index 18276416fc..4bfa7dc25c 100644 --- a/src/environment.ts +++ b/src/environment.ts @@ -11,6 +11,12 @@ export enum EnvVar { /** Whether the `autobuild` Action completes successfully. */ AUTOBUILD_DID_COMPLETE_SUCCESSFULLY = "CODEQL_ACTION_AUTOBUILD_DID_COMPLETE_SUCCESSFULLY", + /** + * The verbosity level of the CLI. One of the following: `errors`, `warnings`, `progress`, + * `progress+`, `progress++`, `progress+++`. + */ + CLI_VERBOSITY = "CODEQL_VERBOSITY", + /** Whether the CodeQL Action has invoked the Go autobuilder. */ DID_AUTOBUILD_GOLANG = "CODEQL_ACTION_DID_AUTOBUILD_GOLANG", diff --git a/src/init-action-post.ts b/src/init-action-post.ts index ad39179a15..643f235dbd 100644 --- a/src/init-action-post.ts +++ b/src/init-action-post.ts @@ -20,6 +20,7 @@ import { createStatusReportBase, getActionsStatus, ActionName, + getJobStatusDisplayName, } from "./status-report"; import { checkDiskUsage, @@ -89,6 +90,9 @@ async function runWrapper() { ); return; } + const jobStatus = initActionPostHelper.getFinalJobStatus(); + logger.info(`CodeQL job status was ${getJobStatusDisplayName(jobStatus)}.`); + const statusReportBase = await createStatusReportBase( ActionName.InitPost, "success", diff --git a/src/status-report.ts b/src/status-report.ts index c859a734a4..fba326a583 100644 --- a/src/status-report.ts +++ b/src/status-report.ts @@ -23,6 +23,7 @@ import { isInTestMode, GITHUB_DOTCOM_URL, DiskUsage, + assertNever, } from "./util"; export enum ActionName { @@ -171,6 +172,21 @@ export function getActionsStatus( } } +export function getJobStatusDisplayName(status: JobStatus): string { + switch (status) { + case JobStatus.SuccessStatus: + return "success"; + case JobStatus.FailureStatus: + return "failure"; + case JobStatus.ConfigErrorStatus: + return "configuration error"; + case JobStatus.UnknownStatus: + return "unknown"; + default: + assertNever(status); + } +} + /** * Sets the overall job status environment variable to configuration error * or failure, unless it's already been set to one of these values in a