WorkerExecutorErrorHandlingIntegrationTest.groovy

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve the formatting of user provided values and types in several error messages.

Change some more exceptions to use `TreeFormatter` to take care of the formatting of these things.

    • -14
    • +14
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 6 more files in changeset.
Rename @FailsWithInstantExecution to @ToBeFixedForInstantExecution

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -3
    • +2
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 872 more files in changeset.
Merge branch 'master' into eskatos/ie/instantIntegTest-enable

    • -1
    • +2
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 8 more files in changeset.
Add `BuildServiceParameters.None` marker type that is used to indicate that a build service does not take any parameters, to match the pattern used in other places.

Extract some validation logic from several places so it can be reused in the places where parameterized isolated objects, such as artifact transforms or build services, are registered.

    • -1
    • +2
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 35 more files in changeset.
Annotate integ tests failing with instant execution in :workers

Signed-off-by: Paul Merlin <paul@gradle.com>

    • -0
    • +2
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 3 more files in changeset.
Remove displayName from work queue api for now

    • -7
    • +31
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 11 more files in changeset.
Rename WorkerExecution to WorkAction, WorkerParameters to WorkParameters

    • -33
    • +33
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 37 more files in changeset.
Refactor worker api to support WorkQueue API

    • -47
    • +0
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 30 more files in changeset.
Add a test for poorly written worker execution

    • -0
    • +25
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
Update worker api test coverage to use typed parameter api

    • -122
    • +68
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 18 more files in changeset.
Use isolated parameters for all worker isolation modes

    • -37
    • +4
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 44 more files in changeset.
Assert correct error message in Worker...IntegrationTest

The message changed by #9695

    • -1
    • +1
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
Use isolation framework for IsolationMode.NONE

    • -1
    • +33
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 8 more files in changeset.
Merge branch 'release'

    • -3
    • +3
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 14 more files in changeset.
Only run these tests on unixy systems

    • -2
    • +2
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 1 more file in changeset.
Only run these tests on unixy systems

    • -0
    • +3
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 1 more file in changeset.
Add tests to for capturing output from workers before logging initialization

    • -0
    • +22
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 1 more file in changeset.
Make worker daemon classpath hierarchy match isolated classloader worker hierarchy

    • -3
    • +3
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 27 more files in changeset.
Include worker failures in build operation

    • -24
    • +2
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 3 more files in changeset.
Extract WorkerExecutorFixture to enable reuse

    • -14
    • +16
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 9 more files in changeset.
Don't attempt to change a worker's working dir

Since Java 11 no longer supports changing the working directory of a

running process, a worker's working dir is now always

`GRADLE_USER_HOME/workers`.

Setting the working directory of a worker via the fork options of

`WorkerConfiguration` is now prohibited.

Resolves #7323.

    • -23
    • +0
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 26 more files in changeset.
Increase WorkerExecutorErrorHandlingIntegrationTest timeout to 120s

We observed timeout on low-performance EC2 agents, so here we increase the

timeout to 120s

    • -1
    • +1
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
Set timeout for AbstractIntegrationSpec (#5806)

We have been bitten by CI build exection timeout for a long time.

This PR introduces timeout for AbstractIntegrationSpec in order to

monitor execution timeout. Upon timeout, a spock interceptor can

print all threads' stack traces in all JVMs so that we can diagnose

the potential issues in other JVMs (daemons, test workers, etc.).

    • -2
    • +2
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 29 more files in changeset.
Change int tests to use relevant fixture methods to express their expectations about the build log output.

    • -1
    • +1
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 30 more files in changeset.
Added timeouts to tests.

    • -0
    • +2
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 10 more files in changeset.
Fix setProcessDir() so that we get an exception if the dir does not exist

    • -2
    • +0
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 1 more file in changeset.
Set worker directory only during action execution

    • -0
    • +25
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 11 more files in changeset.
Fix defect in worker failure handling for completed work

    • -2
    • +55
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 2 more files in changeset.
Add validation of worker configuration in various modes

    • -2
    • +27
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 2 more files in changeset.
Basic support for no-isolation workers

    • -22
    • +23
    ./WorkerExecutorErrorHandlingIntegrationTest.groovy
  1. … 15 more files in changeset.