Skip to content

Console Output

Started by user Lukas Jungmann
Running as Lukas Jungmann
Agent basic-sb4g3 is provisioned from template basic
---
apiVersion: "v1"
kind: "Pod"
metadata:
  labels:
    jenkins: "slave"
    jenkins/label-digest: "61a7508ed1b04e9ada836fcd14d4d8ef5687c7dd"
    jenkins/label: "basic"
  name: "basic-sb4g3"
  namespace: "ca"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.ca.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "basic-sb4g3"
    - name: "JENKINS_REMOTING_JAVA_OPTS"
      value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true\
        \ -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
    - name: "JAVA_TOOL_OPTIONS"
      value: ""
    - name: "_JAVA_OPTIONS"
      value: ""
    - name: "OPENJ9_JAVA_OPTIONS"
      value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
    - name: "JENKINS_NAME"
      value: "basic-sb4g3"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.ca.svc.cluster.local/ca/"
    image: "docker.io/eclipsecbi/jiro-agent-basic:remoting-3160.vd76b_9ddd10cc"
    imagePullPolicy: "Always"
    name: "jnlp"
    resources:
      limits:
        cpu: "2000m"
        memory: "4096Mi"
      requests:
        cpu: "1000m"
        memory: "4096Mi"
    tty: true
    volumeMounts:
    - mountPath: "/home/jenkins/.m2/toolchains.xml"
      name: "m2-dir"
      readOnly: true
      subPath: "toolchains.xml"
    - mountPath: "/home/jenkins/.mavenrc"
      name: "m2-dir"
      readOnly: true
      subPath: ".mavenrc"
    - mountPath: "/opt/tools"
      name: "volume-0"
      readOnly: false
    - mountPath: "/home/jenkins"
      name: "volume-2"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/repository"
      name: "volume-3"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings-security.xml"
      name: "m2-secret-dir"
      readOnly: true
      subPath: "settings-security.xml"
    - mountPath: "/home/jenkins/.m2/wrapper"
      name: "volume-4"
      readOnly: false
    - mountPath: "/home/jenkins/.m2/settings.xml"
      name: "m2-secret-dir"
      readOnly: true
      subPath: "settings.xml"
    - mountPath: "/home/jenkins/.ssh"
      name: "volume-1"
      readOnly: false
      subPath: ""
    - mountPath: "/home/jenkins/agent"
      name: "workspace-volume"
      readOnly: false
    workingDir: "/home/jenkins/agent"
  nodeSelector:
    kubernetes.io/os: "linux"
  restartPolicy: "Never"
  volumes:
  - name: "volume-0"
    persistentVolumeClaim:
      claimName: "tools-claim-jiro-ca"
      readOnly: true
  - name: "m2-secret-dir"
    secret:
      secretName: "m2-secret-dir"
  - emptyDir:
      medium: ""
    name: "volume-2"
  - configMap:
      name: "m2-dir"
    name: "m2-dir"
  - configMap:
      name: "known-hosts"
    name: "volume-1"
  - emptyDir:
      medium: ""
    name: "workspace-volume"
  - emptyDir:
      medium: ""
    name: "volume-4"
  - emptyDir:
      medium: ""
    name: "volume-3"

Building remotely on basic-sb4g3 (basic) in workspace /home/jenkins/agent/workspace/TCK_jakarta_GF_8_run
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
[TCK_jakarta_GF_8_run] $ /bin/bash -xe /tmp/jenkins2166228915715017058.sh
+ TOOLS_PREFIX=/opt/tools
+ MVN_HOME=/opt/tools/apache-maven/latest
+ PATH=/opt/tools/apache-maven/latest/bin:/opt/tools/java/openjdk/jdk-21/latest/bin:/opt/tools/java/openjdk/jdk-21/latest/bin:/opt/tools/java/openjdk/jdk-21/latest/bin:/opt/java/openjdk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
+ wget -nv https://download.eclipse.org/ee4j/ca/jakartaee11/staged/eftl/jakarta-annotations-tck-3.0.0.zip -O jakarta-annotations-tck-3.0.0.zip
2024-02-29 22:38:00 URL:https://download.eclipse.org/ee4j/ca/jakartaee11/staged/eftl/jakarta-annotations-tck-3.0.0.zip [206019/206019] -> "jakarta-annotations-tck-3.0.0.zip" [1]
+ unzip jakarta-annotations-tck-3.0.0.zip
Archive:  jakarta-annotations-tck-3.0.0.zip
   creating: annotations-tck/
   creating: annotations-tck/artifacts/
   creating: annotations-tck/docs/
   creating: annotations-tck/tck-runner/
   creating: annotations-tck/docs/pdf-usersguide/
   creating: annotations-tck/docs/html-usersguide/
   creating: annotations-tck/docs/html-usersguide/css/
   creating: annotations-tck/docs/html-usersguide/img/
  inflating: annotations-tck/LICENSE.md  
  inflating: annotations-tck/jakarta.annotation.sig_3.0  
  inflating: annotations-tck/artifacts/jakarta-annotations-tck-3.0.0-sources.jar  
  inflating: annotations-tck/artifacts/jakarta-annotations-tck-3.0.0.jar  
  inflating: annotations-tck/docs/CAJ2.1-ReleaseNotes.html  
  inflating: annotations-tck/docs/CAJ3.0-ReleaseNotes.html  
  inflating: annotations-tck/docs/TCK-Exclude-List.txt  
  inflating: annotations-tck/docs/index.html  
  inflating: annotations-tck/tck-runner/README  
  inflating: annotations-tck/tck-runner/pom.xml  
  inflating: annotations-tck/docs/pdf-usersguide/Jakarta-Annotations-TCK-Users-Guide.pdf  
  inflating: annotations-tck/docs/html-usersguide/config.html  
  inflating: annotations-tck/docs/html-usersguide/css/style.css  
  inflating: annotations-tck/docs/html-usersguide/debug.html  
  inflating: annotations-tck/docs/html-usersguide/faq.html  
  inflating: annotations-tck/docs/html-usersguide/img/eclipse_foundation_logo_tiny.png  
  inflating: annotations-tck/docs/html-usersguide/install.html  
  inflating: annotations-tck/docs/html-usersguide/intro.html  
  inflating: annotations-tck/docs/html-usersguide/preface.html  
  inflating: annotations-tck/docs/html-usersguide/rebuild.html  
  inflating: annotations-tck/docs/html-usersguide/rules.html  
  inflating: annotations-tck/docs/html-usersguide/title.html  
  inflating: annotations-tck/docs/html-usersguide/toc.html  
  inflating: annotations-tck/docs/html-usersguide/using.html  
+ cd annotations-tck
+ mvn -Pstaging install:install-file -DcreateChecksum=true -Dpackaging=jar -Dfile=artifacts/jakarta-annotations-tck-3.0.0.jar -DgroupId=jakarta.tck -DartifactId=jakarta-annotations-tck -Dversion=3.0.0
[INFO] Scanning for projects...
[WARNING] The requested profile "staging" could not be activated because it does not exist.
[INFO] 
[INFO] ------------------< org.apache.maven:standalone-pom >-------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] 
[INFO] --- install:3.1.1:install-file (default-cli) @ standalone-pom ---
[INFO] Installing /home/jenkins/agent/workspace/TCK_jakarta_GF_8_run/annotations-tck/artifacts/jakarta-annotations-tck-3.0.0.jar to /home/jenkins/.m2/repository/jakarta/tck/jakarta-annotations-tck/3.0.0/jakarta-annotations-tck-3.0.0.jar
[INFO] Installing /tmp/jakarta-annotations-tck-3.0.01992222996812577215.pom to /home/jenkins/.m2/repository/jakarta/tck/jakarta-annotations-tck/3.0.0/jakarta-annotations-tck-3.0.0.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.857 s
[INFO] Finished at: 2024-02-29T22:38:05Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "staging" could not be activated because it does not exist.
+ cat tck-runner/pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
    Copyright (c) 2024 Oracle and/or its affiliates. All rights reserved.

    This program and the accompanying materials are made available under the
    terms of the Eclipse Public License v. 2.0, which is available at
    http://www.eclipse.org/legal/epl-2.0.

    This Source Code may also be made available under the following Secondary
    Licenses when the conditions for such availability set forth in the
    Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
    version 2 with the GNU Classpath Exception, which is available at
    https://www.gnu.org/software/classpath/license.html.

    SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>jakarta.annotation</groupId>
    <artifactId>jakarta.annotation-tck-impl</artifactId>
    <version>3.0.0</version>
    <packaging>jar</packaging>

    <properties>
        <glassfish.container.version>8.0.0-M1</glassfish.container.version>
        <glassfish.toplevel.dir>glassfish7</glassfish.toplevel.dir>
        <junit.jupiter.version>5.10.2</junit.jupiter.version>
        <tck.artifactId>jakarta-annotations-tck</tck.artifactId>
        <tck.version>3.0.0</tck.version>
        <jimage.dir>${project.build.directory}/jdk-bundle</jimage.dir>
    </properties>

    <dependencyManagement>
        <dependencies>
            <dependency>
                <groupId>org.junit</groupId>
                <artifactId>junit-bom</artifactId>
                <version>${junit.jupiter.version}</version>
                <type>pom</type>
                <scope>import</scope>
            </dependency>
            <dependency>
                <groupId>jakarta.tck</groupId>
                <artifactId>sigtest-maven-plugin</artifactId>
                <version>2.2</version>
            </dependency>
            <dependency>
                <groupId>jakarta.annotation</groupId>
                <artifactId>${tck.artifactId}</artifactId>
                <version>${tck.version}</version>
            </dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
            <groupId>org.junit.jupiter</groupId>
            <artifactId>junit-jupiter</artifactId>
        </dependency>
        <dependency>
            <groupId>jakarta.annotation</groupId>
            <artifactId>${tck.artifactId}</artifactId>
        </dependency>
        <dependency>
            <groupId>jakarta.tck</groupId>
            <artifactId>sigtest-maven-plugin</artifactId>
        </dependency>
    </dependencies>

    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-dependency-plugin</artifactId>
                    <version>3.3.0</version>
                </plugin>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-failsafe-plugin</artifactId>
                    <version>3.2.5</version>
                </plugin>
            </plugins>
        </pluginManagement>

        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-dependency-plugin</artifactId>
                <executions>
                    <execution>
                        <id>unpack</id>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <phase>generate-resources</phase>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>jakarta.annotation</groupId>
                                    <artifactId>${tck.artifactId}</artifactId>
                                    <version>${tck.version}</version>
                                    <type>zip</type>
                                    <overWrite>true</overWrite>
                                    <outputDirectory>${project.build.directory}</outputDirectory>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                    <execution>
                        <id>unpack-server</id>
                        <goals>
                            <goal>unpack</goal>
                        </goals>
                        <phase>pre-integration-test</phase>
                        <configuration>
                            <artifactItems>
                                <artifactItem>
                                    <groupId>org.glassfish.main.distributions</groupId>
                                    <artifactId>${glassfish-artifact-id}</artifactId>
                                    <version>${glassfish.container.version}</version>
                                    <type>zip</type>
                                    <overWrite>true</overWrite>
                                    <outputDirectory>${project.build.directory}</outputDirectory>
                                </artifactItem>
                            </artifactItems>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-failsafe-plugin</artifactId>
                <executions>
                    <execution>
                        <id>sig-test</id>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                        <configuration>
                            <dependenciesToScan>jakarta.annotation:${tck.artifactId}</dependenciesToScan>
                            <systemPropertyVariables>
                                <jimage.dir>${jimage.dir}</jimage.dir>
                                <sigTestClasspath>${project.build.directory}/${glassfish.toplevel.dir}/glassfish/modules/jakarta.annotation-api.jar:${jimage.dir}/java.base:${jimage.dir}/java.rmi:${jimage.dir}/java.sql:${jimage.dir}/java.naming</sigTestClasspath>
                                <ca.sig.generated>true</ca.sig.generated>
                                <ca.sig.postconstruct>true</ca.sig.postconstruct>
                                <ca.sig.priority>true</ca.sig.priority>
                                <ca.sig.predestroy>true</ca.sig.predestroy>
                                <ca.sig.resource>true</ca.sig.resource>
                                <ca.sig.resources>true</ca.sig.resources>
                                <ca.sig.securitydeclareroles>true</ca.sig.securitydeclareroles>
                                <ca.sig.securitydenyall>true</ca.sig.securitydenyall>
                                <ca.sig.securitypermitall>true</ca.sig.securitypermitall>
                                <ca.sig.securityrolesallowed>true</ca.sig.securityrolesallowed>
                                <ca.sig.securityrunas>true</ca.sig.securityrunas>
                                <ca.sig.sqldatasourcedefinition>true</ca.sig.sqldatasourcedefinition>
                                <ca.sig.sqldatasourcedefinitions>true</ca.sig.sqldatasourcedefinitions>
                            </systemPropertyVariables>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>

    <profiles>
        <profile>
            <id>full</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <properties>
                <glassfish-artifact-id>glassfish</glassfish-artifact-id>
            </properties>
        </profile>
        <profile>
            <id>web</id>
            <properties>
                <glassfish-artifact-id>web</glassfish-artifact-id>
            </properties>
        </profile>
    </profiles>
</project>
+ mvn -Pstaging verify -f tck-runner/pom.xml
[INFO] Scanning for projects...
[WARNING] The requested profile "staging" could not be activated because it does not exist.
[INFO] 
[INFO] -----------< jakarta.annotation:jakarta.annotation-tck-impl >-----------
[INFO] Building jakarta.annotation-tck-impl 3.0.0
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for jakarta.annotation:jakarta-annotations-tck:jar:3.0.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  3.882 s
[INFO] Finished at: 2024-02-29T22:38:11Z
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "staging" could not be activated because it does not exist.
[ERROR] Failed to execute goal on project jakarta.annotation-tck-impl: Could not resolve dependencies for project jakarta.annotation:jakarta.annotation-tck-impl:jar:3.0.0: The following artifacts could not be resolved: jakarta.annotation:jakarta-annotations-tck:jar:3.0.0 (absent): Could not find artifact jakarta.annotation:jakarta-annotations-tck:jar:3.0.0 in eclipse.maven.central.mirror (https://repo.eclipse.org/content/repositories/maven_central/) -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Build step 'Execute shell' marked build as failure
Finished: FAILURE