Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This file has been truncated, but you can view the full file.
2020-07-30T09:19:56.0692530Z ##[section]Starting: Build
2020-07-30T09:19:56.0701750Z ==============================================================================
2020-07-30T09:19:56.0702520Z Task : Bash
2020-07-30T09:19:56.0702970Z Description : Run a Bash script on macOS, Linux, or Windows
2020-07-30T09:19:56.0703340Z Version : 3.171.1
2020-07-30T09:19:56.0703930Z Author : Microsoft Corporation
2020-07-30T09:19:56.0704410Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/bash
2020-07-30T09:19:56.0705110Z ==============================================================================
2020-07-30T09:19:56.2075240Z Generating script.
2020-07-30T09:19:56.2083310Z Script contents:
2020-07-30T09:19:56.2085060Z ./build.sh "_$(uname)"
2020-07-30T09:19:56.2100460Z ========================== Starting Command Output ===========================
2020-07-30T09:19:56.2116240Z [command]/bin/bash --noprofile --norc /Users/vsts/agent/_work/_temp/b593d3d5-69fd-4c6b-bc55-24494db876ae.sh
2020-07-30T09:19:56.4546030Z ./build.sh: line 25: lsof: command not found
2020-07-30T09:19:56.6934310Z Starting local Bazel server and connecting to it...
2020-07-30T09:19:58.8526040Z WARNING: option '--disk_cache' was expanded to from both option '--config darwin' (source /nix/store/0a4b8vjj8rzjb39n2v117akin46w4ndw-daml-bazelrc) and option '--config darwin' (source /nix/store/0a4b8vjj8rzjb39n2v117akin46w4ndw-daml-bazelrc)
2020-07-30T09:19:58.8527690Z INFO: Invocation ID: fc048e06-c6c6-4fc6-8136-a67a62003c6f
2020-07-30T09:19:59.0935810Z Loading:
2020-07-30T09:19:59.0974050Z Loading: 0 packages loaded
2020-07-30T09:20:00.1127150Z Loading: 0 packages loaded
2020-07-30T09:20:07.3064880Z Loading: 0 packages loaded
2020-07-30T09:20:08.5901480Z DEBUG: /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/external/rules_haskell/haskell/private/versions.bzl:60:10: WARNING: bazel version is too recent. Supported versions range from 2.1.0 to 2.1.0, but found: 3.3.1- (@non-git)
2020-07-30T09:20:08.6112610Z Loading: 0 packages loaded
2020-07-30T09:20:08.6114930Z currently loading: language-support/ts/codegen/tests
2020-07-30T09:20:08.7869000Z Analyzing: target //language-support/ts/codegen/tests:build-and-lint-test (1 packages loaded, 0 targets configured)
2020-07-30T09:20:10.3533300Z Analyzing: target //language-support/ts/codegen/tests:build-and-lint-test (463 packages loaded, 8289 targets configured)
2020-07-30T09:20:12.0943140Z Analyzing: target //language-support/ts/codegen/tests:build-and-lint-test (767 packages loaded, 11331 targets configured)
2020-07-30T09:20:14.7459380Z Analyzing: target //language-support/ts/codegen/tests:build-and-lint-test (836 packages loaded, 25973 targets configured)
2020-07-30T09:20:16.2001940Z INFO: Analyzed target //language-support/ts/codegen/tests:build-and-lint-test (837 packages loaded, 26034 targets configured).
2020-07-30T09:20:16.2050350Z INFO: Found 1 test target...
2020-07-30T09:20:16.2267900Z INFO: Deleting stale sandbox base /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox
2020-07-30T09:20:16.6784750Z [0 / 20] [Prepa] BazelWorkspaceStatusAction stable-status.txt
2020-07-30T09:20:19.8069650Z [190 / 271] checking cached actions
2020-07-30T09:20:22.9517460Z [499 / 646] checking cached actions
2020-07-30T09:20:26.6146850Z [1,068 / 1,219] [Prepa] Writing file ledger-service/http-json/http-json-binary_MANIFEST.MF
2020-07-30T09:20:34.1007800Z [1,239 / 1,244] Merging Scala jar: //ledger/sandbox-classic:sandbox-classic-binary; 6s remote-cache ... (5 actions, 4 running)
2020-07-30T09:20:34.6226030Z INFO: From Building DAML project build-and-lint.build:
2020-07-30T09:20:34.6246670Z Compiling build-and-lint to a DAR.
2020-07-30T09:20:34.6248360Z Created /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/138/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint.dar
2020-07-30T09:20:39.6407980Z [1,240 / 1,244] Merging Scala jar: //ledger/sandbox-classic:sandbox-classic-binary; 12s remote-cache ... (4 actions running)
2020-07-30T09:20:45.7613660Z [1,242 / 1,244] Merging Scala jar: //ledger/sandbox-classic:sandbox-classic-binary; 18s remote-cache ... (2 actions running)
2020-07-30T09:20:57.7194410Z [1,244 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [10s (10 actions)] ... (10 actions running)
2020-07-30T09:21:26.3322270Z [1,244 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [39s (10 actions)] ... (10 actions running)
2020-07-30T09:21:39.4624610Z [1,244 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [52s (10 actions)] ... (10 actions running)
2020-07-30T09:22:09.6637750Z [1,244 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [82s (10 actions)] ... (10 actions running)
2020-07-30T09:22:29.3411450Z [1,244 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [102s (10 actions)] ... (10 actions running)
2020-07-30T09:22:51.8585180Z [1,244 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [124s (10 actions)] ... (10 actions running)
2020-07-30T09:23:17.8109390Z [1,244 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [150s (10 actions)] ... (10 actions running)
2020-07-30T09:23:47.6677490Z [1,244 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [180s (10 actions)] ... (10 actions running)
2020-07-30T09:24:21.9888350Z [1,244 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [215s (10 actions)] ... (10 actions running)
2020-07-30T09:24:25.3881200Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 178 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_178_of_1000/test.log)
2020-07-30T09:24:25.3910050Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 178 of 1000):
2020-07-30T09:24:25.3933810Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 178 of 1000):
2020-07-30T09:24:25.3935470Z Temp directory : /tmp/tmp.jnMb3kFRgg
2020-07-30T09:24:25.3936890Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.3938660Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.3941640Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.3955340Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.3956760Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.3958260Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.3959330Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.3959960Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.3961380Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.3962010Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.3963480Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.3964560Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.3965180Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.3966080Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.3966700Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.3967600Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.3968230Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.3969140Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.3978120Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.3980230Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.3982910Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.3985470Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.3987800Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.3990750Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.3993020Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.3995240Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.3997490Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.3999700Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.4002100Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.4004690Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.4007690Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.4010880Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.4013360Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.4015830Z warning workspace-aggregator-c1281472-f4c0-41fa-97a7-989c250510bb > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.4017110Z yarn run v1.19.1
2020-07-30T09:24:25.4018330Z $ tsc --build
2020-07-30T09:24:25.4019510Z Done in 14.46s.
2020-07-30T09:24:25.4020250Z yarn run v1.19.1
2020-07-30T09:24:25.4021520Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.4022360Z Done in 6.45s.
2020-07-30T09:24:25.4023090Z yarn run v1.19.1
2020-07-30T09:24:25.4023790Z $ jest
2020-07-30T09:24:25.4024380Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4025430Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.4026310Z
2020-07-30T09:24:25.4026790Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4027410Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.4027860Z
2020-07-30T09:24:25.4028230Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4028860Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.4029630Z
2020-07-30T09:24:25.4030050Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4030700Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.4031170Z
2020-07-30T09:24:25.4031540Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4032550Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.4033510Z
2020-07-30T09:24:25.4033970Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.4035480Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.4036330Z
2020-07-30T09:24:25.4037460Z INFO: Listening on localhost:57256 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.4038430Z ____ ____
2020-07-30T09:24:25.4039220Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.4040040Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.4040840Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.4041470Z
2020-07-30T09:24:25.4043880Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57256, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/15/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.4045840Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.4046670Z Sandbox listening on port 57256
2020-07-30T09:24:25.4047300Z
2020-07-30T09:24:25.4049310Z 09:23:39.878 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57256, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.4052400Z 09:23:46.406 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.4054420Z 09:23:46.444 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.4060700Z 09:23:49.894 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.4066440Z 09:23:53.307 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57273)
2020-07-30T09:24:25.4067670Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.4068500Z JSON API listening on port 57273
2020-07-30T09:24:25.4069140Z
2020-07-30T09:24:25.4070580Z 09:23:57.224 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.4072650Z 09:23:58.044 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.4074550Z 09:24:00.898 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.4075810Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.4076350Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.4076980Z
2020-07-30T09:24:25.4077410Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.4078140Z Killed sandbox
2020-07-30T09:24:25.4078460Z
2020-07-30T09:24:25.4089160Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.4089730Z Killed JSON API
2020-07-30T09:24:25.4090720Z
2020-07-30T09:24:25.4091170Z FAIL src/__tests__/test.ts (42.459s)
2020-07-30T09:24:25.4092280Z ✕ create + fetch & exercise (5907ms)
2020-07-30T09:24:25.4093820Z decoders for recursive types do not loop
2020-07-30T09:24:25.4094850Z ✓ recursive enum (7ms)
2020-07-30T09:24:25.4096190Z ✓ recursive record with guards (1ms)
2020-07-30T09:24:25.4097560Z ✓ uninhabited record (1ms)
2020-07-30T09:24:25.4098400Z ✓ uninhabited enum (1ms)
2020-07-30T09:24:25.4099140Z
2020-07-30T09:24:25.4100090Z ● create + fetch & exercise
2020-07-30T09:24:25.4100460Z
2020-07-30T09:24:25.4100780Z thrown: Object {
2020-07-30T09:24:25.4101510Z "at": "input",
2020-07-30T09:24:25.4101930Z "input": null,
2020-07-30T09:24:25.4102650Z "kind": "DecoderError",
2020-07-30T09:24:25.4103140Z "message": "expected a string, got null",
2020-07-30T09:24:25.4104300Z }
2020-07-30T09:24:25.4104590Z
2020-07-30T09:24:25.4104880Z 124 | });
2020-07-30T09:24:25.4105190Z 125 |
2020-07-30T09:24:25.4106500Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.4107380Z | ^
2020-07-30T09:24:25.4107980Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.4109070Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.4110410Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.4111270Z
2020-07-30T09:24:25.4112340Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.4113330Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.4114040Z
2020-07-30T09:24:25.4114460Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.4114880Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.4115790Z Snapshots: 0 total
2020-07-30T09:24:25.4116150Z Time: 43.789s
2020-07-30T09:24:25.4116860Z Ran all test suites.
2020-07-30T09:24:25.4118620Z [WARN] [07/30/2020 09:24:01.550] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.4119780Z error Command failed with exit code 1.
2020-07-30T09:24:25.4120710Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.4121720Z ================================================================================
2020-07-30T09:24:25.4456110Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 273 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_273_of_1000/test.log)
2020-07-30T09:24:25.4476150Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 273 of 1000):
2020-07-30T09:24:25.4513890Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 273 of 1000):
2020-07-30T09:24:25.4516660Z Temp directory : /tmp/tmp.rvThv9SPNK
2020-07-30T09:24:25.4517620Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.4518540Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.4520820Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.4522050Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.4523560Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.4525000Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.4526230Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.4527630Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.4530030Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.4531630Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.4533150Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.4534260Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.4535710Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.4536800Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.4537820Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.4550140Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.4552350Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.4553420Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.4554520Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.4558180Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.4561120Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.4563070Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.4566210Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4569120Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4572100Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4575530Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4578800Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4581650Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.4584960Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.4588630Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.4592310Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.4597050Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.4603930Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.4607840Z warning workspace-aggregator-21792670-a2a6-4555-bb9d-49aae359b797 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.4610310Z yarn run v1.19.1
2020-07-30T09:24:25.4611750Z $ tsc --build
2020-07-30T09:24:25.4612400Z Done in 13.64s.
2020-07-30T09:24:25.4612960Z yarn run v1.19.1
2020-07-30T09:24:25.4614620Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.4615540Z Done in 6.30s.
2020-07-30T09:24:25.4616130Z yarn run v1.19.1
2020-07-30T09:24:25.4616670Z $ jest
2020-07-30T09:24:25.4617310Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4618480Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.4619470Z
2020-07-30T09:24:25.4620120Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4621200Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.4622030Z
2020-07-30T09:24:25.4622650Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4623780Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.4625540Z
2020-07-30T09:24:25.4626190Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4627580Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.4628690Z
2020-07-30T09:24:25.4629390Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.4630380Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.4631060Z
2020-07-30T09:24:25.4631400Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.4632890Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.4633650Z
2020-07-30T09:24:25.4635390Z INFO: Listening on localhost:57258 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.4636290Z ____ ____
2020-07-30T09:24:25.4636760Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.4637460Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.4637860Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.4638140Z
2020-07-30T09:24:25.4640780Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57258, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/16/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.4642410Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.4642850Z Sandbox listening on port 57258
2020-07-30T09:24:25.4643120Z
2020-07-30T09:24:25.4644940Z 09:23:39.881 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57258, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.4663820Z 09:23:46.401 [http-json-ledger-api-akka.actor.default-dispatcher-14] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.4667270Z 09:23:46.439 [http-json-ledger-api-akka.actor.default-dispatcher-14] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.4676310Z 09:23:50.069 [http-json-ledger-api-akka.actor.default-dispatcher-8] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.4684300Z 09:23:53.327 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57281)
2020-07-30T09:24:25.4685670Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.4686400Z JSON API listening on port 57281
2020-07-30T09:24:25.4686860Z
2020-07-30T09:24:25.4688580Z 09:23:57.003 [http-json-ledger-api-akka.actor.default-dispatcher-9] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.4701960Z 09:23:58.039 [http-json-ledger-api-akka.actor.default-dispatcher-9] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.4704910Z 09:24:00.842 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.4705860Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.4706680Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.4707180Z
2020-07-30T09:24:25.4707720Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.4708300Z Killed sandbox
2020-07-30T09:24:25.4708680Z
2020-07-30T09:24:25.4709210Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.4709800Z Killed JSON API
2020-07-30T09:24:25.4710150Z
2020-07-30T09:24:25.4710740Z FAIL src/__tests__/test.ts (41.9s)
2020-07-30T09:24:25.4712150Z ✕ create + fetch & exercise (6273ms)
2020-07-30T09:24:25.4712880Z decoders for recursive types do not loop
2020-07-30T09:24:25.4714070Z ✓ recursive enum (8ms)
2020-07-30T09:24:25.4715790Z ✓ recursive record with guards (1ms)
2020-07-30T09:24:25.4717150Z ✓ uninhabited record (1ms)
2020-07-30T09:24:25.4719080Z ✓ uninhabited enum (1ms)
2020-07-30T09:24:25.4719590Z
2020-07-30T09:24:25.4720650Z ● create + fetch & exercise
2020-07-30T09:24:25.4721090Z
2020-07-30T09:24:25.4721570Z thrown: Object {
2020-07-30T09:24:25.4722130Z "at": "input",
2020-07-30T09:24:25.4724250Z "input": null,
2020-07-30T09:24:25.4727620Z "kind": "DecoderError",
2020-07-30T09:24:25.4728630Z "message": "expected a string, got null",
2020-07-30T09:24:25.4729080Z }
2020-07-30T09:24:25.4729310Z
2020-07-30T09:24:25.4729590Z 124 | });
2020-07-30T09:24:25.4731990Z 125 |
2020-07-30T09:24:25.4738910Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.4740370Z | ^
2020-07-30T09:24:25.4741800Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.4743560Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.4745360Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.4746680Z
2020-07-30T09:24:25.4748810Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.4768760Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.4770360Z
2020-07-30T09:24:25.4771480Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.4796960Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.4802370Z Snapshots: 0 total
2020-07-30T09:24:25.4803240Z Time: 42.995s
2020-07-30T09:24:25.4806260Z Ran all test suites.
2020-07-30T09:24:25.4819410Z [WARN] [07/30/2020 09:24:01.520] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.4829630Z error Command failed with exit code 1.
2020-07-30T09:24:25.4834540Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.4836660Z ================================================================================
2020-07-30T09:24:25.4840030Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 277 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_277_of_1000/test.log)
2020-07-30T09:24:25.4844180Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 277 of 1000):
2020-07-30T09:24:25.4846140Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 277 of 1000):
2020-07-30T09:24:25.4847350Z Temp directory : /tmp/tmp.MriwrzdD7x
2020-07-30T09:24:25.4848040Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.4848720Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.4850030Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.4850750Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.4851310Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.4852770Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.4853520Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.4854100Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.4854650Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.4855210Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.4855760Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.4856310Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.4856860Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.4867420Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.4868560Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.4870970Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.4873890Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.4912950Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.4914280Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.4917190Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.4920210Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.4926530Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.4930210Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.4933740Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4938670Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4963710Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4983520Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4987110Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.4990770Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.5000720Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.5004380Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.5008680Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.5022170Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.5026280Z warning workspace-aggregator-36d64478-6687-4d6f-9779-e2a5c965d21a > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.5124690Z yarn run v1.19.1
2020-07-30T09:24:25.5127100Z $ tsc --build
2020-07-30T09:24:25.5127930Z Done in 14.36s.
2020-07-30T09:24:25.5128570Z yarn run v1.19.1
2020-07-30T09:24:25.5129970Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.5130750Z Done in 6.53s.
2020-07-30T09:24:25.5138960Z yarn run v1.19.1
2020-07-30T09:24:25.5139800Z $ jest
2020-07-30T09:24:25.5167310Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5168750Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.5169590Z
2020-07-30T09:24:25.5170210Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5171170Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.5172770Z
2020-07-30T09:24:25.5173380Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5174700Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.5175430Z
2020-07-30T09:24:25.5176000Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5176980Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.5177680Z
2020-07-30T09:24:25.5178320Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5184140Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.5185310Z
2020-07-30T09:24:25.5216780Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.5236380Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.5246830Z
2020-07-30T09:24:25.5249110Z INFO: Listening on localhost:57257 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.5251480Z ____ ____
2020-07-30T09:24:25.5252240Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.5253010Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.5254690Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.5255220Z
2020-07-30T09:24:25.5259410Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57257, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/9/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.5272230Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.5274390Z Sandbox listening on port 57257
2020-07-30T09:24:25.5275480Z
2020-07-30T09:24:25.5280540Z 09:23:39.878 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57257, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.5284000Z 09:23:46.443 [http-json-ledger-api-akka.actor.default-dispatcher-8] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.5286310Z 09:23:46.444 [http-json-ledger-api-akka.actor.default-dispatcher-8] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.5363320Z 09:23:50.102 [http-json-ledger-api-akka.actor.default-dispatcher-12] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.5372500Z 09:23:53.332 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57280)
2020-07-30T09:24:25.5373900Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.5374660Z JSON API listening on port 57280
2020-07-30T09:24:25.5375200Z
2020-07-30T09:24:25.5398440Z 09:23:57.236 [http-json-ledger-api-akka.actor.default-dispatcher-12] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.5405420Z 09:23:58.106 [http-json-ledger-api-akka.actor.default-dispatcher-12] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.5433850Z 09:24:00.849 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.5442090Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.5447110Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.5448080Z
2020-07-30T09:24:25.5452400Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.5453100Z Killed sandbox
2020-07-30T09:24:25.5454630Z
2020-07-30T09:24:25.5457440Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.5458510Z Killed JSON API
2020-07-30T09:24:25.5459590Z
2020-07-30T09:24:25.5466480Z FAIL src/__tests__/test.ts (42.701s)
2020-07-30T09:24:25.5468530Z ✕ create + fetch & exercise (6436ms)
2020-07-30T09:24:25.5469560Z decoders for recursive types do not loop
2020-07-30T09:24:25.5486680Z ✓ recursive enum (5ms)
2020-07-30T09:24:25.5488160Z ✓ recursive record with guards (1ms)
2020-07-30T09:24:25.5491890Z ✓ uninhabited record
2020-07-30T09:24:25.5504660Z ✓ uninhabited enum (1ms)
2020-07-30T09:24:25.5507200Z
2020-07-30T09:24:25.5511290Z ● create + fetch & exercise
2020-07-30T09:24:25.5512190Z
2020-07-30T09:24:25.5513600Z thrown: Object {
2020-07-30T09:24:25.5514520Z "at": "input",
2020-07-30T09:24:25.5515740Z "input": null,
2020-07-30T09:24:25.5519190Z "kind": "DecoderError",
2020-07-30T09:24:25.5525590Z "message": "expected a string, got null",
2020-07-30T09:24:25.5526980Z }
2020-07-30T09:24:25.5527950Z
2020-07-30T09:24:25.5530800Z 124 | });
2020-07-30T09:24:25.5544770Z 125 |
2020-07-30T09:24:25.5555210Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.5561720Z | ^
2020-07-30T09:24:25.5562890Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.5564110Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.5565470Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.5566400Z
2020-07-30T09:24:25.5568100Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.5569080Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.5569550Z
2020-07-30T09:24:25.5570450Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.5571100Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.5571810Z Snapshots: 0 total
2020-07-30T09:24:25.5579230Z Time: 44.074s
2020-07-30T09:24:25.5580050Z Ran all test suites.
2020-07-30T09:24:25.5581650Z [WARN] [07/30/2020 09:24:01.159] [pool-1-thread-1] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.5582490Z error Command failed with exit code 1.
2020-07-30T09:24:25.5583070Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.5584050Z ================================================================================
2020-07-30T09:24:25.5585880Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 271 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_271_of_1000/test.log)
2020-07-30T09:24:25.5588610Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 1 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_1_of_1000/test.log)
2020-07-30T09:24:25.5590250Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 271 of 1000):
2020-07-30T09:24:25.5591590Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 271 of 1000):
2020-07-30T09:24:25.5592300Z Temp directory : /tmp/tmp.GgNJ11EOZr
2020-07-30T09:24:25.5592870Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.5593670Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.5595390Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.5607340Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.5608000Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.5608680Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.5609290Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.5609910Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.5610800Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.5611430Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.5612050Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.5612660Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.5613280Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.5613880Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.5614490Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.5615080Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.5639450Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.5641050Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.5643610Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.5646450Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.5653990Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.5660190Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.5662850Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.5667290Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.5671190Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.5674330Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.5678090Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.5683570Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.5687240Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.5750030Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.5754100Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.5758920Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.5763290Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.5767070Z warning workspace-aggregator-c256feb1-20bd-4e46-8131-2ab96dd069bf > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.5768790Z yarn run v1.19.1
2020-07-30T09:24:25.5772850Z $ tsc --build
2020-07-30T09:24:25.5782510Z Done in 14.54s.
2020-07-30T09:24:25.5783130Z yarn run v1.19.1
2020-07-30T09:24:25.5784230Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.5784740Z Done in 6.62s.
2020-07-30T09:24:25.5785130Z yarn run v1.19.1
2020-07-30T09:24:25.5785480Z $ jest
2020-07-30T09:24:25.5805520Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5806920Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.5807780Z
2020-07-30T09:24:25.5808380Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5809420Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.5810320Z
2020-07-30T09:24:25.5810980Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5812050Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.5822490Z
2020-07-30T09:24:25.5847940Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5849420Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.5850360Z
2020-07-30T09:24:25.5851080Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.5852240Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.5853590Z
2020-07-30T09:24:25.5854260Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.5861030Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.5862100Z
2020-07-30T09:24:25.5863830Z INFO: Listening on localhost:57253 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.5864860Z ____ ____
2020-07-30T09:24:25.5865510Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.5866200Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.5866850Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.5867310Z
2020-07-30T09:24:25.5871470Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57253, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/14/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.5878430Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.5879170Z Sandbox listening on port 57253
2020-07-30T09:24:25.5879650Z
2020-07-30T09:24:25.5882940Z 09:23:39.878 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57253, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.5886240Z 09:23:46.419 [http-json-ledger-api-akka.actor.default-dispatcher-14] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.5888830Z 09:23:46.431 [http-json-ledger-api-akka.actor.default-dispatcher-14] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.5926730Z 09:23:50.071 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.5941180Z 09:23:53.335 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57278)
2020-07-30T09:24:25.5942590Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.5943290Z JSON API listening on port 57278
2020-07-30T09:24:25.5943750Z
2020-07-30T09:24:25.5945470Z 09:23:56.547 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.5948630Z 09:23:58.038 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.5950970Z 09:24:00.894 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.5951990Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.5952810Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.5953330Z
2020-07-30T09:24:25.5953890Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.5954520Z Killed sandbox
2020-07-30T09:24:25.5954940Z
2020-07-30T09:24:25.5955500Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.5956140Z Killed JSON API
2020-07-30T09:24:25.5956550Z
2020-07-30T09:24:25.5957620Z FAIL src/__tests__/test.ts (42.091s)
2020-07-30T09:24:25.5959120Z ✕ create + fetch & exercise (6511ms)
2020-07-30T09:24:25.5959960Z decoders for recursive types do not loop
2020-07-30T09:24:25.5961350Z ✓ recursive enum (4ms)
2020-07-30T09:24:25.5963480Z ✓ recursive record with guards (1ms)
2020-07-30T09:24:25.5964830Z ✓ uninhabited record
2020-07-30T09:24:25.5966110Z ✓ uninhabited enum (1ms)
2020-07-30T09:24:25.5966620Z
2020-07-30T09:24:25.5967740Z ● create + fetch & exercise
2020-07-30T09:24:25.5968240Z
2020-07-30T09:24:25.5968760Z thrown: Object {
2020-07-30T09:24:25.5969350Z "at": "input",
2020-07-30T09:24:25.5969920Z "input": null,
2020-07-30T09:24:25.5970570Z "kind": "DecoderError",
2020-07-30T09:24:25.5971290Z "message": "expected a string, got null",
2020-07-30T09:24:25.5971930Z }
2020-07-30T09:24:25.5972700Z
2020-07-30T09:24:25.5973210Z 124 | });
2020-07-30T09:24:25.5973730Z 125 |
2020-07-30T09:24:25.5975210Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.5975960Z | ^
2020-07-30T09:24:25.5977100Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.5978540Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.5979890Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.5980710Z
2020-07-30T09:24:25.5982280Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.5983380Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.5983940Z
2020-07-30T09:24:25.5984510Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.5985210Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.5985880Z Snapshots: 0 total
2020-07-30T09:24:25.5986480Z Time: 43.475s
2020-07-30T09:24:25.5987060Z Ran all test suites.
2020-07-30T09:24:25.5989140Z [WARN] [07/30/2020 09:24:01.532] [pool-1-thread-3] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.5990460Z error Command failed with exit code 1.
2020-07-30T09:24:25.5991360Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.5992390Z ================================================================================
2020-07-30T09:24:25.5995960Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 176 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_176_of_1000/test.log)
2020-07-30T09:24:25.6000130Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 272 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_272_of_1000/test.log)
2020-07-30T09:24:25.6002820Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 1 of 1000):
2020-07-30T09:24:25.6005430Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 1 of 1000):
2020-07-30T09:24:25.6006520Z Temp directory : /tmp/tmp.61jcrLHnpg
2020-07-30T09:24:25.6007380Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.6008350Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.6010290Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.6011460Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.6012420Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.6013370Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.6014330Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.6015280Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.6017980Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.6018960Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.6019940Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.6020890Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.6021840Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.6022780Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.6035580Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.6036860Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.6038150Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.6039250Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.6040350Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.6043170Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.6046570Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.6050400Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.6053730Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.6056630Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6059930Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6062910Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6114040Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6198470Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6202170Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.6205740Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.6209190Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.6213730Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.6218010Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.6221930Z warning workspace-aggregator-ca54bb43-6c26-4d93-8764-c1e2c3f43b7c > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.6223600Z yarn run v1.19.1
2020-07-30T09:24:25.6224940Z $ tsc --build
2020-07-30T09:24:25.6225620Z Done in 13.06s.
2020-07-30T09:24:25.6226270Z yarn run v1.19.1
2020-07-30T09:24:25.6227670Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.6228440Z Done in 7.71s.
2020-07-30T09:24:25.6229040Z yarn run v1.19.1
2020-07-30T09:24:25.6229640Z $ jest
2020-07-30T09:24:25.6230360Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6231600Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.6232530Z
2020-07-30T09:24:25.6233230Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6234350Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.6235200Z
2020-07-30T09:24:25.6235910Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6237060Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.6238340Z
2020-07-30T09:24:25.6239120Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6240260Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.6241170Z
2020-07-30T09:24:25.6241820Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6242890Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.6243750Z
2020-07-30T09:24:25.6244440Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.6246390Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.6247150Z
2020-07-30T09:24:25.6248990Z INFO: Listening on localhost:57261 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.6250050Z ____ ____
2020-07-30T09:24:25.6250730Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.6251980Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.6253290Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.6256640Z
2020-07-30T09:24:25.6261180Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57261, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/7/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.6263800Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.6264670Z Sandbox listening on port 57261
2020-07-30T09:24:25.6265290Z
2020-07-30T09:24:25.6268630Z 09:23:39.882 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57261, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.6272610Z 09:23:46.436 [http-json-ledger-api-akka.actor.default-dispatcher-9] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.6275450Z 09:23:46.439 [http-json-ledger-api-akka.actor.default-dispatcher-9] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.6306200Z 09:23:49.867 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.6313600Z 09:23:53.333 [http-json-ledger-api-akka.actor.default-dispatcher-14] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57282)
2020-07-30T09:24:25.6315130Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.6315960Z JSON API listening on port 57282
2020-07-30T09:24:25.6316460Z
2020-07-30T09:24:25.6318560Z 09:23:56.983 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.6321690Z 09:23:58.038 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.6324170Z 09:24:00.850 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.6325220Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.6326090Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.6326660Z
2020-07-30T09:24:25.6327260Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.6328390Z Killed sandbox
2020-07-30T09:24:25.6328840Z
2020-07-30T09:24:25.6329410Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.6330070Z Killed JSON API
2020-07-30T09:24:25.6330490Z
2020-07-30T09:24:25.6331010Z FAIL src/__tests__/test.ts (49.851s)
2020-07-30T09:24:25.6332560Z ✕ create + fetch & exercise (6164ms)
2020-07-30T09:24:25.6333440Z decoders for recursive types do not loop
2020-07-30T09:24:25.6334890Z ✓ recursive enum (3ms)
2020-07-30T09:24:25.6336120Z ✓ recursive record with guards
2020-07-30T09:24:25.6337250Z ✓ uninhabited record (7ms)
2020-07-30T09:24:25.6338640Z ✓ uninhabited enum
2020-07-30T09:24:25.6339230Z
2020-07-30T09:24:25.6340290Z ● create + fetch & exercise
2020-07-30T09:24:25.6340750Z
2020-07-30T09:24:25.6341200Z thrown: Object {
2020-07-30T09:24:25.6341830Z "at": "input",
2020-07-30T09:24:25.6342520Z "input": null,
2020-07-30T09:24:25.6343160Z "kind": "DecoderError",
2020-07-30T09:24:25.6343850Z "message": "expected a string, got null",
2020-07-30T09:24:25.6344870Z }
2020-07-30T09:24:25.6345250Z
2020-07-30T09:24:25.6345740Z 124 | });
2020-07-30T09:24:25.6346280Z 125 |
2020-07-30T09:24:25.6347760Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.6348520Z | ^
2020-07-30T09:24:25.6349320Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.6350480Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.6351770Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.6352680Z
2020-07-30T09:24:25.6354260Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.6355330Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.6355940Z
2020-07-30T09:24:25.6356500Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.6357270Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.6358010Z Snapshots: 0 total
2020-07-30T09:24:25.6359060Z Time: 51.645s
2020-07-30T09:24:25.6359930Z Ran all test suites.
2020-07-30T09:24:25.6362160Z [WARN] [07/30/2020 09:24:01.158] [pool-1-thread-1] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.6364070Z error Command failed with exit code 1.
2020-07-30T09:24:25.6367600Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.6369050Z ================================================================================
2020-07-30T09:24:25.6473980Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 176 of 1000):
2020-07-30T09:24:25.6534990Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 176 of 1000):
2020-07-30T09:24:25.6536200Z Temp directory : /tmp/tmp.3wYChWX2ck
2020-07-30T09:24:25.6536820Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.6537490Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.6539900Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.6541740Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.6542630Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.6543260Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.6544010Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.6545570Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.6546270Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.6546990Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.6548410Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.6559580Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.6578630Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.6580050Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.6581220Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.6582210Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.6583120Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.6583930Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.6584730Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.6587200Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.6590670Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.6594520Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.6597840Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6600850Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6603460Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6606610Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6609500Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.6612400Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.6622650Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.6626160Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.6628920Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.6632610Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.6692910Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.6699670Z warning workspace-aggregator-2977e08b-a870-487c-8a98-faafc19346cd > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.6701460Z yarn run v1.19.1
2020-07-30T09:24:25.6702810Z $ tsc --build
2020-07-30T09:24:25.6703530Z Done in 13.62s.
2020-07-30T09:24:25.6704200Z yarn run v1.19.1
2020-07-30T09:24:25.6706140Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.6706910Z Done in 6.24s.
2020-07-30T09:24:25.6707970Z yarn run v1.19.1
2020-07-30T09:24:25.6708510Z $ jest
2020-07-30T09:24:25.6712170Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6713600Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.6714580Z
2020-07-30T09:24:25.6715290Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6716340Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.6741450Z
2020-07-30T09:24:25.6742130Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6743230Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.6744000Z
2020-07-30T09:24:25.6744630Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6746620Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.6747800Z
2020-07-30T09:24:25.6748500Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.6752820Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.6753670Z
2020-07-30T09:24:25.6754260Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.6756170Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.6760290Z
2020-07-30T09:24:25.6762290Z INFO: Listening on localhost:57255 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.6763410Z ____ ____
2020-07-30T09:24:25.6764080Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.6771090Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.6771890Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.6772210Z
2020-07-30T09:24:25.6774710Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57255, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/10/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.6776250Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.6776680Z Sandbox listening on port 57255
2020-07-30T09:24:25.6776950Z
2020-07-30T09:24:25.6782570Z 09:23:39.878 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57255, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.6788580Z 09:23:46.402 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.6792390Z 09:23:46.431 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.6803320Z 09:23:49.916 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.6825720Z 09:23:53.315 [http-json-ledger-api-akka.actor.default-dispatcher-9] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57277)
2020-07-30T09:24:25.6826790Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.6827280Z JSON API listening on port 57277
2020-07-30T09:24:25.6838860Z
2020-07-30T09:24:25.6841580Z 09:23:56.521 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.6852600Z 09:23:58.041 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.6854010Z 09:24:00.883 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.6854620Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.6855100Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.6855410Z
2020-07-30T09:24:25.6855740Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.6856110Z Killed sandbox
2020-07-30T09:24:25.6856330Z
2020-07-30T09:24:25.6856660Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.6857040Z Killed JSON API
2020-07-30T09:24:25.6857280Z
2020-07-30T09:24:25.6857610Z FAIL src/__tests__/test.ts (41.927s)
2020-07-30T09:24:25.6858440Z ✕ create + fetch & exercise (6466ms)
2020-07-30T09:24:25.6858950Z decoders for recursive types do not loop
2020-07-30T09:24:25.6859710Z ✓ recursive enum (4ms)
2020-07-30T09:24:25.6873440Z ✓ recursive record with guards (1ms)
2020-07-30T09:24:25.6875190Z ✓ uninhabited record
2020-07-30T09:24:25.6876590Z ✓ uninhabited enum
2020-07-30T09:24:25.6877190Z
2020-07-30T09:24:25.6878510Z ● create + fetch & exercise
2020-07-30T09:24:25.6879130Z
2020-07-30T09:24:25.6879770Z thrown: Object {
2020-07-30T09:24:25.6880860Z "at": "input",
2020-07-30T09:24:25.6881740Z "input": null,
2020-07-30T09:24:25.6882470Z "kind": "DecoderError",
2020-07-30T09:24:25.6883250Z "message": "expected a string, got null",
2020-07-30T09:24:25.6883910Z }
2020-07-30T09:24:25.6884300Z
2020-07-30T09:24:25.6885300Z 124 | });
2020-07-30T09:24:25.6885890Z 125 |
2020-07-30T09:24:25.6887380Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.6888610Z | ^
2020-07-30T09:24:25.6889540Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.6890880Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.6892240Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.6893180Z
2020-07-30T09:24:25.6894860Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.6895970Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.6896640Z
2020-07-30T09:24:25.6897260Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.6898000Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.6898690Z Snapshots: 0 total
2020-07-30T09:24:25.6899400Z Time: 43.105s
2020-07-30T09:24:25.6899990Z Ran all test suites.
2020-07-30T09:24:25.6902400Z [WARN] [07/30/2020 09:24:01.554] [pool-1-thread-2] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.6904220Z error Command failed with exit code 1.
2020-07-30T09:24:25.6905200Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.6906250Z ================================================================================
2020-07-30T09:24:25.6908150Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 272 of 1000):
2020-07-30T09:24:25.7026130Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 272 of 1000):
2020-07-30T09:24:25.7027360Z Temp directory : /tmp/tmp.ib0HYD1bWx
2020-07-30T09:24:25.7028200Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.7029180Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.7039430Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.7040700Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.7041540Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.7042370Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.7043160Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.7044310Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.7045110Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.7045940Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.7050730Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.7051880Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.7057080Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.7080810Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.7082410Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.7083610Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.7084610Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.7085610Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.7086550Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.7089430Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.7092900Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.7095950Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.7099000Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7102160Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7105370Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7108450Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7111110Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7113970Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.7117280Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.7120900Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.7124780Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.7129240Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.7152350Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.7155920Z warning workspace-aggregator-85c82b59-2ebb-4086-87e9-343dd6c41a9f > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.7157540Z yarn run v1.19.1
2020-07-30T09:24:25.7159150Z $ tsc --build
2020-07-30T09:24:25.7159860Z Done in 13.14s.
2020-07-30T09:24:25.7160460Z yarn run v1.19.1
2020-07-30T09:24:25.7161850Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.7163080Z Done in 7.55s.
2020-07-30T09:24:25.7163730Z yarn run v1.19.1
2020-07-30T09:24:25.7164340Z $ jest
2020-07-30T09:24:25.7165040Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7166200Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.7167550Z
2020-07-30T09:24:25.7168410Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7169560Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.7170390Z
2020-07-30T09:24:25.7171050Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7172190Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.7173060Z
2020-07-30T09:24:25.7200440Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7201210Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.7202080Z
2020-07-30T09:24:25.7202500Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7203150Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.7204000Z
2020-07-30T09:24:25.7204340Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.7205660Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.7206120Z
2020-07-30T09:24:25.7209300Z INFO: Listening on localhost:57260 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.7210400Z ____ ____
2020-07-30T09:24:25.7210970Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.7211540Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.7212090Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.7212470Z
2020-07-30T09:24:25.7215960Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57260, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/12/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.7218230Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.7218840Z Sandbox listening on port 57260
2020-07-30T09:24:25.7219230Z
2020-07-30T09:24:25.7222400Z 09:23:39.879 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57260, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.7304240Z 09:23:46.421 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.7307180Z 09:23:46.430 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.7314190Z 09:23:49.987 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d59777881FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 278 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_278_of_1000/test.log)
2020-07-30T09:24:25.7377700Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 278 of 1000):
2020-07-30T09:24:25.7386470Z 1b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.7404970Z 09:23:53.325 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57276)
2020-07-30T09:24:25.7406960Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.7412660Z JSON API listening on port 57276
2020-07-30T09:24:25.7413440Z
2020-07-30T09:24:25.7418600Z 09:23:57.151 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.7421550Z 09:23:58.039 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.7426470Z 09:24:00.783 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.7427720Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.7428590Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.7429220Z
2020-07-30T09:24:25.7429860Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.7430600Z Killed sandbox
2020-07-30T09:24:25.7431110Z
2020-07-30T09:24:25.7441070Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.7441950Z Killed JSON API
2020-07-30T09:24:25.7442420Z
2020-07-30T09:24:25.7443440Z FAIL src/__tests__/test.ts (49.311s)
2020-07-30T09:24:25.7445000Z ✕ create + fetch & exercise (6179ms)
2020-07-30T09:24:25.7445810Z decoders for recursive types do not loop
2020-07-30T09:24:25.7447140Z ✓ recursive enum (7ms)
2020-07-30T09:24:25.7448450Z ✓ recursive record with guards (1ms)
2020-07-30T09:24:25.7449790Z ✓ uninhabited record (1ms)
2020-07-30T09:24:25.7451080Z ✓ uninhabited enum (101ms)
2020-07-30T09:24:25.7451590Z
2020-07-30T09:24:25.7460660Z ● create + fetch & exercise
2020-07-30T09:24:25.7461240Z
2020-07-30T09:24:25.7461770Z thrown: Object {
2020-07-30T09:24:25.7462360Z "at": "input",
2020-07-30T09:24:25.7464580Z "input": null,
2020-07-30T09:24:25.7465400Z "kind": "DecoderError",
2020-07-30T09:24:25.7466140Z "message": "expected a string, got null",
2020-07-30T09:24:25.7466800Z }
2020-07-30T09:24:25.7467110Z
2020-07-30T09:24:25.7467570Z 124 | });
2020-07-30T09:24:25.7474580Z 125 |
2020-07-30T09:24:25.7487280Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.7488300Z | ^
2020-07-30T09:24:25.7489150Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.7491810Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.7492960Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.7493650Z
2020-07-30T09:24:25.7495070Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.7495910Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.7496370Z
2020-07-30T09:24:25.7496820Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.7497810Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.7536140Z Snapshots: 0 total
2020-07-30T09:24:25.7536580Z Time: 51.06s
2020-07-30T09:24:25.7536920Z Ran all test suites.
2020-07-30T09:24:25.7538380Z [WARN] [07/30/2020 09:24:01.337] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.7539140Z error Command failed with exit code 1.
2020-07-30T09:24:25.7539660Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.7540260Z ================================================================================
2020-07-30T09:24:25.7541450Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 278 of 1000):
2020-07-30T09:24:25.7542140Z Temp directory : /tmp/tmp.ZqYGnTfHzv
2020-07-30T09:24:25.7542690Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.7613750Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.7616760Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.7618030Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.7671830Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.7673020Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.7674120Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.7675130Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.7676100Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.7677090Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.7678070Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.7679100Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.7680220Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.7681230Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.7682210Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.7683230Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.7685740Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.7688340Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.7689230Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.7691340Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.7719630Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.7722360Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.7748270Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7750650Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7770540Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7773950Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7777120Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.7780060Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.7783190Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.7788290Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.7791730Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.7795890Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.7799900Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.7806880Z warning workspace-aggregator-0c3a4959-eeb4-4cb3-9698-dfec89d69b6f > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.7808310Z yarn run v1.19.1
2020-07-30T09:24:25.7809290Z $ tsc --build
2020-07-30T09:24:25.7809790Z Done in 13.33s.
2020-07-30T09:24:25.7810250Z yarn run v1.19.1
2020-07-30T09:24:25.7811400Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.7828620Z Done in 7.44s.
2020-07-30T09:24:25.7829340Z yarn run v1.19.1
2020-07-30T09:24:25.7829680Z $ jest
2020-07-30T09:24:25.7830070Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7830780Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.7831290Z
2020-07-30T09:24:25.7831670Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7839720Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.7840220Z
2020-07-30T09:24:25.7840590Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7841230Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.7841690Z
2020-07-30T09:24:25.7842060Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7842690Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.7843150Z
2020-07-30T09:24:25.7843510Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.7844490Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.7845360Z
2020-07-30T09:24:25.7845720Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.7846990Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.7847510Z
2020-07-30T09:24:25.7848480Z INFO: Listening on localhost:57259 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.7849070Z ____ ____
2020-07-30T09:24:25.7855050Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.7855480Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.7855870Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.7856140Z
2020-07-30T09:24:25.7858550Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57259, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/13/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.7862700Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.7863770Z Sandbox listening on port 57259
2020-07-30T09:24:25.7864400Z
2020-07-30T09:24:25.7867720Z 09:23:39.880 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57259, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.7870790Z 09:23:46.407 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.7873400Z 09:23:46.430 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.7884200Z 09:23:49.917 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.7893450Z 09:23:53.326 [http-json-ledger-api-akka.actor.default-dispatcher-12] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57275)
2020-07-30T09:24:25.7898990Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.7909190Z JSON API listening on port 57275
2020-07-30T09:24:25.7910310Z
2020-07-30T09:24:25.7912710Z 09:23:57.342 [http-json-ledger-api-akka.actor.default-dispatcher-9] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.7921590Z 09:23:58.167 [http-json-ledger-api-akka.actor.default-dispatcher-9] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.7924100Z 09:24:00.860 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.7925310Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.7926040Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.7926480Z
2020-07-30T09:24:25.7926980Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.7927610Z Killed sandbox
2020-07-30T09:24:25.7928010Z
2020-07-30T09:24:25.7928580Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.7938640Z Killed JSON API
2020-07-30T09:24:25.7938960Z
2020-07-30T09:24:25.7939300Z FAIL src/__tests__/test.ts (44.813s)
2020-07-30T09:24:25.7940340Z ✕ create + fetch & exercise (6433ms)
2020-07-30T09:24:25.7967410Z decoders for recursive types do not loop
2020-07-30T09:24:25.7971360Z ✓ recursive enum (4ms)
2020-07-30T09:24:25.7972990Z ✓ recursive record with guards (1ms)
2020-07-30T09:24:25.7975260Z ✓ uninhabited record (1ms)
2020-07-30T09:24:25.7977950Z ✓ uninhabited enum
2020-07-30T09:24:25.7978460Z
2020-07-30T09:24:25.7979490Z ● create + fetch & exercise
2020-07-30T09:24:25.7979910Z
2020-07-30T09:24:25.7980350Z thrown: Object {
2020-07-30T09:24:25.7997500Z "at": "input",
2020-07-30T09:24:25.7998200Z "input": null,
2020-07-30T09:24:25.7998850Z "kind": "DecoderError",
2020-07-30T09:24:25.7999610Z "message": "expected a string, got null",
2020-07-30T09:24:25.8003340Z }
2020-07-30T09:24:25.8003630Z
2020-07-30T09:24:25.8003930Z 124 | });
2020-07-30T09:24:25.8004240Z 125 |
2020-07-30T09:24:25.8005940Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.8006530Z | ^
2020-07-30T09:24:25.8007080Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.8007860Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.8008620Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.8009150Z
2020-07-30T09:24:25.8010200Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.8010870Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.8011260Z
2020-07-30T09:24:25.8011850Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.8012520Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.8013240Z Snapshots: 0 total
2020-07-30T09:24:25.8013840Z Time: 46.501s
2020-07-30T09:24:25.8014480Z Ran all test suites.
2020-07-30T09:24:25.8016720Z [WARN] [07/30/2020 09:24:01.541] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.8018560Z error Command failed with exit code 1.
2020-07-30T09:24:25.8019520Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.8020570Z ================================================================================
2020-07-30T09:24:25.8023720Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 274 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_274_of_1000/test.log)
2020-07-30T09:24:25.8030680Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 274 of 1000):
2020-07-30T09:24:25.8031710Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 274 of 1000):
2020-07-30T09:24:25.8032190Z Temp directory : /tmp/tmp.mNUe5liNy2
2020-07-30T09:24:25.8032540Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.8033200Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.8034020Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.8034560Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.8035000Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.8035430Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.8035860Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.8036290Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.8036710Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.8037140Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.8037570Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.8038190Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.8038610Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.8039010Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.8039400Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.8039810Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.8040230Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.8040640Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.8041060Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.8042330Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.8043890Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.8046090Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.8048300Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8050170Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8051950Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8053730Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8055500Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8057240Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.8059550Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.8061670Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.8063630Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.8066260Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.8069990Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.8072160Z warning workspace-aggregator-e2e796db-4a72-4a7f-849f-498c3e173a1a > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.8073160Z yarn run v1.19.1
2020-07-30T09:24:25.8100520Z $ tsc --build
2020-07-30T09:24:25.8101700Z Done in 13.34s.
2020-07-30T09:24:25.8102550Z yarn run v1.19.1
2020-07-30T09:24:25.8104170Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.8105150Z Done in 7.84s.
2020-07-30T09:24:25.8105990Z yarn run v1.19.1
2020-07-30T09:24:25.8106760Z $ jest
2020-07-30T09:24:25.8107940Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8115310Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.8116280Z
2020-07-30T09:24:25.8117030Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8118100Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.8118940Z
2020-07-30T09:24:25.8120350Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8121760Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.8123070Z
2020-07-30T09:24:25.8123580Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8124290Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.8125220Z
2020-07-30T09:24:25.8125630Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8205860Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.8207170Z
2020-07-30T09:24:25.8207930Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.8210400Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.8275340Z
2020-07-30T09:24:25.8276480Z INFO: Listening on localhost:57254 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.8277140Z ____ ____
2020-07-30T09:24:25.8277970Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.8278590Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.8279330Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.8279890Z
2020-07-30T09:24:25.8283760Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57254, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/11/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.8287070Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.8288000Z Sandbox listening on port 57254
2020-07-30T09:24:25.8288580Z
2020-07-30T09:24:25.8291890Z 09:23:39.879 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57254, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.8295450Z 09:23:46.437 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.8298570Z 09:23:46.439 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.8308330Z 09:23:49.876 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.8315270Z 09:23:53.327 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57274)
2020-07-30T09:24:25.8316660Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.8317480Z JSON API listening on port 57274
2020-07-30T09:24:25.8318090Z
2020-07-30T09:24:25.8319980Z 09:23:57.267 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.8322740Z 09:23:58.078 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.8325480Z 09:24:00.814 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.8326570Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.8327770Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.8328240Z
2020-07-30T09:24:25.8328730Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.8329260Z Killed sandbox
2020-07-30T09:24:25.8329600Z
2020-07-30T09:24:25.8330070Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.8330590Z Killed JSON API
2020-07-30T09:24:25.8330920Z
2020-07-30T09:24:25.8331380Z FAIL src/__tests__/test.ts (49.036s)
2020-07-30T09:24:25.8332940Z ✕ create + fetch & exercise (5854ms)
2020-07-30T09:24:25.8333820Z decoders for recursive types do not loop
2020-07-30T09:24:25.8335360Z ✓ recursive enum (5ms)
2020-07-30T09:24:25.8344810Z ✓ recursive record with guards (1ms)
2020-07-30T09:24:25.8346410Z ✓ uninhabited record
2020-07-30T09:24:25.8349400Z ✓ uninhabited enum (9ms)
2020-07-30T09:24:25.8350210Z
2020-07-30T09:24:25.8351490Z ● create + fetch & exercise
2020-07-30T09:24:25.8352070Z
2020-07-30T09:24:25.8352610Z thrown: Object {
2020-07-30T09:24:25.8353250Z "at": "input",
2020-07-30T09:24:25.8353880Z "input": null,
2020-07-30T09:24:25.8354520Z "kind": "DecoderError",
2020-07-30T09:24:25.8355350Z "message": "expected a string, got null",
2020-07-30T09:24:25.8356010Z }
2020-07-30T09:24:25.8356380Z
2020-07-30T09:24:25.8356860Z 124 | });
2020-07-30T09:24:25.8357410Z 125 |
2020-07-30T09:24:25.8358930Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.8359860Z | ^
2020-07-30T09:24:25.8361210Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.8362510Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.8363840Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.8364720Z
2020-07-30T09:24:25.8366630Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.8367800Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.8368370Z
2020-07-30T09:24:25.8368940Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.8369650Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.8370340Z Snapshots: 0 total
2020-07-30T09:24:25.8370940Z Time: 50.682s
2020-07-30T09:24:25.8371540Z Ran all test suites.
2020-07-30T09:24:25.8373700Z [WARN] [07/30/2020 09:24:01.441] [pool-1-thread-5] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.8375420Z error Command failed with exit code 1.
2020-07-30T09:24:25.8376320Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.8377380Z ================================================================================
2020-07-30T09:24:25.8380440Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 276 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_276_of_1000/test.log)
2020-07-30T09:24:25.8384720Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 276 of 1000):
2020-07-30T09:24:25.8387400Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 276 of 1000):
2020-07-30T09:24:25.8388630Z Temp directory : /tmp/tmp.gVNiNNR8G4
2020-07-30T09:24:25.8389480Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:24:25.8390420Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:24:25.8392480Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:24:25.8393630Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:24:25.8394560Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:24:25.8395650Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:24:25.8396820Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:24:25.8397860Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:24:25.8398820Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:24:25.8400140Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:24:25.8401100Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:24:25.8402030Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:24:25.8402980Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:24:25.8403850Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:24:25.8421780Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:24:25.8423000Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:24:25.8423950Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:24:25.8424940Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:24:25.8425860Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:24:25.8429880Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:24:25.8433670Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:24:25.8436750Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.8439430Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8451900Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8455260Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8458210Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:24:25.8461070Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8463650Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:24:25.8466380Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:24:25.8470310Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.8474790Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:24:25.8479180Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:24:25.8482470Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:24:25.8485770Z warning workspace-aggregator-3474ad3c-5c7a-439a-bb40-cd92e3478672 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:24:25.8487290Z yarn run v1.19.1
2020-07-30T09:24:25.8488640Z $ tsc --build
2020-07-30T09:24:25.8489290Z Done in 10.47s.
2020-07-30T09:24:25.8489760Z yarn run v1.19.1
2020-07-30T09:24:25.8490880Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:24:25.8491770Z Done in 8.72s.
2020-07-30T09:24:25.8492250Z yarn run v1.19.1
2020-07-30T09:24:25.8545110Z $ jest
2020-07-30T09:24:25.8545840Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8547270Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:24:25.8548590Z
2020-07-30T09:24:25.8549220Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8550280Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:24:25.8551150Z
2020-07-30T09:24:25.8551800Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8552820Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:24:25.8553700Z
2020-07-30T09:24:25.8554330Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8555430Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:24:25.8556270Z
2020-07-30T09:24:25.8556910Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:24:25.8557960Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:24:25.8558770Z
2020-07-30T09:24:25.8559340Z console.log src/__tests__/test.ts:54
2020-07-30T09:24:25.8561100Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:24:25.8561890Z
2020-07-30T09:24:25.8563220Z INFO: Listening on localhost:57262 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:24:25.8564070Z ____ ____
2020-07-30T09:24:25.8564620Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:24:25.8576980Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:24:25.8577790Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:24:25.8578230Z
2020-07-30T09:24:25.8582130Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57262, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/8/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:24:25.8584520Z console.log src/__tests__/test.ts:63
2020-07-30T09:24:25.8585220Z Sandbox listening on port 57262
2020-07-30T09:24:25.8585620Z
2020-07-30T09:24:25.8588710Z 09:23:39.878 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57262, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:24:25.8592500Z 09:23:46.433 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:24:25.8594670Z 09:23:46.435 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:24:25.8611760Z 09:23:50.046 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:24:25.8660910Z 09:23:53.331 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57279)
2020-07-30T09:24:25.8662090Z console.log src/__tests__/test.ts:76
2020-07-30T09:24:25.8677310Z JSON API listening on port 57279
2020-07-30T09:24:25.8678020Z
2020-07-30T09:24:25.8698040Z 09:23:56.563 [http-json-ledger-api-akka.actor.default-dispatcher-12] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:24:25.8700910Z 09:23:58.039 [http-json-ledger-api-akka.actor.default-dispatcher-12] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:24:25.8726800Z 09:24:00.752 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:24:25.8728250Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:24:25.8729340Z Message: {"events":[],"offset":null}
2020-07-30T09:24:25.8729960Z
2020-07-30T09:24:25.8730490Z console.log src/__tests__/test.ts:83
2020-07-30T09:24:25.8731170Z Killed sandbox
2020-07-30T09:24:25.8733640Z
2020-07-30T09:24:25.8734100Z console.log src/__tests__/test.ts:87
2020-07-30T09:24:25.8734540Z Killed JSON API
2020-07-30T09:24:25.8734810Z
2020-07-30T09:24:25.8735190Z FAIL src/__tests__/test.ts (54.44s)
2020-07-30T09:24:25.8736320Z ✕ create + fetch & exercise (6393ms)
2020-07-30T09:24:25.8736910Z decoders for recursive types do not loop
2020-07-30T09:24:25.8737720Z ✓ recursive enum (4ms)
2020-07-30T09:24:25.8738750Z ✓ recursive record with guards (1ms)
2020-07-30T09:24:25.8739780Z ✓ uninhabited record
2020-07-30T09:24:25.8740640Z ✓ uninhabited enum (1ms)
2020-07-30T09:24:25.8741030Z
2020-07-30T09:24:25.8741790Z ● create + fetch & exercise
2020-07-30T09:24:25.8742170Z
2020-07-30T09:24:25.8742530Z thrown: Object {
2020-07-30T09:24:25.8742930Z "at": "input",
2020-07-30T09:24:25.8743340Z "input": null,
2020-07-30T09:24:25.8743750Z "kind": "DecoderError",
2020-07-30T09:24:25.8744220Z "message": "expected a string, got null",
2020-07-30T09:24:25.8744630Z }
2020-07-30T09:24:25.8751360Z
2020-07-30T09:24:25.8751920Z 124 | });
2020-07-30T09:24:25.8753080Z 125 |
2020-07-30T09:24:25.8754290Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:24:25.8754830Z | ^
2020-07-30T09:24:25.8755410Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.8756190Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:24:25.8757000Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:24:25.8757540Z
2020-07-30T09:24:25.8758470Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:24:25.8759130Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:24:25.8759510Z
2020-07-30T09:24:25.8759840Z Test Suites: 1 failed, 1 total
2020-07-30T09:24:25.8760290Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:24:25.8760720Z Snapshots: 0 total
2020-07-30T09:24:25.8761110Z Time: 57.416s
2020-07-30T09:24:25.8761490Z Ran all test suites.
2020-07-30T09:24:25.8763040Z [WARN] [07/30/2020 09:24:01.160] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:24:25.8763860Z error Command failed with exit code 1.
2020-07-30T09:24:25.8764420Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:24:25.8765060Z ================================================================================
2020-07-30T09:25:01.4765040Z [1,254 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [36s (10 actions)] ... (10 actions running)
2020-07-30T09:25:46.8749530Z [1,254 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [81s (10 actions)] ... (10 actions running)
2020-07-30T09:26:39.0813660Z [1,254 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [133s (10 actions)] ... (10 actions running)
2020-07-30T09:27:39.1250050Z [1,254 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [193s (10 actions)] ... (10 actions running)
2020-07-30T09:28:02.7971220Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 166 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_166_of_1000/test.log)
2020-07-30T09:28:02.7985100Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 166 of 1000):
2020-07-30T09:28:02.7987820Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 166 of 1000):
2020-07-30T09:28:02.7988740Z Temp directory : /tmp/tmp.axyk7VZymP
2020-07-30T09:28:02.7990300Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:02.7991760Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:02.7994710Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:02.7996330Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:02.7997240Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:02.7998010Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:02.7998770Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:02.8000000Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:02.8001390Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:02.8002240Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:02.8002980Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:02.8003970Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:02.8006060Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:02.8007580Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:02.8009180Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:02.8010320Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:02.8011100Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:02.8011850Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:02.8013140Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:02.8016260Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:02.8020100Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:02.8023010Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8025810Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8028600Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8031450Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8034510Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8037830Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8040570Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:02.8043650Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8047000Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:02.8050050Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:02.8053680Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8057210Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:02.8061010Z warning workspace-aggregator-f42c14c5-ba69-400c-9df4-69817ae26a1d > build-and-lint-test > jest > jest-cli > jest-config > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:02.8062630Z yarn run v1.19.1
2020-07-30T09:28:02.8064320Z $ tsc --build
2020-07-30T09:28:02.8065120Z Done in 15.42s.
2020-07-30T09:28:02.8066060Z yarn run v1.19.1
2020-07-30T09:28:02.8068050Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:02.8068930Z Done in 7.76s.
2020-07-30T09:28:02.8069860Z yarn run v1.19.1
2020-07-30T09:28:02.8070760Z $ jest
2020-07-30T09:28:02.8071750Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8073220Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:02.8074530Z
2020-07-30T09:28:02.8075460Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8076880Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:02.8077810Z
2020-07-30T09:28:02.8078760Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8080170Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:02.8081090Z
2020-07-30T09:28:02.8082070Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8083240Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:02.8084320Z
2020-07-30T09:28:02.8084860Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8086430Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:02.8096580Z
2020-07-30T09:28:02.8097830Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:02.8099670Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:02.8100770Z
2020-07-30T09:28:02.8102520Z INFO: Listening on localhost:57394 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:02.8103670Z ____ ____
2020-07-30T09:28:02.8104200Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:02.8104680Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:02.8106060Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:02.8106650Z
2020-07-30T09:28:02.8109000Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57394, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/36/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:02.8110380Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:02.8110970Z Sandbox listening on port 57394
2020-07-30T09:28:02.8111430Z
2020-07-30T09:28:02.8112860Z 09:27:16.239 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57394, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:02.8115170Z 09:27:24.844 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:02.8117340Z 09:27:24.851 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:02.8122050Z 09:27:28.753 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:02.8126030Z 09:27:30.748 [http-json-ledger-api-akka.actor.default-dispatcher-8] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57413)
2020-07-30T09:28:02.8127370Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:02.8128160Z JSON API listening on port 57413
2020-07-30T09:28:02.8128810Z
2020-07-30T09:28:02.8129930Z 09:27:33.474 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:02.8131680Z 09:27:34.418 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:02.8133390Z 09:27:37.138 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:02.8134180Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:02.8134790Z Message: {"events":[],"offset":null}
2020-07-30T09:28:02.8135160Z
2020-07-30T09:28:02.8135580Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:02.8136020Z Killed sandbox
2020-07-30T09:28:02.8136300Z
2020-07-30T09:28:02.8136680Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:02.8137040Z Killed JSON API
2020-07-30T09:28:02.8137210Z
2020-07-30T09:28:02.8137440Z FAIL src/__tests__/test.ts (44.111s)
2020-07-30T09:28:02.8138120Z ✕ create + fetch & exercise (4731ms)
2020-07-30T09:28:02.8138780Z decoders for recursive types do not loop
2020-07-30T09:28:02.8140450Z ✓ recursive enum (9ms)
2020-07-30T09:28:02.8141820Z ✓ recursive record with guards (3ms)
2020-07-30T09:28:02.8142840Z ✓ uninhabited record (1ms)
2020-07-30T09:28:02.8143790Z ✓ uninhabited enum
2020-07-30T09:28:02.8144090Z
2020-07-30T09:28:02.8144600Z ● create + fetch & exercise
2020-07-30T09:28:02.8144840Z
2020-07-30T09:28:02.8145070Z thrown: Object {
2020-07-30T09:28:02.8145590Z "at": "input",
2020-07-30T09:28:02.8146130Z "input": null,
2020-07-30T09:28:02.8146690Z "kind": "DecoderError",
2020-07-30T09:28:02.8147280Z "message": "expected a string, got null",
2020-07-30T09:28:02.8147920Z }
2020-07-30T09:28:02.8148860Z
2020-07-30T09:28:02.8149680Z 124 | });
2020-07-30T09:28:02.8149960Z 125 |
2020-07-30T09:28:02.8150670Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:02.8151270Z | ^
2020-07-30T09:28:02.8151690Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8152480Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8153330Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:02.8153910Z
2020-07-30T09:28:02.8154700Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:02.8155400Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:02.8155900Z
2020-07-30T09:28:02.8156210Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:02.8156750Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:02.8157570Z Snapshots: 0 total
2020-07-30T09:28:02.8158080Z Time: 45.886s
2020-07-30T09:28:02.8158500Z Ran all test suites.
2020-07-30T09:28:02.8160890Z [WARN] [07/30/2020 09:27:37.818] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:02.8162210Z error Command failed with exit code 1.
2020-07-30T09:28:02.8163110Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:02.8164230Z ================================================================================
2020-07-30T09:28:02.8191910Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 84 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_84_of_1000/test.log)
2020-07-30T09:28:02.8206410Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 84 of 1000):
2020-07-30T09:28:02.8210690Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 84 of 1000):
2020-07-30T09:28:02.8211740Z Temp directory : /tmp/tmp.EvwgvoS4mb
2020-07-30T09:28:02.8212390Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:02.8213010Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:02.8214480Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:02.8215300Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:02.8215940Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:02.8216640Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:02.8217570Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:02.8219810Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:02.8220930Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:02.8221540Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:02.8222070Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:02.8222840Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:02.8223840Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:02.8224870Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:02.8225610Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:02.8226300Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:02.8227000Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:02.8227530Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:02.8227970Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:02.8229750Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:02.8231840Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8233710Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:02.8235230Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8237210Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8239620Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8241930Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:02.8244550Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8247520Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8250300Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:02.8253030Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8255980Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:02.8259030Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8262240Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:02.8265430Z warning workspace-aggregator-5462ff7e-0c8a-4f08-a7a1-8a77556f9dbb > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:02.8266610Z yarn run v1.19.1
2020-07-30T09:28:02.8267740Z $ tsc --build
2020-07-30T09:28:02.8268360Z Done in 15.52s.
2020-07-30T09:28:02.8268870Z yarn run v1.19.1
2020-07-30T09:28:02.8270000Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:02.8270700Z Done in 7.83s.
2020-07-30T09:28:02.8271530Z yarn run v1.19.1
2020-07-30T09:28:02.8281650Z $ jest
2020-07-30T09:28:02.8282550Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8283820Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:02.8284510Z
2020-07-30T09:28:02.8285000Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8285700Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:02.8286280Z
2020-07-30T09:28:02.8286760Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8287510Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:02.8288410Z
2020-07-30T09:28:02.8288860Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8289620Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:02.8290220Z
2020-07-30T09:28:02.8290640Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8291390Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:02.8292360Z
2020-07-30T09:28:02.8292790Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:02.8294510Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:02.8295120Z
2020-07-30T09:28:02.8296350Z INFO: Listening on localhost:57395 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:02.8297160Z ____ ____
2020-07-30T09:28:02.8297680Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:02.8298220Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:02.8298700Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:02.8299060Z
2020-07-30T09:28:02.8301940Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57395, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/34/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:02.8303650Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:02.8304190Z Sandbox listening on port 57395
2020-07-30T09:28:02.8304580Z
2020-07-30T09:28:02.8306880Z 09:27:16.237 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57395, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:02.8309310Z 09:27:24.905 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:02.8311310Z 09:27:24.912 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:02.8319210Z 09:27:28.749 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:02.8324480Z 09:27:30.749 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57410)
2020-07-30T09:28:02.8325520Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:02.8326090Z JSON API listening on port 57410
2020-07-30T09:28:02.8327540Z
2020-07-30T09:28:02.8329170Z 09:27:31.982 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:02.8331410Z 09:27:33.804 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:02.8333180Z 09:27:37.077 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:02.8335270Z 09:27:37.124 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.WebSocketService - Websocket client interrupted on Failure: UNAVAILABLE: Channel shutdownNow invoked. remaining number of clients: 0
2020-07-30T09:28:02.8336610Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:02.8337300Z Message: {"events":[],"offset":null}
2020-07-30T09:28:02.8337690Z
2020-07-30T09:28:02.8338150Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:02.8338670Z Killed sandbox
2020-07-30T09:28:02.8339020Z
2020-07-30T09:28:02.8339460Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:02.8340920Z Killed JSON API
2020-07-30T09:28:02.8341290Z
2020-07-30T09:28:02.8342020Z FAIL src/__tests__/test.ts (43.13s)
2020-07-30T09:28:02.8343360Z ✕ create + fetch & exercise (5121ms)
2020-07-30T09:28:02.8343980Z decoders for recursive types do not loop
2020-07-30T09:28:02.8345150Z ✓ recursive enum (3ms)
2020-07-30T09:28:02.8346240Z ✓ recursive record with guards (1ms)
2020-07-30T09:28:02.8347320Z ✓ uninhabited record
2020-07-30T09:28:02.8348410Z ✓ uninhabited enum (1ms)
2020-07-30T09:28:02.8349230Z
2020-07-30T09:28:02.8350270Z ● create + fetch & exercise
2020-07-30T09:28:02.8350960Z
2020-07-30T09:28:02.8351450Z thrown: Object {
2020-07-30T09:28:02.8351970Z "at": "input",
2020-07-30T09:28:02.8352460Z "input": null,
2020-07-30T09:28:02.8352960Z "kind": "DecoderError",
2020-07-30T09:28:02.8353530Z "message": "expected a string, got null",
2020-07-30T09:28:02.8353980Z }
2020-07-30T09:28:02.8354250Z
2020-07-30T09:28:02.8354650Z 124 | });
2020-07-30T09:28:02.8355060Z 125 |
2020-07-30T09:28:02.8356280Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:02.8356880Z | ^
2020-07-30T09:28:02.8357530Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8358450Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8359400Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:02.8360060Z
2020-07-30T09:28:02.8361340Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:02.8362110Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:02.8362590Z
2020-07-30T09:28:02.8363040Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:02.8363600Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:02.8364160Z Snapshots: 0 total
2020-07-30T09:28:02.8365040Z Time: 44.699s
2020-07-30T09:28:02.8365470Z Ran all test suites.
2020-07-30T09:28:02.8367150Z [WARN] [07/30/2020 09:27:37.711] [pool-1-thread-3] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:02.8368500Z error Command failed with exit code 1.
2020-07-30T09:28:02.8369160Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:02.8369970Z ================================================================================
2020-07-30T09:28:02.8372270Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 87 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_87_of_1000/test.log)
2020-07-30T09:28:02.8374870Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 87 of 1000):
2020-07-30T09:28:02.8376530Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 87 of 1000):
2020-07-30T09:28:02.8377770Z Temp directory : /tmp/tmp.A5X61njUiN
2020-07-30T09:28:02.8378460Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:02.8379220Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:02.8380710Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:02.8381820Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:02.8382700Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:02.8383380Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:02.8384070Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:02.8384790Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:02.8385500Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:02.8386220Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:02.8386920Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:02.8387610Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:02.8388310Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:02.8389160Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:02.8389910Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:02.8390680Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:02.8391420Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:02.8392210Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:02.8393030Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:02.8395540Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8398430Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:02.8401160Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:02.8403500Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:02.8406080Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8408260Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8410970Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8413290Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8414640Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8416300Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:02.8417810Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8419660Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8421480Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:02.8425170Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:02.8426910Z warning workspace-aggregator-e010d29b-3d2e-424e-a095-b726e0464c45 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:02.8427560Z yarn run v1.19.1
2020-07-30T09:28:02.8428100Z $ tsc --build
2020-07-30T09:28:02.8428410Z Done in 14.11s.
2020-07-30T09:28:02.8428680Z yarn run v1.19.1
2020-07-30T09:28:02.8429250Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:02.8429790Z Done in 8.19s.
2020-07-30T09:28:02.8430320Z yarn run v1.19.1
2020-07-30T09:28:02.8430580Z $ jest
2020-07-30T09:28:02.8430890Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8431400Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:02.8431800Z
2020-07-30T09:28:02.8432100Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8432580Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:02.8432940Z
2020-07-30T09:28:02.8433200Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8433760Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:02.8434130Z
2020-07-30T09:28:02.8437390Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8437930Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:02.8438340Z
2020-07-30T09:28:02.8438650Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8439180Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:02.8439550Z
2020-07-30T09:28:02.8439860Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:02.8440890Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:02.8441310Z
2020-07-30T09:28:02.8442070Z INFO: Listening on localhost:57392 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:02.8442570Z ____ ____
2020-07-30T09:28:02.8442920Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:02.8443280Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:02.8443680Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:02.8444350Z
2020-07-30T09:28:02.8445990Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57392, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/30/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:02.8447280Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:02.8447650Z Sandbox listening on port 57392
2020-07-30T09:28:02.8447890Z
2020-07-30T09:28:02.8449240Z 09:27:16.236 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57392, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:02.8450750Z 09:27:24.897 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:02.8459010Z 09:27:24.898 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:02.8463360Z 09:27:28.749 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:02.8466520Z 09:27:30.748 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57416)
2020-07-30T09:28:02.8467400Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:02.8467730Z JSON API listening on port 57416
2020-07-30T09:28:02.8467950Z
2020-07-30T09:28:02.8468720Z 09:27:32.136 [http-json-ledger-api-akka.actor.default-dispatcher-8] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:02.8469860Z 09:27:33.804 [http-json-ledger-api-akka.actor.default-dispatcher-8] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:02.8470830Z 09:27:37.040 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:02.8471290Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:02.8471670Z Message: {"events":[],"offset":null}
2020-07-30T09:28:02.8471910Z
2020-07-30T09:28:02.8472150Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:02.8472440Z Killed sandbox
2020-07-30T09:28:02.8472620Z
2020-07-30T09:28:02.8472850Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:02.8473280Z Killed JSON API
2020-07-30T09:28:02.8473480Z
2020-07-30T09:28:02.8473800Z FAIL src/__tests__/test.ts (47.77s)
2020-07-30T09:28:02.8474750Z ✕ create + fetch & exercise (5130ms)
2020-07-30T09:28:02.8475180Z decoders for recursive types do not loop
2020-07-30T09:28:02.8475770Z ✓ recursive enum (4ms)
2020-07-30T09:28:02.8476390Z ✓ recursive record with guards (2ms)
2020-07-30T09:28:02.8476980Z ✓ uninhabited record
2020-07-30T09:28:02.8477570Z ✓ uninhabited enum (1ms)
2020-07-30T09:28:02.8477830Z
2020-07-30T09:28:02.8478360Z ● create + fetch & exercise
2020-07-30T09:28:02.8478600Z
2020-07-30T09:28:02.8478830Z thrown: Object {
2020-07-30T09:28:02.8479080Z "at": "input",
2020-07-30T09:28:02.8479330Z "input": null,
2020-07-30T09:28:02.8479580Z "kind": "DecoderError",
2020-07-30T09:28:02.8479880Z "message": "expected a string, got null",
2020-07-30T09:28:02.8480160Z }
2020-07-30T09:28:02.8480300Z
2020-07-30T09:28:02.8480510Z 124 | });
2020-07-30T09:28:02.8480760Z 125 |
2020-07-30T09:28:02.8481340Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:02.8481700Z | ^
2020-07-30T09:28:02.8482100Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8482690Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8483630Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:02.8484270Z
2020-07-30T09:28:02.8485490Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:02.8486290Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:02.8486770Z
2020-07-30T09:28:02.8487180Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:02.8487690Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:02.8488220Z Snapshots: 0 total
2020-07-30T09:28:02.8488710Z Time: 48.961s
2020-07-30T09:28:02.8489150Z Ran all test suites.
2020-07-30T09:28:02.8490680Z [WARN] [07/30/2020 09:27:37.741] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:02.8491640Z error Command failed with exit code 1.
2020-07-30T09:28:02.8492300Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:02.8493000Z ================================================================================
2020-07-30T09:28:02.8495110Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 179 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_179_of_1000/test.log)
2020-07-30T09:28:02.8497160Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 179 of 1000):
2020-07-30T09:28:02.8499220Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 179 of 1000):
2020-07-30T09:28:02.8500080Z Temp directory : /tmp/tmp.ICtA6XcpRZ
2020-07-30T09:28:02.8500760Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:02.8501530Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:02.8503470Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:02.8504390Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:02.8505120Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:02.8505850Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:02.8506830Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:02.8507720Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:02.8508710Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:02.8509430Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:02.8510150Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:02.8510870Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:02.8511590Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:02.8512280Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:02.8513000Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:02.8513740Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:02.8514460Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:02.8515230Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:02.8515890Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:02.8517980Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:02.8520810Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:02.8523430Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8525660Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8527790Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8530110Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8532270Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8534420Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8538080Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:02.8540380Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:02.8543180Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8545560Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:02.8548710Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8551590Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:02.8556150Z warning workspace-aggregator-455fc3df-b903-42d0-8b94-b82ff43f2a71 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:02.8557380Z yarn run v1.19.1
2020-07-30T09:28:02.8558790Z $ tsc --build
2020-07-30T09:28:02.8559300Z Done in 13.49s.
2020-07-30T09:28:02.8559690Z yarn run v1.19.1
2020-07-30T09:28:02.8560650Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:02.8561190Z Done in 7.97s.
2020-07-30T09:28:02.8561600Z yarn run v1.19.1
2020-07-30T09:28:02.8561930Z $ jest
2020-07-30T09:28:02.8562330Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8563250Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:02.8563940Z
2020-07-30T09:28:02.8565010Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8565990Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:02.8567420Z
2020-07-30T09:28:02.8568080Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8568830Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:02.8569420Z
2020-07-30T09:28:02.8569820Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8570470Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:02.8570960Z
2020-07-30T09:28:02.8571340Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8571990Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:02.8572480Z
2020-07-30T09:28:02.8572810Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:02.8574230Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:02.8574750Z
2020-07-30T09:28:02.8575740Z INFO: Listening on localhost:57398 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:02.8577890Z ____ ____
2020-07-30T09:28:02.8578300Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:02.8579090Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:02.8579480Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:02.8579780Z
2020-07-30T09:28:02.8585090Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57398, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/27/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:02.8588240Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:02.8588800Z Sandbox listening on port 57398
2020-07-30T09:28:02.8589150Z
2020-07-30T09:28:02.8606040Z 09:27:16.239 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57398, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:02.8612110Z 09:27:24.898 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:02.8613350Z 09:27:24.900 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:02.8628010Z 09:27:28.741 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:02.8632030Z 09:27:30.753 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57418)
2020-07-30T09:28:02.8644350Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:02.8644930Z JSON API listening on port 57418
2020-07-30T09:28:02.8645270Z
2020-07-30T09:28:02.8646800Z 09:27:31.983 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:02.8648740Z 09:27:33.804 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:02.8650330Z 09:27:36.985 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:02.8651020Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:02.8651600Z Message: {"events":[],"offset":null}
2020-07-30T09:28:02.8651980Z
2020-07-30T09:28:02.8652380Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:02.8655460Z Killed sandbox
2020-07-30T09:28:02.8655660Z
2020-07-30T09:28:02.8655900Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:02.8656170Z Killed JSON API
2020-07-30T09:28:02.8656340Z
2020-07-30T09:28:02.8656560Z FAIL src/__tests__/test.ts (50.11s)
2020-07-30T09:28:02.8659890Z ✕ create + fetch & exercise (5202ms)
2020-07-30T09:28:02.8660240Z decoders for recursive types do not loop
2020-07-30T09:28:02.8660790Z ✓ recursive enum (2ms)
2020-07-30T09:28:02.8663320Z ✓ recursive record with guards (1ms)
2020-07-30T09:28:02.8664840Z ✓ uninhabited record (1ms)
2020-07-30T09:28:02.8674310Z ✓ uninhabited enum (1ms)
2020-07-30T09:28:02.8674680Z
2020-07-30T09:28:02.8675510Z ● create + fetch & exercise
2020-07-30T09:28:02.8675860Z
2020-07-30T09:28:02.8676220Z thrown: Object {
2020-07-30T09:28:02.8676640Z "at": "input",
2020-07-30T09:28:02.8677060Z "input": null,
2020-07-30T09:28:02.8677480Z "kind": "DecoderError",
2020-07-30T09:28:02.8678180Z "message": "expected a string, got null",
2020-07-30T09:28:02.8679020Z }
2020-07-30T09:28:02.8679730Z
2020-07-30T09:28:02.8680140Z 124 | });
2020-07-30T09:28:02.8680560Z 125 |
2020-07-30T09:28:02.8681770Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:02.8682400Z | ^
2020-07-30T09:28:02.8683040Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8684100Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8687430Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:02.8687990Z
2020-07-30T09:28:02.8692490Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:02.8708480Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:02.8708970Z
2020-07-30T09:28:02.8709360Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:02.8709820Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:02.8710260Z Snapshots: 0 total
2020-07-30T09:28:02.8710670Z Time: 51.819s
2020-07-30T09:28:02.8711070Z Ran all test suites.
2020-07-30T09:28:02.8715720Z [WARN] [07/30/2020 09:27:37.760] [pool-1-thread-3] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:02.8716790Z error Command failed with exit code 1.
2020-07-30T09:28:02.8717490Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:02.8718310Z ================================================================================
2020-07-30T09:28:02.8731190Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 180 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_180_of_1000/test.log)
2020-07-30T09:28:02.8734110Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 175 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_175_of_1000/test.log)
2020-07-30T09:28:02.8736630Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 180 of 1000):
2020-07-30T09:28:02.8764670Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 180 of 1000):
2020-07-30T09:28:02.8765480Z Temp directory : /tmp/tmp.xKmpK7XQc0
2020-07-30T09:28:02.8765900Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:02.8766640Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:02.8767640Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:02.8774470Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:02.8775440Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:02.8776230Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:02.8776970Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:02.8777730Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:02.8778540Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:02.8779530Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:02.8780310Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:02.8781050Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:02.8781820Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:02.8786220Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:02.8786980Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:02.8807610Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:02.8808320Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:02.8809000Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:02.8809490Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:02.8815450Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:02.8817230Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:02.8818670Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8820620Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8822040Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8823560Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8824860Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8828680Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.8831370Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:02.8833850Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:02.8836980Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8839900Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:02.8843230Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8845770Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:02.8848190Z warning workspace-aggregator-833a29dd-06b6-477d-8044-4a5a25975054 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:02.8849440Z yarn run v1.19.1
2020-07-30T09:28:02.8856820Z $ tsc --build
2020-07-30T09:28:02.8857340Z Done in 15.41s.
2020-07-30T09:28:02.8857900Z yarn run v1.19.1
2020-07-30T09:28:02.8858580Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:02.8858980Z Done in 7.78s.
2020-07-30T09:28:02.8859290Z yarn run v1.19.1
2020-07-30T09:28:02.8859570Z $ jest
2020-07-30T09:28:02.8859880Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8860480Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:02.8860890Z
2020-07-30T09:28:02.8861240Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8861850Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:02.8862270Z
2020-07-30T09:28:02.8862830Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8863640Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:02.8864020Z
2020-07-30T09:28:02.8871350Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8871860Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:02.8872240Z
2020-07-30T09:28:02.8872510Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.8872970Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:02.8873310Z
2020-07-30T09:28:02.8873550Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:02.8874590Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:02.8874960Z
2020-07-30T09:28:02.8875660Z INFO: Listening on localhost:57393 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:02.8876370Z ____ ____
2020-07-30T09:28:02.8877090Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:02.8877370Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:02.8877650Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:02.8877840Z
2020-07-30T09:28:02.8879510Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57393, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/29/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:02.8880880Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:02.8881200Z Sandbox listening on port 57393
2020-07-30T09:28:02.8881430Z
2020-07-30T09:28:02.8882750Z 09:27:16.237 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57393, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:02.8884190Z 09:27:24.852 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:02.8885290Z 09:27:24.854 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:02.8890170Z 09:27:28.753 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:02.8894820Z 09:27:30.757 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57412)
2020-07-30T09:28:02.8895660Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:02.8896080Z JSON API listening on port 57412
2020-07-30T09:28:02.8896360Z
2020-07-30T09:28:02.8897590Z 09:27:33.040 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:02.8899320Z 09:27:34.136 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:02.8900810Z 09:27:37.142 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:02.8901470Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:02.8901970Z Message: {"events":[],"offset":null}
2020-07-30T09:28:02.8902290Z
2020-07-30T09:28:02.8902620Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:02.8903260Z Killed sandbox
2020-07-30T09:28:02.8903530Z
2020-07-30T09:28:02.8903870Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:02.8904250Z Killed JSON API
2020-07-30T09:28:02.8904490Z
2020-07-30T09:28:02.8904810Z FAIL src/__tests__/test.ts (44.333s)
2020-07-30T09:28:02.8905700Z ✕ create + fetch & exercise (4930ms)
2020-07-30T09:28:02.8906160Z decoders for recursive types do not loop
2020-07-30T09:28:02.8906900Z ✓ recursive enum (13ms)
2020-07-30T09:28:02.8907660Z ✓ recursive record with guards (2ms)
2020-07-30T09:28:02.8919900Z ✓ uninhabited record
2020-07-30T09:28:02.8921130Z ✓ uninhabited enum (1ms)
2020-07-30T09:28:02.8921590Z
2020-07-30T09:28:02.8922510Z ● create + fetch & exercise
2020-07-30T09:28:02.8922900Z
2020-07-30T09:28:02.8923280Z thrown: Object {
2020-07-30T09:28:02.8923710Z "at": "input",
2020-07-30T09:28:02.8924130Z "input": null,
2020-07-30T09:28:02.8924590Z "kind": "DecoderError",
2020-07-30T09:28:02.8925130Z "message": "expected a string, got null",
2020-07-30T09:28:02.8925640Z }
2020-07-30T09:28:02.8925910Z
2020-07-30T09:28:02.8926250Z 124 | });
2020-07-30T09:28:02.8926610Z 125 |
2020-07-30T09:28:02.8927680Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:02.8928310Z | ^
2020-07-30T09:28:02.8928930Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8929860Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.8930820Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:02.8931770Z
2020-07-30T09:28:02.8932930Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:02.8936870Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:02.8937340Z
2020-07-30T09:28:02.8939300Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:02.8939860Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:02.8940390Z Snapshots: 0 total
2020-07-30T09:28:02.8940860Z Time: 46.095s
2020-07-30T09:28:02.8941860Z Ran all test suites.
2020-07-30T09:28:02.8943800Z [WARN] [07/30/2020 09:27:37.829] [pool-1-thread-2] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:02.8944800Z error Command failed with exit code 1.
2020-07-30T09:28:02.8945410Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:02.8946130Z ================================================================================
2020-07-30T09:28:02.8947520Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 175 of 1000):
2020-07-30T09:28:02.8949030Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 175 of 1000):
2020-07-30T09:28:02.8949800Z Temp directory : /tmp/tmp.GiSGjF4rPI
2020-07-30T09:28:02.8950400Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:02.8951090Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:02.8952920Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:02.8953630Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:02.8954200Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:02.8954780Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:02.8955360Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:02.8955920Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:02.8956470Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:02.8957030Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:02.8957590Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:02.8967070Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:02.8971220Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:02.8971840Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:02.8972400Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:02.8981110Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:02.8981890Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:02.8983410Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:02.8984370Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:02.8986420Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:02.8989720Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:02.8992150Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.8998450Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9000600Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9002670Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9009880Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9030110Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9040260Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:02.9053000Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:02.9055940Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9058550Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:02.9061480Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9064910Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:02.9070840Z warning workspace-aggregator-9d3e006d-a864-4754-af7f-c95ccbc430ae > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:02.9072240Z yarn run v1.19.1
2020-07-30T09:28:02.9078600Z $ tsc --build
2020-07-30T09:28:02.9080670Z Done in 15.71s.
2020-07-30T09:28:02.9081140Z yarn run v1.19.1
2020-07-30T09:28:02.9082200Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:02.9082760Z Done in 7.99s.
2020-07-30T09:28:02.9083160Z yarn run v1.19.1
2020-07-30T09:28:02.9083530Z $ jest
2020-07-30T09:28:02.9084020Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9084810Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:02.9088930Z
2020-07-30T09:28:02.9089540Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9090340Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:02.9090960Z
2020-07-30T09:28:02.9091790Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9092590Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:02.9096760Z
2020-07-30T09:28:02.9097240Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9098010Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:02.9098660Z
2020-07-30T09:28:02.9099130Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9101180Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:02.9101780Z
2020-07-30T09:28:02.9102150Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:02.9103690Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:02.9104300Z
2020-07-30T09:28:02.9105520Z INFO: Listening on localhost:57396 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:02.9106250Z ____ ____
2020-07-30T09:28:02.9106720Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:02.9107200Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:02.9107680Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:02.9108010Z
2020-07-30T09:28:02.9110650Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57396, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/33/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:02.9112350Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:02.9126490Z Sandbox listening on port 57396
2020-07-30T09:28:02.9126950Z
2020-07-30T09:28:02.9129370Z 09:27:16.237 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57396, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:02.9131830Z 09:27:24.844 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:02.9133650Z 09:27:24.945 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:02.9140360Z 09:27:28.741 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:02.9145940Z 09:27:30.749 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57411)
2020-07-30T09:28:02.9146930Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:02.9147430Z JSON API listening on port 57411
2020-07-30T09:28:02.9147800Z
2020-07-30T09:28:02.9149070Z 09:27:32.362 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:02.9157480Z 09:27:33.806 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:02.9159270Z 09:27:36.975 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:02.9159990Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:02.9160870Z Message: {"events":[],"offset":null}
2020-07-30T09:28:02.9161270Z
2020-07-30T09:28:02.9167420Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:02.9167980Z Killed sandbox
2020-07-30T09:28:02.9168280Z
2020-07-30T09:28:02.9168670Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:02.9169130Z Killed JSON API
2020-07-30T09:28:02.9169410Z
2020-07-30T09:28:02.9169800Z FAIL src/__tests__/test.ts (46.226s)
2020-07-30T09:28:02.9170910Z ✕ create + fetch & exercise (4893ms)
2020-07-30T09:28:02.9171490Z decoders for recursive types do not loop
2020-07-30T09:28:02.9172470Z ✓ recursive enum (6ms)
2020-07-30T09:28:02.9173490Z ✓ recursive record with guards (1ms)
2020-07-30T09:28:02.9174390Z ✓ uninhabited record (3ms)
2020-07-30T09:28:02.9175240Z ✓ uninhabited enum (1ms)
2020-07-30T09:28:02.9175570Z
2020-07-30T09:28:02.9176430Z ● create + fetch & exercise
2020-07-30T09:28:02.9176800Z
2020-07-30T09:28:02.9177200Z thrown: Object {
2020-07-30T09:28:02.9177660Z "at": "input",
2020-07-30T09:28:02.9178060Z "input": null,
2020-07-30T09:28:02.9178440Z "kind": "DecoderError",
2020-07-30T09:28:02.9178870Z "message": "expected a string, got null",
2020-07-30T09:28:02.9179240Z }
2020-07-30T09:28:02.9179450Z
2020-07-30T09:28:02.9186320Z 124 | });
2020-07-30T09:28:02.9186700Z 125 |
2020-07-30T09:28:02.9218180Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:02.9218740Z | ^
2020-07-30T09:28:02.9219140Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.9219670Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.9221080Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:02.9221770Z
2020-07-30T09:28:02.9223060Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:02.9224450Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:02.9224880Z
2020-07-30T09:28:02.9225300Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:02.9225820Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:02.9226320Z Snapshots: 0 total
2020-07-30T09:28:02.9226770Z Time: 47.67s
2020-07-30T09:28:02.9227220Z Ran all test suites.
2020-07-30T09:28:02.9228810Z [WARN] [07/30/2020 09:27:37.710] [pool-1-thread-5] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:02.9229750Z error Command failed with exit code 1.
2020-07-30T09:28:02.9230390Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:02.9231150Z ================================================================================
2020-07-30T09:28:02.9233230Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 170 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_170_of_1000/test.log)
2020-07-30T09:28:02.9241740Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 170 of 1000):
2020-07-30T09:28:02.9243340Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 170 of 1000):
2020-07-30T09:28:02.9244180Z Temp directory : /tmp/tmp.6MhHYrwdiE
2020-07-30T09:28:02.9244800Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:02.9245540Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:02.9247010Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:02.9247900Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:02.9248600Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:02.9249320Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:02.9250040Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:02.9250750Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:02.9251470Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:02.9252160Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:02.9252840Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:02.9253490Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:02.9254150Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:02.9254800Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:02.9255480Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:02.9256150Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:02.9262550Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:02.9263290Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:02.9264310Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:02.9266110Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:02.9267770Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:02.9269420Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9270760Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9272050Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9273310Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9274580Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9275990Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9277170Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:02.9279650Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:02.9281520Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9283690Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:02.9286510Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9292800Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:02.9307900Z warning workspace-aggregator-13dc0166-e5c8-4104-b861-b8b73c4a28da > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:02.9312820Z yarn run v1.19.1
2020-07-30T09:28:02.9331220Z $ tsc --build
2020-07-30T09:28:02.9331840Z Done in 15.90s.
2020-07-30T09:28:02.9332200Z yarn run v1.19.1
2020-07-30T09:28:02.9333160Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:02.9333600Z Done in 6.45s.
2020-07-30T09:28:02.9333920Z yarn run v1.19.1
2020-07-30T09:28:02.9334230Z $ jest
2020-07-30T09:28:02.9334610Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9335390Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:02.9336020Z
2020-07-30T09:28:02.9336480Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9337510Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:02.9338160Z
2020-07-30T09:28:02.9338610Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9342430Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:02.9343130Z
2020-07-30T09:28:02.9343540Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9344390Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:02.9344960Z
2020-07-30T09:28:02.9377930Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9378670Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:02.9379190Z
2020-07-30T09:28:02.9379530Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:02.9380850Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:02.9381880Z
2020-07-30T09:28:02.9383270Z INFO: Listening on localhost:57399 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:02.9384050Z ____ ____
2020-07-30T09:28:02.9384510Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:02.9385050Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:02.9385570Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:02.9385970Z
2020-07-30T09:28:02.9389030Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57399, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/32/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:02.9390590Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:02.9391030Z Sandbox listening on port 57399
2020-07-30T09:28:02.9391300Z
2020-07-30T09:28:02.9393230Z 09:27:17.310 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57399, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:02.9395310Z 09:27:24.847 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:02.9432510Z 09:27:24.921 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:02.9436910Z 09:27:28.810 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:02.9444660Z 09:27:30.750 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57419)
2020-07-30T09:28:02.9451330Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:02.9451860Z JSON API listening on port 57419
2020-07-30T09:28:02.9452220Z
2020-07-30T09:28:02.9453610Z 09:27:31.984 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:02.9455450Z 09:27:33.808 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:02.9457130Z 09:27:37.174 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:02.9466940Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:02.9467580Z Message: {"events":[],"offset":null}
2020-07-30T09:28:02.9468000Z
2020-07-30T09:28:02.9468390Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:02.9468860Z Killed sandbox
2020-07-30T09:28:02.9469200Z
2020-07-30T09:28:02.9469610Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:02.9470120Z Killed JSON API
2020-07-30T09:28:02.9470400Z
2020-07-30T09:28:02.9470770Z FAIL src/__tests__/test.ts (41.11s)
2020-07-30T09:28:02.9487620Z ✕ create + fetch & exercise (5211ms)
2020-07-30T09:28:02.9510900Z decoders for recursive types do not loop
2020-07-30T09:28:02.9522960Z ✓ recursive enum (3ms)
2020-07-30T09:28:02.9524420Z ✓ recursive record with guards (1ms)
2020-07-30T09:28:02.9525460Z ✓ uninhabited record
2020-07-30T09:28:02.9527450Z ✓ uninhabited enum (1ms)
2020-07-30T09:28:02.9527830Z
2020-07-30T09:28:02.9528730Z ● create + fetch & exercise
2020-07-30T09:28:02.9529140Z
2020-07-30T09:28:02.9529520Z thrown: Object {
2020-07-30T09:28:02.9529970Z "at": "input",
2020-07-30T09:28:02.9540280Z "input": null,
2020-07-30T09:28:02.9540770Z "kind": "DecoderError",
2020-07-30T09:28:02.9541280Z "message": "expected a string, got null",
2020-07-30T09:28:02.9541740Z }
2020-07-30T09:28:02.9542000Z
2020-07-30T09:28:02.9542330Z 124 | });
2020-07-30T09:28:02.9542980Z 125 |
2020-07-30T09:28:02.9544100Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:02.9544670Z | ^
2020-07-30T09:28:02.9545310Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.9546200Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.9547130Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:02.9547750Z
2020-07-30T09:28:02.9555200Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:02.9556070Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:02.9556500Z
2020-07-30T09:28:02.9556880Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:02.9557320Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:02.9557750Z Snapshots: 0 total
2020-07-30T09:28:02.9558180Z Time: 42.234s
2020-07-30T09:28:02.9558600Z Ran all test suites.
2020-07-30T09:28:02.9560160Z [WARN] [07/30/2020 09:27:37.795] [pool-1-thread-5] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:02.9561040Z error Command failed with exit code 1.
2020-07-30T09:28:02.9561570Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:02.9562170Z ================================================================================
2020-07-30T09:28:02.9564520Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 172 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_172_of_1000/test.log)
2020-07-30T09:28:02.9566140Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 172 of 1000):
2020-07-30T09:28:02.9567370Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 172 of 1000):
2020-07-30T09:28:02.9568110Z Temp directory : /tmp/tmp.pdVIifddiL
2020-07-30T09:28:02.9568700Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:02.9569380Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:02.9570780Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:02.9577190Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:02.9578250Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:02.9578900Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:02.9579570Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:02.9580160Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:02.9580740Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:02.9581300Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:02.9581870Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:02.9582440Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:02.9583010Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:02.9583570Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:02.9584140Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:02.9584690Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:02.9585240Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:02.9585790Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:02.9586380Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:02.9590960Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:02.9593730Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:02.9601080Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9603240Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9605190Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9607290Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9609550Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:02.9611650Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9613650Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9616200Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:02.9629540Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9640920Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:02.9643930Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9653180Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:02.9656440Z warning workspace-aggregator-b59425a7-7f15-4ec4-a808-7b982e616827 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:02.9657990Z yarn run v1.19.1
2020-07-30T09:28:02.9658960Z $ tsc --build
2020-07-30T09:28:02.9659390Z Done in 15.63s.
2020-07-30T09:28:02.9659730Z yarn run v1.19.1
2020-07-30T09:28:02.9660510Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:02.9660920Z Done in 7.69s.
2020-07-30T09:28:02.9661240Z yarn run v1.19.1
2020-07-30T09:28:02.9661550Z $ jest
2020-07-30T09:28:02.9661940Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9662640Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:02.9663170Z
2020-07-30T09:28:02.9663550Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9664380Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:02.9664940Z
2020-07-30T09:28:02.9665330Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9666480Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:02.9667150Z
2020-07-30T09:28:02.9667580Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9673670Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:02.9674350Z
2020-07-30T09:28:02.9717270Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:02.9719050Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:02.9719640Z
2020-07-30T09:28:02.9720060Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:02.9721840Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:02.9722380Z
2020-07-30T09:28:02.9723530Z INFO: Listening on localhost:57391 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:02.9724310Z ____ ____
2020-07-30T09:28:02.9724770Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:02.9725220Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:02.9725690Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:02.9726030Z
2020-07-30T09:28:02.9728420Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57391, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/35/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:02.9730140Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:02.9730570Z Sandbox listening on port 57391
2020-07-30T09:28:02.9730840Z
2020-07-30T09:28:02.9734240Z 09:27:16.237 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57391, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:02.9736040Z 09:27:24.852 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:02.9737120Z 09:27:24.854 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:02.9747240Z 09:27:28.777 [http-json-ledger-api-akka.actor.default-dispatcher-14] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:02.9750320Z 09:27:30.750 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57415)
2020-07-30T09:28:02.9750940Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:02.9751250Z JSON API listening on port 57415
2020-07-30T09:28:02.9751440Z
2020-07-30T09:28:02.9752160Z 09:27:33.853 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:02.9753250Z 09:27:34.685 [http-json-ledger-api-akka.actor.default-dispatcher-11] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:02.9790730Z 09:27:37.345 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:02.9791610Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:02.9792210Z Message: {"events":[],"offset":null}
2020-07-30T09:28:02.9792580Z
2020-07-30T09:28:02.9792990Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:02.9793440Z Killed sandbox
2020-07-30T09:28:02.9793710Z
2020-07-30T09:28:02.9794140Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:02.9794560Z Killed JSON API
2020-07-30T09:28:02.9794810Z
2020-07-30T09:28:02.9795130Z FAIL src/__tests__/test.ts (43.48s)
2020-07-30T09:28:02.9796010Z ✕ create + fetch & exercise (5054ms)
2020-07-30T09:28:02.9801550Z decoders for recursive types do not loop
2020-07-30T09:28:02.9802630Z ✓ recursive enum (5ms)
2020-07-30T09:28:02.9803650Z ✓ recursive record with guards (1ms)
2020-07-30T09:28:02.9804600Z ✓ uninhabited record
2020-07-30T09:28:02.9805530Z ✓ uninhabited enum (2ms)
2020-07-30T09:28:02.9809620Z
2020-07-30T09:28:02.9810820Z ● create + fetch & exercise
2020-07-30T09:28:02.9811200Z
2020-07-30T09:28:02.9811570Z thrown: Object {
2020-07-30T09:28:02.9811990Z "at": "input",
2020-07-30T09:28:02.9812400Z "input": null,
2020-07-30T09:28:02.9813230Z "kind": "DecoderError",
2020-07-30T09:28:02.9813750Z "message": "expected a string, got null",
2020-07-30T09:28:02.9814180Z }
2020-07-30T09:28:02.9814440Z
2020-07-30T09:28:02.9814760Z 124 | });
2020-07-30T09:28:02.9815110Z 125 |
2020-07-30T09:28:02.9816120Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:02.9822760Z | ^
2020-07-30T09:28:02.9823450Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.9824240Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:02.9825050Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:02.9825570Z
2020-07-30T09:28:02.9835020Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:02.9848950Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:02.9872730Z
2020-07-30T09:28:02.9873560Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:02.9874140Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:02.9874550Z Snapshots: 0 total
2020-07-30T09:28:02.9874910Z Time: 45.051s
2020-07-30T09:28:02.9875240Z Ran all test suites.
2020-07-30T09:28:02.9876650Z [WARN] [07/30/2020 09:27:37.992] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:02.9877390Z error Command failed with exit code 1.
2020-07-30T09:28:02.9877880Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:02.9878470Z ================================================================================
2020-07-30T09:28:02.9881330Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 88 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_88_of_1000/test.log)
2020-07-30T09:28:02.9888460Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 88 of 1000):
2020-07-30T09:28:02.9890020Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 88 of 1000):
2020-07-30T09:28:02.9890800Z Temp directory : /tmp/tmp.WMDISeftkr
2020-07-30T09:28:02.9891420Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:02.9892090Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:02.9893440Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:02.9894630Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:02.9895280Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:02.9912920Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:02.9913810Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:02.9914440Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:02.9915020Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:02.9915580Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:02.9916150Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:02.9916700Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:02.9917260Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:02.9918040Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:02.9918590Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:02.9919140Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:02.9919710Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:02.9920260Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:02.9920930Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:02.9923070Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:02.9925260Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:02.9927120Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9928890Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9932330Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9934940Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9937810Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9940410Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:02.9943330Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:02.9946050Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:02.9975360Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9978330Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:02.9996440Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:02.9999110Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:03.0001380Z warning workspace-aggregator-1350c016-9cbd-4c0f-988a-9e519420676e > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:03.0004080Z yarn run v1.19.1
2020-07-30T09:28:03.0005010Z $ tsc --build
2020-07-30T09:28:03.0005380Z Done in 12.33s.
2020-07-30T09:28:03.0005710Z yarn run v1.19.1
2020-07-30T09:28:03.0006440Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:03.0006860Z Done in 8.18s.
2020-07-30T09:28:03.0007180Z yarn run v1.19.1
2020-07-30T09:28:03.0007490Z $ jest
2020-07-30T09:28:03.0007870Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0008760Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:03.0009630Z
2020-07-30T09:28:03.0010080Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0010730Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:03.0011200Z
2020-07-30T09:28:03.0011560Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0012190Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:03.0012660Z
2020-07-30T09:28:03.0013030Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0013680Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:03.0014160Z
2020-07-30T09:28:03.0014530Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0015180Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:03.0015670Z
2020-07-30T09:28:03.0016010Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:03.0017190Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:03.0017850Z
2020-07-30T09:28:03.0021790Z INFO: Listening on localhost:57397 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:03.0022620Z ____ ____
2020-07-30T09:28:03.0023140Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:03.0023640Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:03.0024150Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:03.0024520Z
2020-07-30T09:28:03.0027140Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57397, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/28/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:03.0029190Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:03.0029740Z Sandbox listening on port 57397
2020-07-30T09:28:03.0030140Z
2020-07-30T09:28:03.0032320Z 09:27:16.237 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57397, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:03.0035670Z 09:27:24.848 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:03.0037510Z 09:27:24.850 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:03.0044220Z 09:27:28.739 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:03.0062670Z 09:27:30.749 [http-json-ledger-api-akka.actor.default-dispatcher-12] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57414)
2020-07-30T09:28:03.0093640Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:03.0094380Z JSON API listening on port 57414
2020-07-30T09:28:03.0094810Z
2020-07-30T09:28:03.0096770Z 09:27:33.321 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:03.0099080Z 09:27:34.242 [http-json-ledger-api-akka.actor.default-dispatcher-7] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:03.0102290Z 09:27:37.053 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:03.0103140Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:03.0103740Z Message: {"events":[],"offset":null}
2020-07-30T09:28:03.0104120Z
2020-07-30T09:28:03.0104500Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:03.0104950Z Killed sandbox
2020-07-30T09:28:03.0105230Z
2020-07-30T09:28:03.0106540Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:03.0109410Z Killed JSON API
2020-07-30T09:28:03.0109840Z
2020-07-30T09:28:03.0110240Z FAIL src/__tests__/test.ts (57.371s)
2020-07-30T09:28:03.0111290Z ✕ create + fetch & exercise (4729ms)
2020-07-30T09:28:03.0111870Z decoders for recursive types do not loop
2020-07-30T09:28:03.0112830Z ✓ recursive enum (3ms)
2020-07-30T09:28:03.0188530Z ✓ recursive record with guards (3ms)
2020-07-30T09:28:03.0200460Z ✓ uninhabited record (1ms)
2020-07-30T09:28:03.0201390Z ✓ uninhabited enum
2020-07-30T09:28:03.0201720Z
2020-07-30T09:28:03.0202580Z ● create + fetch & exercise
2020-07-30T09:28:03.0202950Z
2020-07-30T09:28:03.0203320Z thrown: Object {
2020-07-30T09:28:03.0203750Z "at": "input",
2020-07-30T09:28:03.0204170Z "input": null,
2020-07-30T09:28:03.0204580Z "kind": "DecoderError",
2020-07-30T09:28:03.0205140Z "message": "expected a string, got null",
2020-07-30T09:28:03.0218260Z }
2020-07-30T09:28:03.0218690Z
2020-07-30T09:28:03.0218940Z 124 | });
2020-07-30T09:28:03.0219180Z 125 |
2020-07-30T09:28:03.0220020Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:03.0220400Z | ^
2020-07-30T09:28:03.0220780Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:03.0221310Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:03.0222150Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:03.0222540Z
2020-07-30T09:28:03.0223230Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:03.0230000Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:03.0230480Z
2020-07-30T09:28:03.0230760Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:03.0231060Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:03.0231330Z Snapshots: 0 total
2020-07-30T09:28:03.0231580Z Time: 59.631s
2020-07-30T09:28:03.0231830Z Ran all test suites.
2020-07-30T09:28:03.0232870Z [WARN] [07/30/2020 09:27:37.851] [pool-1-thread-2] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:03.0233410Z error Command failed with exit code 1.
2020-07-30T09:28:03.0233780Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:03.0234260Z ================================================================================
2020-07-30T09:28:03.0235470Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 173 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_173_of_1000/test.log)
2020-07-30T09:28:03.0236650Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 173 of 1000):
2020-07-30T09:28:03.0237590Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 173 of 1000):
2020-07-30T09:28:03.0238050Z Temp directory : /tmp/tmp.jprgoH7ScQ
2020-07-30T09:28:03.0238410Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:28:03.0238820Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:28:03.0239660Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:28:03.0240670Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:28:03.0241930Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:28:03.0248880Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:28:03.0249820Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:28:03.0250570Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:28:03.0251280Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:28:03.0251980Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:28:03.0252710Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:28:03.0253410Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:28:03.0254450Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:28:03.0255170Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:28:03.0255870Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:28:03.0256890Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:28:03.0258170Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:28:03.0260480Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:28:03.0261230Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:28:03.0263310Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:28:03.0276960Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:28:03.0279370Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:03.0281350Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:03.0283110Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:03.0301340Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:03.0303120Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:03.0304890Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:28:03.0306670Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:28:03.0308570Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:28:03.0310640Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:28:03.0312650Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:28:03.0315380Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:28:03.0318410Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:28:03.0320750Z warning workspace-aggregator-9fcd30e3-5105-416f-b5ea-99f55f50c957 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:28:03.0322040Z yarn run v1.19.1
2020-07-30T09:28:03.0322880Z $ tsc --build
2020-07-30T09:28:03.0323240Z Done in 12.13s.
2020-07-30T09:28:03.0323560Z yarn run v1.19.1
2020-07-30T09:28:03.0324280Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:28:03.0324700Z Done in 8.41s.
2020-07-30T09:28:03.0325080Z yarn run v1.19.1
2020-07-30T09:28:03.0333860Z $ jest
2020-07-30T09:28:03.0334580Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0335450Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:28:03.0336440Z
2020-07-30T09:28:03.0344940Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0345890Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:28:03.0346560Z
2020-07-30T09:28:03.0347080Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0347870Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:28:03.0348440Z
2020-07-30T09:28:03.0348870Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0349640Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:28:03.0350260Z
2020-07-30T09:28:03.0350700Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:28:03.0351470Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:28:03.0352070Z
2020-07-30T09:28:03.0352490Z console.log src/__tests__/test.ts:54
2020-07-30T09:28:03.0353910Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:28:03.0354450Z
2020-07-30T09:28:03.0355620Z INFO: Listening on localhost:57390 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:28:03.0356350Z ____ ____
2020-07-30T09:28:03.0356810Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:28:03.0357310Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:28:03.0389760Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:28:03.0390100Z
2020-07-30T09:28:03.0396690Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57390, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/31/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:28:03.0398510Z console.log src/__tests__/test.ts:63
2020-07-30T09:28:03.0398980Z Sandbox listening on port 57390
2020-07-30T09:28:03.0399260Z
2020-07-30T09:28:03.0401320Z 09:27:16.237 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57390, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:28:03.0403360Z 09:27:24.845 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:28:03.0405400Z 09:27:24.849 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:28:03.0415190Z 09:27:28.779 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:28:03.0449090Z 09:27:30.749 [http-json-ledger-api-akka.actor.default-dispatcher-5] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57417)
2020-07-30T09:28:03.0450370Z console.log src/__tests__/test.ts:76
2020-07-30T09:28:03.0450880Z JSON API listening on port 57417
2020-07-30T09:28:03.0451250Z
2020-07-30T09:28:03.0452710Z 09:27:32.945 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:28:03.0491080Z 09:27:34.013 [http-json-ledger-api-akka.actor.default-dispatcher-6] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:28:03.0496390Z 09:27:36.886 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:28:03.0496870Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:28:03.0497230Z Message: {"events":[],"offset":null}
2020-07-30T09:28:03.0497450Z
2020-07-30T09:28:03.0497700Z console.log src/__tests__/test.ts:83
2020-07-30T09:28:03.0497960Z Killed sandbox
2020-07-30T09:28:03.0498130Z
2020-07-30T09:28:03.0498360Z console.log src/__tests__/test.ts:87
2020-07-30T09:28:03.0498620Z Killed JSON API
2020-07-30T09:28:03.0498790Z
2020-07-30T09:28:03.0499020Z FAIL src/__tests__/test.ts (55.865s)
2020-07-30T09:28:03.0499660Z ✕ create + fetch & exercise (4780ms)
2020-07-30T09:28:03.0500010Z decoders for recursive types do not loop
2020-07-30T09:28:03.0500560Z ✓ recursive enum (4ms)
2020-07-30T09:28:03.0501130Z ✓ recursive record with guards
2020-07-30T09:28:03.0501680Z ✓ uninhabited record (1ms)
2020-07-30T09:28:03.0502230Z ✓ uninhabited enum (6ms)
2020-07-30T09:28:03.0502440Z
2020-07-30T09:28:03.0502950Z ● create + fetch & exercise
2020-07-30T09:28:03.0503180Z
2020-07-30T09:28:03.0503390Z thrown: Object {
2020-07-30T09:28:03.0503680Z "at": "input",
2020-07-30T09:28:03.0507430Z "input": null,
2020-07-30T09:28:03.0507760Z "kind": "DecoderError",
2020-07-30T09:28:03.0508100Z "message": "expected a string, got null",
2020-07-30T09:28:03.0508390Z }
2020-07-30T09:28:03.0508560Z
2020-07-30T09:28:03.0508790Z 124 | });
2020-07-30T09:28:03.0509040Z 125 |
2020-07-30T09:28:03.0509780Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:28:03.0510200Z | ^
2020-07-30T09:28:03.0530580Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:03.0531510Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:28:03.0532100Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:28:03.0532480Z
2020-07-30T09:28:03.0533460Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:28:03.0534000Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:28:03.0534270Z
2020-07-30T09:28:03.0534530Z Test Suites: 1 failed, 1 total
2020-07-30T09:28:03.0534850Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:28:03.0535150Z Snapshots: 0 total
2020-07-30T09:28:03.0535420Z Time: 57.513s
2020-07-30T09:28:03.0535680Z Ran all test suites.
2020-07-30T09:28:03.0540240Z [WARN] [07/30/2020 09:27:37.803] [pool-1-thread-5] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:28:03.0545080Z error Command failed with exit code 1.
2020-07-30T09:28:03.0546160Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:28:03.0548790Z ================================================================================
2020-07-30T09:28:48.1776030Z [1,264 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [45s (10 actions)] ... (10 actions running)
2020-07-30T09:30:07.5891420Z [1,264 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [124s (10 actions)] ... (10 actions running)
2020-07-30T09:31:38.8995760Z [1,264 / 2,244] Testing //language-support/ts/codegen/tests:build-and-lint-test [216s (10 actions)] ... (10 actions running)
2020-07-30T09:31:42.1062590Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 42 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_42_of_1000/test.log)
2020-07-30T09:31:42.1076120Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 42 of 1000):
2020-07-30T09:31:42.1080220Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 42 of 1000):
2020-07-30T09:31:42.1081480Z Temp directory : /tmp/tmp.x2m7MPDUv8
2020-07-30T09:31:42.1092990Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:31:42.1094420Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:31:42.1097520Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:31:42.1098910Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:31:42.1099960Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:31:42.1100630Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:31:42.1101210Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:31:42.1101850Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:31:42.1102490Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:31:42.1103130Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:31:42.1104380Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:31:42.1105080Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:31:42.1105670Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:31:42.1106350Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:31:42.1106970Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:31:42.1107570Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:31:42.1109120Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:31:42.1110150Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:31:42.1110930Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:31:42.1113140Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:31:42.1115150Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:31:42.1117390Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:31:42.1119970Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1121850Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1123870Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1125850Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1127590Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1129780Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:31:42.1132100Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:31:42.1134540Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:31:42.1136620Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:31:42.1139020Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:31:42.1141510Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:31:42.1155140Z warning workspace-aggregator-d0081b9e-fcbf-433e-b509-1225de97f5f2 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:31:42.1157300Z yarn run v1.19.1
2020-07-30T09:31:42.1158540Z $ tsc --build
2020-07-30T09:31:42.1159700Z Done in 15.57s.
2020-07-30T09:31:42.1163190Z yarn run v1.19.1
2020-07-30T09:31:42.1164950Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:31:42.1166580Z Done in 7.92s.
2020-07-30T09:31:42.1167220Z yarn run v1.19.1
2020-07-30T09:31:42.1168510Z $ jest
2020-07-30T09:31:42.1169260Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1171210Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:31:42.1172840Z
2020-07-30T09:31:42.1173590Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1175100Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:31:42.1176650Z
2020-07-30T09:31:42.1177420Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1178530Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:31:42.1180630Z
2020-07-30T09:31:42.1181320Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1182400Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:31:42.1183230Z
2020-07-30T09:31:42.1183870Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1187260Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:31:42.1188430Z
2020-07-30T09:31:42.1190030Z console.log src/__tests__/test.ts:54
2020-07-30T09:31:42.1192840Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:31:42.1193960Z
2020-07-30T09:31:42.1195710Z INFO: Listening on localhost:57529 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:31:42.1196880Z ____ ____
2020-07-30T09:31:42.1197560Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:31:42.1199710Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:31:42.1200530Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:31:42.1201060Z
2020-07-30T09:31:42.1205040Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57529, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/51/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:31:42.1207540Z console.log src/__tests__/test.ts:63
2020-07-30T09:31:42.1208330Z Sandbox listening on port 57529
2020-07-30T09:31:42.1208890Z
2020-07-30T09:31:42.1213290Z 09:30:54.025 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57529, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:31:42.1216790Z 09:31:03.546 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:31:42.1219270Z 09:31:03.585 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:31:42.1229200Z 09:31:07.665 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:31:42.1237720Z 09:31:09.896 [http-json-ledger-api-akka.actor.default-dispatcher-9] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57544)
2020-07-30T09:31:42.1239590Z console.log src/__tests__/test.ts:76
2020-07-30T09:31:42.1240860Z JSON API listening on port 57544
2020-07-30T09:31:42.1241880Z
2020-07-30T09:31:42.1244400Z 09:31:11.664 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:31:42.1247160Z 09:31:12.401 [http-json-ledger-api-akka.actor.default-dispatcher-13] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:31:42.1250370Z 09:31:15.117 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:31:42.1251580Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:31:42.1252850Z Message: {"events":[],"offset":null}
2020-07-30T09:31:42.1253820Z
2020-07-30T09:31:42.1254780Z console.log src/__tests__/test.ts:83
2020-07-30T09:31:42.1255250Z Killed sandbox
2020-07-30T09:31:42.1255490Z
2020-07-30T09:31:42.1255830Z console.log src/__tests__/test.ts:87
2020-07-30T09:31:42.1256600Z Killed JSON API
2020-07-30T09:31:42.1256930Z
2020-07-30T09:31:42.1257310Z FAIL src/__tests__/test.ts (42.486s)
2020-07-30T09:31:42.1258320Z ✕ create + fetch & exercise (3956ms)
2020-07-30T09:31:42.1259200Z decoders for recursive types do not loop
2020-07-30T09:31:42.1260160Z ✓ recursive enum (4ms)
2020-07-30T09:31:42.1261510Z ✓ recursive record with guards
2020-07-30T09:31:42.1262880Z ✓ uninhabited record
2020-07-30T09:31:42.1264190Z ✓ uninhabited enum
2020-07-30T09:31:42.1264920Z
2020-07-30T09:31:42.1265820Z ● create + fetch & exercise
2020-07-30T09:31:42.1266500Z
2020-07-30T09:31:42.1266920Z thrown: Object {
2020-07-30T09:31:42.1267660Z "at": "input",
2020-07-30T09:31:42.1268070Z "input": null,
2020-07-30T09:31:42.1268810Z "kind": "DecoderError",
2020-07-30T09:31:42.1269330Z "message": "expected a string, got null",
2020-07-30T09:31:42.1270350Z }
2020-07-30T09:31:42.1270640Z
2020-07-30T09:31:42.1270990Z 124 | });
2020-07-30T09:31:42.1271650Z 125 |
2020-07-30T09:31:42.1272660Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:31:42.1273520Z | ^
2020-07-30T09:31:42.1274120Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:31:42.1274920Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:31:42.1276050Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:31:42.1276920Z
2020-07-30T09:31:42.1277990Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:31:42.1279010Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:31:42.1280160Z
2020-07-30T09:31:42.1290590Z Test Suites: 1 failed, 1 total
2020-07-30T09:31:42.1291920Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:31:42.1292820Z Snapshots: 0 total
2020-07-30T09:31:42.1293250Z Time: 43.537s
2020-07-30T09:31:42.1293660Z Ran all test suites.
2020-07-30T09:31:42.1295120Z [WARN] [07/30/2020 09:31:15.675] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:31:42.1296260Z error Command failed with exit code 1.
2020-07-30T09:31:42.1296870Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:31:42.1297840Z ================================================================================
2020-07-30T09:31:42.1300110Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 163 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_163_of_1000/test.log)
2020-07-30T09:31:42.1304730Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 163 of 1000):
2020-07-30T09:31:42.1307640Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 163 of 1000):
2020-07-30T09:31:42.1309250Z Temp directory : /tmp/tmp.W0Jlewd4Xh
2020-07-30T09:31:42.1310870Z Generating 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba
2020-07-30T09:31:42.1312270Z Generating 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7
2020-07-30T09:31:42.1314980Z Generating build-and-lint-1.0.0 (hash: 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8)
2020-07-30T09:31:42.1316670Z Generating 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898
2020-07-30T09:31:42.1318110Z Generating 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c
2020-07-30T09:31:42.1319140Z Generating 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d
2020-07-30T09:31:42.1320190Z Generating 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06
2020-07-30T09:31:42.1321680Z Generating 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a
2020-07-30T09:31:42.1323160Z Generating 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f
2020-07-30T09:31:42.1324790Z Generating 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb
2020-07-30T09:31:42.1326260Z Generating 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235
2020-07-30T09:31:42.1327750Z Generating a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b
2020-07-30T09:31:42.1329230Z Generating bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f
2020-07-30T09:31:42.1330740Z Generating c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd
2020-07-30T09:31:42.1331830Z Generating cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7
2020-07-30T09:31:42.1333560Z Generating d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662
2020-07-30T09:31:42.1334590Z Generating d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97
2020-07-30T09:31:42.1335620Z Generating e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c
2020-07-30T09:31:42.1336630Z Generating e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b
2020-07-30T09:31:42.1340620Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > wait-on > @hapi/joi@15.1.1: joi is leaving the @hapi organization and moving back to 'joi' (https://github.com/sideway/joi/issues/2411)
2020-07-30T09:31:42.1345310Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > wait-on > core-js@2.6.11: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
2020-07-30T09:31:42.1348700Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > wait-on > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:31:42.1352270Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > wait-on > @hapi/joi > @hapi/bourne@1.3.2: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1355260Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > wait-on > @hapi/joi > @hapi/address@2.1.4: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1358550Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo@3.1.6: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1361460Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > wait-on > @hapi/joi > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1365480Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > wait-on > @hapi/joi > @hapi/topo > @hapi/hoek@8.5.1: This version has been deprecated and is no longer supported or maintained
2020-07-30T09:31:42.1369020Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > wait-on > request > har-validator@5.1.5: this library is no longer supported
2020-07-30T09:31:42.1373330Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > jest > jest-cli > @jest/core > jest-haste-map > fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
2020-07-30T09:31:42.1377760Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
2020-07-30T09:31:42.1381730Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > left-pad@1.3.0: use String.prototype.padStart()
2020-07-30T09:31:42.1386140Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > jest > jest-cli > jest-config > jest-environment-jsdom > jsdom > request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
2020-07-30T09:31:42.1390140Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
2020-07-30T09:31:42.1394540Z warning workspace-aggregator-cf98d0a3-f181-4610-9052-16dec5775e08 > build-and-lint-test > jest > jest-cli > @jest/core > micromatch > snapdragon > source-map-resolve > urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
2020-07-30T09:31:42.1396340Z yarn run v1.19.1
2020-07-30T09:31:42.1397710Z $ tsc --build
2020-07-30T09:31:42.1398430Z Done in 15.67s.
2020-07-30T09:31:42.1399030Z yarn run v1.19.1
2020-07-30T09:31:42.1400470Z $ eslint --ext .ts src/ --max-warnings 0
2020-07-30T09:31:42.1401590Z Done in 7.73s.
2020-07-30T09:31:42.1402380Z yarn run v1.19.1
2020-07-30T09:31:42.1403180Z $ jest
2020-07-30T09:31:42.1403950Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1405180Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Lib.Mod:NonTopLevel.
2020-07-30T09:31:42.1406240Z
2020-07-30T09:31:42.1406990Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1408060Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:T:T.
2020-07-30T09:31:42.1409960Z
2020-07-30T09:31:42.1410750Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1412520Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:U.
2020-07-30T09:31:42.1413860Z
2020-07-30T09:31:42.1414650Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1416240Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:Person.
2020-07-30T09:31:42.1417150Z
2020-07-30T09:31:42.1417830Z console.debug ../node_modules/@daml/types/index.js:18
2020-07-30T09:31:42.1419020Z Registered template 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8:Main:AllTypes.
2020-07-30T09:31:42.1419850Z
2020-07-30T09:31:42.1420220Z console.log src/__tests__/test.ts:54
2020-07-30T09:31:42.1421860Z build-and-lint-1.0.0 (425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8) loaded
2020-07-30T09:31:42.1422800Z
2020-07-30T09:31:42.1424620Z INFO: Listening on localhost:57528 over plain text. (context: {participantId=sandbox-participant})
2020-07-30T09:31:42.1426050Z ____ ____
2020-07-30T09:31:42.1426710Z / __/__ ____ ___/ / / ___ __ __
2020-07-30T09:31:42.1427370Z _\ \/ _ `/ _ \/ _ / _ \/ _ \\ \ /
2020-07-30T09:31:42.1428010Z /___/\_,_/_//_/\_,_/_.__/\___/_\_\
2020-07-30T09:31:42.1428450Z
2020-07-30T09:31:42.1431890Z INFO: Initialized Sandbox version 0.0.0 with ledger-id = build-and-lint-test, port = 57528, dar file = List(/private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/sandbox/processwrapper-sandbox/50/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/bin/language-support/ts/codegen/tests/build-and-lint-test.runfiles/com_github_digital_asset_daml/language-support/ts/codegen/tests/build-and-lint.dar), time mode = wall-clock time, ledger = in-memory, auth-service = AuthServiceWildcard$, contract ids seeding = no
2020-07-30T09:31:42.1437330Z console.log src/__tests__/test.ts:63
2020-07-30T09:31:42.1438280Z Sandbox listening on port 57528
2020-07-30T09:31:42.1438760Z
2020-07-30T09:31:42.1442010Z 09:30:53.557 [main] INFO com.daml.http.Main$ - Config(ledgerHost=localhost, ledgerPort=57528, address=127.0.0.1, httpPort=0, portFile=Some(json-api.port), applicationId=HTTP-JSON-API-Gateway, packageReloadInterval=5 seconds, maxInboundMessageSize=4194304, tlsConfig=TlsConfiguration(false,None,None,None,REQUIRE), jdbcConfig=None, staticContentConfig=None, allowNonHttps=true, accessTokenFile=None)
2020-07-30T09:31:42.1447440Z 09:31:03.564 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - Connected to Ledger: build-and-lint-test
2020-07-30T09:31:42.1450370Z 09:31:03.572 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.HttpService$ - contractDao: None
2020-07-30T09:31:42.1459760Z 09:31:07.798 [http-json-ledger-api-akka.actor.default-dispatcher-10] INFO com.daml.http.PackageService - new package IDs loaded: c1f1f00558799eec139fb4f4c76f95fb52fa1837a5dd29600baa1c8ed1bdccfd, 733e38d36a2759688a4b2c4cec69d48e7b55ecc8dedc8067b815926c917a182a, bfcd37bd6b84768e86e432f5f6c33e25d9e7724a9d42e33875ff74f6348e733f, 4d7b560cafd248241381fea6e9840aab9660221a5019e3bacc2e1cca62615898, 518032f41fd0175461b35ae0c9691e08b4aea55e62915f8360af2cc7a1f2ba6c, cc348d369011362a5190fe96dd1f0dfbc697fdfd10e382b9e9666f0da05961b7, 6839a6d3d430c569b2425e9391717b44ca324b88ba621d597778811b2d05031d, 99a2705ed38c1c26cbb8fe7acf36bbf626668e167a33335de932599219e0a235, 76bf0fd12bd945762a01f8fc5bbcdfa4d0ff20f8762af490f8f41d6237c6524f, e22bce619ae24ca3b8e6519281cb5a33b64b3190cc763248b4c3f9ad5087a92c, d58cf9939847921b2aab78eaa7b427dc4c649d25e6bee3c749ace4c3f52f5c97, 6c2c0667393c5f92f1885163068cd31800d2264eb088eb6fc740e11241b2bf06, d14e08374fc7197d6a0de468c968ae8ba3aadbf9315476fd39071831f5923662, 057eed1fd48c238491b8ea06b9b5bf85a5d4c9275dd3f6183e0e6b01730cc2ba, e491352788e56ca4603acc411ffe1a49fefd76ed8b163af86cf5ee5f4c38645b, 40f452260bef3f29dede136108fc08a88d5a5250310281067087da6f0baddff7, a918294d5fcd2d2773e2d4d3a8fee9280e2229fd3d0656be751d71bc6027593b, 8a7806365bbd98d88b4c13832ebfa305f6abaeaf32cfa2b7dd25c4fa489b79fb, 425b49cb6d96e0d6d30e32069d95c20df8356fdb66fa8f461050a2a621f6e5c8
2020-07-30T09:31:42.1467770Z 09:31:09.897 [http-json-ledger-api-akka.actor.default-dispatcher-14] INFO com.daml.http.Main$ - Started server: ServerBinding(/127.0.0.1:57547)
2020-07-30T09:31:42.1470030Z console.log src/__tests__/test.ts:76
2020-07-30T09:31:42.1471020Z JSON API listening on port 57547
2020-07-30T09:31:42.1472120Z
2020-07-30T09:31:42.1474470Z 09:31:11.880 [http-json-ledger-api-akka.actor.default-dispatcher-8] INFO com.daml.http.WebsocketEndpoints - GOT daml.ws.auth
2020-07-30T09:31:42.1481410Z 09:31:12.404 [http-json-ledger-api-akka.actor.default-dispatcher-8] INFO com.daml.http.WebSocketService - New websocket client has connected, current number of clients:1
2020-07-30T09:31:42.1484110Z 09:31:15.257 [shutdownHook2] INFO com.daml.http.HttpService$ - Stopping server...
2020-07-30T09:31:42.1485310Z console.log ../node_modules/@daml/ledger/index.js:503
2020-07-30T09:31:42.1486640Z Message: {"events":[],"offset":null}
2020-07-30T09:31:42.1487220Z
2020-07-30T09:31:42.1487920Z console.log src/__tests__/test.ts:83
2020-07-30T09:31:42.1488740Z Killed sandbox
2020-07-30T09:31:42.1489780Z
2020-07-30T09:31:42.1490490Z console.log src/__tests__/test.ts:87
2020-07-30T09:31:42.1491330Z Killed JSON API
2020-07-30T09:31:42.1491810Z
2020-07-30T09:31:42.1492730Z FAIL src/__tests__/test.ts (42.753s)
2020-07-30T09:31:42.1494640Z ✕ create + fetch & exercise (3740ms)
2020-07-30T09:31:42.1495700Z decoders for recursive types do not loop
2020-07-30T09:31:42.1497710Z ✓ recursive enum (5ms)
2020-07-30T09:31:42.1499320Z ✓ recursive record with guards (1ms)
2020-07-30T09:31:42.1500960Z ✓ uninhabited record (1ms)
2020-07-30T09:31:42.1503080Z ✓ uninhabited enum
2020-07-30T09:31:42.1504100Z
2020-07-30T09:31:42.1505730Z ● create + fetch & exercise
2020-07-30T09:31:42.1506360Z
2020-07-30T09:31:42.1507100Z thrown: Object {
2020-07-30T09:31:42.1507950Z "at": "input",
2020-07-30T09:31:42.1508690Z "input": null,
2020-07-30T09:31:42.1509450Z "kind": "DecoderError",
2020-07-30T09:31:42.1510350Z "message": "expected a string, got null",
2020-07-30T09:31:42.1511100Z }
2020-07-30T09:31:42.1512180Z
2020-07-30T09:31:42.1513280Z 124 | });
2020-07-30T09:31:42.1514000Z 125 |
2020-07-30T09:31:42.1515650Z > 126 | test('create + fetch & exercise', async () => {
2020-07-30T09:31:42.1516490Z | ^
2020-07-30T09:31:42.1517470Z 127 | const aliceLedger = new Ledger({token: ALICE_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:31:42.1518770Z 128 | const bobLedger = new Ledger({token: BOB_TOKEN, httpBaseUrl: httpBaseUrl()});
2020-07-30T09:31:42.1520100Z 129 | const aliceRawStream = aliceLedger.streamQuery(buildAndLint.Main.Person, {party: ALICE_PARTY});
2020-07-30T09:31:42.1520900Z
2020-07-30T09:31:42.1522890Z at new Spec (../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
2020-07-30T09:31:42.1524050Z at Object.<anonymous> (src/__tests__/test.ts:126:1)
2020-07-30T09:31:42.1524720Z
2020-07-30T09:31:42.1550690Z Test Suites: 1 failed, 1 total
2020-07-30T09:31:42.1551540Z Tests: 1 failed, 4 passed, 5 total
2020-07-30T09:31:42.1553380Z Snapshots: 0 total
2020-07-30T09:31:42.1554450Z Time: 43.784s
2020-07-30T09:31:42.1555150Z Ran all test suites.
2020-07-30T09:31:42.1557820Z [WARN] [07/30/2020 09:31:15.849] [pool-1-thread-4] [CoordinatedShutdown(akka://sandbox)] Could not addJvmShutdownHook, due to: Shutdown in progress
2020-07-30T09:31:42.1559210Z error Command failed with exit code 1.
2020-07-30T09:31:42.1560130Z info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
2020-07-30T09:31:42.1566130Z ================================================================================
2020-07-30T09:31:42.1569340Z FAIL: //language-support/ts/codegen/tests:build-and-lint-test (run 164 of 1000) (see /private/var/tmp/_bazel_vsts/38d36a619150b9300aa37bd0849c0ccc/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/language-support/ts/codegen/tests/build-and-lint-test/run_164_of_1000/test.log)
2020-07-30T09:31:42.1573260Z INFO: From Testing //language-support/ts/codegen/tests:build-and-lint-test (run 164 of 1000):
2020-07-30T09:31:42.1574690Z ==================== Test output for //language-support/ts/codegen/tests:build-and-lint-test (run 164 of 1000):
2020-07-30T09:31:42.1575370Z Temp directory : /tmp/tmp.gtcdBxn4Bt