Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1b99335a09a4d3b24ee39e90536b9933fcc6f394 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-ssh8634580855548552694.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-ssh8449971017604295651.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/main/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/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8474473408115153855.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-ssh1787493891262462978.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/main/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/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4538855283308219546.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 on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-1452 in /w/workspace/edgexfoundry_device-sdk-go_main [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 Avoid second fetch Checking out Revision 1b99335a09a4d3b24ee39e90536b9933fcc6f394 (main) > git init /w/workspace/edgexfoundry_device-sdk-go_main # 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/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh4861434008949795551.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 core.sparsecheckout # timeout=10 > git checkout -f 1b99335a09a4d3b24ee39e90536b9933fcc6f394 # timeout=10 Commit message: "Merge pull request #1023 from weichou1229/issue-1021" > git rev-list --no-walk 968d3db8c2290dc5857cf0eb9311eccc6509e672 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 01:53:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 01:53:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 01:53:29 ========================================================= 01:53:29 EdgeX Global Pipelines Version Info 01:53:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 01:53:30 ------------------- 01:53:30 stable info: 01:53:30 ------------------- 01:53:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:53:30 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 01:53:30 Message: update stable to v1.0.206 01:53:31 ------------------- 01:53:31 experimental info: 01:53:31 ------------------- 01:53:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 01:53:31 Commit SHA: c141c1271097dc03ad291c2451e310eaf98cdd06 01:53:31 Message: update experimental to v1.0.206 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar GOPROXY = https://nexus3.edgexfoundry.org/repository/go-proxy/ [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 01:53:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1b99335a09a4d3b24ee39e90536b9933fcc6f394 [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1b99335 [Pipeline] echo 01:53:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:53:32 provisioning config files... 01:53:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config155551632514558988tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:53:32 ---> docker-login.sh 01:53:32 nexus3.edgexfoundry.org:10001 01:53:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:33 Configure a credential helper to remove this warning. See 01:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:33 01:53:33 Login Succeeded 01:53:33 nexus3.edgexfoundry.org:10002 01:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:33 Configure a credential helper to remove this warning. See 01:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:33 01:53:33 Login Succeeded 01:53:33 nexus3.edgexfoundry.org:10003 01:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:33 Configure a credential helper to remove this warning. See 01:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:33 01:53:33 Login Succeeded 01:53:33 nexus3.edgexfoundry.org:10004 01:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:33 Configure a credential helper to remove this warning. See 01:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:33 01:53:33 Login Succeeded 01:53:33 docker.io 01:53:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:53:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:53:33 Configure a credential helper to remove this warning. See 01:53:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:53:33 01:53:33 Login Succeeded 01:53:33 ---> docker-login.sh ends [Pipeline] } 01:53:33 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 01:53:34 + git log --format=format:%s -1 1b99335a09a4d3b24ee39e90536b9933fcc6f394 [Pipeline] echo 01:53:34 GIT_COMMIT: 1b99335a09a4d3b24ee39e90536b9933fcc6f394, Commit Message: Merge pull request #1023 from weichou1229/issue-1021 [Pipeline] echo 01:53:34 This is not a build commit. [Pipeline] isUnix [Pipeline] sh 01:53:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:53:35 01:53:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 01:53:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:53:36 latest: Pulling from edgex-devops/git-semver 01:53:36 31603596830f: Pulling fs layer 01:53:36 04fac38145f0: Pulling fs layer 01:53:36 701f6daf10bf: Pulling fs layer 01:53:36 24f72da36158: Pulling fs layer 01:53:36 24f72da36158: Waiting 01:53:36 04fac38145f0: Verifying Checksum 01:53:36 04fac38145f0: Download complete 01:53:36 31603596830f: Verifying Checksum 01:53:36 31603596830f: Download complete 01:53:36 31603596830f: Pull complete 01:53:36 24f72da36158: Verifying Checksum 01:53:36 24f72da36158: Download complete 01:53:36 04fac38145f0: Pull complete 01:53:36 701f6daf10bf: Verifying Checksum 01:53:36 701f6daf10bf: Download complete 01:53:37 701f6daf10bf: Pull complete 01:53:37 24f72da36158: Pull complete 01:53:37 Digest: sha256:4df6d42b0a42de7465b316d5d101e9e577e29cf163494206da03a6bf8561ec42 01:53:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 01:53:37 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 01:53:37 prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container 01:53:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 01:53:38 $ docker top 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:53:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:53:38 [ssh-agent] Looking for ssh-agent implementation... 01:53:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:53:38 $ docker exec 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 ssh-agent 01:53:39 SSH_AUTH_SOCK=/tmp/ssh-L5qF0dniNNCs/agent.14 01:53:39 SSH_AGENT_PID=20 01:53:39 Running ssh-add (command line suppressed) 01:53:39 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2218386308528019368.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2218386308528019368.key) 01:53:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:53:39 + git tag --points-at HEAD [Pipeline] } 01:53:39 $ docker exec --env ******** --env ******** 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 ssh-agent -k 01:53:39 unset SSH_AUTH_SOCK; 01:53:39 unset SSH_AGENT_PID; 01:53:39 echo Agent pid 20 killed; 01:53:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:53:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:53:39 [ssh-agent] Looking for ssh-agent implementation... 01:53:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:53:39 $ docker exec 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 ssh-agent 01:53:39 SSH_AUTH_SOCK=/tmp/ssh-7p3TOTQfzCT0/agent.54 01:53:39 SSH_AGENT_PID=61 01:53:40 Running ssh-add (command line suppressed) 01:53:40 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3834379231702174169.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3834379231702174169.key) 01:53:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:53:40 + git semver init 01:53:40 # -> Open(): unable to determine branch for HEAD 01:53:40 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 01:53:40 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 01:53:40 # $SEMVER_REMOTE_NAME = origin 01:53:40 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 01:53:40 # $SEMVER_USER_NAME = edgex-jenkins 01:53:40 # $SEMVER_BRANCH = main 01:53:40 # $SEMVER_TEMP = /tmp/semver-025377998 01:53:40 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 01:53:41 # '/tmp/semver-025377998' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' 01:53:41 # -> Force: false 01:53:41 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 01:53:41 $ docker exec --env ******** --env ******** 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 ssh-agent -k 01:53:41 unset SSH_AUTH_SOCK; 01:53:41 unset SSH_AGENT_PID; 01:53:41 echo Agent pid 61 killed; 01:53:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:53:41 + git semver [Pipeline] } 01:53:41 $ docker stop --time=1 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 01:53:42 $ docker rm -f 56326319c120c09976557ad1fc55e5300a2dbfe47c8fb5c1411b44cf519f2489 [Pipeline] // withDockerContainer [Pipeline] sh 01:53:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:53:43 Stashed 1 file(s) [Pipeline] echo 01:53:43 [edgeXSemver]: initialized semver on version 2.0.1-dev.14 [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 01:53:59 Still waiting to schedule task 01:53:59 Waiting for next available executor on ‘centos7-docker-4c-2g’ 01:53:59 Still waiting to schedule task 01:53:59 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 01:56:16 Running on prd-centos7-docker-4c-2g-1455 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 01:56:16 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 01:56:16 Selected Git installation does not exist. Using Default 01:56:16 The recommended git tool is: NONE 01:56:21 using credential edgex-jenkins-ssh 01:56:21 Cloning the remote Git repository 01:56:21 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:56:21 > git init /w/workspace/device-sdk-go/11 # timeout=10 01:56:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:56:21 > git --version # timeout=10 01:56:21 > git --version # 'git version 2.24.4' 01:56:21 using GIT_SSH to set credentials SSH Credentials for GitHub 01:56:21 [INFO] Currently running in a labeled security context 01:56:21 [INFO] Currently SELinux is 'enforcing' on the host 01:56:21 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/11@tmp/jenkins-gitclient-ssh439071618740149493.key 01:56:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:56:22 Avoid second fetch 01:56:22 Checking out Revision 1b99335a09a4d3b24ee39e90536b9933fcc6f394 (main) 01:56:22 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:56:22 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:56:22 > git config core.sparsecheckout # timeout=10 01:56:22 > git checkout -f 1b99335a09a4d3b24ee39e90536b9933fcc6f394 # timeout=10 01:56:26 Commit message: "Merge pull request #1023 from weichou1229/issue-1021" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:56:26 provisioning config files... 01:56:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config4832374540989714567tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:56:27 ---> docker-login.sh 01:56:27 nexus3.edgexfoundry.org:10001 01:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:27 Configure a credential helper to remove this warning. See 01:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:27 01:56:27 Login Succeeded 01:56:27 nexus3.edgexfoundry.org:10002 01:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:27 Configure a credential helper to remove this warning. See 01:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:27 01:56:27 Login Succeeded 01:56:27 nexus3.edgexfoundry.org:10003 01:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:27 Configure a credential helper to remove this warning. See 01:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:27 01:56:27 Login Succeeded 01:56:27 nexus3.edgexfoundry.org:10004 01:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:27 Configure a credential helper to remove this warning. See 01:56:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:27 01:56:27 Login Succeeded 01:56:27 docker.io 01:56:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:56:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:56:28 Configure a credential helper to remove this warning. See 01:56:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:56:28 01:56:28 Login Succeeded 01:56:28 ---> docker-login.sh ends [Pipeline] } 01:56:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:56:28 ========================================================= 01:56:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] 01:56:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:56:28 + 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 . 01:56:28 Sending build context to Docker daemon 2.622MB 01:56:28 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 01:56:28 Step 2/9 : FROM ${BASE} AS builder 01:56:28 1.16-alpine: Pulling from edgex-devops/edgex-golang-base 01:56:28 540db60ca938: Pulling fs layer 01:56:28 adcc1eea9eea: Pulling fs layer 01:56:28 4c4ab2625f07: Pulling fs layer 01:56:28 db62176df00c: Pulling fs layer 01:56:28 3b30891b0d05: Pulling fs layer 01:56:28 06b49ca38bd5: Pulling fs layer 01:56:28 c788192a36de: Pulling fs layer 01:56:28 a77e37c0d609: Pulling fs layer 01:56:28 c3185cebc471: Pulling fs layer 01:56:28 db62176df00c: Waiting 01:56:28 3b30891b0d05: Waiting 01:56:28 06b49ca38bd5: Waiting 01:56:28 c788192a36de: Waiting 01:56:28 a77e37c0d609: Waiting 01:56:28 c3185cebc471: Waiting 01:56:28 4c4ab2625f07: Verifying Checksum 01:56:28 4c4ab2625f07: Download complete 01:56:29 adcc1eea9eea: Verifying Checksum 01:56:29 adcc1eea9eea: Download complete 01:56:29 3b30891b0d05: Verifying Checksum 01:56:29 3b30891b0d05: Download complete 01:56:29 06b49ca38bd5: Verifying Checksum 01:56:29 06b49ca38bd5: Download complete 01:56:29 540db60ca938: Verifying Checksum 01:56:29 540db60ca938: Download complete 01:56:29 c788192a36de: Verifying Checksum 01:56:29 c788192a36de: Download complete 01:56:29 540db60ca938: Pull complete 01:56:29 a77e37c0d609: Verifying Checksum 01:56:29 a77e37c0d609: Download complete 01:56:29 adcc1eea9eea: Pull complete 01:56:29 4c4ab2625f07: Pull complete 01:56:30 c3185cebc471: Verifying Checksum 01:56:30 c3185cebc471: Download complete 01:56:30 db62176df00c: Verifying Checksum 01:56:30 db62176df00c: Download complete 01:56:34 db62176df00c: Pull complete 01:56:34 3b30891b0d05: Pull complete 01:56:34 06b49ca38bd5: Pull complete 01:56:34 c788192a36de: Pull complete 01:56:34 a77e37c0d609: Pull complete 01:56:37 c3185cebc471: Pull complete 01:56:37 Digest: sha256:c22a6272cb0662d4dba1bb41e7658fbabc00c875dcca5b7a38fb264b4004f4bd 01:56:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine 01:56:37 ---> 031687cdd783 01:56:37 Step 3/9 : WORKDIR /device-sdk-go 01:56:38 ---> Running in 833eaeee00ca 01:56:38 Removing intermediate container 833eaeee00ca 01:56:38 ---> 68f6fb22b299 01:56:38 Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:56:38 ---> Running in b3c1008b63d7 01:56:38 Removing intermediate container b3c1008b63d7 01:56:38 ---> f277706d7991 01:56:38 Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:56:38 ---> Running in 7a0d49ece901 01:56:39 Removing intermediate container 7a0d49ece901 01:56:39 ---> b62ca7819fd0 01:56:39 Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:56:39 ---> Running in a761e08e139d 01:56:39 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:56:40 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:56:40 OK: 219 MiB in 52 packages 01:56:40 Removing intermediate container a761e08e139d 01:56:40 ---> 5f6a6240a4a5 01:56:40 Step 7/9 : COPY . . 01:56:41 ---> c619d6c06e92 01:56:41 Step 8/9 : RUN go mod download 01:56:41 ---> Running in bee30914202e 01:56:49 Removing intermediate container bee30914202e 01:56:49 ---> 3b8ad7a8481c 01:56:49 Step 9/9 : RUN make build 01:56:49 ---> Running in dc2af61b0b48 01:56:49 go mod tidy 01:56:50 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:57:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:57:01 Removing intermediate container dc2af61b0b48 01:57:01 ---> 357fb69f99ff 01:57:01 [Warning] One or more build-args [MAKE] were not consumed 01:57:01 Successfully built 357fb69f99ff 01:57:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:57:01 + docker inspect -f . ci-base-image-x86_64 01:57:01 . [Pipeline] withDockerContainer 01:57:01 prd-centos7-docker-4c-2g-1455 does not seem to be running inside a container 01:57:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-x86_64 cat 01:57:02 $ docker top 4fbe542611711ae8d36afab5c38046085f66b53b3b3b2cc0184b213d80f15510 -eo pid,comm [Pipeline] { [Pipeline] sh 01:57:02 + go version 01:57:02 go version go1.16.6 linux/amd64 [Pipeline] } 01:57:02 $ docker stop --time=1 4fbe542611711ae8d36afab5c38046085f66b53b3b3b2cc0184b213d80f15510 01:57:03 $ docker rm -f 4fbe542611711ae8d36afab5c38046085f66b53b3b3b2cc0184b213d80f15510 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:57:04 + docker inspect -f . ci-base-image-x86_64 01:57:04 . [Pipeline] withDockerContainer 01:57:04 prd-centos7-docker-4c-2g-1455 does not seem to be running inside a container 01:57:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-x86_64 cat 01:57:04 $ docker top 707c059be7e607919af07e82478a0fe4bfe17f9a88efbf4ba3c59ba12b9e97ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:57:05 + go mod tidy [Pipeline] sh 01:57:05 + make test 01:57:05 go mod tidy 01:57:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 01:57:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 01:57:28 Running on prd-ubuntu18.04-docker-arm64-4c-16g-1454 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] ws 01:57:28 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 01:57:29 Selected Git installation does not exist. Using Default 01:57:29 The recommended git tool is: NONE 01:57:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 01:57:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 01:57:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 01:57:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.052s coverage: 23.7% of statements 01:57:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 01:57:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 28.1% of statements 01:57:36 using credential edgex-jenkins-ssh 01:57:36 Cloning the remote Git repository 01:57:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.043s coverage: 78.9% of statements 01:57:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.049s coverage: 9.0% of statements 01:57:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 01:57:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 01:57:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 01:57:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 28.7% of statements 01:57:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 01:57:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:57:36 > git init /w/workspace/device-sdk-go/11 # timeout=10 01:57:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:57:36 > git --version # timeout=10 01:57:36 > git --version # 'git version 2.17.1' 01:57:36 using GIT_SSH to set credentials SSH Credentials for GitHub 01:57:36 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:57:38 Avoid second fetch 01:57:38 Checking out Revision 1b99335a09a4d3b24ee39e90536b9933fcc6f394 (main) 01:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 83.3% of statements 01:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 01:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 01:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 58.0% of statements 01:57:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.800s coverage: 89.2% of statements 01:57:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 01:57:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.048s coverage: 4.9% of statements 01:57:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 01:57:39 GO111MODULE=on go vet ./... 01:57:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:57:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:57:38 > git config core.sparsecheckout # timeout=10 01:57:38 > git checkout -f 1b99335a09a4d3b24ee39e90536b9933fcc6f394 # timeout=10 01:57:43 Commit message: "Merge pull request #1023 from weichou1229/issue-1021" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:57:43 provisioning config files... 01:57:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config8153898266574001543tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:57:44 ---> docker-login.sh 01:57:44 nexus3.edgexfoundry.org:10001 01:57:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:46 Configure a credential helper to remove this warning. See 01:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:46 01:57:46 Login Succeeded 01:57:46 nexus3.edgexfoundry.org:10002 01:57:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:46 Configure a credential helper to remove this warning. See 01:57:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:46 01:57:46 Login Succeeded 01:57:46 nexus3.edgexfoundry.org:10003 01:57:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:47 Configure a credential helper to remove this warning. See 01:57:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:47 01:57:47 Login Succeeded 01:57:47 nexus3.edgexfoundry.org:10004 01:57:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:48 Configure a credential helper to remove this warning. See 01:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:48 01:57:48 Login Succeeded 01:57:48 docker.io 01:57:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:57:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:57:48 Configure a credential helper to remove this warning. See 01:57:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:57:48 01:57:48 Login Succeeded 01:57:49 ---> docker-login.sh ends [Pipeline] } 01:57:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 01:57:49 gofmt -l . 01:57:49 [ "`gofmt -l .`" = "" ] 01:57:49 ./bin/test-attribution-txt.sh 01:57:49 ./bin/test-go-mod-tidy.sh [Pipeline] } 01:57:49 $ docker stop --time=1 707c059be7e607919af07e82478a0fe4bfe17f9a88efbf4ba3c59ba12b9e97ca 01:57:50 $ docker rm -f 707c059be7e607919af07e82478a0fe4bfe17f9a88efbf4ba3c59ba12b9e97ca [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] echo 01:57:50 ========================================================= 01:57:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] 01:57:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:57:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:57:51 + 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 . 01:57:51 Sending build context to Docker daemon 2.611MB 01:57:51 Step 1/9 : ARG BASE=golang:1.16-alpine3.14 01:57:51 Step 2/9 : FROM ${BASE} AS builder 01:57:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) 01:57:53 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:57:53 595b0fe564bb: Pulling fs layer 01:57:53 24495759ef45: Pulling fs layer 01:57:53 d148012ef14d: Pulling fs layer 01:57:53 e90a11edd702: Pulling fs layer 01:57:53 d77568369979: Pulling fs layer 01:57:53 fc1c9f9a7f3b: Pulling fs layer 01:57:53 170f2ba95c9a: Pulling fs layer 01:57:53 97ac5df62f85: Pulling fs layer 01:57:53 fc1c9f9a7f3b: Waiting 01:57:53 170f2ba95c9a: Waiting 01:57:53 97ac5df62f85: Waiting 01:57:53 d77568369979: Waiting 01:57:53 e90a11edd702: Waiting 01:57:53 d148012ef14d: Verifying Checksum 01:57:53 d148012ef14d: Download complete 01:57:53 24495759ef45: Verifying Checksum 01:57:53 24495759ef45: Download complete 01:57:53 d77568369979: Verifying Checksum 01:57:53 d77568369979: Download complete 01:57:53 fc1c9f9a7f3b: Verifying Checksum 01:57:53 fc1c9f9a7f3b: Download complete 01:57:53 170f2ba95c9a: Verifying Checksum 01:57:53 170f2ba95c9a: Download complete 01:57:53 595b0fe564bb: Verifying Checksum 01:57:53 595b0fe564bb: Download complete [Pipeline] sh 01:57:54 595b0fe564bb: Pull complete 01:57:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:57:54 + ls -al . 01:57:54 total 236 01:57:54 drwxrwxr-x. 10 jenkins jenkins 4096 Oct 5 01:57 . 01:57:54 drwxrwxr-x. 4 jenkins jenkins 30 Oct 5 01:56 .. 01:57:54 drwxrwxr-x. 2 jenkins jenkins 64 Oct 5 01:56 bin 01:57:54 -rw-rw-r--. 1 jenkins jenkins 24816 Oct 5 01:56 CHANGELOG.md 01:57:54 -rw-r--r--. 1 jenkins jenkins 125635 Oct 5 01:57 coverage.out 01:57:54 -rw-rw-r--. 1 jenkins jenkins 140 Oct 5 01:56 .dockerignore 01:57:54 drwxrwxr-x. 5 jenkins jenkins 62 Oct 5 01:56 example 01:57:54 drwxrwxr-x. 8 jenkins jenkins 162 Oct 5 01:56 .git 01:57:54 drwxrwxr-x. 3 jenkins jenkins 125 Oct 5 01:56 .github 01:57:54 -rw-rw-r--. 1 jenkins jenkins 138 Oct 5 01:56 .gitignore 01:57:54 -rw-r--r--. 1 jenkins jenkins 576 Oct 5 01:57 go.mod 01:57:54 -rw-r--r--. 1 jenkins jenkins 20493 Oct 5 01:57 go.sum 01:57:54 -rw-rw-r--. 1 jenkins jenkins 677 Oct 5 01:56 GOVERNANCE.md 01:57:54 drwxrwxr-x. 15 jenkins jenkins 224 Oct 5 01:56 internal 01:57:54 -rw-rw-r--. 1 jenkins jenkins 880 Oct 5 01:56 Jenkinsfile 01:57:54 -rw-rw-r--. 1 jenkins jenkins 11341 Oct 5 01:56 LICENSE 01:57:54 -rw-rw-r--. 1 jenkins jenkins 1026 Oct 5 01:56 Makefile 01:57:54 drwxrwxr-x. 3 jenkins jenkins 16 Oct 5 01:56 openapi 01:57:54 -rw-rw-r--. 1 jenkins jenkins 619 Oct 5 01:56 OWNERS.md 01:57:54 drwxrwxr-x. 5 jenkins jenkins 50 Oct 5 01:56 pkg 01:57:54 -rw-rw-r--. 1 jenkins jenkins 7646 Oct 5 01:56 README.md 01:57:54 drwxrwxr-x. 4 jenkins jenkins 54 Oct 5 01:56 snap 01:57:54 -rw-rw-r--. 1 jenkins jenkins 12 Oct 5 01:53 VERSION 01:57:54 -rw-rw-r--. 1 jenkins jenkins 222 Oct 5 01:56 version.go [Pipeline] isUnix [Pipeline] sh 01:57:54 24495759ef45: Pull complete 01:57:54 + docker build -t device-sdk-simple -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg 'MAKE=make build' --build-arg ARCH=amd64 --label git_sha=1b99335a09a4d3b24ee39e90536b9933fcc6f394 --label arch=amd64 --label version=2.0.1-dev.14 . 01:57:54 Sending build context to Docker daemon 2.748MB 01:57:54 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 01:57:54 Step 2/23 : FROM ${BASE} AS builder 01:57:54 ---> 357fb69f99ff 01:57:54 Step 3/23 : WORKDIR /device-sdk-go 01:57:54 ---> Running in f2d87c8398f6 01:57:54 Removing intermediate container f2d87c8398f6 01:57:54 ---> e16c45a8366b 01:57:54 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:57:54 d148012ef14d: Pull complete 01:57:55 ---> Running in a4a8d77deb9f 01:57:55 Removing intermediate container a4a8d77deb9f 01:57:55 ---> e70a70f28733 01:57:55 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:57:55 ---> Running in e0d39b6c4c09 01:57:55 Removing intermediate container e0d39b6c4c09 01:57:55 ---> ef45671f61d6 01:57:55 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:57:55 ---> Running in d326a617de49 01:57:55 fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz 01:57:56 fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz 01:57:56 OK: 219 MiB in 52 packages 01:57:56 97ac5df62f85: Verifying Checksum 01:57:56 97ac5df62f85: Download complete 01:57:57 Removing intermediate container d326a617de49 01:57:57 ---> 0461a23a9b52 01:57:57 Step 7/23 : COPY . . 01:57:57 ---> 9029ddbc62b4 01:57:57 Step 8/23 : RUN go mod download 01:57:57 ---> Running in a346a67992d8 01:57:57 Removing intermediate container a346a67992d8 01:57:57 ---> 9b315ea3660e 01:57:57 Step 9/23 : RUN make build 01:57:57 ---> Running in 5df6097ec239 01:57:58 e90a11edd702: Verifying Checksum 01:57:58 e90a11edd702: Download complete 01:57:58 go mod tidy 01:57:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:57:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:57:58 Removing intermediate container 5df6097ec239 01:57:58 ---> d66fb79715c5 01:57:58 Step 10/23 : FROM alpine:3.14 01:57:59 3.14: Pulling from library/alpine 01:57:59 a0d0a0d46f8b: Pulling fs layer 01:58:00 a0d0a0d46f8b: Verifying Checksum 01:58:00 a0d0a0d46f8b: Download complete 01:58:00 a0d0a0d46f8b: Pull complete 01:58:00 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 01:58:00 Status: Downloaded newer image for alpine:3.14 01:58:00 ---> 14119a10abf4 01:58:00 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:58:00 ---> Running in 1046df06604e 01:58:00 Removing intermediate container 1046df06604e 01:58:00 ---> 3802161dd645 01:58:00 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:58:00 ---> Running in 20d144171c70 01:58:00 Removing intermediate container 20d144171c70 01:58:00 ---> fd7d2c2589d1 01:58:00 Step 13/23 : RUN apk add --update --no-cache zeromq 01:58:00 ---> Running in 2895df772be2 01:58:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:58:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:58:02 (1/5) Installing libgcc (10.3.1_git20210424-r2) 01:58:02 (2/5) Installing libsodium (1.0.18-r0) 01:58:02 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 01:58:02 (4/5) Installing libzmq (4.3.4-r0) 01:58:02 (5/5) Installing zeromq (4.3.4-r0) 01:58:02 Executing busybox-1.33.1-r3.trigger 01:58:02 OK: 8 MiB in 19 packages 01:58:02 Removing intermediate container 2895df772be2 01:58:02 ---> 3e6ff5b58e2b 01:58:02 Step 14/23 : WORKDIR / 01:58:02 ---> Running in ba816ee13e56 01:58:02 Removing intermediate container ba816ee13e56 01:58:02 ---> 1ca6e0150ae5 01:58:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:58:03 ---> fee6d44aeb76 01:58:03 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:58:03 ---> 26e6f898fd2d 01:58:03 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:58:03 ---> b0bea9524446 01:58:03 Step 18/23 : EXPOSE 59999 01:58:03 ---> Running in 2283a98e7f76 01:58:03 Removing intermediate container 2283a98e7f76 01:58:03 ---> 4dc56603ef56 01:58:03 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:58:03 ---> Running in 1b638330cfbb 01:58:03 Removing intermediate container 1b638330cfbb 01:58:03 ---> 8f90a8abe16c 01:58:03 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 01:58:03 ---> Running in 523dadc0c70c 01:58:03 Removing intermediate container 523dadc0c70c 01:58:03 ---> e23fb224fff5 01:58:03 Step 21/23 : LABEL arch=amd64 01:58:04 ---> Running in e75166c2ddfd 01:58:04 Removing intermediate container e75166c2ddfd 01:58:04 ---> 44a211dd2670 01:58:04 Step 22/23 : LABEL git_sha=1b99335a09a4d3b24ee39e90536b9933fcc6f394 01:58:04 ---> Running in 30112027ed6a 01:58:04 Removing intermediate container 30112027ed6a 01:58:04 ---> 414b728bd8d9 01:58:04 Step 23/23 : LABEL version=2.0.1-dev.14 01:58:04 ---> Running in d2e9d0a73993 01:58:04 Removing intermediate container d2e9d0a73993 01:58:04 ---> 4c8eaf47bb77 01:58:04 [Warning] One or more build-args [ARCH MAKE] were not consumed 01:58:04 Successfully built 4c8eaf47bb77 01:58:04 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:58:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:58:05 01:58:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:58:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:58:05 latest: Pulling from edgex-lftools-log-publisher 01:58:05 b4d181a07f80: Pulling fs layer 01:58:05 a1111a8f2ec3: Pulling fs layer 01:58:05 ed53099fbce6: Pulling fs layer 01:58:05 dc539afda2c1: Pulling fs layer 01:58:05 77bc0d833cb6: Pulling fs layer 01:58:05 9065ff56babe: Pulling fs layer 01:58:05 d287ab97295c: Pulling fs layer 01:58:05 9065ff56babe: Waiting 01:58:05 d287ab97295c: Waiting 01:58:05 dc539afda2c1: Waiting 01:58:05 77bc0d833cb6: Waiting 01:58:05 ed53099fbce6: Verifying Checksum 01:58:05 ed53099fbce6: Download complete 01:58:05 dc539afda2c1: Verifying Checksum 01:58:05 dc539afda2c1: Download complete 01:58:05 b4d181a07f80: Verifying Checksum 01:58:05 b4d181a07f80: Download complete 01:58:05 9065ff56babe: Verifying Checksum 01:58:05 9065ff56babe: Download complete 01:58:05 a1111a8f2ec3: Verifying Checksum 01:58:05 a1111a8f2ec3: Download complete 01:58:05 77bc0d833cb6: Verifying Checksum 01:58:05 77bc0d833cb6: Download complete 01:58:06 d287ab97295c: Verifying Checksum 01:58:06 d287ab97295c: Download complete 01:58:07 b4d181a07f80: Pull complete 01:58:07 a1111a8f2ec3: Pull complete 01:58:08 ed53099fbce6: Pull complete 01:58:08 dc539afda2c1: Pull complete 01:58:08 77bc0d833cb6: Pull complete 01:58:08 9065ff56babe: Pull complete 01:58:08 e90a11edd702: Pull complete 01:58:08 d77568369979: Pull complete 01:58:08 fc1c9f9a7f3b: Pull complete 01:58:09 170f2ba95c9a: Pull complete 01:58:13 d287ab97295c: Pull complete 01:58:13 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 01:58:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:58:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:58:13 prd-centos7-docker-4c-2g-1455 does not seem to be running inside a container 01:58:13 $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:58:14 97ac5df62f85: Pull complete 01:58:15 Digest: sha256:84204f9419e0e30039067cc16e8ccc9a99ccb3a3f51ea7567ddff3f7e64b8ba8 01:58:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine 01:58:15 ---> 04bc70af865f 01:58:15 Step 3/9 : WORKDIR /device-sdk-go 01:58:15 $ docker top ad796150d2d9a1fae5b99c0d73423a5f25737e3c836372073460db6276476412 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:58:16 ---> job-cost.sh 01:58:16 lf-activate-venv: SKIPPING 01:58:16 INFO: No Stack... 01:58:16 INFO: Retrieving Pricing Info for: v3-standard-2 01:58:16 INFO: Archiving Costs [Pipeline] sh 01:58:17 + cut -d, -f6 01:58:17 + cat /w/workspace/device-sdk-go/11/archives/cost.csv [Pipeline] lock 01:58:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] 01:58:17 Resource [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] did not exist. Created. 01:58:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:58:17 + echo total: 0.05999999865889549 [Pipeline] stash 01:58:17 Stashed 1 file(s) [Pipeline] } 01:58:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } 01:58:17 $ docker stop --time=1 ad796150d2d9a1fae5b99c0d73423a5f25737e3c836372073460db6276476412 01:58:18 $ docker rm -f ad796150d2d9a1fae5b99c0d73423a5f25737e3c836372073460db6276476412 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 01:58:21 ---> Running in c608068139aa 01:58:21 Removing intermediate container c608068139aa 01:58:21 ---> d691e9f2f348 01:58:21 Step 4/9 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 01:58:22 ---> Running in 1c51545dd03c 01:58:22 Removing intermediate container 1c51545dd03c 01:58:22 ---> 3090fe012794 01:58:22 Step 5/9 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:58:22 ---> Running in 410b32d0a2c4 01:58:26 Removing intermediate container 410b32d0a2c4 01:58:26 ---> 4bc56bd34c0c 01:58:26 Step 6/9 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 01:58:26 ---> Running in 82b29d4e23f9 01:58:26 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 01:58:27 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 01:58:29 OK: 218 MiB in 52 packages 01:58:30 Removing intermediate container 82b29d4e23f9 01:58:30 ---> f6804f50925e 01:58:30 Step 7/9 : COPY . . 01:58:31 ---> 87c52050f1f1 01:58:31 Step 8/9 : RUN go mod download 01:58:31 ---> Running in bc35bc70558d 01:58:58 Removing intermediate container bc35bc70558d 01:58:58 ---> 63a2689f2a5a 01:58:58 Step 9/9 : RUN make build 01:58:58 ---> Running in 512e6e7ed789 01:58:59 go mod tidy 01:59:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 01:59:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 01:59:39 Removing intermediate container 512e6e7ed789 01:59:39 ---> 6eda6602dec9 01:59:39 [Warning] One or more build-args [MAKE] were not consumed 01:59:39 Successfully built 6eda6602dec9 01:59:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:59:39 + docker inspect -f . ci-base-image-arm64 01:59:39 . [Pipeline] withDockerContainer 01:59:40 prd-ubuntu18.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container 01:59:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-arm64 cat 01:59:42 $ docker top 491775caf23e9ca061b7d46867db1e52e94b2902431221e964c6013bb3bc7e80 -eo pid,comm [Pipeline] { [Pipeline] sh 01:59:43 + go version 01:59:43 go version go1.16.6 linux/arm64 [Pipeline] } 01:59:43 $ docker stop --time=1 491775caf23e9ca061b7d46867db1e52e94b2902431221e964c6013bb3bc7e80 01:59:45 $ docker rm -f 491775caf23e9ca061b7d46867db1e52e94b2902431221e964c6013bb3bc7e80 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:59:46 + docker inspect -f . ci-base-image-arm64 01:59:46 . [Pipeline] withDockerContainer 01:59:46 prd-ubuntu18.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container 01:59:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** ci-base-image-arm64 cat 01:59:48 $ docker top 12a67c1155ea9feb348b67c4cee78ebccb3bcd23e35afb9e40e808c6dbebf59b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:59:49 + go mod tidy [Pipeline] sh 01:59:50 + make test 01:59:50 go mod tidy 01:59:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:00:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:01:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:01:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:01:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:01:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.395s coverage: 23.7% of statements 02:01:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:01:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.227s coverage: 28.1% of statements 02:01:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.217s coverage: 78.9% of statements 02:01:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.182s coverage: 9.0% of statements 02:01:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 02:01:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:01:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:01:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.331s coverage: 28.7% of statements 02:01:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.243s coverage: 83.3% of statements 02:01:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:01:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:01:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.387s coverage: 58.0% of statements 02:01:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.063s coverage: 89.2% of statements 02:01:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:01:37 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.169s coverage: 4.9% of statements 02:01:37 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:01:37 GO111MODULE=on go vet ./... 02:02:17 gofmt -l . 02:02:17 [ "`gofmt -l .`" = "" ] 02:02:17 ./bin/test-attribution-txt.sh 02:02:17 ./bin/test-go-mod-tidy.sh [Pipeline] } 02:02:17 $ docker stop --time=1 12a67c1155ea9feb348b67c4cee78ebccb3bcd23e35afb9e40e808c6dbebf59b 02:02:19 $ docker rm -f 12a67c1155ea9feb348b67c4cee78ebccb3bcd23e35afb9e40e808c6dbebf59b [Pipeline] // withDockerContainer [Pipeline] sh 02:02:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:02:20 Warning: overwriting stash ‘coverage-report’ 02:02:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:02:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:02:22 + ls -al . 02:02:22 total 272 02:02:22 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 02:02 . 02:02:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:57 .. 02:02:22 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 01:57 .dockerignore 02:02:22 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 01:57 .git 02:02:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 01:57 .github 02:02:22 -rw-rw-r-- 1 jenkins jenkins 138 Oct 5 01:57 .gitignore 02:02:22 -rw-rw-r-- 1 jenkins jenkins 24816 Oct 5 01:57 CHANGELOG.md 02:02:22 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 01:57 GOVERNANCE.md 02:02:22 -rw-rw-r-- 1 jenkins jenkins 880 Oct 5 01:57 Jenkinsfile 02:02:22 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 01:57 LICENSE 02:02:22 -rw-rw-r-- 1 jenkins jenkins 1026 Oct 5 01:57 Makefile 02:02:22 -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 01:57 OWNERS.md 02:02:22 -rw-rw-r-- 1 jenkins jenkins 7646 Oct 5 01:57 README.md 02:02:22 -rw-rw-r-- 1 jenkins jenkins 12 Oct 5 01:53 VERSION 02:02:22 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 01:57 bin 02:02:22 -rw-r--r-- 1 jenkins jenkins 125634 Oct 5 02:01 coverage.out 02:02:22 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 01:57 example 02:02:22 -rw-r--r-- 1 jenkins jenkins 576 Oct 5 02:02 go.mod 02:02:22 -rw-r--r-- 1 jenkins jenkins 20493 Oct 5 01:59 go.sum 02:02:22 drwxrwxr-x 15 jenkins jenkins 4096 Oct 5 01:57 internal 02:02:22 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 01:57 openapi 02:02:22 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 01:57 pkg 02:02:22 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 01:57 snap 02:02:22 -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 01:57 version.go [Pipeline] isUnix [Pipeline] sh 02:02:22 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=1b99335a09a4d3b24ee39e90536b9933fcc6f394 --label arch=arm64 --label version=2.0.1-dev.14 . 02:02:23 Sending build context to Docker daemon 2.737MB 02:02:23 Step 1/23 : ARG BASE=golang:1.16-alpine3.14 02:02:23 Step 2/23 : FROM ${BASE} AS builder 02:02:23 ---> 6eda6602dec9 02:02:23 Step 3/23 : WORKDIR /device-sdk-go 02:02:23 ---> Running in 4333768522be 02:02:24 Removing intermediate container 4333768522be 02:02:24 ---> 7b90445db34f 02:02:24 Step 4/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:02:24 ---> Running in 3c2b6f52dd0d 02:02:25 Removing intermediate container 3c2b6f52dd0d 02:02:25 ---> 9bf4b22001d9 02:02:25 Step 5/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:02:25 ---> Running in d75adf31e9bd 02:02:27 Removing intermediate container d75adf31e9bd 02:02:27 ---> 1c7bd0a5fec2 02:02:27 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:02:27 ---> Running in 9046a6bf6841 02:02:28 fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz 02:02:32 fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz 02:02:33 OK: 218 MiB in 52 packages 02:02:34 Removing intermediate container 9046a6bf6841 02:02:34 ---> 568cccb3e476 02:02:34 Step 7/23 : COPY . . 02:02:36 ---> 3d3a5169df5b 02:02:36 Step 8/23 : RUN go mod download 02:02:36 ---> Running in 7ae351966391 02:02:39 Removing intermediate container 7ae351966391 02:02:39 ---> f844ed9f8a47 02:02:39 Step 9/23 : RUN make build 02:02:39 ---> Running in 65200ce1ee52 02:02:40 go mod tidy 02:02:40 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.0.1-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 02:02:42 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:02:43 Removing intermediate container 65200ce1ee52 02:02:43 ---> bee7b6847d73 02:02:43 Step 10/23 : FROM alpine:3.14 02:02:44 3.14: Pulling from library/alpine 02:02:44 552d1f2373af: Pulling fs layer 02:02:45 552d1f2373af: Verifying Checksum 02:02:45 552d1f2373af: Download complete 02:02:45 552d1f2373af: Pull complete 02:02:45 Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a 02:02:45 Status: Downloaded newer image for alpine:3.14 02:02:45 ---> bb3de5531c18 02:02:45 Step 11/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:02:45 ---> Running in d23df9266cc4 02:02:46 Removing intermediate container d23df9266cc4 02:02:46 ---> d61642d2f532 02:02:46 Step 12/23 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:02:46 ---> Running in 7709fd282705 02:02:48 Removing intermediate container 7709fd282705 02:02:48 ---> 61a3318fba1b 02:02:48 Step 13/23 : RUN apk add --update --no-cache zeromq 02:02:48 ---> Running in 369b287ea6a7 02:02:50 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:02:51 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:02:52 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:02:52 (2/5) Installing libsodium (1.0.18-r0) 02:02:52 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:02:52 (4/5) Installing libzmq (4.3.4-r0) 02:02:52 (5/5) Installing zeromq (4.3.4-r0) 02:02:52 Executing busybox-1.33.1-r3.trigger 02:02:52 OK: 8 MiB in 19 packages 02:02:53 Removing intermediate container 369b287ea6a7 02:02:53 ---> 8c5b2124642f 02:02:53 Step 14/23 : WORKDIR / 02:02:53 ---> Running in a6aa26bf0e35 02:02:54 Removing intermediate container a6aa26bf0e35 02:02:54 ---> 8e66a1c3f4d0 02:02:54 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:02:54 ---> fda09e41f534 02:02:54 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:02:56 ---> 6d10bc35ef94 02:02:56 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:02:57 ---> 857824e438cf 02:02:57 Step 18/23 : EXPOSE 59999 02:02:57 ---> Running in 377aae9526b2 02:02:57 Removing intermediate container 377aae9526b2 02:02:57 ---> 4274f0cfbaa3 02:02:57 Step 19/23 : ENTRYPOINT ["/device-simple"] 02:02:57 ---> Running in 050ac6eaea79 02:02:58 Removing intermediate container 050ac6eaea79 02:02:58 ---> b1cf5f8d5d63 02:02:58 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:02:58 ---> Running in aec97f483c4c 02:02:59 Removing intermediate container aec97f483c4c 02:02:59 ---> beee139354f5 02:02:59 Step 21/23 : LABEL arch=arm64 02:02:59 ---> Running in ac024935c7ed 02:02:59 Removing intermediate container ac024935c7ed 02:02:59 ---> f48aa14dd815 02:02:59 Step 22/23 : LABEL git_sha=1b99335a09a4d3b24ee39e90536b9933fcc6f394 02:02:59 ---> Running in 208f2ce3ac0d 02:03:00 Removing intermediate container 208f2ce3ac0d 02:03:00 ---> 291e0cd37eb1 02:03:00 Step 23/23 : LABEL version=2.0.1-dev.14 02:03:00 ---> Running in c0d6a1d8adcf 02:03:01 Removing intermediate container c0d6a1d8adcf 02:03:01 ---> bdd5d2405a00 02:03:01 [Warning] One or more build-args [MAKE ARCH] were not consumed 02:03:01 Successfully built bdd5d2405a00 02:03:01 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:03:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:01 02:03:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:03:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:02 arm64: Pulling from edgex-lftools-log-publisher 02:03:02 448f6bf000e3: Pulling fs layer 02:03:02 f757da607395: Pulling fs layer 02:03:02 05883995daec: Pulling fs layer 02:03:02 8603b9c90790: Pulling fs layer 02:03:02 1560dd03e051: Pulling fs layer 02:03:02 27f5ce0e4adf: Pulling fs layer 02:03:02 c2d8d7efcc4b: Pulling fs layer 02:03:02 8603b9c90790: Waiting 02:03:02 1560dd03e051: Waiting 02:03:02 27f5ce0e4adf: Waiting 02:03:02 c2d8d7efcc4b: Waiting 02:03:02 f757da607395: Verifying Checksum 02:03:02 f757da607395: Download complete 02:03:03 05883995daec: Verifying Checksum 02:03:03 05883995daec: Download complete 02:03:03 448f6bf000e3: Verifying Checksum 02:03:03 448f6bf000e3: Download complete 02:03:06 8603b9c90790: Verifying Checksum 02:03:06 8603b9c90790: Download complete 02:03:06 27f5ce0e4adf: Verifying Checksum 02:03:06 1560dd03e051: Verifying Checksum 02:03:06 1560dd03e051: Download complete 02:03:10 448f6bf000e3: Pull complete 02:03:10 c2d8d7efcc4b: Verifying Checksum 02:03:10 c2d8d7efcc4b: Download complete 02:03:10 f757da607395: Pull complete 02:03:12 05883995daec: Pull complete 02:03:12 8603b9c90790: Pull complete 02:03:13 1560dd03e051: Pull complete 02:03:13 27f5ce0e4adf: Pull complete 02:03:28 c2d8d7efcc4b: Pull complete 02:03:28 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 02:03:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:03:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:03:29 prd-ubuntu18.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container 02:03:29 $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:03:33 $ docker top 21020de426d4d65be7aa5a1fa3027a9a3f00206da7a12833132f984ddb897ead -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:03:35 ---> job-cost.sh 02:03:35 lf-activate-venv: SKIPPING 02:03:35 INFO: No Stack... 02:03:35 INFO: Retrieving Pricing Info for: v3-standard-4 02:03:36 INFO: Archiving Costs [Pipeline] sh 02:03:37 + cat /w/workspace/device-sdk-go/11/archives/cost.csv 02:03:37 + cut -d, -f6 [Pipeline] lock 02:03:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] 02:03:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] did not exist. Created. 02:03:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:03:37 /w/workspace/device-sdk-go/11@tmp/durable-2eeb990b/script.sh: 1: /w/workspace/device-sdk-go/11@tmp/durable-2eeb990b/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 02:03:38 + echo total: 0.10999999940395355 [Pipeline] stash 02:03:38 Warning: overwriting stash ‘stack-cost’ 02:03:38 Stashed 1 file(s) [Pipeline] } 02:03:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-11-stack-cost] [Pipeline] // lock [Pipeline] } 02:03:38 $ docker stop --time=1 21020de426d4d65be7aa5a1fa3027a9a3f00206da7a12833132f984ddb897ead 02:03:40 $ docker rm -f 21020de426d4d65be7aa5a1fa3027a9a3f00206da7a12833132f984ddb897ead [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 02:03:42 provisioning config files... 02:03:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7731300221261761897tmp [Pipeline] { [Pipeline] sh 02:03:43 + set +x 02:03:43 + bash -s -- 02:03:43 + curl -s https://codecov.io/bash 02:03:43 02:03:43 _____ _ 02:03:43 / ____| | | 02:03:43 | | ___ __| | ___ ___ _____ __ 02:03:43 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:03:43 | |___| (_) | (_| | __/ (_| (_) \ V / 02:03:43 \_____\___/ \__,_|\___|\___\___/ \_/ 02:03:43 Bash-1.0.6 02:03:43 02:03:43 02:03:43 ==> git version 2.24.4 found 02:03:43 ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 02:03:43 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 02:03:43 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 02:03:43 ==> Jenkins CI detected. 02:03:43 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 02:03:43 project root: . 02:03:43 --> token set from env 02:03:43 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:03:43 ==> Running gcov in . (disable via -X gcov) 02:03:43 ==> Python coveragepy not found 02:03:43 ==> Searching for coverage reports in: 02:03:43 + . 02:03:43 -> Found 1 reports 02:03:43 ==> Detecting git/mercurial file structure 02:03:43 ==> Reading reports 02:03:43 + ./coverage.out bytes=125634 02:03:43 ==> Appending adjustments 02:03:43 https://docs.codecov.io/docs/fixing-reports 02:03:43 + Found adjustments 02:03:43 ==> Gzipping contents 02:03:43 16K /tmp/codecov.F4edBs.gz 02:03:43 ==> Uploading reports 02:03:43 url: https://codecov.io 02:03:43 query: branch=main&commit=1b99335a09a4d3b24ee39e90536b9933fcc6f394&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:03:43 -> Pinging Codecov 02:03:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=1b99335a09a4d3b24ee39e90536b9933fcc6f394&build=11&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F11%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 02:03:44 -> Uploading to 02:03:44 https://storage.googleapis.com/codecov/v4/raw/2021-10-05/7E55EF52A471D76F132DFD9A03CDDE97/1b99335a09a4d3b24ee39e90536b9933fcc6f394/0a198cf4-8faa-4cf9-bb4d-ce07472ef564.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211005T020343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ea2e3dc3f344e29bddad9640e02bfc9e44867db0448d6622e2093075e0d318e 02:03:44 % Total % Received % Xferd Average Speed Time Time Time Current 02:03:44 Dload Upload Total Spent Left Speed 02:03:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16000 0 0 100 16000 0 46815 --:--:-- --:--:-- --:--:-- 46920 02:03:44 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1b99335a09a4d3b24ee39e90536b9933fcc6f394 [Pipeline] } 02:03:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 02:03:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 02:03:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:03:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:03:45 02:03:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 02:03:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:03:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 02:03:45 188c0c94c7c5: Pulling fs layer 02:03:45 0ef7d3d256c8: Pulling fs layer 02:03:45 de9db76c5a1d: Pulling fs layer 02:03:45 0eba1c9be4d2: Pulling fs layer 02:03:45 0d57e429df01: Pulling fs layer 02:03:45 4e4be7b47b0d: Pulling fs layer 02:03:45 e1f770b5df2f: Pulling fs layer 02:03:45 85a0685a4137: Pulling fs layer 02:03:45 0d57e429df01: Waiting 02:03:45 4e4be7b47b0d: Waiting 02:03:45 e1f770b5df2f: Waiting 02:03:45 85a0685a4137: Waiting 02:03:45 de9db76c5a1d: Verifying Checksum 02:03:45 de9db76c5a1d: Download complete 02:03:45 0ef7d3d256c8: Verifying Checksum 02:03:45 0ef7d3d256c8: Download complete 02:03:45 0d57e429df01: Verifying Checksum 02:03:45 0d57e429df01: Download complete 02:03:46 4e4be7b47b0d: Verifying Checksum 02:03:46 4e4be7b47b0d: Download complete 02:03:46 188c0c94c7c5: Verifying Checksum 02:03:46 188c0c94c7c5: Download complete 02:03:46 188c0c94c7c5: Pull complete 02:03:46 0ef7d3d256c8: Pull complete 02:03:46 de9db76c5a1d: Pull complete 02:03:46 e1f770b5df2f: Verifying Checksum 02:03:46 e1f770b5df2f: Download complete 02:03:47 0eba1c9be4d2: Verifying Checksum 02:03:47 0eba1c9be4d2: Download complete 02:03:48 85a0685a4137: Verifying Checksum 02:03:48 85a0685a4137: Download complete 02:03:51 0eba1c9be4d2: Pull complete 02:03:51 0d57e429df01: Pull complete 02:03:51 4e4be7b47b0d: Pull complete 02:03:52 e1f770b5df2f: Pull complete 02:03:56 85a0685a4137: Pull complete 02:03:56 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 02:03:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 02:03:56 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 02:03:56 prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container 02:03:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 02:03:58 $ docker top fab572e525a3b255f0e6736ce2b8133b5e03e51243c23fbc5cac4dc9ed18c821 -eo pid,comm [Pipeline] { [Pipeline] echo 02:03:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 02:03:58 + set -o pipefail 02:03:58 + snyk monitor '--org=edgex-jenkins' 02:04:07 02:04:07 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 02:04:07 02:04:07 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/87807c40-81d9-4100-b294-6f53548d25a3 02:04:07 02:04:07 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 02:04:07 02:04:07 02:04:07 You are approaching your monthly limit of 200 private tests for your edgex-jenkins org. 02:04:07 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 02:04:07 $ docker stop --time=1 fab572e525a3b255f0e6736ce2b8133b5e03e51243c23fbc5cac4dc9ed18c821 02:04:09 $ docker rm -f fab572e525a3b255f0e6736ce2b8133b5e03e51243c23fbc5cac4dc9ed18c821 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) [Pipeline] echo 02:04:09 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:04:09 provisioning config files... 02:04:09 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3507433912510329355tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:04:10 --> edgex-publish-swagger.sh 02:04:10 === Publish openapi/v2 API === 02:04:10 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 02:04:10 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 02:04:10 % Total % Received % Xferd Average Speed Time Time Time Current 02:04:10 Dload Upload Total Spent Left Speed 02:04:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51485 0 0 100 51485 0 65872 --:--:-- --:--:-- --:--:-- 65837 100 51485 0 0 100 51485 0 65862 --:--:-- --:--:-- --:--:-- 65837 02:04:10 02:04:10 [Pipeline] } 02:04:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:04:11 + git log --format=format:%s -1 1b99335a09a4d3b24ee39e90536b9933fcc6f394 [Pipeline] isUnix [Pipeline] sh 02:04:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:04:11 . [Pipeline] withDockerContainer 02:04:11 prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container 02:04:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:04:12 $ docker top 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:04:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:12 [ssh-agent] Looking for ssh-agent implementation... 02:04:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:12 $ docker exec 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b ssh-agent 02:04:13 SSH_AUTH_SOCK=/tmp/ssh-ZWEAu7I6wLqC/agent.15 02:04:13 SSH_AGENT_PID=21 02:04:13 Running ssh-add (command line suppressed) 02:04:13 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7346974861552055380.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7346974861552055380.key) 02:04:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:13 + git semver tag 02:04:13 # -> Open(): unable to determine branch for HEAD 02:04:13 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 02:04:13 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 02:04:13 # $SEMVER_REMOTE_NAME = origin 02:04:13 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:04:13 # $SEMVER_USER_NAME = edgex-jenkins 02:04:13 # $SEMVER_BRANCH = main 02:04:13 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 02:04:13 # 1b99335a09a4d3b24ee39e90536b9933fcc6f394 HEAD 02:04:13 # -> Force: false 02:04:13 # e706108ee14be4261d557510865f5f730c268f3a refs/tags/v2.0.1-dev.14 [Pipeline] } 02:04:13 $ docker exec --env ******** --env ******** 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b ssh-agent -k 02:04:13 unset SSH_AUTH_SOCK; 02:04:13 unset SSH_AGENT_PID; 02:04:13 echo Agent pid 21 killed; 02:04:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:04:14 + git semver [Pipeline] } 02:04:14 $ docker stop --time=1 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b 02:04:15 $ docker rm -f 358d2cd8bc8b07759c2cc6a54e637f5d03762d6b0a6f0502cb7e9cf9010bb88b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 02:04:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:04:15 02:04:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 02:04:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:04:16 0.23.1-centos7: Pulling from edgex-lftools 02:04:16 ab5ef0e58194: Pulling fs layer 02:04:16 9712f1f96733: Pulling fs layer 02:04:16 63f879dbbcfc: Pulling fs layer 02:04:16 0d9ebad4ef96: Pulling fs layer 02:04:16 e9a5061849ea: Pulling fs layer 02:04:16 d747dcd14b5f: Pulling fs layer 02:04:16 2de7ff778b66: Pulling fs layer 02:04:16 e9a5061849ea: Waiting 02:04:16 d747dcd14b5f: Waiting 02:04:16 2de7ff778b66: Waiting 02:04:16 0d9ebad4ef96: Waiting 02:04:16 9712f1f96733: Verifying Checksum 02:04:16 9712f1f96733: Download complete 02:04:17 63f879dbbcfc: Verifying Checksum 02:04:17 63f879dbbcfc: Download complete 02:04:17 e9a5061849ea: Verifying Checksum 02:04:17 e9a5061849ea: Download complete 02:04:17 d747dcd14b5f: Verifying Checksum 02:04:17 d747dcd14b5f: Download complete 02:04:17 ab5ef0e58194: Verifying Checksum 02:04:17 ab5ef0e58194: Download complete 02:04:17 0d9ebad4ef96: Verifying Checksum 02:04:17 0d9ebad4ef96: Download complete 02:04:18 2de7ff778b66: Verifying Checksum 02:04:18 2de7ff778b66: Download complete 02:04:20 ab5ef0e58194: Pull complete 02:04:20 9712f1f96733: Pull complete 02:04:21 63f879dbbcfc: Pull complete 02:04:25 0d9ebad4ef96: Pull complete 02:04:25 e9a5061849ea: Pull complete 02:04:25 d747dcd14b5f: Pull complete 02:04:27 2de7ff778b66: Pull complete 02:04:27 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 02:04:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 02:04:27 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 02:04:27 prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container 02:04:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 02:04:30 $ docker top a062b1ba8cb486bb484c82932d51a2f7be869c8b7e7f609f6600360b853ea886 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 02:04:30 provisioning config files... 02:04:30 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config8304979885110021695tmp 02:04:30 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config3326095369021173340tmp 02:04:30 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config2720251192189208702tmp [Pipeline] { [Pipeline] echo 02:04:30 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 02:04:30 ---> sigul-configuration.sh 02:04:30 gpg: directory `/root/.gnupg' created 02:04:30 gpg: new configuration file `/root/.gnupg/gpg.conf' created 02:04:30 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 02:04:30 gpg: keyring `/root/.gnupg/secring.gpg' created 02:04:30 gpg: keyring `/root/.gnupg/pubring.gpg' created 02:04:30 gpg: CAST5 encrypted data 02:04:30 gpg: encrypted with 1 passphrase 02:04:30 gpg: WARNING: message was not integrity protected [Pipeline] sh 02:04:31 + mkdir /home/jenkins 02:04:31 + mkdir /home/jenkins/sigul [Pipeline] sh 02:04:31 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 02:04:31 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 02:04:31 ---> sigul-install.sh 02:04:31 Sigul already installed; skipping installation. [Pipeline] sh 02:04:32 + git tag --list 02:04:32 0.7.1 02:04:32 delhi-tag 02:04:32 v1.0.0 02:04:32 v1.1.0 02:04:32 v1.1.1 02:04:32 v1.1.2 02:04:32 v1.2.0 02:04:32 v1.2.1 02:04:32 v1.2.2 02:04:32 v1.2.3 02:04:32 v1.3.0 02:04:32 v1.4.0 02:04:32 v2.0.0 02:04:32 v2.0.1-dev.1 02:04:32 v2.0.1-dev.10 02:04:32 v2.0.1-dev.11 02:04:32 v2.0.1-dev.12 02:04:32 v2.0.1-dev.13 02:04:32 v2.0.1-dev.14 02:04:32 v2.0.1-dev.2 02:04:32 v2.0.1-dev.3 02:04:32 v2.0.1-dev.4 02:04:32 v2.0.1-dev.5 02:04:32 v2.0.1-dev.6 02:04:32 v2.0.1-dev.7 02:04:32 v2.0.1-dev.8 02:04:32 v2.0.1-dev.9 [Pipeline] sh 02:04:32 + lftools sign git-tag v2.0.1-dev.14 02:04:33 Signing Git tag with Sigul... 02:04:33 Signing v2.0.1-dev.14 [Pipeline] echo 02:04:34 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 02:04:34 ---> sigul-configuration-cleanup.sh [Pipeline] } 02:04:34 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 02:04:34 $ docker stop --time=1 a062b1ba8cb486bb484c82932d51a2f7be869c8b7e7f609f6600360b853ea886 02:04:35 $ docker rm -f a062b1ba8cb486bb484c82932d51a2f7be869c8b7e7f609f6600360b853ea886 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 02:04:36 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:04:36 . [Pipeline] withDockerContainer 02:04:36 prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container 02:04:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:04:37 $ docker top 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:04:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:37 [ssh-agent] Looking for ssh-agent implementation... 02:04:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:37 $ docker exec 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 ssh-agent 02:04:37 SSH_AUTH_SOCK=/tmp/ssh-kQ9pbUtvUFqo/agent.13 02:04:37 SSH_AGENT_PID=19 02:04:37 Running ssh-add (command line suppressed) 02:04:37 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2392295898017639242.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2392295898017639242.key) 02:04:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:38 + git semver bump pre 02:04:38 # -> Open(): unable to determine branch for HEAD 02:04:38 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 02:04:38 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 02:04:38 # $SEMVER_REMOTE_NAME = origin 02:04:38 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:04:38 # $SEMVER_USER_NAME = edgex-jenkins 02:04:38 # $SEMVER_BRANCH = main 02:04:38 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 02:04:38 2.0.1-dev.15 [Pipeline] } 02:04:38 $ docker exec --env ******** --env ******** 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 ssh-agent -k 02:04:38 unset SSH_AUTH_SOCK; 02:04:38 unset SSH_AGENT_PID; 02:04:38 echo Agent pid 19 killed; 02:04:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:04:38 + git semver [Pipeline] } 02:04:38 $ docker stop --time=1 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 02:04:39 $ docker rm -f 3c078616073e93e35f16681ba7a18e9a794abe1b1753dce3cb476cb34e90bd37 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 02:04:40 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:04:40 . [Pipeline] withDockerContainer 02:04:40 prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container 02:04:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:04:41 $ docker top 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:04:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:04:41 [ssh-agent] Looking for ssh-agent implementation... 02:04:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:04:41 $ docker exec 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f ssh-agent 02:04:41 SSH_AUTH_SOCK=/tmp/ssh-OAleC1ex5r8f/agent.14 02:04:41 SSH_AGENT_PID=20 02:04:41 Running ssh-add (command line suppressed) 02:04:41 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7977985172733691043.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7977985172733691043.key) 02:04:41 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:04:42 + git semver push 02:04:42 # -> Open(): unable to determine branch for HEAD 02:04:42 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 02:04:42 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 02:04:42 # $SEMVER_REMOTE_NAME = origin 02:04:42 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:04:42 # $SEMVER_USER_NAME = edgex-jenkins 02:04:42 # $SEMVER_BRANCH = main 02:04:42 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 02:04:44 $ docker exec --env ******** --env ******** 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f ssh-agent -k 02:04:44 unset SSH_AUTH_SOCK; 02:04:44 unset SSH_AGENT_PID; 02:04:44 echo Agent pid 20 killed; 02:04:44 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:04:44 + git semver [Pipeline] } 02:04:44 $ docker stop --time=1 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f 02:04:46 $ docker rm -f 966f9530480b80e1f0dc214d9743b3023cb1dc49ab333cc933c6aa7f704bbe9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 02:04:47 + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' [Pipeline] libraryResource [Pipeline] sh 02:04:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:04:48 ---> package-listing.sh 02:04:48 ++ facter osfamily 02:04:48 ++ tr '[:upper:]' '[:lower:]' 02:04:48 + OS_FAMILY=redhat 02:04:48 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 02:04:48 + START_PACKAGES=/tmp/packages_start.txt 02:04:48 + END_PACKAGES=/tmp/packages_end.txt 02:04:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:04:48 + PACKAGES=/tmp/packages_start.txt 02:04:48 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:04:48 + PACKAGES=/tmp/packages_end.txt 02:04:48 + case "${OS_FAMILY}" in 02:04:48 + rpm -qa 02:04:48 + sort 02:04:49 + '[' -f /tmp/packages_start.txt ']' 02:04:49 + '[' -f /tmp/packages_end.txt ']' 02:04:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:04:49 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 02:04:49 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 02:04:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 02:04:49 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:04:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:04:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:50 02:04:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:04:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:50 latest: Pulling from edgex-lftools-log-publisher 02:04:50 b4d181a07f80: Pulling fs layer 02:04:50 a1111a8f2ec3: Pulling fs layer 02:04:50 ed53099fbce6: Pulling fs layer 02:04:50 dc539afda2c1: Pulling fs layer 02:04:50 77bc0d833cb6: Pulling fs layer 02:04:50 9065ff56babe: Pulling fs layer 02:04:50 d287ab97295c: Pulling fs layer 02:04:50 dc539afda2c1: Waiting 02:04:50 77bc0d833cb6: Waiting 02:04:50 9065ff56babe: Waiting 02:04:50 d287ab97295c: Waiting 02:04:50 a1111a8f2ec3: Verifying Checksum 02:04:50 a1111a8f2ec3: Download complete 02:04:50 dc539afda2c1: Verifying Checksum 02:04:50 dc539afda2c1: Download complete 02:04:50 ed53099fbce6: Verifying Checksum 02:04:50 ed53099fbce6: Download complete 02:04:50 77bc0d833cb6: Verifying Checksum 02:04:50 77bc0d833cb6: Download complete 02:04:50 b4d181a07f80: Verifying Checksum 02:04:50 b4d181a07f80: Download complete 02:04:50 9065ff56babe: Verifying Checksum 02:04:50 9065ff56babe: Download complete 02:04:51 d287ab97295c: Verifying Checksum 02:04:51 d287ab97295c: Download complete 02:04:52 b4d181a07f80: Pull complete 02:04:52 a1111a8f2ec3: Pull complete 02:04:53 ed53099fbce6: Pull complete 02:04:53 dc539afda2c1: Pull complete 02:04:53 77bc0d833cb6: Pull complete 02:04:53 9065ff56babe: Pull complete 02:04:58 d287ab97295c: Pull complete 02:04:58 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 02:04:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:04:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:04:58 prd-centos7-docker-4c-2g-1452 does not seem to be running inside a container 02:04:58 $ 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/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:05:01 $ docker top 84be5a33c9020a562242e2660e489b2fd0f41c650814de26a05ad3f8d9c37e8f -eo pid,comm [Pipeline] { [Pipeline] sh 02:05:01 + touch /tmp/pre-build-complete [Pipeline] sh 02:05:01 + mkdir -p /var/log/sysstat [Pipeline] sh 02:05:02 + ls /var/log/sa-host 02:05:02 + sadf -c /var/log/sa-host/sa05 02:05:02 file_magic: OK 02:05:02 HZ: Using current value: 100 02:05:02 file_header: OK 02:05:02 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 02:05:02 Statistics: 02:05:02 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 02:05:02 File successfully converted to sysstat format version 12.0.3 02:05:02 + sadf -c /var/log/sa-host/sa30 02:05:02 file_magic: OK 02:05:02 HZ: Using current value: 100 02:05:02 file_header: OK 02:05:02 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 02:05:02 Statistics: 02:05:02 Hnuu...uuuununununu...Hnuu...uuuununununu... 02:05:02 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:05:02 provisioning config files... 02:05:02 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config390476372921303181tmp [Pipeline] { [Pipeline] echo 02:05:02 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:05:03 ---> create-netrc.sh [Pipeline] } 02:05:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:05:03 ---> python-tools-install.sh [Pipeline] echo 02:05:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:05:04 ---> sudo-logs.sh 02:05:04 Archiving 'sudo' log.. 02:05:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-1452.novalocal: Name or service not known 02:05:04 sudo: unable to resolve host prd-centos7-docker-4c-2g-1452.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 02:05:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:05:04 ---> job-cost.sh 02:05:04 lf-activate-venv: SKIPPING 02:05:04 DEBUG: total: 0.10999999940395355 02:05:04 INFO: Retrieving Stack Cost... 02:05:05 INFO: Retrieving Pricing Info for: v3-standard-2 02:05:05 INFO: Archiving Costs [Pipeline] echo 02:05:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:05:06 ---> logs-deploy.sh 02:05:06 lf-activate-venv: SKIPPING 02:05:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/11 02:05:06 INFO: archiving workspace using pattern(s): 02:05:06 Archives upload complete. 02:05:06 INFO: archiving logs to Nexus 02:05:07 ---> uname -a: 02:05:07 Linux prd-centos7-docker-4c-2g-1452.novalocal 3.10.0-1160.42.2.el7.x86_64 #1 SMP Tue Sep 7 14:49:57 UTC 2021 x86_64 GNU/Linux 02:05:07 02:05:07 02:05:07 ---> lscpu: 02:05:07 Architecture: x86_64 02:05:07 CPU op-mode(s): 32-bit, 64-bit 02:05:07 Byte Order: Little Endian 02:05:07 Address sizes: 40 bits physical, 48 bits virtual 02:05:07 CPU(s): 2 02:05:07 On-line CPU(s) list: 0,1 02:05:07 Thread(s) per core: 1 02:05:07 Core(s) per socket: 1 02:05:07 Socket(s): 2 02:05:07 NUMA node(s): 1 02:05:07 Vendor ID: AuthenticAMD 02:05:07 CPU family: 23 02:05:07 Model: 49 02:05:07 Model name: AMD EPYC-Rome Processor 02:05:07 Stepping: 0 02:05:07 CPU MHz: 2799.998 02:05:07 BogoMIPS: 5599.99 02:05:07 Virtualization: AMD-V 02:05:07 Hypervisor vendor: KVM 02:05:07 Virtualization type: full 02:05:07 L1d cache: 32K 02:05:07 L1i cache: 32K 02:05:07 L2 cache: 512K 02:05:07 L3 cache: 16384K 02:05:07 NUMA node0 CPU(s): 0,1 02:05:07 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 02:05:07 02:05:07 02:05:07 ---> nproc: 02:05:07 2 02:05:07 02:05:07 02:05:07 ---> df -h: 02:05:07 Filesystem Size Used Avail Use% Mounted on 02:05:07 overlay 40G 9.0G 32G 23% / 02:05:07 tmpfs 64M 0 64M 0% /dev 02:05:07 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 02:05:07 shm 64M 0 64M 0% /dev/shm 02:05:07 /dev/vda1 40G 9.0G 32G 23% /facter-os 02:05:07 02:05:07 02:05:07 ---> sar -b -r -n DEV: 02:05:07 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) 02:05:07 02:05:07 01:52:33 LINUX RESTART (2 CPU) 02:05:07 02:05:07 01:53:01 tps rtps wtps bread/s bwrtn/s 02:05:07 01:54:03 184.92 55.23 129.69 7491.48 39804.54 02:05:07 01:55:01 3.17 0.05 3.12 1.65 102.40 02:05:07 01:56:01 0.57 0.00 0.57 0.00 8.88 02:05:07 01:57:01 0.15 0.00 0.15 0.00 2.32 02:05:07 01:58:01 0.30 0.00 0.30 0.00 3.93 02:05:07 01:59:01 0.28 0.00 0.28 0.00 3.73 02:05:07 02:00:01 0.20 0.00 0.20 0.00 1.90 02:05:07 02:01:01 0.27 0.02 0.25 0.13 3.78 02:05:07 02:02:01 0.45 0.08 0.37 1.60 5.06 02:05:07 02:03:01 0.20 0.00 0.20 0.00 2.57 02:05:07 02:04:01 71.52 0.03 71.49 3.73 27018.65 02:05:07 02:05:01 193.04 0.13 192.91 10.66 45249.88 02:05:07 Average: 38.03 4.64 33.39 627.93 9379.99 02:05:07 02:05:07 01:53:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 02:05:07 01:54:03 5672892 0 626476 7.82 2620 1706952 1248464 13.78 565148 1532804 128 02:05:07 01:55:01 5684140 0 615220 7.68 2620 1706960 1161668 12.83 556340 1532768 16 02:05:07 01:56:01 5679748 0 619612 7.74 2620 1706960 1162032 12.83 560108 1532904 20 02:05:07 01:57:01 5676100 0 623248 7.78 2620 1706972 1162056 12.83 563620 1532904 8 02:05:07 01:58:01 5679904 0 619440 7.73 2620 1706976 1161936 12.83 559500 1533640 8 02:05:07 01:59:01 5679380 0 619904 7.74 2620 1707036 1161876 12.83 560216 1533656 20 02:05:07 02:00:01 5680336 0 619000 7.73 2620 1706984 1161732 12.83 559352 1533656 20 02:05:07 02:01:01 5678924 0 620408 7.75 2620 1706988 1164500 12.86 560108 1533656 8 02:05:07 02:02:01 5670220 0 628988 7.85 2620 1707112 1162240 12.83 568940 1533736 8 02:05:07 02:03:01 5670572 0 628628 7.85 2620 1707120 1162240 12.83 571028 1531680 8 02:05:07 02:04:01 4752944 0 827328 10.33 2620 2426048 1441088 15.91 768200 2165504 480 02:05:07 02:05:01 3402964 0 1083812 13.53 2620 3519544 1397668 15.43 1073824 2989564 52 02:05:07 Average: 5410677 0 677672 8.46 2620 1917971 1212292 13.38 622199 1707206 65 02:05:07 02:05:07 01:53:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 02:05:07 01:54:03 eth0 333.64 241.63 1033.86 73.79 0.00 0.00 0.00 0.00 02:05:07 01:54:03 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:54:03 docker0 7.79 4.48 1.46 27.93 0.00 0.00 0.00 0.00 02:05:07 01:55:01 eth0 0.72 0.10 0.06 0.03 0.00 0.00 0.00 0.00 02:05:07 01:55:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:55:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:56:01 eth0 2.07 0.67 1.50 0.19 0.00 0.00 0.00 0.00 02:05:07 01:56:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:56:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:57:01 eth0 0.88 0.43 0.45 0.24 0.00 0.00 0.00 0.00 02:05:07 01:57:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:57:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:58:01 eth0 0.62 0.35 0.28 0.14 0.00 0.00 0.00 0.00 02:05:07 01:58:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:58:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:59:01 eth0 0.40 0.23 0.15 0.13 0.00 0.00 0.00 0.00 02:05:07 01:59:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 01:59:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:00:01 eth0 0.17 0.08 0.01 0.01 0.00 0.00 0.00 0.00 02:05:07 02:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:01:01 eth0 0.23 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:05:07 02:01:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:02:01 eth0 0.12 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:05:07 02:02:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:03:01 eth0 0.18 0.10 0.01 0.01 0.00 0.00 0.00 0.00 02:05:07 02:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:04:01 vethf9f134b 7.50 8.81 0.80 8.28 0.00 0.00 0.00 0.00 02:05:07 02:04:01 eth0 377.58 294.20 4088.18 27.19 0.00 0.00 0.00 0.00 02:05:07 02:04:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:04:01 docker0 7.50 8.71 0.70 8.28 0.00 0.00 0.00 0.00 02:05:07 02:05:01 eth0 649.53 478.47 6249.62 145.00 0.00 0.00 0.00 0.00 02:05:07 02:05:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 02:05:01 docker0 80.50 89.53 6.86 385.26 0.00 0.00 0.00 0.00 02:05:07 Average: eth0 114.20 84.97 950.73 20.63 0.00 0.00 0.00 0.00 02:05:07 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 02:05:07 Average: docker0 8.01 8.59 0.75 35.23 0.00 0.00 0.00 0.00 02:05:07 02:05:07 02:05:07 ---> sar -P ALL: 02:05:07 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) 02:05:07 02:05:07 01:52:33 LINUX RESTART (2 CPU) 02:05:07 02:05:07 01:53:01 CPU %user %nice %system %iowait %steal %idle 02:05:07 01:54:03 all 19.03 0.00 5.79 5.99 0.08 69.12 02:05:07 01:54:03 0 19.32 0.00 6.36 5.70 0.09 68.53 02:05:07 01:54:03 1 18.73 0.00 5.22 6.27 0.07 69.70 02:05:07 01:55:01 all 0.11 0.00 0.05 0.00 0.03 99.81 02:05:07 01:55:01 0 0.07 0.00 0.05 0.00 0.03 99.84 02:05:07 01:55:01 1 0.16 0.00 0.05 0.00 0.02 99.78 02:05:07 01:56:01 all 0.17 0.00 0.04 0.00 0.03 99.76 02:05:07 01:56:01 0 0.12 0.00 0.05 0.00 0.03 99.80 02:05:07 01:56:01 1 0.22 0.00 0.03 0.00 0.03 99.72 02:05:07 01:57:01 all 0.16 0.00 0.02 0.00 0.03 99.80 02:05:07 01:57:01 0 0.28 0.00 0.02 0.00 0.03 99.67 02:05:07 01:57:01 1 0.03 0.00 0.02 0.00 0.02 99.93 02:05:07 01:58:01 all 0.16 0.00 0.03 0.00 0.02 99.80 02:05:07 01:58:01 0 0.27 0.00 0.02 0.00 0.02 99.70 02:05:07 01:58:01 1 0.05 0.00 0.03 0.00 0.02 99.90 02:05:07 01:59:01 all 0.14 0.00 0.02 0.00 0.03 99.81 02:05:07 01:59:01 0 0.27 0.00 0.02 0.00 0.03 99.68 02:05:07 01:59:01 1 0.02 0.00 0.02 0.00 0.03 99.93 02:05:07 02:00:01 all 0.20 0.00 0.03 0.00 0.03 99.75 02:05:07 02:00:01 0 0.35 0.00 0.03 0.00 0.03 99.58 02:05:07 02:00:01 1 0.05 0.00 0.02 0.00 0.02 99.92 02:05:07 02:01:01 all 0.09 0.00 0.05 0.00 0.03 99.83 02:05:07 02:01:01 0 0.08 0.00 0.05 0.00 0.03 99.83 02:05:07 02:01:01 1 0.10 0.00 0.05 0.00 0.02 99.83 02:05:07 02:02:01 all 0.15 0.00 0.05 0.00 0.02 99.78 02:05:07 02:02:01 0 0.03 0.00 0.05 0.00 0.02 99.90 02:05:07 02:02:01 1 0.27 0.00 0.05 0.00 0.02 99.67 02:05:07 02:03:01 all 0.21 0.00 0.03 0.00 0.03 99.73 02:05:07 02:03:01 0 0.03 0.00 0.03 0.00 0.02 99.92 02:05:07 02:03:01 1 0.38 0.00 0.03 0.00 0.03 99.55 02:05:07 02:04:01 all 9.54 0.00 3.56 0.77 0.04 86.09 02:05:07 02:04:01 0 9.25 0.00 3.82 0.84 0.03 86.06 02:05:07 02:04:01 1 9.82 0.00 3.30 0.70 0.05 86.13 02:05:07 02:05:07 02:04:01 CPU %user %nice %system %iowait %steal %idle 02:05:07 02:05:01 all 24.20 0.00 10.13 2.28 0.09 63.30 02:05:07 02:05:01 0 24.63 0.00 10.26 2.45 0.09 62.57 02:05:07 02:05:01 1 23.78 0.00 9.99 2.12 0.09 64.02 02:05:07 Average: all 4.38 0.00 1.60 0.73 0.04 93.25 02:05:07 Average: 0 4.42 0.00 1.68 0.73 0.04 93.14 02:05:07 Average: 1 4.34 0.00 1.52 0.74 0.03 93.37 02:05:07 02:05:07 02:05:07