Skip to content

Merge pull request #865 from eclipse-tractusx/dependabot/github_actio… #671

Merge pull request #865 from eclipse-tractusx/dependabot/github_actio…

Merge pull request #865 from eclipse-tractusx/dependabot/github_actio… #671

GitHub Actions / Test Results failed Aug 19, 2024 in 0s

15 fail, 1 pass in 0s

16 tests    1 ✅  0s ⏱️
 1 suites   0 💤
 1 files    15 ❌

Results for commit fd9b1b7.

Annotations

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure investigation job with valid globalAssetId and BPN is processed correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 42):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e
          bpn: BPNL00000003AYRE
        bomLifecycle: asPlanned
        callbackUrl: http://testikus.com
        incidentBPNSs:
          - BPNS00000003B6LU
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      bomLifecycle: asPlanned
      callbackUrl: http://testikus.com
      incidentBPNSs:
      - BPNS00000003B6LU
      key:
        bpn: BPNL00000003AYRE
        globalAssetId: urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure investigation job with valid globalAssetId for unknown BPN is processed correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 117):
  - name: register a BPN investigation job with valid globalAssetId for unknown BPN
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e
          bpn: BPNL00000003AYRE
        bomLifecycle: asPlanned
        callbackUrl: http://testikus.com
        incidentBPNSs:
          - BPNS00ARBITRARY9
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId for unknown BPN
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      bomLifecycle: asPlanned
      callbackUrl: http://testikus.com
      incidentBPNSs:
      - BPNS00ARBITRARY9
      key:
        bpn: BPNL00000003AYRE
        globalAssetId: urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId for unknown BPN' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure investigation job with unknown globalAssetId and valid BPN is processed correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 175):
  - name: register a BPN investigation with unknown globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:
          globalAssetId: urn:uuid:2c57b0e9-a653-411d-bdcd-64787e955555
          bpn: BPNL00000003AYRE
        incidentBPNSs:
          - BPNS00000003B6LU
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation with unknown globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      incidentBPNSs:
      - BPNS00000003B6LU
      key:
        bpn: BPNL00000003AYRE
        globalAssetId: urn:uuid:2c57b0e9-a653-411d-bdcd-64787e955555
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation with unknown globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure investigation job with valid globalAssetId and valid BPN but partial supply chain is processed correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 230):
  - name: register a BPN investigation job with valid globalAssetId and valid BPN
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:3a2a1ca9-c6c1-49c7-a7ae-1dfc5fb9881f
          bpn: BPNL00ARBITRARY8
        bomLifecycle: asPlanned
        callbackUrl: http://testikus.com
        incidentBPNSs:
          - BPNS0ARBITRARY11
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId and valid BPN
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      bomLifecycle: asPlanned
      callbackUrl: http://testikus.com
      incidentBPNSs:
      - BPNS0ARBITRARY11
      key:
        bpn: BPNL00ARBITRARY8
        globalAssetId: urn:uuid:3a2a1ca9-c6c1-49c7-a7ae-1dfc5fb9881f
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId and valid BPN' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure investigation job with valid globalAssetId and valid BPN but not reachable incidentBPN is processed correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 289):
  - name: register a BPN investigation job with valid globalAssetId and valid BPN but not reachable incidentBPN
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:68904173-ad59-4a77-8412-3e73fcafbd8b
          bpn: BPNL00000003B6LU
        bomLifecycle: asPlanned
        callbackUrl: http://testikus.com
        incidentBPNSs:
          - BPNS00000003AXS3
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId and valid BPN but
    not reachable incidentBPN
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      bomLifecycle: asPlanned
      callbackUrl: http://testikus.com
      incidentBPNSs:
      - BPNS00000003AXS3
      key:
        bpn: BPNL00000003B6LU
        globalAssetId: urn:uuid:68904173-ad59-4a77-8412-3e73fcafbd8b
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId and valid BPN but not reachable incidentBPN' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure investigation job with several relationships for valid globalAssetId and BPN is processed correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 347):
  - name: register a BPN investigation job with valid globalAssetId with several relationships
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:1c7a25ea-0490-4944-b9c9-d8c666d47958
          bpn: BPNL00ARBITRARY4
        incidentBPNSs:
          - BPNS00ARBITRARY7
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId with several relationships
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      incidentBPNSs:
      - BPNS00ARBITRARY7
      key:
        bpn: BPNL00ARBITRARY4
        globalAssetId: urn:uuid:1c7a25ea-0490-4944-b9c9-d8c666d47958
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId with several relationships' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure investigation job for globalAssetId with missing PartSiteInformationAsPlanned is processed correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 408):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:
          globalAssetId: urn:uuid:b0faace3-d41f-45b8-9573-175a33efbaaf
          bpn: BPNL00ARBITRARY8
        bomLifecycle: asPlanned
        callbackUrl: http://testikus.com
        incidentBPNSs:
          - BPNL0ARBITRARY11
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      bomLifecycle: asPlanned
      callbackUrl: http://testikus.com
      incidentBPNSs:
      - BPNL0ARBITRARY11
      key:
        bpn: BPNL00ARBITRARY8
        globalAssetId: urn:uuid:b0faace3-d41f-45b8-9573-175a33efbaaf
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure investigation job for globalAssetId with missing BPNS in PartSiteInformationAsPlanned is processed correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 470):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:
          globalAssetId: urn:uuid:f5024c70-6c4f-4ec5-b23b-aa6a91110611
          bpn: BPNL00ARBITRARY8
        bomLifecycle: asPlanned
        callbackUrl: http://testikus.com
        incidentBPNSs:
          - BPNL0ARBITRARY11
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      bomLifecycle: asPlanned
      callbackUrl: http://testikus.com
      incidentBPNSs:
      - BPNL0ARBITRARY11
      key:
        bpn: BPNL00ARBITRARY8
        globalAssetId: urn:uuid:f5024c70-6c4f-4ec5-b23b-aa6a91110611
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure first level supplier BPNL in investigation job with four level request has been detected correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 535):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e
          bpn: BPNL00000003AYRE
        bomLifecycle: asPlanned
        callbackUrl: http://testikus.com
        incidentBPNSs:
          - BPNS00000003B6LU
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      bomLifecycle: asPlanned
      callbackUrl: http://testikus.com
      incidentBPNSs:
      - BPNS00000003B6LU
      key:
        bpn: BPNL00000003AYRE
        globalAssetId: urn:uuid:0733946c-59c6-41ae-9570-cb43a6e4c79e
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure first level supplier BPNL in investigation job with several impacted nodes has been detected correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 596):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c
          bpn: BPNL00ARBITRARY1
        bomLifecycle: asPlanned
        callbackUrl: http://testikus.com
        incidentBPNSs:
          - BPNS00000003B6LU
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      bomLifecycle: asPlanned
      callbackUrl: http://testikus.com
      incidentBPNSs:
      - BPNS00000003B6LU
      key:
        bpn: BPNL00ARBITRARY1
        globalAssetId: urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure first level supplier bpnl in investigation job with three level request has been detected correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 657):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:1c7a25ea-0490-4944-b9c9-d8c666d47958
          bpn: BPNL00ARBITRARY4
        incidentBPNSs:
          - BPNS00ARBITRARY7
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      incidentBPNSs:
      - BPNS00ARBITRARY7
      key:
        bpn: BPNL00ARBITRARY4
        globalAssetId: urn:uuid:1c7a25ea-0490-4944-b9c9-d8c666d47958
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure first level supplier bpnl in investigation job with one level request has been detected correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 716):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:3a2a1ca9-c6c1-49c7-a7ae-1dfc5fb9881f
          bpn: BPNL00ARBITRARY8
        incidentBPNSs:
          - BPNS0ARBITRARY10
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      incidentBPNSs:
      - BPNS0ARBITRARY10
      key:
        bpn: BPNL00ARBITRARY8
        globalAssetId: urn:uuid:3a2a1ca9-c6c1-49c7-a7ae-1dfc5fb9881f
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure one hop in several supplyChain impacted nodes has been detected as shortest correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 775):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c
          bpn: BPNL00ARBITRARY1
        bomLifecycle: asPlanned
        callbackUrl: http://testikus.com
        incidentBPNSs:
          - BPNS00000003B6LU
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      bomLifecycle: asPlanned
      callbackUrl: http://testikus.com
      incidentBPNSs:
      - BPNS00000003B6LU
      key:
        bpn: BPNL00ARBITRARY1
        globalAssetId: urn:uuid:aad27ddb-43aa-4e42-98c2-01e529ef127c
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure three hops in supplyChain impacted investigation job has been detected correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 836):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:1c7a25ea-0490-4944-b9c9-d8c666d47958
          bpn: BPNL00ARBITRARY4
        incidentBPNSs:
          - BPNS00ARBITRARY7
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      incidentBPNSs:
      - BPNS00ARBITRARY7
      key:
        bpn: BPNL00ARBITRARY4
        globalAssetId: urn:uuid:1c7a25ea-0490-4944-b9c9-d8c666d47958
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check warning on line 0 in local.testing.api-tests.irs-ess-api-tests.tavern.yaml

See this annotation in the file changed.

@github-actions github-actions / Test Results

Make sure one hops in supplyChain impacted investigation job has been detected correctly (local.testing.api-tests.irs-ess-api-tests.tavern.yaml) failed

ess-result.xml [took 0s]
Raw output
Format variables:
  tavern.env_vars.IRS_ESS_HOST = 'http://localhost:8080'

Source test stage (line 895):
  - name: register a BPN investigation job with valid globalAssetId
    request:
      url: "{tavern.env_vars.IRS_ESS_HOST}/ess/bpn/investigations"
      json:
        key:

          globalAssetId: urn:uuid:3a2a1ca9-c6c1-49c7-a7ae-1dfc5fb9881f
          bpn: BPNL00ARBITRARY8
        incidentBPNSs:
          - BPNS0ARBITRARY10
      method: POST
      headers:
        content-type: application/json
        $ext:
          function: local.testing.api-tests.tavern_helpers:create_api_key_ess
    response:
      status_code: 201
      headers:
        content-type: application/json
      save:
        json:
          job_id: id

Formatted stage:
  name: register a BPN investigation job with valid globalAssetId
  request:
    headers:
      $ext:
        function: local.testing.api-tests.tavern_helpers:create_api_key_ess
      content-type: application/json
    json:
      incidentBPNSs:
      - BPNS0ARBITRARY10
      key:
        bpn: BPNL00ARBITRARY8
        globalAssetId: urn:uuid:3a2a1ca9-c6c1-49c7-a7ae-1dfc5fb9881f
    method: POST
    url: http://localhost:8080/ess/bpn/investigations
  response:
    headers:
      content-type: application/json
    save:
      json:
        job_id: id
    status_code: 201

Errors:
E   tavern._core.exceptions.TestFailError: Test 'register a BPN investigation job with valid globalAssetId' failed:
    - Status code was 400, expected 201:
        {"statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:samm:io.catenax.part_site_information_as_planned:1.0.0#PartSiteInformationAsPlanned]'", "messages": null}

Check notice on line 0 in .github

See this annotation in the file changed.

@github-actions github-actions / Test Results

16 tests found

There are 16 tests, see "Raw output" for the full list of tests.
Raw output
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure first level supplier BPNL in investigation job with four level request has been detected correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure first level supplier BPNL in investigation job with several impacted nodes has been detected correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure first level supplier bpnl in investigation job with one level request has been detected correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure first level supplier bpnl in investigation job with three level request has been detected correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure investigation job for globalAssetId with missing BPNS in PartSiteInformationAsPlanned is processed correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure investigation job for globalAssetId with missing PartSiteInformationAsPlanned is processed correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure investigation job with invalid request is handled correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure investigation job with several relationships for valid globalAssetId and BPN is processed correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure investigation job with unknown globalAssetId and valid BPN is processed correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure investigation job with valid globalAssetId and BPN is processed correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure investigation job with valid globalAssetId and valid BPN but not reachable incidentBPN is processed correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure investigation job with valid globalAssetId and valid BPN but partial supply chain is processed correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure investigation job with valid globalAssetId for unknown BPN is processed correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure one hop in several supplyChain impacted nodes has been detected as shortest correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure one hops in supplyChain impacted investigation job has been detected correctly
local.testing.api-tests.irs-ess-api-tests.tavern.yaml ‑ Make sure three hops in supplyChain impacted investigation job has been detected correctly