Pull request #1025 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at a03e475574a7b0a183ed31a31e341c573996d3f6 rather than 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 Obtained Jenkinsfile from a03e475574a7b0a183ed31a31e341c573996d3f6 Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8822842040120246951.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3245075712164742163.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c141c1271097dc03ad291c2451e310eaf98cdd06 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1025/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1025/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5073217810068216010.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c141c1271097dc03ad291c2451e310eaf98cdd06 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c141c1271097dc03ad291c2451e310eaf98cdd06 # timeout=10 Commit message: "Merge pull request #355 from ernestojeda/error-check-post-build" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh960665215448629498.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1025/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1025/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2970780707382731477.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 GOPROXY: https://nexus3.edgexfoundry.org/repository/go-proxy/ DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-centos7-docker-4c-2g-16 in /w/workspace/gexfoundry_device-sdk-go_PR-1025 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1025 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/jenkins-gitclient-ssh8360783487567128093.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/jenkins-gitclient-ssh3254745128725050149.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1025/head:refs/remotes/origin/PR-1025 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a03e475574a7b0a183ed31a31e341c573996d3f6 into PR head commit 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 Merge succeeded, producing 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 Checking out Revision 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 (PR-1025) > git config core.sparsecheckout # timeout=10 > git checkout -f 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/jenkins-gitclient-ssh2784762378846287890.key > git merge a03e475574a7b0a183ed31a31e341c573996d3f6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 # timeout=10 Commit message: "Merge branch 'main' into issue-1024" > git rev-list --no-walk eabed3f58719318ea7a9d7ab868bd51e972b17b1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:02:46 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:02:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:02:47 ========================================================= 21:02:47 EdgeX Global Pipelines Version Info 21:02:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:02:48 ------------------- 21:02:48 stable info: 21:02:48 ------------------- 21:02:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:02:48 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 21:02:48 Message: update stable to v1.0.206 21:02:48 ------------------- 21:02:48 experimental info: 21:02:48 ------------------- 21:02:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:02:48 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 21:02:48 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1025 [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1025 [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1025 [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f6f750 [Pipeline] echo 21:02:49 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:02:50 provisioning config files... 21:02:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/config1249220033326973112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:02:50 ---> docker-login.sh 21:02:50 nexus3.edgexfoundry.org:10001 21:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:50 Configure a credential helper to remove this warning. See 21:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:50 21:02:50 Login Succeeded 21:02:50 nexus3.edgexfoundry.org:10002 21:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:50 Configure a credential helper to remove this warning. See 21:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:50 21:02:50 Login Succeeded 21:02:50 nexus3.edgexfoundry.org:10003 21:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:50 Configure a credential helper to remove this warning. See 21:02:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:50 21:02:50 Login Succeeded 21:02:50 nexus3.edgexfoundry.org:10004 21:02:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:51 Configure a credential helper to remove this warning. See 21:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:51 21:02:51 Login Succeeded 21:02:51 docker.io 21:02:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:02:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:02:51 Configure a credential helper to remove this warning. See 21:02:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:02:51 21:02:51 Login Succeeded 21:02:51 ---> docker-login.sh ends [Pipeline] } 21:02:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:02:52 + git log --format=format:%s -1 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 [Pipeline] echo 21:02:52 GIT_COMMIT: 4f6f750c33eeeed9d362c6b8fc5728b2706ae063, Commit Message: Merge branch 'main' into issue-1024 [Pipeline] echo 21:02:52 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 21:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:02:53 21:02:53 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 21:02:53 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:02:53 latest: Pulling from edgex-devops/git-semver 21:02:53 31603596830f: Pulling fs layer 21:02:53 04fac38145f0: Pulling fs layer 21:02:53 701f6daf10bf: Pulling fs layer 21:02:53 24f72da36158: Pulling fs layer 21:02:53 24f72da36158: Waiting 21:02:53 04fac38145f0: Download complete 21:02:53 31603596830f: Verifying Checksum 21:02:53 31603596830f: Download complete 21:02:53 24f72da36158: Verifying Checksum 21:02:53 24f72da36158: Download complete 21:02:53 701f6daf10bf: Verifying Checksum 21:02:53 701f6daf10bf: Download complete 21:02:53 31603596830f: Pull complete 21:02:53 04fac38145f0: Pull complete 21:02:54 701f6daf10bf: Pull complete 21:02:54 24f72da36158: Pull complete 21:02:54 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 21:02:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:02:54 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 21:02:54 prd-centos7-docker-4c-2g-16 does not seem to be running inside a container 21:02:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1025 -v /w/workspace/gexfoundry_device-sdk-go_PR-1025:/w/workspace/gexfoundry_device-sdk-go_PR-1025:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 21:02:55 $ docker top 947b7ebcd8da5e95343bd8ae75d2beb46d27516db5035ad7d8eb40bf339121f3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:02:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:02:55 [ssh-agent] Looking for ssh-agent implementation... 21:02:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:02:55 $ docker exec 947b7ebcd8da5e95343bd8ae75d2beb46d27516db5035ad7d8eb40bf339121f3 ssh-agent 21:02:55 SSH_AUTH_SOCK=/tmp/ssh-lgUuOjm1wOs6/agent.14 21:02:55 SSH_AGENT_PID=20 21:02:55 Running ssh-add (command line suppressed) 21:02:55 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/private_key_8112890653290354050.key (/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/private_key_8112890653290354050.key) 21:02:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:02:56 + git tag --points-at HEAD [Pipeline] } 21:02:56 $ docker exec --env ******** --env ******** 947b7ebcd8da5e95343bd8ae75d2beb46d27516db5035ad7d8eb40bf339121f3 ssh-agent -k 21:02:56 unset SSH_AUTH_SOCK; 21:02:56 unset SSH_AGENT_PID; 21:02:56 echo Agent pid 20 killed; 21:02:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:02:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:02:56 [ssh-agent] Looking for ssh-agent implementation... 21:02:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:02:56 $ docker exec 947b7ebcd8da5e95343bd8ae75d2beb46d27516db5035ad7d8eb40bf339121f3 ssh-agent 21:02:56 SSH_AUTH_SOCK=/tmp/ssh-CuFirX0mPYU6/agent.54 21:02:56 SSH_AGENT_PID=60 21:02:56 Running ssh-add (command line suppressed) 21:02:56 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/private_key_2132806598011503495.key (/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/private_key_2132806598011503495.key) 21:02:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:02:57 + git semver init 21:02:57 # -> Open(): unable to determine branch for HEAD 21:02:57 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1025/.git 21:02:57 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1025 21:02:57 # $SEMVER_REMOTE_NAME = origin 21:02:57 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 21:02:57 # $SEMVER_USER_NAME = edgex-jenkins 21:02:57 # $SEMVER_BRANCH = PR-1025 21:02:57 # $SEMVER_TEMP = /tmp/semver-598777687 21:02:57 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 21:02:57 # '/tmp/semver-598777687' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1025/.semver' 21:02:57 # -> Force: false 21:02:57 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1025/.semver [Pipeline] } 21:02:57 $ docker exec --env ******** --env ******** 947b7ebcd8da5e95343bd8ae75d2beb46d27516db5035ad7d8eb40bf339121f3 ssh-agent -k 21:02:57 unset SSH_AUTH_SOCK; 21:02:57 unset SSH_AGENT_PID; 21:02:57 echo Agent pid 60 killed; 21:02:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:02:58 + git semver [Pipeline] } 21:02:58 $ docker stop --time=1 947b7ebcd8da5e95343bd8ae75d2beb46d27516db5035ad7d8eb40bf339121f3 21:02:59 $ docker rm -f 947b7ebcd8da5e95343bd8ae75d2beb46d27516db5035ad7d8eb40bf339121f3 [Pipeline] // withDockerContainer [Pipeline] sh 21:02:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:03:00 Stashed 1 file(s) [Pipeline] echo 21:03:00 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 21:03:16 Still waiting to schedule task 21:03:16 Waiting for next available executor on ‘prd-centos7-docker-4c-2g-16’ 21:03:16 Still waiting to schedule task 21:03:16 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 21:05:27 Running on prd-centos7-docker-4c-2g-20 in /w/workspace/gexfoundry_device-sdk-go_PR-1025 [Pipeline] { [Pipeline] ws 21:05:27 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:05:27 Selected Git installation does not exist. Using Default 21:05:27 The recommended git tool is: NONE 21:05:30 using credential edgex-jenkins-ssh 21:05:30 Cloning the remote Git repository 21:05:29 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:05:29 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:05:29 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:05:29 > git --version # timeout=10 21:05:30 > git --version # 'git version 2.24.4' 21:05:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:30 [INFO] Currently running in a labeled security context 21:05:30 [INFO] Currently SELinux is 'enforcing' on the host 21:05:30 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh4263078656513177929.key 21:05:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:05:30 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:05:30 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:05:30 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:05:30 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:30 [INFO] Currently running in a labeled security context 21:05:30 [INFO] Currently SELinux is 'enforcing' on the host 21:05:30 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh6921445753020180766.key 21:05:30 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1025/head:refs/remotes/origin/PR-1025 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:05:31 Merging remotes/origin/main commit a03e475574a7b0a183ed31a31e341c573996d3f6 into PR head commit 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 21:05:32 Merge succeeded, producing 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 21:05:32 Checking out Revision 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 (PR-1025) 21:05:31 > git config core.sparsecheckout # timeout=10 21:05:31 > git checkout -f 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 # timeout=10 21:05:31 > git remote # timeout=10 21:05:31 > git config --get remote.origin.url # timeout=10 21:05:31 using GIT_SSH to set credentials SSH Credentials for GitHub 21:05:31 [INFO] Currently running in a labeled security context 21:05:31 [INFO] Currently SELinux is 'enforcing' on the host 21:05:31 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/3@tmp/jenkins-gitclient-ssh7524820281210108521.key 21:05:31 > git merge a03e475574a7b0a183ed31a31e341c573996d3f6 # timeout=10 21:05:31 > git rev-parse HEAD^{commit} # timeout=10 21:05:31 > git config core.sparsecheckout # timeout=10 21:05:31 > git checkout -f 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 # timeout=10 21:05:35 Commit message: "Merge branch 'main' into issue-1024" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:05:36 provisioning config files... 21:05:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config8683141422342865824tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:05:36 ---> docker-login.sh 21:05:36 nexus3.edgexfoundry.org:10001 21:05:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:36 Configure a credential helper to remove this warning. See 21:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:36 21:05:36 Login Succeeded 21:05:36 nexus3.edgexfoundry.org:10002 21:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:37 Configure a credential helper to remove this warning. See 21:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:37 21:05:37 Login Succeeded 21:05:37 nexus3.edgexfoundry.org:10003 21:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:37 Configure a credential helper to remove this warning. See 21:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:37 21:05:37 Login Succeeded 21:05:37 nexus3.edgexfoundry.org:10004 21:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:37 Configure a credential helper to remove this warning. See 21:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:37 21:05:37 Login Succeeded 21:05:37 docker.io 21:05:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:05:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:05:37 Configure a credential helper to remove this warning. See 21:05:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:05:37 21:05:37 Login Succeeded 21:05:37 ---> docker-login.sh ends [Pipeline] } 21:05:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:05:38 ========================================================= 21:05:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 21:05:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:05:38 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . 21:05:38 Sending build context to Docker daemon 2.673MB 21:05:38 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 21:05:38 Step 2/9 : FROM ${BASE} AS builder 21:05:38 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 21:05:38 4e9f2cdf4387: Pulling fs layer 21:05:38 57d31006c564: Pulling fs layer 21:05:38 bd5ccded8296: Pulling fs layer 21:05:38 304dd3a0f381: Pulling fs layer 21:05:38 d37cda54a23b: Pulling fs layer 21:05:38 38ea18935520: Pulling fs layer 21:05:38 ceb1e79740a2: Pulling fs layer 21:05:38 b665197a1568: Pulling fs layer 21:05:38 842a00ea3e35: Pulling fs layer 21:05:38 38ea18935520: Waiting 21:05:38 ceb1e79740a2: Waiting 21:05:38 b665197a1568: Waiting 21:05:38 842a00ea3e35: Waiting 21:05:38 d37cda54a23b: Waiting 21:05:38 304dd3a0f381: Waiting 21:05:38 bd5ccded8296: Verifying Checksum 21:05:38 bd5ccded8296: Download complete 21:05:38 57d31006c564: Verifying Checksum 21:05:38 57d31006c564: Download complete 21:05:38 d37cda54a23b: Verifying Checksum 21:05:38 d37cda54a23b: Download complete 21:05:38 38ea18935520: Verifying Checksum 21:05:38 38ea18935520: Download complete 21:05:38 4e9f2cdf4387: Download complete 21:05:38 ceb1e79740a2: Verifying Checksum 21:05:38 ceb1e79740a2: Download complete 21:05:38 4e9f2cdf4387: Pull complete 21:05:39 57d31006c564: Pull complete 21:05:39 b665197a1568: Verifying Checksum 21:05:39 b665197a1568: Download complete 21:05:39 bd5ccded8296: Pull complete 21:05:40 304dd3a0f381: Verifying Checksum 21:05:40 304dd3a0f381: Download complete 21:05:41 842a00ea3e35: Verifying Checksum 21:05:41 842a00ea3e35: Download complete 21:05:45 304dd3a0f381: Pull complete 21:05:45 d37cda54a23b: Pull complete 21:05:45 38ea18935520: Pull complete 21:05:45 ceb1e79740a2: Pull complete 21:05:45 b665197a1568: Pull complete 21:05:47 842a00ea3e35: Pull complete 21:05:47 Digest: sha256:8be23356d7c113ca3b28698ca9a8c0562f3cd483a847db66f47f9eff4f9454b6 21:05:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 21:05:47 ---> bfa24e8e2367 21:05:47 Step 3/9 : WORKDIR /device-sdk-go 21:05:49 ---> Running in cc0a56ae541d 21:05:49 Removing intermediate container cc0a56ae541d 21:05:49 ---> 0f33506380c1 21:05:49 Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:05:49 ---> Running in afd83192470c 21:05:49 Removing intermediate container afd83192470c 21:05:49 ---> f819c33c00d2 21:05:49 Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:05:49 ---> Running in f8220bf9edc6 21:05:49 Removing intermediate container f8220bf9edc6 21:05:49 ---> f0622b10a604 21:05:49 Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:05:49 ---> Running in 8a18b2b39b74 21:05:50 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 21:05:51 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 21:05:51 OK: 219 MiB in 52 packages 21:05:51 Removing intermediate container 8a18b2b39b74 21:05:51 ---> bfe3222aba80 21:05:51 Step 7/9 : COPY . . 21:05:51 ---> a6dc62fc49e0 21:05:51 Step 8/9 : RUN go mod download 21:05:51 ---> Running in 9c2c0dc69b23 21:06:02 Removing intermediate container 9c2c0dc69b23 21:06:02 ---> 7170c615aa81 21:06:02 Step 9/9 : RUN make build 21:06:02 ---> Running in 07eaf367bfde 21:06:02 go mod tidy 21:06:02 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:06:03 # github.com/edgexfoundry/device-sdk-go/v2/pkg/models 21:06:03 pkg/models/commandvalue.go:434:16: undefined: common.ValueTypeObject 21:06:03 pkg/models/commandvalue.go:435:77: undefined: common.ValueTypeObject 21:06:03 pkg/models/commandvalue.go:498:7: undefined: common.ValueTypeObject 21:06:10 make: *** [Makefile:22: example/cmd/device-simple/device-simple] Error 2 21:06:10 The command '/bin/sh -c make build' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:06:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:11 21:06:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:06:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:11 latest: Pulling from edgex-lftools-log-publisher 21:06:11 b4d181a07f80: Pulling fs layer 21:06:11 a1111a8f2ec3: Pulling fs layer 21:06:11 ed53099fbce6: Pulling fs layer 21:06:11 dc539afda2c1: Pulling fs layer 21:06:11 77bc0d833cb6: Pulling fs layer 21:06:11 9065ff56babe: Pulling fs layer 21:06:11 d287ab97295c: Pulling fs layer 21:06:11 dc539afda2c1: Waiting 21:06:11 77bc0d833cb6: Waiting 21:06:11 9065ff56babe: Waiting 21:06:11 d287ab97295c: Waiting 21:06:11 a1111a8f2ec3: Verifying Checksum 21:06:11 a1111a8f2ec3: Download complete 21:06:11 dc539afda2c1: Verifying Checksum 21:06:11 dc539afda2c1: Download complete 21:06:11 ed53099fbce6: Verifying Checksum 21:06:11 ed53099fbce6: Download complete 21:06:11 77bc0d833cb6: Verifying Checksum 21:06:11 77bc0d833cb6: Download complete 21:06:11 9065ff56babe: Verifying Checksum 21:06:11 9065ff56babe: Download complete 21:06:12 b4d181a07f80: Verifying Checksum 21:06:12 b4d181a07f80: Download complete 21:06:12 d287ab97295c: Verifying Checksum 21:06:12 d287ab97295c: Download complete 21:06:13 b4d181a07f80: Pull complete 21:06:14 a1111a8f2ec3: Pull complete 21:06:14 ed53099fbce6: Pull complete 21:06:14 dc539afda2c1: Pull complete 21:06:14 77bc0d833cb6: Pull complete 21:06:14 9065ff56babe: Pull complete 21:06:20 d287ab97295c: Pull complete 21:06:20 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:06:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:06:20 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:06:20 prd-centos7-docker-4c-2g-20 does not seem to be running inside a container 21:06:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:06:22 $ docker top e607ec71ec4c53c336b3ad3368a399dae72099d61a99ff663f777c5ee99a79a1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:23 ---> job-cost.sh 21:06:23 lf-activate-venv: SKIPPING 21:06:23 INFO: No Stack... 21:06:37 Running on prd-ubuntu18.04-docker-arm64-4c-16g-19 in /w/workspace/gexfoundry_device-sdk-go_PR-1025 [Pipeline] { [Pipeline] ws 21:06:37 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 21:06:37 Selected Git installation does not exist. Using Default 21:06:37 The recommended git tool is: NONE 21:06:44 using credential edgex-jenkins-ssh 21:06:44 Cloning the remote Git repository 21:06:44 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:06:45 > git init /w/workspace/device-sdk-go/3 # timeout=10 21:06:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:06:45 > git --version # timeout=10 21:06:45 > git --version # 'git version 2.17.1' 21:06:45 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:45 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:45 INFO: Retrieving Pricing Info for: v3-standard-2 21:06:45 INFO: Archiving Costs [Pipeline] sh 21:06:45 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 21:06:45 + cut -d, -f6 [Pipeline] lock 21:06:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1025-3-stack-cost] 21:06:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1025-3-stack-cost] did not exist. Created. 21:06:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1025-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:06:46 + echo total: 0.05999999865889549 [Pipeline] stash 21:06:46 Stashed 1 file(s) [Pipeline] } 21:06:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1025-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:06:46 $ docker stop --time=1 e607ec71ec4c53c336b3ad3368a399dae72099d61a99ff663f777c5ee99a79a1 21:06:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:06:47 Merging remotes/origin/main commit a03e475574a7b0a183ed31a31e341c573996d3f6 into PR head commit 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 21:06:47 $ docker rm -f e607ec71ec4c53c336b3ad3368a399dae72099d61a99ff663f777c5ee99a79a1 21:06:47 Merge succeeded, producing 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 21:06:47 Checking out Revision 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 (PR-1025) [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } 21:06:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:06:46 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:06:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:06:46 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:46 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1025/head:refs/remotes/origin/PR-1025 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:06:47 > git config core.sparsecheckout # timeout=10 21:06:47 > git checkout -f 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 # timeout=10 21:06:47 > git remote # timeout=10 21:06:47 > git config --get remote.origin.url # timeout=10 21:06:47 using GIT_SSH to set credentials SSH Credentials for GitHub 21:06:47 > git merge a03e475574a7b0a183ed31a31e341c573996d3f6 # timeout=10 21:06:47 > git rev-parse HEAD^{commit} # timeout=10 21:06:47 > git config core.sparsecheckout # timeout=10 21:06:47 > git checkout -f 4f6f750c33eeeed9d362c6b8fc5728b2706ae063 # timeout=10 [Pipeline] // stage [Pipeline] } 21:06:48 Failed in branch amd64 21:06:52 Commit message: "Merge branch 'main' into issue-1024" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:06:52 provisioning config files... 21:06:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config7129119242735243777tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:06:53 ---> docker-login.sh 21:06:53 nexus3.edgexfoundry.org:10001 21:06:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:55 Configure a credential helper to remove this warning. See 21:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:55 21:06:55 Login Succeeded 21:06:55 nexus3.edgexfoundry.org:10002 21:06:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:55 Configure a credential helper to remove this warning. See 21:06:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:55 21:06:55 Login Succeeded 21:06:55 nexus3.edgexfoundry.org:10003 21:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:56 Configure a credential helper to remove this warning. See 21:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:56 21:06:56 Login Succeeded 21:06:56 nexus3.edgexfoundry.org:10004 21:06:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:56 Configure a credential helper to remove this warning. See 21:06:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:56 21:06:56 Login Succeeded 21:06:56 docker.io 21:06:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:06:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:06:57 Configure a credential helper to remove this warning. See 21:06:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:06:57 21:06:57 Login Succeeded 21:06:57 ---> docker-login.sh ends [Pipeline] } 21:06:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:06:58 ========================================================= 21:06:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 21:06:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 21:06:58 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . 21:06:59 Sending build context to Docker daemon 2.681MB 21:06:59 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 21:06:59 Step 2/9 : FROM ${BASE} AS builder 21:06:59 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:06:59 bbf911997326: Pulling fs layer 21:06:59 58ec367f63d7: Pulling fs layer 21:06:59 1b4a6ffa7d45: Pulling fs layer 21:06:59 fc5181fea5dc: Pulling fs layer 21:06:59 9c418107303f: Pulling fs layer 21:06:59 0cd29c4cc85c: Pulling fs layer 21:06:59 76d7273c05b8: Pulling fs layer 21:06:59 e9181ef05905: Pulling fs layer 21:06:59 0cd29c4cc85c: Waiting 21:06:59 76d7273c05b8: Waiting 21:06:59 e9181ef05905: Waiting 21:06:59 fc5181fea5dc: Waiting 21:06:59 9c418107303f: Waiting 21:06:59 1b4a6ffa7d45: Verifying Checksum 21:06:59 1b4a6ffa7d45: Download complete 21:06:59 58ec367f63d7: Verifying Checksum 21:06:59 58ec367f63d7: Download complete 21:06:59 9c418107303f: Verifying Checksum 21:06:59 9c418107303f: Download complete 21:06:59 0cd29c4cc85c: Verifying Checksum 21:06:59 0cd29c4cc85c: Download complete 21:06:59 bbf911997326: Download complete 21:07:00 bbf911997326: Pull complete 21:07:01 58ec367f63d7: Pull complete 21:07:01 1b4a6ffa7d45: Pull complete 21:07:02 fc5181fea5dc: Verifying Checksum 21:07:02 fc5181fea5dc: Download complete 21:07:03 e9181ef05905: Verifying Checksum 21:07:03 e9181ef05905: Download complete 21:07:13 fc5181fea5dc: Pull complete 21:07:13 9c418107303f: Pull complete 21:07:13 0cd29c4cc85c: Pull complete 21:07:13 76d7273c05b8: Pull complete 21:07:19 e9181ef05905: Pull complete 21:07:19 Digest: sha256:b68600a42bdad252800863e960bd1bff7f9295dc42515d77c75fe1690b9bba97 21:07:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 21:07:19 ---> 5bf79a92a582 21:07:19 Step 3/9 : WORKDIR /device-sdk-go 21:07:24 ---> Running in fad2cf290775 21:07:24 Removing intermediate container fad2cf290775 21:07:24 ---> 7eb9b62be3b8 21:07:24 Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:07:24 ---> Running in 80ec222b0e77 21:07:25 Removing intermediate container 80ec222b0e77 21:07:25 ---> bb27f1feec29 21:07:25 Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:07:25 ---> Running in 9d2a6c0e270c 21:07:28 Removing intermediate container 9d2a6c0e270c 21:07:28 ---> c8328205e480 21:07:28 Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:07:28 ---> Running in 6e2a29a0c817 21:07:29 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 21:07:30 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 21:07:30 OK: 218 MiB in 52 packages 21:07:31 Removing intermediate container 6e2a29a0c817 21:07:31 ---> e51fa7aba51f 21:07:31 Step 7/9 : COPY . . 21:07:33 ---> 3784164dea2e 21:07:33 Step 8/9 : RUN go mod download 21:07:33 ---> Running in f7f30ebcfc00 21:08:00 Removing intermediate container f7f30ebcfc00 21:08:00 ---> b07bc896732e 21:08:00 Step 9/9 : RUN make build 21:08:00 ---> Running in 6f8f8bbe0251 21:08:00 go mod tidy 21:08:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:08:08 # github.com/edgexfoundry/device-sdk-go/v2/pkg/models 21:08:08 pkg/models/commandvalue.go:434:16: undefined: common.ValueTypeObject 21:08:08 pkg/models/commandvalue.go:435:77: undefined: common.ValueTypeObject 21:08:08 pkg/models/commandvalue.go:498:7: undefined: common.ValueTypeObject 21:08:24 make: *** [Makefile:22: example/cmd/device-simple/device-simple] Error 2 21:08:24 The command '/bin/sh -c make build' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) Stage "Test" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:08:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:25 21:08:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:08:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:26 arm64: Pulling from edgex-lftools-log-publisher 21:08:26 448f6bf000e3: Pulling fs layer 21:08:26 f757da607395: Pulling fs layer 21:08:26 05883995daec: Pulling fs layer 21:08:26 8603b9c90790: Pulling fs layer 21:08:26 1560dd03e051: Pulling fs layer 21:08:26 27f5ce0e4adf: Pulling fs layer 21:08:26 c2d8d7efcc4b: Pulling fs layer 21:08:26 1560dd03e051: Waiting 21:08:26 27f5ce0e4adf: Waiting 21:08:26 c2d8d7efcc4b: Waiting 21:08:26 f757da607395: Verifying Checksum 21:08:26 f757da607395: Download complete 21:08:26 8603b9c90790: Verifying Checksum 21:08:26 8603b9c90790: Download complete 21:08:26 05883995daec: Verifying Checksum 21:08:26 05883995daec: Download complete 21:08:26 27f5ce0e4adf: Verifying Checksum 21:08:26 27f5ce0e4adf: Download complete 21:08:26 1560dd03e051: Verifying Checksum 21:08:26 1560dd03e051: Download complete 21:08:27 448f6bf000e3: Verifying Checksum 21:08:27 448f6bf000e3: Download complete 21:08:29 c2d8d7efcc4b: Verifying Checksum 21:08:29 c2d8d7efcc4b: Download complete 21:08:30 448f6bf000e3: Pull complete 21:08:31 f757da607395: Pull complete 21:08:33 05883995daec: Pull complete 21:08:33 8603b9c90790: Pull complete 21:08:34 1560dd03e051: Pull complete 21:08:34 27f5ce0e4adf: Pull complete 21:08:49 c2d8d7efcc4b: Pull complete 21:08:49 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:08:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:08:49 prd-ubuntu18.04-docker-arm64-4c-16g-19 does not seem to be running inside a container 21:08:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:08:54 $ docker top 42f0299f8f520725f232d2cf41e00cfb4dbff3b71901242e81b1ed2c5915c8b7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:55 ---> job-cost.sh 21:08:55 lf-activate-venv: SKIPPING 21:08:55 INFO: No Stack... 21:08:56 INFO: Retrieving Pricing Info for: v3-standard-4 21:08:56 INFO: Archiving Costs [Pipeline] sh 21:08:57 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 21:08:57 + cut -d, -f6 [Pipeline] lock 21:08:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1025-3-stack-cost] 21:08:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1025-3-stack-cost] did not exist. Created. 21:08:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1025-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:58 /w/workspace/device-sdk-go/3@tmp/durable-19eda002/script.sh: 1: /w/workspace/device-sdk-go/3@tmp/durable-19eda002/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:08:59 + echo total: 0.10999999940395355 [Pipeline] stash 21:08:59 Warning: overwriting stash ‘stack-cost’ 21:08:59 Stashed 1 file(s) [Pipeline] } 21:08:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1025-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:59 $ docker stop --time=1 42f0299f8f520725f232d2cf41e00cfb4dbff3b71901242e81b1ed2c5915c8b7 21:09:01 $ docker rm -f 42f0299f8f520725f232d2cf41e00cfb4dbff3b71901242e81b1ed2c5915c8b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 21:09:02 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:09:04 + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1025/archives ']' [Pipeline] libraryResource [Pipeline] sh 21:09:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:09:04 ---> package-listing.sh 21:09:04 ++ facter osfamily 21:09:04 ++ tr '[:upper:]' '[:lower:]' 21:09:05 + OS_FAMILY=redhat 21:09:05 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1025 21:09:05 + START_PACKAGES=/tmp/packages_start.txt 21:09:05 + END_PACKAGES=/tmp/packages_end.txt 21:09:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:09:05 + PACKAGES=/tmp/packages_start.txt 21:09:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1025 ']' 21:09:05 + PACKAGES=/tmp/packages_end.txt 21:09:05 + case "${OS_FAMILY}" in 21:09:05 + sort 21:09:05 + rpm -qa 21:09:05 + '[' -f /tmp/packages_start.txt ']' 21:09:05 + '[' -f /tmp/packages_end.txt ']' 21:09:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:09:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1025 ']' 21:09:05 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1025/archives/ 21:09:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1025/archives/ [Pipeline] echo 21:09:05 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1025/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:09:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:09:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:06 21:09:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:09:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:07 latest: Pulling from edgex-lftools-log-publisher 21:09:07 b4d181a07f80: Pulling fs layer 21:09:07 a1111a8f2ec3: Pulling fs layer 21:09:07 ed53099fbce6: Pulling fs layer 21:09:07 dc539afda2c1: Pulling fs layer 21:09:07 77bc0d833cb6: Pulling fs layer 21:09:07 9065ff56babe: Pulling fs layer 21:09:07 d287ab97295c: Pulling fs layer 21:09:07 dc539afda2c1: Waiting 21:09:07 77bc0d833cb6: Waiting 21:09:07 9065ff56babe: Waiting 21:09:07 d287ab97295c: Waiting 21:09:07 a1111a8f2ec3: Verifying Checksum 21:09:07 a1111a8f2ec3: Download complete 21:09:07 dc539afda2c1: Verifying Checksum 21:09:07 dc539afda2c1: Download complete 21:09:07 ed53099fbce6: Verifying Checksum 21:09:07 ed53099fbce6: Download complete 21:09:07 9065ff56babe: Verifying Checksum 21:09:07 9065ff56babe: Download complete 21:09:07 b4d181a07f80: Verifying Checksum 21:09:07 b4d181a07f80: Download complete 21:09:07 77bc0d833cb6: Verifying Checksum 21:09:07 77bc0d833cb6: Download complete 21:09:08 d287ab97295c: Verifying Checksum 21:09:08 d287ab97295c: Download complete 21:09:08 b4d181a07f80: Pull complete 21:09:09 a1111a8f2ec3: Pull complete 21:09:09 ed53099fbce6: Pull complete 21:09:09 dc539afda2c1: Pull complete 21:09:10 77bc0d833cb6: Pull complete 21:09:10 9065ff56babe: Pull complete 21:09:15 d287ab97295c: Pull complete 21:09:15 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:09:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:09:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:09:15 prd-centos7-docker-4c-2g-16 does not seem to be running inside a container 21:09:15 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1025/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1025 -v /w/workspace/gexfoundry_device-sdk-go_PR-1025:/w/workspace/gexfoundry_device-sdk-go_PR-1025:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:09:18 $ docker top fd96477a7e17d1b78b9432b19cad842c736c6a31353bee262fd94cdad9c4d9aa -eo pid,comm [Pipeline] { [Pipeline] sh 21:09:18 + touch /tmp/pre-build-complete [Pipeline] sh 21:09:18 + mkdir -p /var/log/sysstat [Pipeline] sh 21:09:19 + ls /var/log/sa-host 21:09:19 + sadf -c /var/log/sa-host/sa05 21:09:19 file_magic: OK 21:09:19 HZ: Using current value: 100 21:09:19 file_header: OK 21:09:19 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:09:19 Statistics: 21:09:19 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:09:19 File successfully converted to sysstat format version 12.0.3 21:09:19 + sadf -c /var/log/sa-host/sa30 21:09:19 file_magic: OK 21:09:19 HZ: Using current value: 100 21:09:19 file_header: OK 21:09:19 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:09:19 Statistics: 21:09:19 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:09:19 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:09:19 provisioning config files... 21:09:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1025@tmp/config7715260106765920360tmp [Pipeline] { [Pipeline] echo 21:09:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:09:20 ---> create-netrc.sh [Pipeline] } 21:09:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:09:20 ---> python-tools-install.sh [Pipeline] echo 21:09:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:09:21 ---> sudo-logs.sh 21:09:21 Archiving 'sudo' log.. 21:09:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-16.novalocal: Name or service not known 21:09:21 sudo: unable to resolve host prd-centos7-docker-4c-2g-16.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:09:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:21 ---> job-cost.sh 21:09:21 lf-activate-venv: SKIPPING 21:09:21 DEBUG: total: 0.10999999940395355 21:09:21 INFO: Retrieving Stack Cost... 21:09:21 INFO: Retrieving Pricing Info for: v3-standard-2 21:09:21 INFO: Archiving Costs [Pipeline] echo 21:09:21 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:22 ---> logs-deploy.sh 21:09:22 lf-activate-venv: SKIPPING 21:09:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1025/3 21:09:22 INFO: archiving workspace using pattern(s): 21:09:22 Archives upload complete. 21:09:23 INFO: archiving logs to Nexus 21:09:23 ---> uname -a: 21:09:23 Linux prd-centos7-docker-4c-2g-16.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 21:09:23 21:09:23 21:09:23 ---> lscpu: 21:09:23 Architecture: x86_64 21:09:23 CPU op-mode(s): 32-bit, 64-bit 21:09:23 Byte Order: Little Endian 21:09:23 Address sizes: 40 bits physical, 48 bits virtual 21:09:23 CPU(s): 2 21:09:23 On-line CPU(s) list: 0,1 21:09:23 Thread(s) per core: 1 21:09:23 Core(s) per socket: 1 21:09:23 Socket(s): 2 21:09:23 NUMA node(s): 1 21:09:23 Vendor ID: AuthenticAMD 21:09:23 CPU family: 23 21:09:23 Model: 49 21:09:23 Model name: AMD EPYC-Rome Processor 21:09:23 Stepping: 0 21:09:23 CPU MHz: 2799.998 21:09:23 BogoMIPS: 5599.99 21:09:23 Virtualization: AMD-V 21:09:23 Hypervisor vendor: KVM 21:09:23 Virtualization type: full 21:09:23 L1d cache: 32K 21:09:23 L1i cache: 32K 21:09:23 L2 cache: 512K 21:09:23 L3 cache: 16384K 21:09:23 NUMA node0 CPU(s): 0,1 21:09:23 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 21:09:23 21:09:23 21:09:23 ---> nproc: 21:09:23 2 21:09:23 21:09:23 21:09:23 ---> df -h: 21:09:23 Filesystem Size Used Avail Use% Mounted on 21:09:23 overlay 40G 7.7G 33G 20% / 21:09:23 tmpfs 64M 0 64M 0% /dev 21:09:23 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 21:09:23 shm 64M 0 64M 0% /dev/shm 21:09:23 /dev/vda1 40G 7.7G 33G 20% /facter-os 21:09:23 21:09:23 21:09:23 ---> sar -b -r -n DEV: 21:09:23 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 21:09:23 21:09:23 21:02:11 LINUX RESTART (2 CPU) 21:09:23 21:09:23 21:03:02 tps rtps wtps bread/s bwrtn/s 21:09:23 21:04:01 3.52 0.02 3.51 0.54 117.67 21:09:23 21:05:01 0.42 0.00 0.42 0.00 6.60 21:09:23 21:06:01 0.25 0.00 0.25 0.00 2.56 21:09:23 21:07:01 0.23 0.00 0.23 0.00 3.50 21:09:23 21:08:01 0.28 0.00 0.28 0.00 2.95 21:09:23 21:09:01 0.23 0.00 0.23 0.00 3.63 21:09:23 Average: 0.82 0.00 0.81 0.09 22.56 21:09:23 21:09:23 21:03:02 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 21:09:23 21:04:01 5681892 0 617328 7.71 2620 1707100 1214272 13.41 558784 1530772 16 21:09:23 21:05:01 5683564 0 615648 7.69 2620 1707108 1161592 12.82 558460 1530736 8 21:09:23 21:06:01 5684084 0 615128 7.68 2620 1707108 1161844 12.83 557536 1531456 8 21:09:23 21:07:01 5683684 0 615520 7.69 2620 1707116 1161832 12.83 557488 1531456 8 21:09:23 21:08:01 5685380 0 613820 7.66 2620 1707120 1161736 12.83 556476 1531456 8 21:09:23 21:09:01 5684252 0 614944 7.68 2620 1707124 1161592 12.82 556796 1531456 8 21:09:23 Average: 5683809 0 615398 7.68 2620 1707113 1170478 12.92 557590 1531222 9 21:09:23 21:09:23 21:03:02 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 21:09:23 21:04:01 eth0 3.32 1.37 3.32 0.28 0.00 0.00 0.00 0.00 21:09:23 21:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:04:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:05:01 eth0 0.68 0.05 0.06 0.00 0.00 0.00 0.00 0.00 21:09:23 21:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:05:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:06:01 eth0 1.30 0.32 0.35 0.20 0.00 0.00 0.00 0.00 21:09:23 21:06:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:07:01 eth0 0.48 0.25 0.27 0.16 0.00 0.00 0.00 0.00 21:09:23 21:07:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:08:01 eth0 0.22 0.17 0.08 0.10 0.00 0.00 0.00 0.00 21:09:23 21:08:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:09:01 eth0 0.08 0.07 0.01 0.01 0.00 0.00 0.00 0.00 21:09:23 21:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 Average: eth0 1.01 0.37 0.67 0.12 0.00 0.00 0.00 0.00 21:09:23 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 Average: docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 21:09:23 21:09:23 21:09:23 ---> sar -P ALL: 21:09:23 Linux 3.10.0-1160.42.2.el7.x86_64 (centos-7-docker-61562791-2d39-7756-a072-67b3eceb74d7.vexxhost.lo) 10/05/21 _x86_64_ (2 CPU) 21:09:23 21:09:23 21:02:11 LINUX RESTART (2 CPU) 21:09:23 21:09:23 21:03:02 CPU %user %nice %system %iowait %steal %idle 21:09:23 21:04:01 all 0.32 0.00 0.11 0.00 0.02 99.55 21:09:23 21:04:01 0 0.19 0.00 0.14 0.00 0.02 99.66 21:09:23 21:04:01 1 0.46 0.00 0.08 0.00 0.02 99.44 21:09:23 21:05:01 all 0.21 0.00 0.06 0.00 0.02 99.72 21:09:23 21:05:01 0 0.27 0.00 0.07 0.00 0.02 99.65 21:09:23 21:05:01 1 0.15 0.00 0.05 0.00 0.02 99.78 21:09:23 21:06:01 all 0.13 0.00 0.08 0.00 0.02 99.77 21:09:23 21:06:01 0 0.20 0.00 0.07 0.00 0.02 99.72 21:09:23 21:06:01 1 0.07 0.00 0.08 0.00 0.02 99.83 21:09:23 21:07:01 all 0.21 0.00 0.04 0.00 0.03 99.72 21:09:23 21:07:01 0 0.32 0.00 0.03 0.00 0.02 99.63 21:09:23 21:07:01 1 0.10 0.00 0.05 0.00 0.03 99.82 21:09:23 21:08:01 all 0.26 0.00 0.07 0.00 0.01 99.67 21:09:23 21:08:01 0 0.40 0.00 0.03 0.00 0.00 99.57 21:09:23 21:08:01 1 0.12 0.00 0.10 0.00 0.02 99.77 21:09:23 21:09:01 all 0.17 0.00 0.04 0.00 0.03 99.77 21:09:23 21:09:01 0 0.28 0.00 0.02 0.00 0.02 99.68 21:09:23 21:09:01 1 0.05 0.00 0.07 0.00 0.03 99.85 21:09:23 Average: all 0.22 0.00 0.07 0.00 0.02 99.70 21:09:23 Average: 0 0.28 0.00 0.06 0.00 0.01 99.65 21:09:23 Average: 1 0.16 0.00 0.07 0.00 0.02 99.75 21:09:23 21:09:23 21:09:23