Simon Jakobi pushed to branch wip/sjakobi/T27284-nonmoving-nightly at Glasgow Haskell Compiler / GHC

Commits:

2 changed files:

Changes:

  • .gitlab/generate-ci/gen_ci.hs
    ... ... @@ -1255,6 +1255,10 @@ onlyRule t = modifyValidateJobs (onlyValidateJobRule t)
    1255 1255
     disableValidate :: JobGroup Job -> JobGroup Job
    
    1256 1256
     disableValidate = modifyValidateJobs (removeValidateJobRule FastCI . removeValidateJobRule FullCI)
    
    1257 1257
     
    
    1258
    +-- | Drop the nightly job from a 'JobGroup'.
    
    1259
    +disableNightly :: JobGroup a -> JobGroup a
    
    1260
    +disableNightly jg = jg { n = Nothing }
    
    1261
    +
    
    1258 1262
     ---------------------------------------------------------------------
    
    1259 1263
     -- NamedJob
    
    1260 1264
     ---------------------------------------------------------------------
    
    ... ... @@ -1349,7 +1353,8 @@ debian_x86 =
    1349 1353
       , onlyRule LLVMBackend (validateBuilds Amd64 (Linux validate_debian) llvm)
    
    1350 1354
       , addValidateRule TestPrimops (standardBuilds Amd64 (Linux validate_debian))
    
    1351 1355
     
    
    1352
    -  , onlyRule NonmovingGc (validateBuilds Amd64 (Linux validate_debian) vanilla {validateNonmovingGc = True})
    
    1356
    +  , -- No nightly while the test job times out: #27284
    
    1357
    +    disableNightly (onlyRule NonmovingGc (validateBuilds Amd64 (Linux validate_debian) vanilla {validateNonmovingGc = True}))
    
    1353 1358
       , onlyRule IpeData (validateBuilds Amd64 (Linux validate_debian) zstdIpe)
    
    1354 1359
       ]
    
    1355 1360
       where
    

  • .gitlab/jobs.yaml
    ... ... @@ -5277,131 +5277,6 @@
    5277 5277
           "XZ_OPT": "-9"
    
    5278 5278
         }
    
    5279 5279
       },
    
    5280
    -  "nightly-x86_64-linux-deb13-validate+boot_nonmoving_gc": {
    
    5281
    -    "after_script": [
    
    5282
    -      ".gitlab/ci.sh save_cache",
    
    5283
    -      ".gitlab/ci.sh save_test_output",
    
    5284
    -      ".gitlab/ci.sh clean",
    
    5285
    -      "cat ci_timings.txt"
    
    5286
    -    ],
    
    5287
    -    "allow_failure": false,
    
    5288
    -    "artifacts": {
    
    5289
    -      "expire_in": "8 weeks",
    
    5290
    -      "paths": [
    
    5291
    -        "ghc-x86_64-linux-deb13-validate+boot_nonmoving_gc.tar.xz",
    
    5292
    -        "junit.xml",
    
    5293
    -        "unexpected-test-output.tar.gz",
    
    5294
    -        "_build/stage1/haddock-timing-files"
    
    5295
    -      ],
    
    5296
    -      "reports": {
    
    5297
    -        "junit": "junit.xml"
    
    5298
    -      },
    
    5299
    -      "when": "always"
    
    5300
    -    },
    
    5301
    -    "cache": {
    
    5302
    -      "key": "x86_64-linux-deb13-$CACHE_REV",
    
    5303
    -      "paths": [
    
    5304
    -        "cabal-cache",
    
    5305
    -        "toolchain"
    
    5306
    -      ]
    
    5307
    -    },
    
    5308
    -    "image": "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb13:$DOCKER_REV",
    
    5309
    -    "needs": [
    
    5310
    -      {
    
    5311
    -        "artifacts": false,
    
    5312
    -        "job": "hadrian-ghc-in-ghci"
    
    5313
    -      }
    
    5314
    -    ],
    
    5315
    -    "rules": [
    
    5316
    -      {
    
    5317
    -        "if": "(\"true\" == \"true\") && ($RELEASE_JOB != \"yes\") && ($NIGHTLY)",
    
    5318
    -        "when": "on_success"
    
    5319
    -      }
    
    5320
    -    ],
    
    5321
    -    "script": [
    
    5322
    -      "sudo chown ghc:ghc -R .",
    
    5323
    -      ".gitlab/ci.sh setup",
    
    5324
    -      ".gitlab/ci.sh configure",
    
    5325
    -      ".gitlab/ci.sh build_hadrian",
    
    5326
    -      ".gitlab/ci.sh test_hadrian_stage1"
    
    5327
    -    ],
    
    5328
    -    "stage": "full-build",
    
    5329
    -    "tags": [
    
    5330
    -      "x86_64-linux"
    
    5331
    -    ],
    
    5332
    -    "variables": {
    
    5333
    -      "BIGNUM_BACKEND": "gmp",
    
    5334
    -      "BIN_DIST_NAME": "ghc-x86_64-linux-deb13-validate+boot_nonmoving_gc",
    
    5335
    -      "BUILD_FLAVOUR": "validate+boot_nonmoving_gc",
    
    5336
    -      "CONFIGURE_ARGS": "--enable-strict-ghc-toolchain-check",
    
    5337
    -      "INSTALL_CONFIGURE_ARGS": "--enable-strict-ghc-toolchain-check",
    
    5338
    -      "RUNTEST_ARGS": "--way=nonmoving --way=nonmoving_thr --way=nonmoving_thr_sanity",
    
    5339
    -      "TEST_ENV": "x86_64-linux-deb13-validate+boot_nonmoving_gc",
    
    5340
    -      "TEST_WAYS": "",
    
    5341
    -      "XZ_OPT": "-9"
    
    5342
    -    }
    
    5343
    -  },
    
    5344
    -  "nightly-x86_64-linux-deb13-validate+boot_nonmoving_gc-test": {
    
    5345
    -    "after_script": [
    
    5346
    -      ".gitlab/ci.sh save_cache",
    
    5347
    -      ".gitlab/ci.sh save_test_output",
    
    5348
    -      ".gitlab/ci.sh clean",
    
    5349
    -      "cat ci_timings.txt"
    
    5350
    -    ],
    
    5351
    -    "allow_failure": false,
    
    5352
    -    "artifacts": {
    
    5353
    -      "expire_in": "8 weeks",
    
    5354
    -      "paths": [
    
    5355
    -        "junit.xml",
    
    5356
    -        "unexpected-test-output.tar.gz"
    
    5357
    -      ],
    
    5358
    -      "reports": {
    
    5359
    -        "junit": "junit.xml"
    
    5360
    -      },
    
    5361
    -      "when": "always"
    
    5362
    -    },
    
    5363
    -    "cache": {
    
    5364
    -      "key": "x86_64-linux-deb13-$CACHE_REV",
    
    5365
    -      "paths": [
    
    5366
    -        "cabal-cache",
    
    5367
    -        "toolchain"
    
    5368
    -      ]
    
    5369
    -    },
    
    5370
    -    "image": "registry.gitlab.haskell.org/ghc/ci-images/x86_64-linux-deb13:$DOCKER_REV",
    
    5371
    -    "needs": [
    
    5372
    -      {
    
    5373
    -        "artifacts": true,
    
    5374
    -        "job": "nightly-x86_64-linux-deb13-validate+boot_nonmoving_gc"
    
    5375
    -      }
    
    5376
    -    ],
    
    5377
    -    "rules": [
    
    5378
    -      {
    
    5379
    -        "if": "(\"true\" == \"true\") && ($RELEASE_JOB != \"yes\") && ($NIGHTLY)",
    
    5380
    -        "when": "on_success"
    
    5381
    -      }
    
    5382
    -    ],
    
    5383
    -    "script": [
    
    5384
    -      "sudo chown ghc:ghc -R .",
    
    5385
    -      ".gitlab/ci.sh setup",
    
    5386
    -      ".gitlab/ci.sh configure",
    
    5387
    -      ".gitlab/ci.sh test_hadrian"
    
    5388
    -    ],
    
    5389
    -    "stage": "testing",
    
    5390
    -    "tags": [
    
    5391
    -      "x86_64-linux"
    
    5392
    -    ],
    
    5393
    -    "variables": {
    
    5394
    -      "BIGNUM_BACKEND": "gmp",
    
    5395
    -      "BIN_DIST_NAME": "ghc-x86_64-linux-deb13-validate+boot_nonmoving_gc",
    
    5396
    -      "BUILD_FLAVOUR": "validate+boot_nonmoving_gc",
    
    5397
    -      "CONFIGURE_ARGS": "--enable-strict-ghc-toolchain-check",
    
    5398
    -      "INSTALL_CONFIGURE_ARGS": "--enable-strict-ghc-toolchain-check",
    
    5399
    -      "RUNTEST_ARGS": "--way=nonmoving --way=nonmoving_thr --way=nonmoving_thr_sanity",
    
    5400
    -      "TEST_ENV": "x86_64-linux-deb13-validate+boot_nonmoving_gc",
    
    5401
    -      "TEST_WAYS": "",
    
    5402
    -      "XZ_OPT": "-9"
    
    5403
    -    }
    
    5404
    -  },
    
    5405 5280
       "nightly-x86_64-linux-deb13-validate+llvm": {
    
    5406 5281
         "after_script": [
    
    5407 5282
           ".gitlab/ci.sh save_cache",