daml/ci
Moritz Kiefer e40f62f88a
Revert "Switch to Bazel 5 (#12935)" (#12974)
This reverts commit 4c0118df4d.

This breaks passing -p to bazel test for Haskell tests, e.g.,

bazel test //compiler/damlc/tests:integration-v1dev --test_arg -p
--test_arg InterfaceEq

which breaks with something horrifying like

moritz@adjunction ~/daml (main)> bazel test //compiler/damlc/tests:integration-v1dev --test_arg -p --test_arg InterfaceEq
[dev-env] Building tools.bazel...
[dev-env] Built tools.bazel in /nix/store/m7gzlmr0pqjpl01ihgvazxgfs3sfwl61-bazel and linked to /home/moritz/daml/dev-env/var/gc-roots/bazel
[dev-env] Building tools.find...
[dev-env] Built tools.find in /nix/store/645v3545lcbx77wq7355rgdrgbhn5wx7-findutils-4.8.0 and linked to /home/moritz/daml/dev-env/var/gc-roots/find
INFO: Invocation ID: 034b3e45-851f-472e-ab71-b7f718829582
DEBUG: /home/moritz/.cache/bazel/_bazel_moritz/bb4e4404f889dc1b816f246b08c0d9ea/external/rules_haskell/haskell/private/versions.bzl:60:10: WARNING: bazel version is too recent. Supported versions range from 4.0.0 to 4.2.1, but found: 5.0.0- (@non-git)
/nix/store/dadkhf8vch2i2kvig962ilfr5j3chshr-go-1.17.6
/nix/store/pzh24n543i6jqa01hdmgqknlyf294bn1-bazel-nixpkgs-posix-toolchain
/nix/store/2hfwndk47wpvaib06qyhcdp83b423xvh-jq-1.6-bin
/nix/store/hjggs9s82qh7r5j8sgapn389hf24wdx8-bazel-nixpkgs-cc-toolchain
/nix/store/yxgg3bn4v288sc00kf09svrwz2r461c9-ghc-native-bignum-9.0.2
/nix/store/2hwx0jhcdsx3wfvmb50ih19jkh2ra4jh-glibc-locales-2.33-108
/nix/store/8wpmx049z8m0ffhy3jyi41qb6pbxwvy8-bazel-nixpkgs-java-runtime
ERROR: file 'external/bazel_tools/src/tools/launcher/_objs/launcher/dummy.pic.o' is generated by these conflicting actions:
Label: @bazel_tools//src/tools/launcher:launcher
RuleClass: cc_binary rule
Configuration: 869f6bbd14d2ac66dcacb164312d88fa059b017e3c17513cb5051b23879ac7f9, 8c138cc79f95329f01b0d325511ad0ea89ca5126e421e67e5239706d0f247c2c
Mnemonic: CppCompile
Action key: 3d79fe1470dcb842d5944c98dfe7a62715db6d86fdb12d3ff60af3bdf41b7996
Progress message: Compiling src/tools/launcher/dummy.cc
PrimaryInput: File:[/home/moritz/.cache/bazel/_bazel_moritz/bb4e4404f889dc1b816f246b08c0d9ea/external/bazel_tools[source]]src/tools/launcher/dummy.cc
PrimaryOutput: File:[[<execution_root>]bazel-out/k8-opt/bin]external/bazel_tools/src/tools/launcher/_objs/launcher/dummy.pic.o
Owner information: ConfiguredTargetKey{label=@bazel_tools//src/tools/launcher:launcher, config=BuildConfigurationValue.Key[869f6bbd14d2ac66dcacb164312d88fa059b017e3c17513cb5051b23879ac7f9]}, ConfiguredTargetKey{label=@bazel_tools//src/tools/launcher:launcher, config=BuildConfigurationValue.Key[8c138cc79f95329f01b0d325511ad0ea89ca5126e421e67e5239706d0f247c2c]}
MandatoryInputs: are equal
Outputs: are equal
ERROR: file 'external/bazel_tools/src/tools/launcher/_objs/launcher/dummy.o' is generated by these conflicting actions:
Label: @bazel_tools//src/tools/launcher:launcher
RuleClass: cc_binary rule
Configuration: 869f6bbd14d2ac66dcacb164312d88fa059b017e3c17513cb5051b23879ac7f9, 8c138cc79f95329f01b0d325511ad0ea89ca5126e421e67e5239706d0f247c2c
Mnemonic: CppCompile
Action key: 9f46e824944add9e9951ef51ddb6cb4b744bc97f90b5749132179d1d1699dfa1
Progress message: Compiling src/tools/launcher/dummy.cc
PrimaryInput: File:[/home/moritz/.cache/bazel/_bazel_moritz/bb4e4404f889dc1b816f246b08c0d9ea/external/bazel_tools[source]]src/tools/launcher/dummy.cc
PrimaryOutput: File:[[<execution_root>]bazel-out/k8-opt/bin]external/bazel_tools/src/tools/launcher/_objs/launcher/dummy.o
Owner information: ConfiguredTargetKey{label=@bazel_tools//src/tools/launcher:launcher, config=BuildConfigurationValue.Key[869f6bbd14d2ac66dcacb164312d88fa059b017e3c17513cb5051b23879ac7f9]}, ConfiguredTargetKey{label=@bazel_tools//src/tools/launcher:launcher, config=BuildConfigurationValue.Key[8c138cc79f95329f01b0d325511ad0ea89ca5126e421e67e5239706d0f247c2c]}
MandatoryInputs: are equal
Outputs: are equal
ERROR: com.google.devtools.build.lib.skyframe.ArtifactConflictFinder$ConflictException: com.google.devtools.build.lib.actions.MutableActionGraph$ActionConflictException: for external/bazel_tools/src/tools/launcher/_objs/launcher/dummy.o, previous action: action 'Compiling src/tools/launcher/dummy.cc', attempted action: action 'Compiling src/tools/launcher/dummy.cc'

changelog_begin
changelog_end
2022-02-16 18:24:00 +00:00
..
cron Drop dependency on hosted nodes (#12901) 2022-02-14 02:49:38 +01:00
da-ghc-lib Enable go-to-definition for interface methods and choices (#12903) 2022-02-15 08:30:30 +00:00
docker switch dev images to Temurin (#11895) 2021-11-26 14:45:35 +00:00
patch_bazel_windows Revert "Switch to Bazel 5 (#12935)" (#12974) 2022-02-16 18:24:00 +00:00
assembly-split-release-artifacts.sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
bash-lib.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
BUILD Introduce dependency on Oracle image version (#10597) 2021-08-17 13:28:26 +00:00
build-unix.yml Fix daml script reference in copy-unix-release-artifacts (#12933) 2022-02-15 09:53:15 +01:00
build-windows.yml split: do not push exe (#12574) 2022-01-25 16:29:57 +01:00
build.yml ci: bump Windows workdirs (#12918) 2022-02-14 18:49:32 +00:00
check-changelog.sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
check-for-release-job.yml nightly split releases (#12744) 2022-02-03 19:05:35 +00:00
check-protobuf-stability.sh CI - Remove backwards compatible check for buf config. [KVL-1131] (#12301) 2022-01-07 02:00:02 -08:00
clean-up.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
clear-shared-segments-macos.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
compatibility_ts_libs.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
compatibility-windows.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
compatibility.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
configure-bazel.sh Revert "Switch to Bazel 5 (#12935)" (#12974) 2022-02-16 18:24:00 +00:00
copy-unix-release-artifacts.sh Fix daml script reference in copy-unix-release-artifacts (#12933) 2022-02-15 09:53:15 +01:00
copy-windows-release-artifacts.sh ci: try to fix release process (#12600) 2022-01-26 13:57:39 +00:00
daily-snapshot.yml split: tell slack (#12874) 2022-02-10 15:33:34 +00:00
dev-env-install.sh update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
dev-env-push.py update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
job-variables.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
oracle_image Upgrade to oracle 19.14 image for ci (#12523) 2022-01-21 07:50:55 -05:00
postgresql.conf Fix sandbox database config in script & trigger tests (#11655) 2021-11-12 06:18:12 +00:00
prs.yml Drop dependency on hosted nodes (#12901) 2022-02-14 02:49:38 +01:00
publish-artifactory.sh split: flat(ter) files in Artifactory (#12575) 2022-01-25 16:41:55 +01:00
publish-platform-independence-dar.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
remap-scala-test-short-names.ps1 Further copyright updates (#12249) 2022-01-04 16:32:17 +01:00
report-end.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
report-start.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
slack_user_ids stop notifying shayne on pr builds (#7581) 2020-10-06 14:20:43 +02:00
split-release-job.yml split: tell slack (#12874) 2022-02-10 15:33:34 +00:00
tell-slack-failed.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
upload-bazel-metrics.yml update copyright headers (#12240) 2022-01-03 16:36:51 +00:00
windows-diagnostics.ps1 windows: CI agent diagnostics (#1146) 2019-05-15 11:59:56 +02:00