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

FOSSA test failing with "The build failed. Check the FOSSA webapp for more details." #943

Open
shubham1172 opened this issue May 23, 2022 · 0 comments

Comments

@shubham1172
Copy link

We are using FOSSA in our GH pipelines. This is our YAML file:

jobs:
  fossa-scan:
    runs-on: ubuntu-latest
    env:
      FOSSA_API_KEY: token # This is a push-only token that is safe to be exposed.
    steps:
      - name: "Checkout code"
        uses: actions/checkout@v2

      - name: "Run FOSSA Scan"
        uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
        with:
          api-key: ${{ env.FOSSA_API_KEY }}

      - name: "Run FOSSA Test"
        uses: fossas/fossa-action@v1.1.0 # Use a specific version if locking is preferred
        with:
          api-key: ${{ env.FOSSA_API_KEY }}
          run-tests: true

The FOSSA test step has been failing with the message:

/opt/hostedtoolcache/fossa/3.3.0/linux_amd64/fossa test 
[ INFO] 
[ INFO] Using project name: `[https://github.com/dapr/components-contrib`](https://github.com/dapr/components-contrib%60)
[ INFO] Using revision: `be29250c0302f1cd2a67c848050a5fc02111d805`
[ INFO] [ Waiting for build completion... ]
[ INFO] [ Waiting for build completion... last status: StatusCreated ]
[ INFO] [ Waiting for build completion... last status: StatusCreated ]
[ INFO] [ Waiting for build completion... last status: StatusRunning ]
[ INFO] [ Waiting for build completion... last status: StatusRunning ]
[ INFO] [ Waiting for build completion... last status: StatusRunning ]
[ INFO] [ Waiting for build completion... last status: StatusRunning ]
[ INFO] [ Waiting for build completion... last status: StatusRunning ]
[ INFO] [ Waiting for build completion... last status: StatusRunning ]
[ INFO] [ Waiting for build completion... last status: StatusRunning ]
[ INFO] [ Waiting for build completion... last status: StatusRunning ]
Error:  ----------
  An issue occurred

  >>> Relevant errors

    Error

      The build failed. Check the FOSSA webapp for more details.

      Traceback:
        (none)


Error: Error: The process '/opt/hostedtoolcache/fossa/3.3.0/linux_amd64/fossa' failed with exit code 1

The scan step had passed, but test is failing. On visiting the FOSSA application too I don't see any failed builds. How can I get more information on what went wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant