Skip to content

Console Output

Triggered by Gerrit: https://git.eclipse.org/r/c/tcf/org.eclipse.tcf.agent/+/195539
Running as SYSTEM
Agent centos-7-b6wf3 is provisioned from template centos-7
---
apiVersion: "v1"
kind: "Pod"
metadata:
  annotations: {}
  labels:
    jenkins: "slave"
    jenkins/label-digest: "55a177a28a71a1957f582df488f25d8c2f70df30"
    jenkins/label: "migration_jipp-migration_centos-7"
  name: "centos-7-b6wf3"
  namespace: "tcf"
spec:
  containers:
  - env:
    - name: "JENKINS_SECRET"
      value: "********"
    - name: "JENKINS_TUNNEL"
      value: "jenkins-discovery.tcf.svc.cluster.local:50000"
    - name: "JENKINS_AGENT_NAME"
      value: "centos-7-b6wf3"
    - 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: "centos-7-b6wf3"
    - name: "JENKINS_AGENT_WORKDIR"
      value: "/home/jenkins/agent"
    - name: "JENKINS_URL"
      value: "http://jenkins-ui.tcf.svc.cluster.local/tcf/"
    image: "docker.io/eclipsecbi/jiro-agent-centos-7:remoting-4.13.3"
    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-tcf"
      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 centos-7-b6wf3 (centos-7 jipp-migration migration) in workspace /home/jenkins/agent/workspace/tcf-agent-x86Linux.gerrit
[WS-CLEANUP] Deleting project workspace...
[WS-CLEANUP] Deferred wipeout is used...
The recommended git tool is: NONE
No credentials specified
Cloning the remote Git repository
Cloning repository https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent
 > git init /home/jenkins/agent/workspace/tcf-agent-x86Linux.gerrit # timeout=10
Fetching upstream changes from https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent
 > git --version # timeout=10
 > git --version # 'git version 2.36.1'
 > git fetch --tags --force --progress -- https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent # timeout=10
Fetching upstream changes from https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent
 > git fetch --tags --force --progress -- https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent refs/changes/39/195539/2 # timeout=10
 > git rev-parse 774901dabf692828d950deaac903c6648257e5cf^{commit} # timeout=10
Checking out Revision 774901dabf692828d950deaac903c6648257e5cf (refs/changes/39/195539/2)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 774901dabf692828d950deaac903c6648257e5cf # timeout=10
Commit message: "TCF Agent: Add support for the register search command"
 > git rev-parse FETCH_HEAD^{commit} # timeout=10
 > git rev-list --no-walk 3d0ba1e2de09f29c090c656b04551ea672ea7421 # timeout=10
[tcf-agent-x86Linux.gerrit] $ /bin/sh -x /tmp/jenkins7312168232526727956.sh
+ git fetch https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent refs/changes/39/195539/2
From https://git.eclipse.org/r/tcf/org.eclipse.tcf.agent
 * branch              refs/changes/39/195539/2 -> FETCH_HEAD
+ git checkout FETCH_HEAD
HEAD is now at 774901da TCF Agent: Add support for the register search command
+ CODE=0
+ '[' 0 -ne 0 ']'
+ cd agent
+ make NO_UUID=1 NO_SSL=1 clean all
rm -rf obj/GNU/Linux/x86_64/Debug
rm -rf RPM *.tar *.tar.bz2 *.rpm
cc -g -DENABLE_SSL=0 -DUSE_uuid_generate=0 -DENABLE_arch_x86_64 -D_FILE_OFFSET_BITS=64 -Wall -I./. -I./system/GNU/Linux -I./machine/x86_64 -DUSE_canonicalize_file_name=0 -DUSE_enum_ptrace_request=1 -DUSE_strlcpy_strlcat=0 -DUSE_getauxval=0 -o obj/GNU/Linux/x86_64/Debug/tcf/main/main.o -c tcf/main/main.c
cc -g -DENABLE_SSL=0 -DUSE_uuid_generate=0 -DENABLE_arch_x86_64 -D_FILE_OFFSET_BITS=64 -Wall -I./. -I./system/GNU/Linux -I./machine/x86_64 -DUSE_canonicalize_file_name=0 -DUSE_enum_ptrace_request=1 -DUSE_strlcpy_strlcat=0 -DUSE_getauxval=0 -o obj/GNU/Linux/x86_64/Debug/machine/x86_64/tcf/cpudefs-mdep.o -c machine/x86_64/tcf/cpudefs-mdep.c
cc -g -DENABLE_SSL=0 -DUSE_uuid_generate=0 -DENABLE_arch_x86_64 -D_FILE_OFFSET_BITS=64 -Wall -I./. -I./system/GNU/Linux -I./machine/x86_64 -DUSE_canonicalize_file_name=0 -DUSE_enum_ptrace_request=1 -DUSE_strlcpy_strlcat=0 -DUSE_getauxval=0 -o obj/GNU/Linux/x86_64/Debug/machine/x86_64/tcf/disassembler-x86_64.o -c machine/x86_64/tcf/disassembler-x86_64.c
cc -g -DENABLE_SSL=0 -DUSE_uuid_generate=0 -DENABLE_arch_x86_64 -D_FILE_OFFSET_BITS=64 -Wall -I./. -I./system/GNU/Linux -I./machine/x86_64 -DUSE_canonicalize_file_name=0 -DUSE_enum_ptrace_request=1 -DUSE_strlcpy_strlcat=0 -DUSE_getauxval=0 -o obj/GNU/Linux/x86_64/Debug/system/GNU/Linux/tcf/context-linux.o -c system/GNU/Linux/tcf/context-linux.c
cc -g -DENABLE_SSL=0 -DUSE_uuid_generate=0 -DENABLE_arch_x86_64 -D_FILE_OFFSET_BITS=64 -Wall -I./. -I./system/GNU/Linux -I./machine/x86_64 -DUSE_canonicalize_file_name=0 -DUSE_enum_ptrace_request=1 -DUSE_strlcpy_strlcat=0 -DUSE_getauxval=0 -o obj/GNU/Linux/x86_64/Debug/tcf/framework/asyncreq.o -c tcf/framework/asyncreq.c
In file included from ././tcf/config.h:21:0,
                 from tcf/framework/asyncreq.c:21:
././tcf/framework/mdep.h:397:21: error: conflicting types for ‘strcasestr’
 extern const char * strcasestr(const char * haystack, const char * needle);
                     ^
In file included from ././tcf/framework/mdep.h:281:0,
                 from ././tcf/config.h:21,
                 from tcf/framework/asyncreq.c:21:
/usr/include/string.h:369:14: note: previous declaration of ‘strcasestr’ was here
 extern char *strcasestr (const char *__haystack, const char *__needle)
              ^
make: *** [obj/GNU/Linux/x86_64/Debug/tcf/framework/asyncreq.o] Error 1
Build step 'Execute shell' marked build as failure
Finished: FAILURE