Skip to content

SI-2472-merge-vnft-into-ud-tbl #1039

SI-2472-merge-vnft-into-ud-tbl

SI-2472-merge-vnft-into-ud-tbl #1039

Re-run triggered April 9, 2024 16:28
Status Failure
Total duration 11m 23s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
tests: internal/controllers/synthetic_devices_controller_test.go#L150
synthetic_devices_controller_test.go:150: Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/synthetic_devices_controller_test.go:150 Error: Not equal: expected: 200 actual : 409 Test: TestSyntheticDevicesControllerTestSuite/TestGetSyntheticDeviceMintingPayload
tests: internal/controllers/synthetic_devices_controller_test.go#L152
synthetic_devices_controller_test.go:152: Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/synthetic_devices_controller_test.go:152 Error: Not equal: expected: map[string]interface {}{"code":409, "message":"Vehicle not minted."} actual : map[string]interface {}{"domain":map[string]interface {}{"chainId":"0x13881", "name":"DIMO", "salt":"", "verifyingContract":"0x4De1bCf2B7E851E31216fC07989caA902A604784", "version":"1"}, "message":map[string]interface {}{"integrationNode":"0xa", "vehicleNode":"0x39"}, "primaryType":"MintSyntheticDeviceSign", "types":map[string]interface {}{"EIP712Domain":[]interface {}{map[string]interface {}{"name":"name", "type":"string"}, map[string]interface {}{"name":"version", "type":"string"}, map[string]interface {}{"name":"chainId", "type":"uint256"}, map[string]interface {}{"name":"verifyingContract", "type":"address"}}, "MintSyntheticDeviceSign":[]interface {}{map[string]interface {}{"name":"integrationNode", "type":"uint256"}, map[string]interface {}{"name":"vehicleNode", "type":"uint256"}}}} Diff: --- Expected +++ Actual @@ -1,4 +1,44 @@ -(map[string]interface {}) (len=2) { - (string) (len=4) "code": (float64) 409, - (string) (len=7) "message": (string) (len=19) "Vehicle not minted." +(map[string]interface {}) (len=4) { + (string) (len=6) "domain": (map[string]interface {}) (len=5) { + (string) (len=7) "chainId": (string) (len=7) "0x13881", + (string) (len=4) "name": (string) (len=4) "DIMO", + (string) (len=4) "salt": (string) "", + (string) (len=17) "verifyingContract": (string) (len=42) "0x4De1bCf2B7E851E31216fC07989caA902A604784", + (string) (len=7) "version": (string) (len=1) "1" + }, + (string) (len=7) "message": (map[string]interface {}) (len=2) { + (string) (len=15) "integrationNode": (string) (len=3) "0xa", + (string) (len=11) "vehicleNode": (string) (len=4) "0x39" + }, + (string) (len=11) "primaryType": (string) (len=23) "MintSyntheticDeviceSign", + (string) (len=5) "types": (map[string]interface {}) (len=2) { + (string) (len=12) "EIP712Domain": ([]interface {}) (len=4) { + (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=4) "name", + (string) (len=4) "type": (string) (len=6) "string" + }, + (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "version", + (string) (len=4) "type": (string) (len=6) "string" + }, + (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "chainId", + (string) (len=4) "type": (string) (len=7) "uint256" + }, + (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=17) "verifyingContract", + (string) (len=4) "type": (string) (len=7) "address" + } + }, + (string) (len=23) "MintSyntheticDeviceSign": ([]interface {}) (len=2) { + (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=15) "integrationNode", + (string) (len=4) "type": (string) (len=7) "uint256" + }, + (map[string]interface {
tests: internal/controllers/synthetic_devices_controller_test.go#L231
synthetic_devices_controller_test.go:231: Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/synthetic_devices_controller_test.go:231 Error: Not equal: expected: 500 actual : 409 Test: TestSyntheticDevicesControllerTestSuite/TestGetSyntheticDeviceMintingPayload_GetIntegrationFailed
tests: internal/controllers/synthetic_devices_controller_test.go#L232
synthetic_devices_controller_test.go:232: Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/synthetic_devices_controller_test.go:232 Error: Not equal: expected: map[string]interface {}{"code":500, "message":"could not find integration"} actual : map[string]interface {}{"code":409, "message":"Vehicle not minted."} Diff: --- Expected +++ Actual @@ -1,4 +1,4 @@ (map[string]interface {}) (len=2) { - (string) (len=4) "code": (float64) 500, - (string) (len=7) "message": (string) (len=26) "could not find integration" + (string) (len=4) "code": (float64) 409, + (string) (len=7) "message": (string) (len=19) "Vehicle not minted." } Test: TestSyntheticDevicesControllerTestSuite/TestGetSyntheticDeviceMintingPayload_GetIntegrationFailed
tests: internal/controllers/synthetic_devices_controller_test.go#L399
synthetic_devices_controller_test.go:399: Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/synthetic_devices_controller_test.go:399 Error: Not equal: expected: 500 actual : 409 Test: TestSyntheticDevicesControllerTestSuite/TestSignSyntheticDeviceMintingPayload_BadSignatureFailure
tests: internal/controllers/synthetic_devices_controller_test.go#L400
synthetic_devices_controller_test.go:400: Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/synthetic_devices_controller_test.go:400 Error: Not equal: expected: "recovery failed" actual : "Vehicle not minted." Diff: --- Expected +++ Actual @@ -1 +1 @@ -recovery failed +Vehicle not minted. Test: TestSyntheticDevicesControllerTestSuite/TestSignSyntheticDeviceMintingPayload_BadSignatureFailure
tests: internal/controllers/synthetic_devices_controller_test.go#L302
synthetic_devices_controller_test.go:302: Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/synthetic_devices_controller_test.go:302 Error: Not equal: expected: 200 actual : 409 Test: TestSyntheticDevicesControllerTestSuite/Test_MintSyntheticDeviceSmartcar
tests: internal/controllers/synthetic_devices_controller_test.go#L306
synthetic_devices_controller_test.go:306: Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/synthetic_devices_controller_test.go:306 Error: Not equal: expected: "{\"message\":\"Submitted synthetic device mint request.\"}" actual : "{\"code\":409,\"message\":\"Vehicle not minted.\"}" Diff: --- Expected +++ Actual @@ -1 +1 @@ -{"message":"Submitted synthetic device mint request."} +{"code":409,"message":"Vehicle not minted."} Test: TestSyntheticDevicesControllerTestSuite/Test_MintSyntheticDeviceSmartcar
tests: internal/controllers/synthetic_devices_controller_test.go#L311
synthetic_devices_controller_test.go:311: Error Trace: /runner/_work/devices-api/devices-api/internal/controllers/synthetic_devices_controller_test.go:311 Error: Received unexpected error: unexpected end of JSON input Test: TestSyntheticDevicesControllerTestSuite/Test_MintSyntheticDeviceSmartcar
tests
Process completed with exit code 1.
tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
tests
Restore cache failed: Dependencies file is not found in /runner/_work/devices-api/devices-api. Supported file pattern: go.sum