Uploading test results fails

cucumber
2.0

#1

We have some Maven tests running using maven surefire plugin to generate test results in XML format. The files are stored in project/target/surefire-reports/ I am attempting to upload the test results to Insights by following the instructions here: https://circleci.com/docs/2.0/collect-test-data/#maven-surefire-plugin-for-java-junit-results

The tests are running successfully, however when I get to the “Upload test results” step I receive this error.

I can confirm that there is well formated .xml files generated in this directory after each test run.

I am running this from a workflow, I am not sure if that matters.

Here is my config.yaml:

version: 2
jobs:
  build:
    docker:
      - image: circleci/openjdk:latest-node-browsers
    environment:
      - TAGS: '@demo'
    steps:
      - checkout
      - run:
          name: Install Maven
          command: |
            sudo apt-get install maven
            mvn --version
            java -version
      - run:
          name: Run Tests
          command: |
            echo $TAGS
            mvn test -Dcucumber.options="--tags ${TAGS}"
      - store_test_results:
          path: target/surefire-reports

workflows:
  version: 2
  test:
    jobs:
     - build:
         filters:
           branches:
             only:
               - circle-ci