Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

curl: command not found when job runs in container #4

@mcuelenaere

Description

@mcuelenaere

Uploading the test results fails with curl: command not found. Unsure why such a basic utility would be missing. This was our first experience setting up Buildpulse.

Full logs:

Run Workshop64/buildpulse-action@main
  with:
    account: ***
    repository: ***
    path: ./test-results.xml
    key: ***
    secret: ***
    repository-path: .
  env:
    NPM_CONFIG_USERCONFIG: /__w/_temp/.npmrc
    NODE_AUTH_TOKEN: ***
Run $GITHUB_ACTION_PATH/run.sh
  $GITHUB_ACTION_PATH/run.sh
  shell: bash --noprofile --norc -e -o pipefail {0}
  env:
    NPM_CONFIG_USERCONFIG: /__w/_temp/.npmrc
    NODE_AUTH_TOKEN: ***
    INPUT_ACCOUNT: ***
    INPUT_REPOSITORY: ***
    INPUT_PATH: ./test-results.xml
    INPUT_KEY: ***
    INPUT_SECRET: ***
    INPUT_CLI_URL: 
    INPUT_REPOSITORY_PATH: .
+ curl -fsSL --retry 3 --retry-connrefused --connect-timeout 5 https://get.buildpulse.io/test-reporter-linux-amd64
/__w/_actions/Workshop64/buildpulse-action/main/run.sh: line 73: curl: command not found
+ curl -fsSL --retry 3 --retry-connrefused --connect-timeout 5 https://github.com/buildpulse/test-reporter/releases/latest/download/test-reporter-linux-amd64
/__w/_actions/Workshop64/buildpulse-action/main/run.sh: line 73: curl: command not found
Warning: Unable to send test results to BuildPulse. See details below.

Downloading the BuildPulse test-reporter failed with status 127.

We never want BuildPulse to make your builds unstable. Since we're having
trouble downloading the BuildPulse test-reporter, we're skipping the
BuildPulse analysis for this build.

If you continue seeing this problem, please get in touch at
https://buildpulse.io/contact so we can look into this issue.

Job environment:

Current runner version: '2.288.1'
Operating System
  Ubuntu
  20.04.4
  LTS
Virtual Environment
  Environment: ubuntu-20.04
  Version: 20220227.1
  Included Software: https://github.com/actions/virtual-environments/blob/ubuntu20/20220227.1/images/linux/Ubuntu2004-Readme.md
  Image Release: https://github.com/actions/virtual-environments/releases/tag/ubuntu20%2F20220227.1
Virtual Environment Provisioner
  1.0.0.0-main-20220307-1
GITHUB_TOKEN Permissions
  Actions: write
  Checks: write
  Contents: write
  Deployments: write
  Discussions: write
  Issues: write
  Metadata: read
  Packages: write
  Pages: write
  PullRequests: write
  RepositoryProjects: write
  SecurityEvents: write
  Statuses: write
Secret source: Actions
Prepare workflow directory
Prepare all required actions
Getting action download info
Download action repository 'actions/checkout@v3' (SHA:a12a3943b4bdde767164f792f33f40b04645d846)
Download action repository 'actions/setup-node@v3' (SHA:9ced9a43a244f3ac94f13bfd896db8c8f30da67a)
Download action repository 'actions/cache@v3' (SHA:4b0cf6cc4619e737324ddfcec08fff2413359514)
Download action repository 'Workshop64/buildpulse-action@main' (SHA:d0055c20c53dfefe15d2caa5bd5430da576f440f)

Relevant excerpt from workflow:

    runs-on: ubuntu-latest
    container:
      image: ubuntu:latest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions