digital-asset / daml

The Daml smart contract language
https://www.digitalasset.com/developers
797 stars 199 forks source link

Flaky tests tracker #16479

Open samuel-williams-da opened 1 year ago

samuel-williams-da commented 1 year ago

Following are the tests identified as flaky under the Daml language/damlc team.

Note - the "Scenario service backend error: BErrorFail StatusDeadlineExceeded" error is caused by previously unhandled failures. After #16503 is merged, we should always get more information in these cases.

The following are all already marked as flaky, and as such, won't fail CI. Test name Error Evidence Status
lsp-tests Unexpected exception on request, please report! https://github.com/digital-asset/daml/issues/11873 Unresolved
lsp-tests Timeout on windows https://github.com/digital-asset/daml/issues/1354 Fully disabled on windows, but ticket is merged, might be able to re-enable? See here
test-deployment Received RST_STREAM with error code 8 - some kind of timeout https://github.com/digital-asset/daml/issues/9768 Stale, consider removing flaky from definition
daml-assistant/integration-tests Unknown, marked flaky for mvn reasons. related to #14281 N/A Unresolved
daml-assistant/quickstart-tests Unknown, marked flaky for mvn reasons N/A Unresolved
multi-participant-integration-test Initialisation order failure ? PR merged
hs-bindings/test Timeouts ? Unresolved, see #8747
hs-bindings/GroupChat Timeouts ? Potentially resolved, see #1907, #2520
recovering-indexer-integration-tests Unknown, marked flaky ? Unresolved
ledger-service/integration-tests-* Timeout? ? Unresolved, see #11585
ledger-service/failure-tests-* Timeout? ? Unresolved, see #9886
After tests, we list general failures that affect tests at random Error Evidence Status
Unknown scenario service timeouts Builds expired but failure is common, exception is generic DeadlineExceeded from Grpc Unknown cause
samuel-williams-da commented 1 year ago

Please add any flaky or failing tests here :)

basvangijzel-DA commented 1 year ago

Check whether these tests are using sandbox on x, as they will need to be migrated.

samuel-williams-da commented 1 year ago

//daml-lf/interpreter:tests_test_suite_src_test_scala_com_digitalasset_daml_lf_speedy_SBuiltinBigNumericTest.scala Timed out on me https://dev.azure.com/digitalasset/daml/_build/results?buildId=137293&view=logs&j=a5e52b91-c83f-5429-4a68-c246fc63a4f7&t=d4864165-4be3-5e34-b483-a6b05303aa68&l=6187

carlpulley-da commented 1 year ago

While googling around wrt the "Stream 9 sent too many headers!" flake, I uncovered the following related looking links(?):

In addition, the stack overflow link points to:

Google search terms: akka sendHeaders has already been called

samuel-williams-da commented 1 year ago

I also found this one

samuel-williams-da commented 1 year ago

I'm looking into the source now, as I've been hitting it a lot more recently

samuel-williams-da commented 1 year ago

For convenience of not losing, heres a cleaned up stack trace from one of the too many headers flakes

Trace ``` Apr 03, 2023 11:28:36 AM io.grpc.netty.NettyServerTransport notifyTerminated INFO: Transport failed java.lang.IllegalStateException: Stream 9 sent too many headers EOS: false io.netty.handler.codec.http2.DefaultHttp2ConnectionEncoder.validateHeadersSentState(DefaultHttp2ConnectionEncoder.java:158) io.netty.handler.codec.http2.DefaultHttp2ConnectionEncoder.writeHeaders0(DefaultHttp2ConnectionEncoder.java:231) io.netty.handler.codec.http2.DefaultHttp2ConnectionEncoder.writeHeaders(DefaultHttp2ConnectionEncoder.java:151) io.netty.handler.codec.http2.DecoratingHttp2FrameWriter.writeHeaders(DecoratingHttp2FrameWriter.java:45) io.grpc.netty.NettyServerHandler.sendResponseHeaders(NettyServerHandler.java:724) io.grpc.netty.NettyServerHandler.write(NettyServerHandler.java:644) io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:717) io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:709) io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:792) io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:702) io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1015) io.netty.channel.AbstractChannel.write(AbstractChannel.java:301) io.grpc.netty.WriteQueue$AbstractQueuedCommand.run(WriteQueue.java:213) io.grpc.netty.WriteQueue.flush(WriteQueue.java:128) io.grpc.netty.WriteQueue.access$000(WriteQueue.java:34) io.grpc.netty.WriteQueue$1.run(WriteQueue.java:46) io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) java.base/java.lang.Thread.run(Thread.java:829) Apr 03, 2023 11:28:36 AM io.grpc.netty.NettyServerHandler onStreamError WARNING: Stream Error io.netty.handler.codec.http2.Http2Exception$StreamException: Stream closed before write could take place io.netty.handler.codec.http2.Http2Exception.streamError(Http2Exception.java:172) io.netty.handler.codec.http2.DefaultHttp2RemoteFlowController$FlowState.cancel(DefaultHttp2RemoteFlowController.java:481) io.netty.handler.codec.http2.DefaultHttp2RemoteFlowController$1.onStreamClosed(DefaultHttp2RemoteFlowController.java:105) io.netty.handler.codec.http2.DefaultHttp2Connection.notifyClosed(DefaultHttp2Connection.java:357) io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.removeFromActiveStreams(DefaultHttp2Connection.java:1007) io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.deactivate(DefaultHttp2Connection.java:963) io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream.close(DefaultHttp2Connection.java:515) io.netty.handler.codec.http2.DefaultHttp2Connection.close(DefaultHttp2Connection.java:153) io.netty.handler.codec.http2.Http2ConnectionHandler$BaseDecoder.channelInactive(Http2ConnectionHandler.java:209) io.netty.handler.codec.http2.Http2ConnectionHandler.channelInactive(Http2ConnectionHandler.java:417) io.grpc.netty.NettyServerHandler.channelInactive(NettyServerHandler.java:627) io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262) io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248) io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241) io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405) io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262) io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248) io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901) io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:831) io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) java.base/java.lang.Thread.run(Thread.java:829) Apr 03, 2023 11:28:36 AM io.grpc.netty.NettyServerHandler onStreamError WARNING: Stream Error io.netty.handler.codec.http2.Http2Exception$StreamException: Stream closed before write could take place io.netty.handler.codec.http2.Http2Exception.streamError(Http2Exception.java:172) io.netty.handler.codec.http2.DefaultHttp2RemoteFlowController$FlowState.cancel(DefaultHttp2RemoteFlowController.java:481) io.netty.handler.codec.http2.DefaultHttp2RemoteFlowController$1.onStreamClosed(DefaultHttp2RemoteFlowController.java:105) io.netty.handler.codec.http2.DefaultHttp2Connection.notifyClosed(DefaultHttp2Connection.java:357) io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.removeFromActiveStreams(DefaultHttp2Connection.java:1007) io.netty.handler.codec.http2.DefaultHttp2Connection$ActiveStreams.deactivate(DefaultHttp2Connection.java:963) io.netty.handler.codec.http2.DefaultHttp2Connection$DefaultStream.close(DefaultHttp2Connection.java:515) io.netty.handler.codec.http2.DefaultHttp2Connection.close(DefaultHttp2Connection.java:153) io.netty.handler.codec.http2.Http2ConnectionHandler$BaseDecoder.channelInactive(Http2ConnectionHandler.java:209) io.netty.handler.codec.http2.Http2ConnectionHandler.channelInactive(Http2ConnectionHandler.java:417) io.grpc.netty.NettyServerHandler.channelInactive(NettyServerHandler.java:627) io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262) io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248) io.netty.channel.AbstractChannelHandlerContext.fireChannelInactive(AbstractChannelHandlerContext.java:241) io.netty.channel.DefaultChannelPipeline$HeadContext.channelInactive(DefaultChannelPipeline.java:1405) io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:262) io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:248) io.netty.channel.DefaultChannelPipeline.fireChannelInactive(DefaultChannelPipeline.java:901) io.netty.channel.AbstractChannel$AbstractUnsafe$8.run(AbstractChannel.java:831) io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:503) io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) java.base/java.lang.Thread.run(Thread.java:829) File: B.daml Hidden: no Range: 11:1-11:2 Source: Script Severity: DsError Message: Scenario service backend error: BErrorFail StatusDeadlineExceeded ```
samuel-williams-da commented 1 year ago

I believe the issue is here As both the Future and onComplete for the result can call onNext. I've confirmed that the CI tests do run in live mode, so an unfortunately placed random status message could clash with the result and trigger the error.

I'd assume this is most common on slightly longer running tests, given we only get a status message every 300-600ms. Going to make a quick fix and run a bunch of times to see if I'm right

samuel-williams-da commented 1 year ago

Stream 9 sent too many headers! fix confirmed with PR #16659 , removed from the table.

carlpulley-da commented 1 year ago

We have recently had some reports of failures related to //triggers/service:test-oracle_test_suite_src_test_suite_scala_com_daml_lf_engine_trigger_TriggerServiceTestWithOracle.scala.

Modifying the ci/build.yml to run the test 5 times allowed this failure to be observed on the main branch (see https://github.com/digital-asset/daml/pull/16877). This confirms that this test is flaky (as it often ow succeeds).

carlpulley-da commented 1 year ago

Remy has recently relayed a potential flaky test on Windows. Typical symptom is:

//triggers/service:test_6                                                FAILED in 117.3s
  C:/users/u/_bazel_u/vvgx3zjt/execroot/com_github_digital_asset_daml/bazel-out/x64_windows-opt/testlogs/triggers/service/test_6/test.log

Fixed with https://github.com/digital-asset/daml/pull/16980

dylant-da commented 1 year ago

Found //compiler/damlc/tests:repl-functests being flaky once on https://github.com/digital-asset/daml/pull/16984

dylant-da commented 1 year ago

@nickchapman-da mentioned the following in weekly team meeting:

//daml-lf/interpreter:tests_test_suite_src_test_scala_com_digitalasset_daml_lf_speedy_SBuiltinBigNumericTest.scala TIMEOUT in 60.1s
basvangijzel-DA commented 1 year ago

Given the discussion I would probably just up the timing for the SBuiltinBigNumericTest.

basvangijzel-DA commented 1 year ago

Gary: ignore M1 tests for now given the completely unrelated flakes Sam: Windows test needs changes to a Shake rule so we can properly propagate.

FAIL: //compiler/damlc/tests:daml-doctest (see C:/users/u/_bazel_u/lwsr2dl2/execroot/com_github_digital_asset_daml/bazel-out/x64_windows-opt/testlogs/compiler/damlc/tests/daml-doctest/test.log)

INFO: From Testing //compiler/damlc/tests:daml-doctest:

==================== Test output for //compiler/damlc/tests:daml-doctest:
daml-doctest
  generate doctest module
    empty module:                     OK (0.13s)
    example in doc comment:           FAIL
      Exception: user error (Pattern match failure in do expression at compiler\damlc\tests\src\DA\Test\DamlDocTest.hs:100:17-23)
      Use -p '/example in doc comment/' to rerun this test only.
    example in nondoc comment:        OK (0.12s)
    multiple examples in one comment: OK (0.18s)
    example in code block:            OK (0.16s)
    multiline result:                 OK (0.10s)

https://dev.azure.com/digitalasset/daml/_build/results?buildId=145224&view=logs&j=2d2b3007-3c5c-5840-9bb0-2b1ea49925f3&s=96ac2280-8cb4-5df5-99de-dd2da759617d&t=ac0b0b0f-051f-52f7-8fb3-a7e384b0dde9&l=12722

samuel-williams-da commented 1 year ago

I've increased the timeout for SBuiltinBigNumericTest (https://github.com/digital-asset/daml/pull/17107) and I've adding diagnostics to the windows damldoctest failure (https://github.com/digital-asset/daml/pull/17111)

dylant-da commented 1 year ago

https://dev.azure.com/digitalasset/daml/_build/results?buildId=145708&view=logs&jobId=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&j=0da5d1d9-276d-5173-c4c4-9d4d4ed14fdb&t=024164e1-ccd8-5d04-bea4-1ac3c8885917 Flaky on Linux (!): //libs-haskell/da-hs-base:da-hs-base-telemetry-tests

samuel-williams-da commented 1 year ago

^ Minimal logs on circle CI, all we know is error code 139, which is a seg fault. Cannot replicate on my machine. It's unclear if the segfault would stop existing logs from being flushed - we get nothing from Tasty, so it could be the calls to:

I'll explore those first, but otherwise - we're a little in the dark here.

basvangijzel-DA commented 1 year ago

Rémy:

https://dev.azure.com/digitalasset/daml/_build/results?buildId=147989&view=logs&jobId=52c0dd40-3465-5e8e-2f7c-ae591b3bddfa&j=52c0dd40-3465-5e8e-2f7c-ae591b3bddfa&t=199b63e7-8a1c-52a3-a4d5-f2bcbcf31b17

//ledger-service/http-json:integration-tests-ce_test_suite_src_it_scala_http_WebsocketServiceIntegrationTest.scala

samuel-williams-da commented 1 year ago

Sometimes the participant errors randomly with canton fixture with participant overloaded. we might be able to either increase this (but likely not in CE) or throttle our requests to canton via canton fixture Or consider using enterprise in some more tests

dylant-da commented 10 months ago

New flaky test in ActionTest.daml. Running tests for https://github.com/digital-asset/daml/pull/17609/commits/98a444962b889e9e52d7f9025cf7ebab343f6f67 in https://dev.azure.com/digitalasset/adadc18a-d7df-446a-aacb-86042c1619c6/_apis/build/builds/152277/logs/161 fails, but running bazel run //compiler/damlc/tests:integration-v2dev -- -p '/ActionTest/' locally succeeds.

I've downloaded the log, I'll DM it on request.

Relevant parts of the log:

2023-10-24T13:10:01.3200688Z     ActionTest.daml
2023-10-24T13:10:01.3201026Z       Build log:                                                                                      OK
2023-10-24T13:10:01.3201447Z         Time: DLint = 0.03s
2023-10-24T13:10:01.3201700Z         Time: LF convert = 0.38s
2023-10-24T13:10:01.3202054Z         Time: LF pretty-printing = 0.04s
2023-10-24T13:10:01.3202369Z         Time: GHC compile = 0.01s
2023-10-24T13:10:01.3202680Z         Time: Core pretty-printing = 0.06s
2023-10-24T13:10:01.3203010Z         Time: LF type check = 0.00s
2023-10-24T13:10:01.3203331Z         Time: LF saving = 0.09s
2023-10-24T13:10:01.3203646Z         Time: LF scripts execution = 3.59s
2023-10-24T13:10:01.3203984Z         Time: JSON saving = 0.35s
2023-10-24T13:10:01.3204435Z       Check diagnostics:                                                                              FAIL
2023-10-24T13:10:01.3204906Z         File:    
2023-10-24T13:10:01.3206782Z           /home/vsts/.cache/bazel/_bazel_vsts/9b01b58e95c1fb4c476c067a6a807d1d/sandbox/linux-sandbox/9444/execroot/com_github_digital_asset_daml/bazel-out/k8-opt/bin/compiler/damlc/tests/integration-v2dev.runfiles/com_github_digital_asset_daml/compiler/damlc/tests/daml-test-files/ActionTest.daml
2023-10-24T13:10:01.3208487Z         Hidden:   no
2023-10-24T13:10:01.3208831Z         Range:    18:1-18:12
2023-10-24T13:10:01.3209116Z         Source:   Script
2023-10-24T13:10:01.3209389Z         Severity: DsError
2023-10-24T13:10:01.3209649Z         Message: 
2023-10-24T13:10:01.3209899Z         Script execution failed:
2023-10-24T13:10:01.3210229Z           Evaluation timed out after 3 seconds
2023-10-24T13:10:01.3210575Z         
2023-10-24T13:10:01.3210865Z         Ledger time: 1970-01-01T00:00:00Z
2023-10-24T13:10:01.3211245Z         Wrong number of diagnostics, expected 0, but got 1
2023-10-24T13:10:01.3211628Z         
2023-10-24T13:10:01.3212091Z         Use -p '/ActionTest.daml.Check diagnostics/' to rerun this test only.
2023-10-24T13:10:01.3212604Z     AliasCompression.daml
samuel-williams-da commented 10 months ago

https://github.com/DACH-NY/canton-network-node/issues/8274

dylant-da commented 10 months ago

//daml-assistant:test appeared to be flaky, but it might just be a network issue. Worked on Linux, not on MacOS. Either way, I've fixed the test to no longer connect to the internet. Noted here for future historians ;)

2023-11-13T14:16:38.4306830Z FAIL: //daml-assistant:test (see /private/var/tmp/_bazel_vsts/9969e26d01e3c239b6c915f90e435c1a/execroot/com_github_digital_asset_daml/bazel-out/darwin-opt/testlogs/daml-assistant/test/test.log)
2023-11-13T14:16:38.4321220Z INFO: From Testing //daml-assistant:test:
2023-11-13T14:16:38.4328340Z ==================== Test output for //daml-assistant:test:
2023-11-13T14:16:38.4333050Z DA.Daml.Assistant
2023-11-13T14:16:38.4333860Z   DA.Daml.Project.Util.ascendants
2023-11-13T14:16:38.4335280Z     unit tests:                                                          OK
2023-11-13T14:16:38.4336310Z     ascendants is nonempty:                                              OK
2023-11-13T14:16:38.4338030Z       +++ OK, passed 100 tests.
2023-11-13T14:16:38.4339290Z     head . ascendants == id:                                             OK
2023-11-13T14:16:38.4340650Z       +++ OK, passed 100 tests; 20 discarded.
2023-11-13T14:16:38.4341840Z     head . ascendants == id (2):                                         OK
2023-11-13T14:16:38.4345580Z       +++ OK, passed 100 tests; 25 discarded.
2023-11-13T14:16:38.4347100Z     tail . ascendants == ascendants . takeDirectory:                     OK
2023-11-13T14:16:38.4348860Z       +++ OK, passed 100 tests; 34 discarded.
2023-11-13T14:16:38.4349840Z   DA.Daml.Assistant.Env.getDamlPath
2023-11-13T14:16:38.4350970Z     getDamlPath returns DAML_HOME:                                       OK
2023-11-13T14:16:38.4352450Z     getDamlPath returns DAML_HOME (made absolute):                       OK
2023-11-13T14:16:38.4353900Z     posix-specific tests
2023-11-13T14:16:38.4354900Z       getDamlPath gets app user data directory by default:               OK
2023-11-13T14:16:38.4356160Z   DA.Daml.Assistant.Env.getProjectPath
2023-11-13T14:16:38.4357310Z     getProjectPath returns environment variable:                         OK
2023-11-13T14:16:38.4358880Z     getProjectPath returns environment variable (made absolute):         OK
2023-11-13T14:16:38.4360400Z     getProjectPath returns nothing:                                      OK
2023-11-13T14:16:38.4361880Z     getProjectPath returns current directory:                            OK
2023-11-13T14:16:38.4363380Z     getProjectPath returns parent directory:                             OK
2023-11-13T14:16:38.4364920Z     getProjectPath returns grandparent directory:                        OK
2023-11-13T14:16:38.4366470Z     getProjectPath prefers parent over grandparent:                      OK
2023-11-13T14:16:38.4367720Z   DA.Daml.Assistant.Env.getSdk
2023-11-13T14:16:38.4368810Z     getSdk returns DAML_SDK_VERSION and DAML_SDK:                        OK
2023-11-13T14:16:38.4370320Z     getSdk determines DAML_SDK from DAML_SDK_VERSION:                    OK
2023-11-13T14:16:38.4371920Z     getSdk determines DAML_SDK_VERSION from DAML_SDK:                    OK
2023-11-13T14:16:38.4373480Z     getSdk determines DAML_SDK and DAML_SDK_VERSION from project config: OK
2023-11-13T14:16:38.4375120Z     getSdk: DAML_SDK overrides project config version:                   OK
2023-11-13T14:16:38.4376660Z     getSdk: DAML_SDK_VERSION overrides project config version:           OK
2023-11-13T14:16:38.4378190Z     getSdk: Returns Nothings if .daml/sdk is missing.:                   OK
2023-11-13T14:16:38.4379830Z   DA.Daml.Assistant.Env.getDispatchEnv
2023-11-13T14:16:38.4380990Z     getDispatchEnv should be idempotent:                                 OK
2023-11-13T14:16:38.4382500Z     getDispatchEnv should override getDamlEnv:                           FAIL
2023-11-13T14:16:38.4391670Z       Exception: AssistantError {errContext = Nothing, errMessage = Just "HTTP connection to github.com failed", errInternal = Just "HttpExceptionRequest Request {\n  host                 = \"api.github.com\"\n  port                 = 443\n  secure               = True\n  requestHeaders       = [(\"Accept\",\"application/vnd.github+json\"),(\"User-Agent\",\"Daml-Assistant/0.0\")]\n  path                 = \"/repos/digital-asset/daml/releases\"\n  queryString          = \"?per_page=100\"\n  method               = \"GET\"\n  proxy                = Nothing\n  rawBody              = False\n  redirectCount        = 10\n  responseTimeout      = ResponseTimeoutMicro 10000000\n  requestVersion       = HTTP/1.1\n  proxySecureMode      = ProxySecureWithConnect\n}\n (InternalException (HandshakeFailed (Error_Protocol (\"certificate rejected: security: createProcess: posix_spawnp: failed (Undefined error: 0)\",True,CertificateUnknown))))"}
2023-11-13T14:16:38.4401760Z       Use -p '$0=="DA.Daml.Assistant.DA.Daml.Assistant.Env.getDispatchEnv.getDispatchEnv should override getDamlEnv"' to rerun this test only.
2023-11-13T14:16:38.4404210Z     getDispatchEnv should override getDamlEnv (2):                       OK
2023-11-13T14:16:38.4405530Z   DA.Daml.Assistant.Install
2023-11-13T14:16:38.4406510Z     initial install a tarball:                                           OK (0.01s)
2023-11-13T14:16:38.4407890Z     unix-specific tests
2023-11-13T14:16:38.4408950Z       initial install a tarball from symlink:                            OK
2023-11-13T14:16:38.4410530Z       reject an absolute symlink in a tarball:                           OK
2023-11-13T14:16:38.4413370Z       reject an escaping symlink in a tarball:                           OK
2023-11-13T14:16:38.4415210Z       check that relative symlink is used in installation:               OK
2023-11-13T14:16:38.4416240Z 
2023-11-13T14:16:38.4416740Z 1 out of 30 tests failed (0.11s)
basvangijzel-DA commented 10 months ago

Caused by a difference in MacOS and Linux behaviour.

samuel-williams-da commented 7 months ago

multi-package tests:

    Changing ghc-options, or other `build-options` should invalidate the cache:          FAIL
      Exception: ./package-b/daml.yaml: openFile: resource busy (file is locked)
basvangijzel-DA commented 7 months ago

multi-package tests:

    Changing ghc-options, or other `build-options` should invalidate the cache:          FAIL
      Exception: ./package-b/daml.yaml: openFile: resource busy (file is locked)

Has not occurred in recent rebuilds of the compiler. Will wait until this pops up again.

dylant-da commented 6 months ago

I've had trouble on Windows with //daml-script/runner:tests, https://dev.azure.com/digitalasset/adadc18a-d7df-446a-aacb-86042c1619c6/_apis/build/builds/161929/logs/160

dylant-da commented 6 months ago

Some flakiness for //daml-lf/validation:upgrade-tests - maybe one in 5 times, it ends with what seems to be CantonFixture exiting early.

https://dev.azure.com/digitalasset/adadc18a-d7df-446a-aacb-86042c1619c6/_apis/build/builds/162237/logs/125

dylant-da commented 3 months ago

Got a flake from //daml-script/runner:tests on Windows, restarting appears to have fixed it