Started by user ha:////4LhIf0vdZMLFequGTVnN1cMcIypvsThRPBC5Va3yiaavAAAAnh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAy+EgZh/dLi1CL9nNLkxNxMoEmpxZn5ANPJiavIAAAALuca Milanesio Running as SYSTEM [EnvInject] - Loading node environment variables. Building remotely on ha:////4BwC5zp9i0WyezHIlYvYGvPDPy/0Vukhc4xvZuCM6INxAAAAqh+LCAAAAAAAAP9b85aBtbiIQTGjNKU4P08vOT+vOD8nVc83PyU1x6OyILUoJzMv2y+/JJUBAhiZGBgqihhk0NSjKDWzXb3RdlLBUSYGJk8GtpzUvPSSDB8G5tKinBIGIZ+sxLJE/ZzEvHT94JKizLx0a6BxUmjGOUNodHsLgAz5EgY5/eT83ILSktQi/ZT85OzUIl0Dg5Rss5KyxOL81NxMAI1BEDLTAAAAdocker-00dk6tvasoemi on gcloud1 (bazel-debian bazel-chrome-69 bazel-debian-chrome-69) in workspace /home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6 Selected Git installation does not exist. Using Default Wiping out workspace first. Cloning the remote Git repository Cloning repository https://gerrit.googlesource.com/a/plugins/gc-conductor > /usr/bin/git init /home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6 # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/gc-conductor > /usr/bin/git --version # timeout=10 using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/plugins/gc-conductor +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/gc-conductor # timeout=10 > /usr/bin/git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git config remote.origin.url https://gerrit.googlesource.com/a/plugins/gc-conductor # timeout=10 Fetching upstream changes from https://gerrit.googlesource.com/a/plugins/gc-conductor using GIT_ASKPASS to set credentials .netrc credentials for gerrit.googlesource.com > /usr/bin/git fetch --tags --force --progress -- https://gerrit.googlesource.com/a/plugins/gc-conductor +refs/heads/*:refs/remotes/origin/* # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/master^{commit} # timeout=10 > /usr/bin/git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10 Checking out Revision 1354ab19fe78f7d5cab8ab19976cf4a33c7a8d10 (refs/remotes/origin/master) > /usr/bin/git config core.sparsecheckout # timeout=10 > /usr/bin/git checkout -f 1354ab19fe78f7d5cab8ab19976cf4a33c7a8d10 # timeout=10 Commit message: "Change file ownership for the init script" > /usr/bin/git rev-list --no-walk 1354ab19fe78f7d5cab8ab19976cf4a33c7a8d10 # timeout=10 [plugin-gc-conductor-bazel-master-stable-3.6] $ /bin/bash -e /tmp/jenkins4166984635103695422.sh [plugin-gc-conductor-bazel-master-stable-3.6] $ /bin/bash -e /tmp/jenkins2102380963738118074.sh Java set to: /usr/lib/jvm/java-11-openjdk-amd64/bin/java Building plugin gc-conductor/master with Gerrit/stable-3.6 From https://gerrit.googlesource.com/a/gerrit * branch stable-3.6 -> FETCH_HEAD * [new branch] stable-3.6 -> gerrit/stable-3.6 Previous HEAD position was 1354ab19fe Change file ownership for the init script Switched to a new branch 'stable-3.6' Branch 'stable-3.6' set up to track remote branch 'stable-3.6' from 'gerrit'. Submodule 'modules/jgit' (https://gerrit.googlesource.com/a/jgit) registered for path 'modules/jgit' Submodule 'plugins/codemirror-editor' (https://gerrit.googlesource.com/a/plugins/codemirror-editor) registered for path 'plugins/codemirror-editor' Submodule 'plugins/commit-message-length-validator' (https://gerrit.googlesource.com/a/plugins/commit-message-length-validator) registered for path 'plugins/commit-message-length-validator' Submodule 'plugins/delete-project' (https://gerrit.googlesource.com/a/plugins/delete-project) registered for path 'plugins/delete-project' Submodule 'plugins/download-commands' (https://gerrit.googlesource.com/a/plugins/download-commands) registered for path 'plugins/download-commands' Submodule 'plugins/gitiles' (https://gerrit.googlesource.com/a/plugins/gitiles) registered for path 'plugins/gitiles' Submodule 'plugins/hooks' (https://gerrit.googlesource.com/a/plugins/hooks) registered for path 'plugins/hooks' Submodule 'plugins/plugin-manager' (https://gerrit.googlesource.com/a/plugins/plugin-manager) registered for path 'plugins/plugin-manager' Submodule 'plugins/replication' (https://gerrit.googlesource.com/a/plugins/replication) registered for path 'plugins/replication' Submodule 'plugins/reviewnotes' (https://gerrit.googlesource.com/a/plugins/reviewnotes) registered for path 'plugins/reviewnotes' Submodule 'plugins/singleusergroup' (https://gerrit.googlesource.com/a/plugins/singleusergroup) registered for path 'plugins/singleusergroup' Submodule 'plugins/webhooks' (https://gerrit.googlesource.com/a/plugins/webhooks) registered for path 'plugins/webhooks' Submodule 'polymer-bridges' (https://gerrit.googlesource.com/a/polymer-bridges) registered for path 'polymer-bridges' Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/modules/jgit'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/codemirror-editor'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/commit-message-length-validator'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/delete-project'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/download-commands'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/gitiles'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/hooks'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/plugin-manager'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/replication'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/reviewnotes'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/singleusergroup'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/plugins/webhooks'... Cloning into '/home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/polymer-bridges'... Submodule path 'modules/jgit': checked out 'd01376106af8800017ac3c08d7c7ac1fd5ccc9ee' Submodule path 'plugins/codemirror-editor': checked out 'c5bda5b6b5fe91a2f7cd40c5a917dd2280b04814' Submodule path 'plugins/commit-message-length-validator': checked out 'c38e0a9d36767092b20558b28eff7f546c6d754c' Submodule path 'plugins/delete-project': checked out '5717badf4250dfe900c05fc00d0758a09ba77297' Submodule path 'plugins/download-commands': checked out '71331e15af5a62ee7b13dee6ebdadf23d7e75a40' Submodule path 'plugins/gitiles': checked out '24529d232268ac51fd6850770f70dc0fcd732dd8' Submodule path 'plugins/hooks': checked out 'd760a4b49f79c31696e425e761cad0fcbfe410c9' Submodule path 'plugins/plugin-manager': checked out 'dbd68200d867513e2c0449798476e275aaf08cfd' Submodule path 'plugins/replication': checked out '99c9794a6d5d649bd60e1f0d8f59f79f929f7ba6' Submodule path 'plugins/reviewnotes': checked out '6226d01c563846ae479cb4fdafd698b31472772c' Submodule path 'plugins/singleusergroup': checked out '3239ce3a471f5aa9edd8f6f702bee655ea81f77d' Submodule path 'plugins/webhooks': checked out 'd8815bf9660b6655696db242b8ad2801e866c036' Submodule path 'polymer-bridges': checked out '855f4781b702de120953a64da5c277ea4908deaa' openjdk full version "11.0.12+7-post-Debian-2deb10u1" 2022/10/12 11:18:48 Downloading https://releases.bazel.build/5.0.0/release/bazel-5.0.0-linux-x86_64... Bazelisk version: v1.7.4 Extracting Bazel installation... Starting local Bazel server and connecting to it... Build label: 5.0.0 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Wed Jan 19 14:08:54 2022 (1642601334) Build timestamp: 1642601334 Build timestamp as int: 1642601334 INFO: Invocation ID: 9a47e4a7-22eb-4585-9d01-eaf1d3967875 INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'build' from /home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/.bazelrc: 'build' options: --workspace_status_command=python3 ./tools/workspace_status.py --repository_cache=~/.gerritcodereview/bazel-cache/repository --action_env=PATH --disk_cache=~/.gerritcodereview/bazel-cache/cas --java_language_version=11 --java_runtime_version=remotejdk_11 --tool_java_language_version=11 --tool_java_runtime_version=remotejdk_11 --incompatible_strict_action_env --announce_rc Loading: Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Loading: 0 packages loaded Analyzing: target //plugins/gc-conductor:gc-conductor (1 packages loaded) Analyzing: target //plugins/gc-conductor:gc-conductor (1 packages loaded, 0 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (32 packages loaded, 7 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (32 packages loaded, 7 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (32 packages loaded, 7 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (32 packages loaded, 7 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (32 packages loaded, 7 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (44 packages loaded, 446 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (50 packages loaded, 816 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (50 packages loaded, 816 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (51 packages loaded, 964 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (51 packages loaded, 964 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (51 packages loaded, 964 targets configured) Analyzing: target //plugins/gc-conductor:gc-conductor (147 packages loaded, 4652 targets configured) INFO: Analyzed target //plugins/gc-conductor:gc-conductor (229 packages loaded, 5727 targets configured). INFO: Found 1 target... [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [62 / 425] Compiling src/google/protobuf/stubs/structurally_valid.cc; 12s remote-cache, linux-sandbox ... (63 actions, 62 running) [102 / 425] Compiling src/google/protobuf/compiler/csharp/csharp_enum.cc; 19s remote-cache, linux-sandbox ... (63 actions, 62 running) [142 / 425] Compiling src/google/protobuf/compiler/js/js_generator.cc; 29s remote-cache, linux-sandbox ... (63 actions, 62 running) [338 / 534] Compiling src/google/protobuf/descriptor.cc; 20s remote-cache, linux-sandbox ... (15 actions, 14 running) [487 / 534] Building external/jgit/org.eclipse.jgit/libjgit_non_stamped-class.jar (867 source files); 23s remote-cache, multiplex-worker ... (5 actions, 4 running) [492 / 534] [Prepa] Compiling Java headers external/jgit/org.eclipse.jgit.archive/libjgit-archive-hjar.jar (8 source files) [524 / 534] [Prepa] Compiling Java headers java/com/google/gerrit/server/git/receive/libreceive-hjar.jar (18 source files) Target //plugins/gc-conductor:gc-conductor up-to-date: bazel-bin/plugins/gc-conductor/gc-conductor.jar INFO: Elapsed time: 381.641s, Critical Path: 161.67s INFO: 534 processes: 16 disk cache hit, 92 internal, 419 linux-sandbox, 7 worker. INFO: Build completed successfully, 534 total actions INFO: Build completed successfully, 534 total actions INFO: Invocation ID: 4379e412-c767-40c1-9b57-234837af786e INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/.bazelrc: Inherited 'build' options: --workspace_status_command=python3 ./tools/workspace_status.py --repository_cache=~/.gerritcodereview/bazel-cache/repository --action_env=PATH --disk_cache=~/.gerritcodereview/bazel-cache/cas --java_language_version=11 --java_runtime_version=remotejdk_11 --tool_java_language_version=11 --tool_java_runtime_version=remotejdk_11 --incompatible_strict_action_env --announce_rc INFO: Reading rc options for 'test' from /home/jenkins/workspace/plugin-gc-conductor-bazel-master-stable-3.6/.bazelrc: 'test' options: --build_tests_only --test_output=all Loading: Loading: 0 packages loaded INFO: Build option --test_env has changed, discarding analysis cache. Analyzing: 2 targets (1 packages loaded, 0 targets configured) Analyzing: 2 targets (1 packages loaded, 205 targets configured) Analyzing: 2 targets (4 packages loaded, 1131 targets configured) Analyzing: 2 targets (19 packages loaded, 1197 targets configured) Analyzing: 2 targets (64 packages loaded, 6335 targets configured) Analyzing: 2 targets (86 packages loaded, 6435 targets configured) INFO: Analyzed 2 targets (87 packages loaded, 6451 targets configured). INFO: Found 2 test targets... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: From Testing //tools/bzl:always_pass_test: ==================== Test output for //tools/bzl:always_pass_test: ================================================================================ [497 / 659] 1 / 2 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (57 actions, 46 running) [542 / 709] 1 / 2 tests; [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (43 actions, 28 running) [563 / 709] 1 / 2 tests; Building java/com/google/gerrit/util/cli/libcli.jar (9 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 5s remote-cache ... (64 actions, 40 running) [567 / 709] 1 / 2 tests; Building java/com/google/gerrit/util/cli/libcli.jar (9 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 7s remote-cache ... (64 actions, 39 running) [571 / 709] 1 / 2 tests; Building java/com/google/gerrit/util/cli/libcli.jar (9 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 11s remote-cache ... (64 actions, 37 running) [572 / 709] 1 / 2 tests; Building java/com/google/gerrit/util/cli/libcli.jar (9 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 14s remote-cache ... (64 actions, 37 running) [575 / 709] 1 / 2 tests; Building java/com/google/gerrit/server/libconstants.jar (1 source file); 18s remote-cache ... (64 actions, 36 running) [581 / 709] 1 / 2 tests; Building java/com/google/gerrit/util/ssl/libssl.jar (3 source files); 23s remote-cache ... (64 actions, 36 running) [583 / 709] 1 / 2 tests; Building java/com/google/gerrit/lifecycle/liblifecycle.jar (2 source files); 28s remote-cache ... (64 actions, 36 running) [613 / 709] 1 / 2 tests; Building java/com/google/gerrit/server/util/time/libtime.jar (1 source file); 32s remote-cache ... (64 actions, 43 running) [626 / 709] 1 / 2 tests; Building java/com/google/gerrit/server/util/time/libtime.jar (1 source file); 39s remote-cache ... (64 actions, 38 running) [635 / 709] 1 / 2 tests; Building external/jgit/org.eclipse.jgit.junit/libjunit.jar (13 source files); 44s remote-cache ... (64 actions, 37 running) INFO: From Building java/com/google/gerrit/extensions/common/testing/libcommon-test-util.jar (13 source files): java/com/google/gerrit/extensions/common/testing/GitPersonSubject.java:82: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. check("roundedDate()").that(gitPerson.date.getTime()).isEqualTo(ident.getWhen().getTime()); ^ (see https://errorprone.info/bugpattern/JavaUtilDate) [647 / 709] 1 / 2 tests; Building plugins/gc-conductor/libgc-executor_lib-class.jar (24 source files); 32s remote-cache ... (64 actions, 37 running) [658 / 709] 1 / 2 tests; Building java/com/google/gerrit/server/api/libapi.jar (38 source files); 28s remote-cache ... (64 actions, 36 running) [684 / 709] 1 / 2 tests; Building java/com/google/gerrit/server/fixes/testing/libtesting.jar (2 source files); 24s remote-cache ... (40 actions, 24 running) [707 / 709] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1125 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 12s remote-cache, multiplex-worker [707 / 709] 1 / 2 tests; Building java/com/google/gerrit/server/libserver-class.jar (1125 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor); 29s remote-cache, multiplex-worker INFO: From Building java/com/google/gerrit/server/libserver-class.jar (1125 source files) and running annotation processors (AutoAnnotationProcessor, AutoValueProcessor, AutoOneOfProcessor): java/com/google/gerrit/server/notedb/CommitRewriter.java:585: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. && newIdent.getWhen().getTime() == originalIdent.getWhen().getTime() ^ (see https://errorprone.info/bugpattern/JavaUtilDate) java/com/google/gerrit/server/notedb/CommitRewriter.java:585: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate. && newIdent.getWhen().getTime() == originalIdent.getWhen().getTime() ^ (see https://errorprone.info/bugpattern/JavaUtilDate) [709 / 710] 1 / 2 tests; Testing //plugins/gc-conductor:gc-conductor_tests; 0s remote-cache, linux-sandbox [709 / 710] 1 / 2 tests; Testing //plugins/gc-conductor:gc-conductor_tests; 22s remote-cache, linux-sandbox [709 / 710] 2 / 2 tests; Testing //plugins/gc-conductor:gc-conductor_tests; 63s remote-cache, linux-sandbox INFO: From Testing //plugins/gc-conductor:gc-conductor_tests: ==================== Test output for //plugins/gc-conductor:gc-conductor_tests: JUnit4 Test Runner .SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/jenkins/.cache/bazel/_bazel_jenkins/bf17a3479025dea3949b9b1e06dda3a4/external/log4j-slf4j-impl/jar/log4j-slf4j-impl-2.17.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/jenkins/.cache/bazel/_bazel_jenkins/bf17a3479025dea3949b9b1e06dda3a4/external/impl-log4j/jar/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] 2022-10-12 11:27:46,629 main ERROR Unable to create file /opt/gerrit/review_site/logs/gc/gc.log java.io.IOException: Could not create directory /opt/gerrit/review_site/logs/gc at org.apache.logging.log4j.core.util.FileUtils.mkdir(FileUtils.java:120) at org.apache.logging.log4j.core.util.FileUtils.makeParentDirs(FileUtils.java:137) at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:732) at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:716) at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:114) at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100) at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:217) at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:146) at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:62) at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122) at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037) at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651) at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247) at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293) at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:137) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:55) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) at org.eclipse.jgit.util.SystemReader.(SystemReader.java:58) at org.eclipse.jgit.lib.BaseRepositoryBuilder.readEnvironment(BaseRepositoryBuilder.java:405) at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:64) at com.ericsson.gerrit.plugins.gcconductor.EvaluationTaskTest.createRepository(EvaluationTaskTest.java:157) at com.ericsson.gerrit.plugins.gcconductor.EvaluationTaskTest.setUp(EvaluationTaskTest.java:58) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:46) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:77) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:83) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:159) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:85) 2022-10-12 11:27:46,634 main ERROR Could not create plugin of type class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@70242f38] unable to create manager for [/opt/gerrit/review_site/logs/gc/gc.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@2a22ad2b[pattern=/opt/gerrit/review_site/logs/gc/gc.log.%d{yyyy-MM-dd}.gz, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=true), SizeBasedTriggeringPolicy(size=31457280)]), strategy=DefaultRolloverStrategy(min=1, max=7, useMax=true), advertiseURI=null, layout=%d{yyy-MM-dd HH:mm:ss.SSS} %-5level %logger{1} - %t - %msg%n, filePermissions=null, fileOwner=null]] java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@70242f38] unable to create manager for [/opt/gerrit/review_site/logs/gc/gc.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@2a22ad2b[pattern=/opt/gerrit/review_site/logs/gc/gc.log.%d{yyyy-MM-dd}.gz, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=true), SizeBasedTriggeringPolicy(size=31457280)]), strategy=DefaultRolloverStrategy(min=1, max=7, useMax=true), advertiseURI=null, layout=%d{yyy-MM-dd HH:mm:ss.SSS} %-5level %logger{1} - %t - %msg%n, filePermissions=null, fileOwner=null]] at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:116) at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100) at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:217) at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:146) at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:62) at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:122) at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037) at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651) at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247) at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293) at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:137) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:55) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) at org.eclipse.jgit.util.SystemReader.(SystemReader.java:58) at org.eclipse.jgit.lib.BaseRepositoryBuilder.readEnvironment(BaseRepositoryBuilder.java:405) at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:64) at com.ericsson.gerrit.plugins.gcconductor.EvaluationTaskTest.createRepository(EvaluationTaskTest.java:157) at com.ericsson.gerrit.plugins.gcconductor.EvaluationTaskTest.setUp(EvaluationTaskTest.java:58) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:46) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:77) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:83) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:159) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:85) 2022-10-12 11:27:46,636 main ERROR Unable to invoke factory method in class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile: java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender java.lang.IllegalStateException: No factory method found for class org.apache.logging.log4j.core.appender.RollingFileAppender at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findFactoryMethod(PluginBuilder.java:236) at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:134) at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:1120) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1045) at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:1037) at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:651) at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:247) at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:293) at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:626) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:699) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:716) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:270) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:155) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:47) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:137) at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:55) at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:47) at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:33) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:363) at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:388) at org.eclipse.jgit.util.SystemReader.(SystemReader.java:58) at org.eclipse.jgit.lib.BaseRepositoryBuilder.readEnvironment(BaseRepositoryBuilder.java:405) at org.eclipse.jgit.api.InitCommand.call(InitCommand.java:64) at com.ericsson.gerrit.plugins.gcconductor.EvaluationTaskTest.createRepository(EvaluationTaskTest.java:157) at com.ericsson.gerrit.plugins.gcconductor.EvaluationTaskTest.setUp(EvaluationTaskTest.java:58) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.mockito.internal.runners.DefaultInternalRunner$1$1.evaluate(DefaultInternalRunner.java:46) at org.junit.rules.ExternalResource$1.evaluate(ExternalResource.java:48) at org.junit.rules.RunRules.evaluate(RunRules.java:20) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.mockito.internal.runners.DefaultInternalRunner$1.run(DefaultInternalRunner.java:77) at org.mockito.internal.runners.DefaultInternalRunner.run(DefaultInternalRunner.java:83) at org.mockito.internal.runners.StrictRunner.run(StrictRunner.java:39) at org.mockito.junit.MockitoJUnitRunner.run(MockitoJUnitRunner.java:163) at org.junit.runners.Suite.runChild(Suite.java:128) at org.junit.runners.Suite.runChild(Suite.java:27) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at com.google.testing.junit.runner.internal.junit4.CancellableRequestFactory$CancellableRunner.run(CancellableRequestFactory.java:108) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at org.junit.runner.JUnitCore.run(JUnitCore.java:115) at com.google.testing.junit.runner.junit4.JUnit4Runner.run(JUnit4Runner.java:116) at com.google.testing.junit.runner.BazelTestRunner.runTestsInSuite(BazelTestRunner.java:159) at com.google.testing.junit.runner.BazelTestRunner.main(BazelTestRunner.java:85) 2022-10-12 11:27:46,637 main ERROR Null object returned for RollingFile in Appenders. 2022-10-12 11:27:46,642 main ERROR Unable to locate appender "RollingFile" for logger config "root" .....................................................................................................................I Time: 61.862 OK (118 tests) BazelTestRunner exiting with a return value of 0 JVM shutdown hooks (if any) will run now. The JVM will exit once they complete. -- JVM shutdown starting at 2022-10-12 11:28:47 -- ================================================================================ INFO: Elapsed time: 207.682s, Critical Path: 140.21s INFO: 183 processes: 7 internal, 91 linux-sandbox, 85 worker. INFO: Build completed successfully, 183 total actions //plugins/gc-conductor:gc-conductor_tests PASSED in 62.9s //tools/bzl:always_pass_test PASSED in 0.3s Executed 2 out of 2 tests: 2 tests pass. There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are. INFO: Build completed successfully, 183 total actions Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Oct 12, 2022 11:28:47 AM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 [plugin-gc-conductor-bazel-master-stable-3.6] $ /bin/bash -e /tmp/jenkins4623545267374148465.sh % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2094 0 2094 0 0 19570 0 --:--:-- --:--:-- --:--:-- 19570 Archiving artifacts Finished: SUCCESS