Git Product home page Git Product logo

codeql-agent-extension's Issues

The mac of the arm architecture reports an error

CodeQL Agent running Codeql scan: docker run --rm --name codeql-agent-docker -v "/Users/test/tools/code_review/src/java/JSH_ERP-v3.2:/opt/src" -e "USERID=$(id -u ${USER})" -e "GROUPID=$(id -g ${USER})" -v "/Users/test/tools/code_review/src/java/JSH_ERP-v3.2/codeql-agent-results:/opt/results" -e "THREADS=0" -e "FORMAT=sarif-latest" doublevkay/codeql-agent-dev...
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Add parameter to docker command
--platform linux/amd64

please help me, thanks!

........................................
[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406)
[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347)
[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] [ERROR]
[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] [ERROR]
[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] [ERROR] For more information about the errors and possible solutions, please read the following articles:

[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] [ERROR]

[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] [ERROR] After correcting the problems, you can resume the build with the command
[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [autobuild] [ERROR] mvn -rf :buddhist-business

[2023-06-01 03:31:03] [build-stdout] [2023-06-01 03:31:03] [ERROR] Spawned process exited abnormally (code 1; tried to run: [mvn, clean, package, -f, pom.xml, -B, -V, -e, -Dfindbugs.skip, -Dcheckstyle.skip, -Dpmd.skip=true, -Dspotbugs.skip, -Denforcer.skip, -Dmaven.javadoc.skip, -DskipTests, -Dmaven.test.skip.exec, -Dlicense.skip=true, -Drat.skip=true, -Dspotless.check.skip=true])

[2023-06-01 03:31:04] [ERROR] Spawned process exited abnormally (code 1; tried to run: [/root/codeql-home/codeql/tools/linux64/preload_tracer, /root/codeql-home/codeql/java/tools/autobuild.sh])

A fatal error occurred: Exit status 1 from command: [/root/codeql-home/codeql/java/tools/autobuild.sh]

[Running] Start Scanning: codeql database analyze --format=sarif-latest --threads=0 --output=/opt/results/issues.sarif-latest /opt/results/codeql-db java-security-extended.qls

Running queries.

A fatal error occurred: Database at /opt/results/codeql-db needs to be finalized before running queries; please run codeql database finalize

[!] CodeQL analyze failed.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.