Started by upstream project "edgexfoundry/cd-management/release-lts" build number 18 originally caused by: Push event to branch release-lts Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 48df9d91fbaf94aabdf03ecb0566b509996ae599 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-ssh6342186053627337822.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e94d3ec981797fd43ef018032190059518543b95 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-ssh5051087680620771049.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 e94d3ec981797fd43ef018032190059518543b95 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/jakarta/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/jakarta/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2372517274120506665.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e94d3ec981797fd43ef018032190059518543b95 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e94d3ec981797fd43ef018032190059518543b95 # timeout=10 Commit message: "Merge pull request #365 from ernestojeda/jakarta-release-issues" > 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-ssh6699635481524404204.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/jakarta/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/jakarta/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7950750395341546986.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 USE_ALPINE: true 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 ‘prd-centos7-docker-4c-2g-410’ Running on prd-centos7-docker-4c-2g-413 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_jakarta # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/jenkins-gitclient-ssh6582205764816969317.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 48df9d91fbaf94aabdf03ecb0566b509996ae599 (jakarta) > 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 48df9d91fbaf94aabdf03ecb0566b509996ae599 # timeout=10 Commit message: "ci(lts-release): LTS release v2.1.0 @4b2e95d" > git rev-list --no-walk 48df9d91fbaf94aabdf03ecb0566b509996ae599 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:52:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:52:15 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:52:15 ========================================================= 20:52:15 EdgeX Global Pipelines Version Info 20:52:15 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:52:16 ------------------- 20:52:16 stable info: 20:52:16 ------------------- 20:52:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:52:16 Commit SHA: e94d3ec981797fd43ef018032190059518543b95 20:52:16 Message: update stable to v1.0.214 20:52:16 ------------------- 20:52:16 experimental info: 20:52:16 ------------------- 20:52:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:52:16 Commit SHA: e94d3ec981797fd43ef018032190059518543b95 20:52:16 Message: update experimental to v1.0.214 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:52:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = jakarta [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = jakarta [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = jakarta [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 48df9d91fbaf94aabdf03ecb0566b509996ae599 [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 48df9d9 [Pipeline] echo 20:52:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:17 provisioning config files... 20:52:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config4538169140242176153tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:17 ---> docker-login.sh 20:52:17 nexus3.edgexfoundry.org:10001 20:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:17 Configure a credential helper to remove this warning. See 20:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:17 20:52:17 Login Succeeded 20:52:17 nexus3.edgexfoundry.org:10002 20:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:17 Configure a credential helper to remove this warning. See 20:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:17 20:52:17 Login Succeeded 20:52:17 nexus3.edgexfoundry.org:10003 20:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:17 Configure a credential helper to remove this warning. See 20:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:17 20:52:17 Login Succeeded 20:52:18 nexus3.edgexfoundry.org:10004 20:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:18 Configure a credential helper to remove this warning. See 20:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:18 20:52:18 Login Succeeded 20:52:18 docker.io 20:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:18 Configure a credential helper to remove this warning. See 20:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:18 20:52:18 Login Succeeded 20:52:18 ---> docker-login.sh ends [Pipeline] } 20:52:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:52:18 + git rev-list -1 --merges 48df9d91fbaf94aabdf03ecb0566b509996ae599~1..48df9d91fbaf94aabdf03ecb0566b509996ae599 [Pipeline] echo 20:52:18 -----------> git rev-list -1 --merges 48df9d91fbaf94aabdf03ecb0566b509996ae599~1..48df9d91fbaf94aabdf03ecb0566b509996ae599 48df9d91fbaf94aabdf03ecb0566b509996ae599 [false] [Pipeline] sh 20:52:19 + git log --format=format:%s -1 48df9d91fbaf94aabdf03ecb0566b509996ae599 [Pipeline] echo 20:52:19 ========================================================= 20:52:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId 20:52:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:19 + git log --format=format:%s -1 48df9d91fbaf94aabdf03ecb0566b509996ae599 [Pipeline] echo 20:52:19 [semverPrep] GIT_COMMIT: 48df9d91fbaf94aabdf03ecb0566b509996ae599, Commit Message: ci(lts-release): LTS release v2.1.0 @4b2e95d [Pipeline] echo 20:52:19 [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh 20:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:52:19 20:52:19 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:52:20 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:52:20 latest: Pulling from edgex-devops/git-semver 20:52:20 a0d0a0d46f8b: Pulling fs layer 20:52:20 3e5f54012d9b: Pulling fs layer 20:52:20 4c7163046ea9: Pulling fs layer 20:52:20 0c2d73faf560: Pulling fs layer 20:52:20 0c2d73faf560: Waiting 20:52:20 3e5f54012d9b: Verifying Checksum 20:52:20 3e5f54012d9b: Download complete 20:52:20 a0d0a0d46f8b: Download complete 20:52:20 0c2d73faf560: Verifying Checksum 20:52:20 0c2d73faf560: Download complete 20:52:20 4c7163046ea9: Verifying Checksum 20:52:20 4c7163046ea9: Download complete 20:52:20 a0d0a0d46f8b: Pull complete 20:52:20 3e5f54012d9b: Pull complete 20:52:20 4c7163046ea9: Pull complete 20:52:21 0c2d73faf560: Pull complete 20:52:21 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:52:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:52:21 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:52:21 prd-centos7-docker-4c-2g-413 does not seem to be running inside a container 20:52:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:52:21 $ docker top c8754f1f6c69697f251935a40a4c883a62545ab18d508a295f6e4f5b9f0c5c17 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:52:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:22 [ssh-agent] Looking for ssh-agent implementation... 20:52:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:22 $ docker exec c8754f1f6c69697f251935a40a4c883a62545ab18d508a295f6e4f5b9f0c5c17 ssh-agent 20:52:22 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXphBbcK/agent.13 20:52:22 SSH_AGENT_PID=19 20:52:22 Running ssh-add (command line suppressed) 20:52:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1943124804709885409.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_1943124804709885409.key) 20:52:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:22 + git tag --points-at 48df9d91fbaf94aabdf03ecb0566b509996ae599 [Pipeline] } 20:52:22 $ docker exec --env ******** --env ******** c8754f1f6c69697f251935a40a4c883a62545ab18d508a295f6e4f5b9f0c5c17 ssh-agent -k 20:52:22 unset SSH_AUTH_SOCK; 20:52:22 unset SSH_AGENT_PID; 20:52:22 echo Agent pid 19 killed; 20:52:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo 20:52:22 [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.1.0' [Pipeline] sshagent 20:52:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:52:22 [ssh-agent] Looking for ssh-agent implementation... 20:52:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:52:23 $ docker exec c8754f1f6c69697f251935a40a4c883a62545ab18d508a295f6e4f5b9f0c5c17 ssh-agent 20:52:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfDJoFn/agent.53 20:52:23 SSH_AGENT_PID=59 20:52:23 Running ssh-add (command line suppressed) 20:52:23 Identity added: /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7858367242416849078.key (/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/private_key_7858367242416849078.key) 20:52:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:52:23 + git semver init 20:52:23 # -> Open(): unable to determine branch for HEAD 20:52:23 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.git 20:52:23 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_jakarta 20:52:23 # $SEMVER_REMOTE_NAME = origin 20:52:23 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:52:23 # $SEMVER_USER_NAME = edgex-jenkins 20:52:23 # $SEMVER_BRANCH = jakarta 20:52:23 # $SEMVER_TEMP = /tmp/semver-405802507 20:52:23 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 20:52:24 # '/tmp/semver-405802507' -> '/w/workspace/gexfoundry_device-sdk-go_jakarta/.semver' 20:52:24 # -> Force: false 20:52:24 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_jakarta/.semver [Pipeline] } 20:52:25 $ docker exec --env ******** --env ******** c8754f1f6c69697f251935a40a4c883a62545ab18d508a295f6e4f5b9f0c5c17 ssh-agent -k 20:52:25 unset SSH_AUTH_SOCK; 20:52:25 unset SSH_AGENT_PID; 20:52:25 echo Agent pid 59 killed; 20:52:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:52:25 + git semver [Pipeline] } 20:52:25 $ docker stop --time=1 c8754f1f6c69697f251935a40a4c883a62545ab18d508a295f6e4f5b9f0c5c17 20:52:26 $ docker rm -f c8754f1f6c69697f251935a40a4c883a62545ab18d508a295f6e4f5b9f0c5c17 [Pipeline] // withDockerContainer [Pipeline] sh 20:52:27 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:52:27 Stashed 1 file(s) [Pipeline] echo 20:52:27 [edgeXSemver]: initialized semver on version 2.1.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node 20:52:42 Still waiting to schedule task 20:52:42 ‘prd-centos7-docker-4c-2g-412’ is offline 20:52:42 ‘prd-centos7-docker-4c-2g-416’ is offline 20:52:42 ‘prd-ubuntu18.04-docker-arm64-4c-16g-415’ doesn’t have label ‘centos7-docker-4c-2g’ 20:52:42 Still waiting to schedule task 20:52:42 ‘prd-ubuntu18.04-docker-arm64-4c-16g-415’ is offline 20:52:44 Running on prd-centos7-docker-4c-2g-416 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws 20:52:44 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 20:52:44 Selected Git installation does not exist. Using Default 20:52:44 The recommended git tool is: NONE 20:52:45 using credential edgex-jenkins-ssh 20:52:46 Cloning the remote Git repository 20:52:45 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:52:45 > git init /w/workspace/device-sdk-go/4 # timeout=10 20:52:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:52:46 > git --version # timeout=10 20:52:46 > git --version # 'git version 2.24.4' 20:52:46 using GIT_SSH to set credentials SSH Credentials for GitHub 20:52:46 [INFO] Currently running in a labeled security context 20:52:46 [INFO] Currently SELinux is 'enforcing' on the host 20:52:46 > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh6612070409405756239.key 20:52:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:48 Avoid second fetch 20:52:48 Checking out Revision 48df9d91fbaf94aabdf03ecb0566b509996ae599 (jakarta) 20:52:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:52:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:52:48 > git config core.sparsecheckout # timeout=10 20:52:48 > git checkout -f 48df9d91fbaf94aabdf03ecb0566b509996ae599 # timeout=10 20:52:51 Commit message: "ci(lts-release): LTS release v2.1.0 @4b2e95d" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:52:52 + git checkout 48df9d91fbaf94aabdf03ecb0566b509996ae599 20:52:52 HEAD is now at 48df9d9 ci(lts-release): LTS release v2.1.0 @4b2e95d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:52:52 provisioning config files... 20:52:52 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4213516650201884661tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:52:52 ---> docker-login.sh 20:52:52 nexus3.edgexfoundry.org:10001 20:52:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:52 Configure a credential helper to remove this warning. See 20:52:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:52 20:52:52 Login Succeeded 20:52:52 nexus3.edgexfoundry.org:10002 20:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:53 Configure a credential helper to remove this warning. See 20:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:53 20:52:53 Login Succeeded 20:52:53 nexus3.edgexfoundry.org:10003 20:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:53 Configure a credential helper to remove this warning. See 20:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:53 20:52:53 Login Succeeded 20:52:53 nexus3.edgexfoundry.org:10004 20:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:53 Configure a credential helper to remove this warning. See 20:52:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:53 20:52:53 Login Succeeded 20:52:53 docker.io 20:52:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:52:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:52:54 Configure a credential helper to remove this warning. See 20:52:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:52:54 20:52:54 Login Succeeded 20:52:54 ---> docker-login.sh ends [Pipeline] } 20:52:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:52:54 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:52:54 ========================================================= 20:52:54 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts] 20:52:54 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:52:54 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts --build-arg 'MAKE=echo noop' --target=builder . 20:52:54 Sending build context to Docker daemon 16MB 20:52:54 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 20:52:54 Step 2/10 : FROM ${BASE} AS builder 20:52:54 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base 20:52:54 a0d0a0d46f8b: Pulling fs layer 20:52:54 31adcdaf11c8: Pulling fs layer 20:52:54 b8b176561691: Pulling fs layer 20:52:54 4527c011a84f: Pulling fs layer 20:52:54 5d74067f8e1e: Pulling fs layer 20:52:54 36f58ee4fdd2: Pulling fs layer 20:52:54 32f094029db3: Pulling fs layer 20:52:54 773a5188bba9: Pulling fs layer 20:52:54 0a89ddfe6704: Pulling fs layer 20:52:54 4527c011a84f: Waiting 20:52:54 36f58ee4fdd2: Waiting 20:52:54 32f094029db3: Waiting 20:52:54 773a5188bba9: Waiting 20:52:54 0a89ddfe6704: Waiting 20:52:54 5d74067f8e1e: Waiting 20:52:55 b8b176561691: Verifying Checksum 20:52:55 b8b176561691: Download complete 20:52:55 31adcdaf11c8: Verifying Checksum 20:52:55 31adcdaf11c8: Download complete 20:52:55 5d74067f8e1e: Verifying Checksum 20:52:55 5d74067f8e1e: Download complete 20:52:55 36f58ee4fdd2: Verifying Checksum 20:52:55 36f58ee4fdd2: Download complete 20:52:55 a0d0a0d46f8b: Verifying Checksum 20:52:55 a0d0a0d46f8b: Download complete 20:52:55 32f094029db3: Verifying Checksum 20:52:55 32f094029db3: Download complete 20:52:55 773a5188bba9: Verifying Checksum 20:52:55 773a5188bba9: Download complete 20:52:55 a0d0a0d46f8b: Pull complete 20:52:55 4527c011a84f: Verifying Checksum 20:52:55 4527c011a84f: Download complete 20:52:55 31adcdaf11c8: Pull complete 20:52:55 b8b176561691: Pull complete 20:52:55 0a89ddfe6704: Verifying Checksum 20:52:55 0a89ddfe6704: Download complete 20:52:59 4527c011a84f: Pull complete 20:52:59 5d74067f8e1e: Pull complete 20:52:59 36f58ee4fdd2: Pull complete 20:52:59 32f094029db3: Pull complete 20:52:59 773a5188bba9: Pull complete 20:53:02 0a89ddfe6704: Pull complete 20:53:02 Digest: sha256:1b40dceaf34dee7ca55b3c49faf64f21c87f0328d9001acbe5b0b15629491fba 20:53:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.16-alpine-lts 20:53:02 ---> dd279347b56d 20:53:02 Step 3/10 : ARG MAKE=make build 20:53:04 ---> Running in 9d7b369217b5 20:53:04 Removing intermediate container 9d7b369217b5 20:53:04 ---> abc7d787323b 20:53:04 Step 4/10 : WORKDIR /device-sdk-go 20:53:04 ---> Running in b1ef109ac176 20:53:04 Removing intermediate container b1ef109ac176 20:53:04 ---> ebd5c5df5f5c 20:53:04 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:53:04 ---> Running in e38f64fa5bb1 20:53:04 Removing intermediate container e38f64fa5bb1 20:53:04 ---> 7b9a0efb2226 20:53:04 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:53:04 ---> Running in 47395b4ad5b9 20:53:05 Removing intermediate container 47395b4ad5b9 20:53:05 ---> 1e2dc14b8426 20:53:05 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:53:05 ---> Running in 3375ef273eac 20:53:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:53:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:53:06 OK: 220 MiB in 52 packages 20:53:06 Removing intermediate container 3375ef273eac 20:53:06 ---> 6b4ae91b3521 20:53:06 Step 8/10 : COPY . . 20:53:08 ---> 4d7c2a6cbb33 20:53:08 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:53:08 ---> Running in e42d1b3cb9be 20:53:08 skipping... 20:53:08 Removing intermediate container e42d1b3cb9be 20:53:08 ---> 91c0f3bf19b4 20:53:08 Step 10/10 : RUN ${MAKE} 20:53:08 ---> Running in be0d5f1c9628 20:53:08 noop 20:53:09 Removing intermediate container be0d5f1c9628 20:53:09 ---> 77d11215178e 20:53:09 Successfully built 77d11215178e 20:53:09 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:53:09 + docker inspect -f . ci-base-image-x86_64 20:53:09 . [Pipeline] withDockerContainer 20:53:09 prd-centos7-docker-4c-2g-416 does not seem to be running inside a container 20:53:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 20:53:09 $ docker top 99a3bc51915af7cf4b8ed7859e83142a739474730bae3a6aa261331cd302c2db -eo pid,comm [Pipeline] { [Pipeline] sh 20:53:10 + go version 20:53:10 go version go1.16.8 linux/amd64 [Pipeline] } 20:53:10 $ docker stop --time=1 99a3bc51915af7cf4b8ed7859e83142a739474730bae3a6aa261331cd302c2db 20:53:11 $ docker rm -f 99a3bc51915af7cf4b8ed7859e83142a739474730bae3a6aa261331cd302c2db [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:53:11 + docker inspect -f . ci-base-image-x86_64 20:53:11 . [Pipeline] withDockerContainer 20:53:11 prd-centos7-docker-4c-2g-416 does not seem to be running inside a container 20:53:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 ******** ci-base-image-x86_64 cat 20:53:12 $ docker top 10ecda7bf3577e77018bf21ea904fa7b037050e3a9fa657b0184973da75a001d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:53:12 + make test 20:53:12 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:53:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:53:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:53:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:53:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:53:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.055s coverage: 23.3% of statements 20:53:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:53:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 27.6% of statements 20:53:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.053s coverage: 78.9% of statements 20:53:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements 20:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:53:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:53:44 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.062s coverage: 28.7% of statements 20:53:44 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:53:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.053s coverage: 83.3% of statements 20:53:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:53:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:53:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements 20:53:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.818s coverage: 89.2% of statements 20:53:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:53:46 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.044s coverage: 4.8% of statements 20:53:46 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:53:46 GO111MODULE=on go vet ./... 20:54:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:54:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:54:04 ./bin/test-attribution-txt.sh 20:54:04 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 20:54:04 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 20:54:04 go: downloading github.com/google/uuid v1.3.0 20:54:04 go: downloading github.com/stretchr/testify v1.7.0 20:54:04 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:54:04 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 20:54:04 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 20:54:04 go: downloading github.com/gorilla/mux v1.8.0 20:54:04 go: downloading github.com/pelletier/go-toml v1.9.4 20:54:04 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:54:04 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:54:04 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:54:04 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 20:54:04 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 20:54:04 go: downloading github.com/hashicorp/go-multierror v1.1.0 20:54:04 go: downloading github.com/hashicorp/consul/api v1.9.1 20:54:04 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:54:04 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 20:54:04 go: downloading github.com/go-kit/kit v0.11.0 20:54:04 go: downloading github.com/go-playground/validator/v10 v10.9.0 20:54:04 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:54:05 go: downloading github.com/pebbe/zmq4 v1.2.7 20:54:05 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:54:05 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:54:05 go: downloading github.com/go-logfmt/logfmt v0.5.0 20:54:05 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:54:05 go: downloading github.com/mitchellh/copystructure v1.0.0 20:54:05 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:54:05 go: downloading github.com/davecgh/go-spew v1.1.1 20:54:05 go: downloading github.com/pmezard/go-difflib v1.0.0 20:54:05 go: downloading github.com/stretchr/objx v0.1.1 20:54:05 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 20:54:05 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 20:54:05 go: downloading golang.org/x/text v0.3.6 20:54:06 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:54:06 go: downloading github.com/hashicorp/errwrap v1.0.0 20:54:06 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:54:06 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:54:06 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:54:06 go: downloading github.com/hashicorp/serf v0.9.5 20:54:06 go: downloading github.com/x448/float16 v0.8.4 20:54:06 go: downloading github.com/go-playground/universal-translator v0.18.0 20:54:06 go: downloading github.com/leodido/go-urn v1.2.1 20:54:06 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 20:54:06 go: downloading github.com/gorilla/websocket v1.4.2 20:54:06 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:54:06 go: downloading github.com/fatih/color v1.9.0 20:54:06 go: downloading github.com/mattn/go-colorable v0.1.6 20:54:06 go: downloading github.com/mattn/go-isatty v0.0.12 20:54:06 go: downloading github.com/mitchellh/go-homedir v1.1.0 20:54:06 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 20:54:08 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 20:54:08 + go mod tidy 20:54:08 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 20:54:08 go: downloading github.com/go-stack/stack v1.8.0 20:54:08 go: downloading github.com/go-playground/assert/v2 v2.0.1 20:54:08 go: downloading github.com/kr/pretty v0.3.0 20:54:08 go: downloading github.com/hashicorp/consul/sdk v0.8.0 20:54:08 go: downloading github.com/hashicorp/go-uuid v1.0.1 20:54:08 go: downloading github.com/onsi/ginkgo v1.10.1 20:54:08 go: downloading github.com/onsi/gomega v1.7.0 20:54:08 go: downloading github.com/kr/text v0.2.0 20:54:08 go: downloading github.com/rogpeppe/go-internal v1.8.0 20:54:08 go: downloading github.com/pkg/errors v0.9.1 20:54:08 go: downloading github.com/hashicorp/go-msgpack v0.5.3 20:54:08 go: downloading github.com/hashicorp/memberlist v0.2.2 20:54:08 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:54:08 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 20:54:08 go: downloading gopkg.in/yaml.v2 v2.3.0 20:54:08 go: downloading github.com/hpcloud/tail v1.0.0 20:54:08 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:54:08 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 20:54:08 go: downloading github.com/miekg/dns v1.1.26 20:54:08 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:54:08 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:54:09 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 20:54:09 $ docker stop --time=1 10ecda7bf3577e77018bf21ea904fa7b037050e3a9fa657b0184973da75a001d 20:54:11 $ docker rm -f 10ecda7bf3577e77018bf21ea904fa7b037050e3a9fa657b0184973da75a001d [Pipeline] // withDockerContainer [Pipeline] sh 20:54:12 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:54:12 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:54:13 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:54:13 + ls -al . 20:54:13 total 264 20:54:13 drwxrwxr-x. 11 jenkins jenkins 4096 Nov 12 20:54 . 20:54:13 drwxrwxr-x. 4 jenkins jenkins 28 Nov 12 20:52 .. 20:54:13 drwxrwxr-x. 2 jenkins jenkins 37 Nov 12 20:52 bin 20:54:13 -rw-rw-r--. 1 jenkins jenkins 26321 Nov 12 20:52 CHANGELOG.md 20:54:13 -rw-r--r--. 1 jenkins jenkins 128369 Nov 12 20:53 coverage.out 20:54:13 -rw-rw-r--. 1 jenkins jenkins 140 Nov 12 20:52 .dockerignore 20:54:13 drwxrwxr-x. 5 jenkins jenkins 62 Nov 12 20:52 example 20:54:13 drwxrwxr-x. 8 jenkins jenkins 162 Nov 12 20:52 .git 20:54:13 drwxrwxr-x. 3 jenkins jenkins 125 Nov 12 20:52 .github 20:54:13 -rw-rw-r--. 1 jenkins jenkins 124 Nov 12 20:52 .gitignore 20:54:13 -rw-rw-r--. 1 jenkins jenkins 576 Nov 12 20:54 go.mod 20:54:13 -rw-rw-r--. 1 jenkins jenkins 48946 Nov 12 20:52 go.sum 20:54:13 -rw-rw-r--. 1 jenkins jenkins 677 Nov 12 20:52 GOVERNANCE.md 20:54:13 drwxrwxr-x. 15 jenkins jenkins 224 Nov 12 20:52 internal 20:54:13 -rw-rw-r--. 1 jenkins jenkins 880 Nov 12 20:52 Jenkinsfile 20:54:13 -rw-rw-r--. 1 jenkins jenkins 11341 Nov 12 20:52 LICENSE 20:54:13 -rw-rw-r--. 1 jenkins jenkins 1120 Nov 12 20:52 Makefile 20:54:13 drwxrwxr-x. 3 jenkins jenkins 16 Nov 12 20:52 openapi 20:54:13 -rw-rw-r--. 1 jenkins jenkins 619 Nov 12 20:52 OWNERS.md 20:54:13 drwxrwxr-x. 5 jenkins jenkins 50 Nov 12 20:52 pkg 20:54:13 -rw-rw-r--. 1 jenkins jenkins 4877 Nov 12 20:52 README.md 20:54:13 drwxrwxr-x. 4 jenkins jenkins 54 Nov 12 20:52 snap 20:54:13 drwxrwxr-x. 6 jenkins jenkins 98 Nov 12 20:52 vendor 20:54:13 -rw-rw-r--. 1 jenkins jenkins 5 Nov 12 20:52 VERSION 20:54:13 -rw-rw-r--. 1 jenkins jenkins 222 Nov 12 20:52 version.go [Pipeline] isUnix [Pipeline] sh 20:54:14 + 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=48df9d91fbaf94aabdf03ecb0566b509996ae599 --label arch=amd64 --label version=2.1.0 . 20:54:14 Sending build context to Docker daemon 16.13MB 20:54:14 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 20:54:14 Step 2/24 : FROM ${BASE} AS builder 20:54:14 ---> 77d11215178e 20:54:14 Step 3/24 : ARG MAKE=make build 20:54:14 ---> Running in 15ec5fec402c 20:54:14 Removing intermediate container 15ec5fec402c 20:54:14 ---> 2de9c733689b 20:54:14 Step 4/24 : WORKDIR /device-sdk-go 20:54:14 ---> Running in 9615d3bc69af 20:54:14 Removing intermediate container 9615d3bc69af 20:54:14 ---> 7a1c0e1050db 20:54:14 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:54:14 ---> Running in f0845e03339b 20:54:14 Removing intermediate container f0845e03339b 20:54:14 ---> f9e174458e70 20:54:14 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:54:14 ---> Running in a3dfd39bd0d7 20:54:15 Removing intermediate container a3dfd39bd0d7 20:54:15 ---> 938afe13066f 20:54:15 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:54:15 ---> Running in a61ce439c67a 20:54:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:54:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:54:16 OK: 220 MiB in 52 packages 20:54:16 Removing intermediate container a61ce439c67a 20:54:16 ---> 4a0d8213252b 20:54:16 Step 8/24 : COPY . . 20:54:18 ---> 6b4acb989ab6 20:54:18 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:54:18 ---> Running in a4f3bb92aafa 20:54:18 skipping... 20:54:18 Removing intermediate container a4f3bb92aafa 20:54:18 ---> fa02331f2fbc 20:54:18 Step 10/24 : RUN ${MAKE} 20:54:18 ---> Running in 23431007c857 20:54:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:54:31 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:54:31 Removing intermediate container 23431007c857 20:54:31 ---> ade055c4f91f 20:54:31 Step 11/24 : FROM alpine:3.14 20:54:31 Running on prd-ubuntu18.04-docker-arm64-4c-16g-418 in /w/workspace/gexfoundry_device-sdk-go_jakarta [Pipeline] { [Pipeline] ws 20:54:31 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 20:54:32 Selected Git installation does not exist. Using Default 20:54:32 The recommended git tool is: NONE 20:54:34 3.14: Pulling from library/alpine 20:54:34 97518928ae5f: Pulling fs layer 20:54:34 97518928ae5f: Verifying Checksum 20:54:34 97518928ae5f: Download complete 20:54:34 97518928ae5f: Pull complete 20:54:34 Digest: sha256:00abeca57ca04b7672955453580fd51ab9ad1b4c5571b1e7643becaadb81b749 20:54:34 Status: Downloaded newer image for alpine:3.14 20:54:34 ---> 0a97eee8041e 20:54:34 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:54:34 ---> Running in a4b448ed1bca 20:54:34 Removing intermediate container a4b448ed1bca 20:54:34 ---> 615de80ebba4 20:54:34 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:54:34 ---> Running in 4c688085890f 20:54:35 Removing intermediate container 4c688085890f 20:54:35 ---> b13ccaff5960 20:54:35 Step 14/24 : RUN apk add --update --no-cache zeromq 20:54:35 ---> Running in a27faf919d94 20:54:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:54:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:54:36 (1/5) Installing libgcc (10.3.1_git20210424-r2) 20:54:36 (2/5) Installing libsodium (1.0.18-r0) 20:54:36 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 20:54:36 (4/5) Installing libzmq (4.3.4-r0) 20:54:36 (5/5) Installing zeromq (4.3.4-r0) 20:54:36 Executing busybox-1.33.1-r6.trigger 20:54:36 OK: 8 MiB in 19 packages 20:54:37 Removing intermediate container a27faf919d94 20:54:37 ---> e7f57f80c060 20:54:37 Step 15/24 : WORKDIR / 20:54:37 ---> Running in 064ada168229 20:54:37 Removing intermediate container 064ada168229 20:54:37 ---> bc20a319fdf6 20:54:37 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:54:37 ---> 3f7c0e925e82 20:54:37 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 20:54:37 using credential edgex-jenkins-ssh 20:54:37 Cloning the remote Git repository 20:54:38 ---> 3b7aba8c4e6c 20:54:38 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 20:54:38 ---> b8fc1d552f76 20:54:38 Step 19/24 : EXPOSE 59999 20:54:38 ---> Running in dee1230028fc 20:54:38 Removing intermediate container dee1230028fc 20:54:38 ---> 25b1321f2755 20:54:38 Step 20/24 : ENTRYPOINT ["/device-simple"] 20:54:38 ---> Running in a49b57699049 20:54:38 Removing intermediate container a49b57699049 20:54:38 ---> c33315947712 20:54:38 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 20:54:38 ---> Running in a2997f2c801d 20:54:38 Removing intermediate container a2997f2c801d 20:54:38 ---> 3909bf8fff31 20:54:38 Step 22/24 : LABEL arch=amd64 20:54:38 ---> Running in 28475f0ab63d 20:54:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 20:54:38 > git init /w/workspace/device-sdk-go/4 # timeout=10 20:54:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 20:54:38 > git --version # timeout=10 20:54:38 > git --version # 'git version 2.17.1' 20:54:38 using GIT_SSH to set credentials SSH Credentials for GitHub 20:54:38 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:54:38 Removing intermediate container 28475f0ab63d 20:54:38 ---> a68bc962d061 20:54:38 Step 23/24 : LABEL git_sha=48df9d91fbaf94aabdf03ecb0566b509996ae599 20:54:38 ---> Running in d84209326d05 20:54:38 Removing intermediate container d84209326d05 20:54:38 ---> 0ebe01da0279 20:54:38 Step 24/24 : LABEL version=2.1.0 20:54:38 ---> Running in 9eb350b95b98 20:54:38 Removing intermediate container 9eb350b95b98 20:54:38 ---> cb9762648838 20:54:38 [Warning] One or more build-args [ARCH] were not consumed 20:54:38 Successfully built cb9762648838 20:54:38 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 20:54:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:39 20:54:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:54:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:39 latest: Pulling from edgex-lftools-log-publisher 20:54:39 b4d181a07f80: Pulling fs layer 20:54:39 a1111a8f2ec3: Pulling fs layer 20:54:39 ed53099fbce6: Pulling fs layer 20:54:39 dc539afda2c1: Pulling fs layer 20:54:39 77bc0d833cb6: Pulling fs layer 20:54:39 9065ff56babe: Pulling fs layer 20:54:39 d287ab97295c: Pulling fs layer 20:54:39 77bc0d833cb6: Waiting 20:54:39 9065ff56babe: Waiting 20:54:39 d287ab97295c: Waiting 20:54:39 dc539afda2c1: Waiting 20:54:39 a1111a8f2ec3: Verifying Checksum 20:54:39 a1111a8f2ec3: Download complete 20:54:39 dc539afda2c1: Verifying Checksum 20:54:39 dc539afda2c1: Download complete 20:54:39 ed53099fbce6: Download complete 20:54:39 9065ff56babe: Verifying Checksum 20:54:39 9065ff56babe: Download complete 20:54:39 77bc0d833cb6: Verifying Checksum 20:54:39 77bc0d833cb6: Download complete 20:54:39 b4d181a07f80: Verifying Checksum 20:54:39 b4d181a07f80: Download complete 20:54:40 d287ab97295c: Verifying Checksum 20:54:40 d287ab97295c: Download complete 20:54:40 Avoid second fetch 20:54:40 Checking out Revision 48df9d91fbaf94aabdf03ecb0566b509996ae599 (jakarta) 20:54:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 20:54:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:54:40 > git config core.sparsecheckout # timeout=10 20:54:40 > git checkout -f 48df9d91fbaf94aabdf03ecb0566b509996ae599 # timeout=10 20:54:41 b4d181a07f80: Pull complete 20:54:41 a1111a8f2ec3: Pull complete 20:54:42 ed53099fbce6: Pull complete 20:54:42 dc539afda2c1: Pull complete 20:54:42 77bc0d833cb6: Pull complete 20:54:42 9065ff56babe: Pull complete 20:54:45 Commit message: "ci(lts-release): LTS release v2.1.0 @4b2e95d" 20:54:45 20:54:45 GitHub has been notified of this commit’s build result 20:54:45 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:54:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:54:46 % Total % Received % Xferd Average Speed Time Time Time Current 20:54:46 Dload Upload Total Spent Left Speed 20:54:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 20:54:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:54:46 + sudo tee /etc/docker/daemon.new 20:54:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:54:46 { 20:54:46 "registry-mirrors": [ 20:54:46 "https://nexus3.edgexfoundry.org:10001" 20:54:46 ], 20:54:46 "bip": "10.250.0.254/24", 20:54:46 "hosts": [ 20:54:46 "tcp://0.0.0.0:5555", 20:54:46 "unix:///var/run/docker.sock" 20:54:46 ], 20:54:46 "mtu": 1458, 20:54:46 "selinux-enabled": true, 20:54:46 "seccomp-profile": "/etc/docker/seccomp.json" 20:54:46 } [Pipeline] sh 20:54:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:54:47 + sudo service docker restart 20:54:47 d287ab97295c: Pull complete 20:54:47 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 20:54:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:54:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:54:47 prd-centos7-docker-4c-2g-416 does not seem to be running inside a container 20:54:47 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 20:54:51 $ docker top 5120a0779118660a05e0dc1352a7b551b96be09d7c8521429afd381cc39c69e8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:51 ---> job-cost.sh 20:54:51 lf-activate-venv: SKIPPING 20:54:51 INFO: No Stack... 20:54:52 INFO: Retrieving Pricing Info for: v3-standard-2 20:54:52 INFO: Archiving Costs [Pipeline] sh 20:54:53 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 20:54:53 + cut -d, -f6 [Pipeline] lock 20:54:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-4-stack-cost] 20:54:53 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-4-stack-cost] did not exist. Created. 20:54:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:54:53 + echo total: 0.05999999865889549 [Pipeline] stash 20:54:53 Stashed 1 file(s) [Pipeline] } 20:54:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 20:54:53 $ docker stop --time=1 5120a0779118660a05e0dc1352a7b551b96be09d7c8521429afd381cc39c69e8 20:54:54 $ docker rm -f 5120a0779118660a05e0dc1352a7b551b96be09d7c8521429afd381cc39c69e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] sh 20:55:06 + git checkout 48df9d91fbaf94aabdf03ecb0566b509996ae599 20:55:06 HEAD is now at 48df9d9 ci(lts-release): LTS release v2.1.0 @4b2e95d [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:06 provisioning config files... 20:55:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config7446325096224726352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:55:06 ---> docker-login.sh 20:55:06 nexus3.edgexfoundry.org:10001 20:55:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:07 Configure a credential helper to remove this warning. See 20:55:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:07 20:55:07 Login Succeeded 20:55:07 nexus3.edgexfoundry.org:10002 20:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:08 Configure a credential helper to remove this warning. See 20:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:08 20:55:08 Login Succeeded 20:55:08 nexus3.edgexfoundry.org:10003 20:55:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:08 Configure a credential helper to remove this warning. See 20:55:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:08 20:55:08 Login Succeeded 20:55:08 nexus3.edgexfoundry.org:10004 20:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:09 Configure a credential helper to remove this warning. See 20:55:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:09 20:55:09 Login Succeeded 20:55:09 docker.io 20:55:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:55:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:55:10 Configure a credential helper to remove this warning. See 20:55:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:55:10 20:55:10 Login Succeeded 20:55:10 ---> docker-login.sh ends [Pipeline] } 20:55:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:55:10 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:55:10 ========================================================= 20:55:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts] 20:55:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:55:11 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts --build-arg MAKE=echo noop --target=builder . 20:55:12 Sending build context to Docker daemon 16MB 20:55:12 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 20:55:12 Step 2/10 : FROM ${BASE} AS builder 20:55:12 1.16-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 20:55:12 552d1f2373af: Pulling fs layer 20:55:12 ea3f2d53f512: Pulling fs layer 20:55:12 9e70ebbbe112: Pulling fs layer 20:55:12 7a9cfe048b4a: Pulling fs layer 20:55:12 72dc09318566: Pulling fs layer 20:55:12 6b38a4ac6b94: Pulling fs layer 20:55:12 1cf82868ecbe: Pulling fs layer 20:55:12 cf934696a108: Pulling fs layer 20:55:12 7a9cfe048b4a: Waiting 20:55:12 72dc09318566: Waiting 20:55:12 6b38a4ac6b94: Waiting 20:55:12 1cf82868ecbe: Waiting 20:55:12 cf934696a108: Waiting 20:55:12 9e70ebbbe112: Download complete 20:55:12 ea3f2d53f512: Verifying Checksum 20:55:12 ea3f2d53f512: Download complete 20:55:12 72dc09318566: Verifying Checksum 20:55:12 72dc09318566: Download complete 20:55:12 6b38a4ac6b94: Verifying Checksum 20:55:12 6b38a4ac6b94: Download complete 20:55:12 552d1f2373af: Verifying Checksum 20:55:12 552d1f2373af: Download complete 20:55:12 1cf82868ecbe: Verifying Checksum 20:55:12 1cf82868ecbe: Download complete 20:55:13 552d1f2373af: Pull complete 20:55:14 ea3f2d53f512: Pull complete 20:55:14 9e70ebbbe112: Pull complete 20:55:14 cf934696a108: Verifying Checksum 20:55:14 cf934696a108: Download complete 20:55:15 7a9cfe048b4a: Verifying Checksum 20:55:15 7a9cfe048b4a: Download complete 20:55:27 7a9cfe048b4a: Pull complete 20:55:27 72dc09318566: Pull complete 20:55:27 6b38a4ac6b94: Pull complete 20:55:27 1cf82868ecbe: Pull complete 20:55:33 cf934696a108: Pull complete 20:55:33 Digest: sha256:c7a1c6e7193eac42aea82418dc538ba94561e4292c792d132f5c974f427cd528 20:55:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.16-alpine-lts 20:55:33 ---> 8a4ae6370de5 20:55:33 Step 3/10 : ARG MAKE=make build 20:55:34 ---> Running in c523f7c0783c 20:55:35 Removing intermediate container c523f7c0783c 20:55:35 ---> 50b9ac322919 20:55:35 Step 4/10 : WORKDIR /device-sdk-go 20:55:35 ---> Running in cba8264f31c0 20:55:35 Removing intermediate container cba8264f31c0 20:55:35 ---> 60b173736cb1 20:55:35 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:55:35 ---> Running in dbf890be77aa 20:55:35 Removing intermediate container dbf890be77aa 20:55:35 ---> 66dc798d0752 20:55:35 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:55:36 ---> Running in 0f3714076f90 20:55:38 Removing intermediate container 0f3714076f90 20:55:38 ---> 93cb16f9f2a1 20:55:38 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:55:38 ---> Running in 0397e94fb9ac 20:55:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:55:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:55:41 OK: 219 MiB in 52 packages 20:55:42 Removing intermediate container 0397e94fb9ac 20:55:42 ---> b246603d6323 20:55:42 Step 8/10 : COPY . . 20:55:46 ---> 9521dc51e055 20:55:46 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:55:46 ---> Running in 4a7dd2849c6d 20:55:46 skipping... 20:55:47 Removing intermediate container 4a7dd2849c6d 20:55:47 ---> bcf38be2379e 20:55:47 Step 10/10 : RUN ${MAKE} 20:55:47 ---> Running in 2fe4171f36a3 20:55:49 noop 20:55:49 Removing intermediate container 2fe4171f36a3 20:55:49 ---> cd57b8dd9797 20:55:50 Successfully built cd57b8dd9797 20:55:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:55:50 + docker inspect -f . ci-base-image-arm64 20:55:50 . [Pipeline] withDockerContainer 20:55:50 prd-ubuntu18.04-docker-arm64-4c-16g-418 does not seem to be running inside a container 20:55:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 20:55:52 $ docker top 74f20b5f8d61a4ebe7206a72b9a02552b94c28c382a0326a5f93e818901c4ded -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:53 + go version 20:55:53 go version go1.16.8 linux/arm64 [Pipeline] } 20:55:53 $ docker stop --time=1 74f20b5f8d61a4ebe7206a72b9a02552b94c28c382a0326a5f93e818901c4ded 20:55:55 $ docker rm -f 74f20b5f8d61a4ebe7206a72b9a02552b94c28c382a0326a5f93e818901c4ded [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:55:55 + docker inspect -f . ci-base-image-arm64 20:55:55 . [Pipeline] withDockerContainer 20:55:56 prd-ubuntu18.04-docker-arm64-4c-16g-418 does not seem to be running inside a container 20:55:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 20:55:57 $ docker top 4c3669f0b996d2636758fb4eda45d93cec1fdf52b0fe5e435b0b744953984368 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:55:58 + make test 20:55:58 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 20:56:25 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 20:57:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 20:57:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 20:57:33 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 20:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.288s coverage: 23.3% of statements 20:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 20:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.237s coverage: 27.6% of statements 20:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.243s coverage: 78.9% of statements 20:57:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.232s coverage: 9.0% of statements 20:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 20:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 20:57:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 20:57:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.325s coverage: 28.7% of statements 20:57:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 20:57:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.221s coverage: 83.3% of statements 20:57:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 20:57:42 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 20:57:42 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.463s coverage: 57.8% of statements 20:57:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.101s coverage: 89.2% of statements 20:57:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 20:57:44 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.188s coverage: 4.8% of statements 20:57:44 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 20:57:44 GO111MODULE=on go vet ./... 20:58:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:58:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:58:41 ./bin/test-attribution-txt.sh 20:58:41 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 20:58:41 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.0 20:58:41 go: downloading github.com/OneOfOne/xxhash v1.2.8 20:58:41 go: downloading github.com/google/uuid v1.3.0 20:58:41 go: downloading github.com/stretchr/testify v1.7.0 20:58:41 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.0 20:58:41 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 20:58:41 go: downloading github.com/pelletier/go-toml v1.9.4 20:58:41 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 20:58:41 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 20:58:41 go: downloading github.com/gorilla/mux v1.8.0 20:58:41 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 20:58:41 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 20:58:41 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.0 20:58:41 go: downloading github.com/hashicorp/go-multierror v1.1.0 20:58:41 go: downloading github.com/hashicorp/consul/api v1.9.1 20:58:41 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 20:58:41 go: downloading github.com/go-kit/kit v0.11.0 20:58:41 go: downloading github.com/go-playground/validator/v10 v10.9.0 20:58:41 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 20:58:41 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 20:58:41 go: downloading github.com/pebbe/zmq4 v1.2.7 20:58:41 go: downloading github.com/go-redis/redis/v7 v7.3.0 20:58:41 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 20:58:41 go: downloading github.com/mitchellh/copystructure v1.0.0 20:58:41 go: downloading github.com/mitchellh/mapstructure v1.1.2 20:58:41 go: downloading github.com/go-logfmt/logfmt v0.5.0 20:58:41 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 20:58:41 go: downloading github.com/davecgh/go-spew v1.1.1 20:58:41 go: downloading github.com/pmezard/go-difflib v1.0.0 20:58:41 go: downloading github.com/stretchr/objx v0.1.1 20:58:41 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 20:58:41 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 20:58:41 go: downloading golang.org/x/text v0.3.6 20:58:42 go: downloading github.com/hashicorp/golang-lru v0.5.0 20:58:42 go: downloading github.com/hashicorp/errwrap v1.0.0 20:58:42 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 20:58:42 go: downloading github.com/hashicorp/go-hclog v0.12.0 20:58:42 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 20:58:42 go: downloading github.com/hashicorp/serf v0.9.5 20:58:42 go: downloading github.com/x448/float16 v0.8.4 20:58:42 go: downloading github.com/go-playground/universal-translator v0.18.0 20:58:42 go: downloading github.com/leodido/go-urn v1.2.1 20:58:42 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 20:58:44 go: downloading github.com/gorilla/websocket v1.4.2 20:58:44 go: downloading github.com/mitchellh/reflectwalk v1.0.0 20:58:44 go: downloading github.com/fatih/color v1.9.0 20:58:44 go: downloading github.com/mattn/go-colorable v0.1.6 20:58:44 go: downloading github.com/mattn/go-isatty v0.0.12 20:58:44 go: downloading github.com/mitchellh/go-homedir v1.1.0 20:58:44 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 20:58:48 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 20:58:49 + go mod tidy 20:58:49 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 20:58:49 go: downloading github.com/go-playground/assert/v2 v2.0.1 20:58:49 go: downloading github.com/go-stack/stack v1.8.0 20:58:49 go: downloading github.com/hashicorp/consul/sdk v0.8.0 20:58:49 go: downloading github.com/hashicorp/go-uuid v1.0.1 20:58:49 go: downloading github.com/onsi/ginkgo v1.10.1 20:58:49 go: downloading github.com/onsi/gomega v1.7.0 20:58:49 go: downloading github.com/pkg/errors v0.9.1 20:58:49 go: downloading github.com/kr/pretty v0.3.0 20:58:49 go: downloading github.com/hashicorp/go-msgpack v0.5.3 20:58:49 go: downloading github.com/hashicorp/memberlist v0.2.2 20:58:50 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 20:58:50 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 20:58:50 go: downloading github.com/kr/text v0.2.0 20:58:50 go: downloading github.com/rogpeppe/go-internal v1.8.0 20:58:50 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 20:58:50 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 20:58:50 go: downloading github.com/miekg/dns v1.1.26 20:58:50 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 20:58:50 go: downloading gopkg.in/yaml.v2 v2.3.0 20:58:50 go: downloading github.com/hpcloud/tail v1.0.0 20:58:50 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 20:58:50 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 20:58:50 $ docker stop --time=1 4c3669f0b996d2636758fb4eda45d93cec1fdf52b0fe5e435b0b744953984368 20:58:52 $ docker rm -f 4c3669f0b996d2636758fb4eda45d93cec1fdf52b0fe5e435b0b744953984368 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:58:55 Warning: overwriting stash ‘coverage-report’ 20:58:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:58:56 + ls -al . 20:58:56 total 304 20:58:56 drwxrwxr-x 11 jenkins jenkins 4096 Nov 12 20:58 . 20:58:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 20:54 .. 20:58:56 -rw-rw-r-- 1 jenkins jenkins 140 Nov 12 20:54 .dockerignore 20:58:56 drwxrwxr-x 8 jenkins jenkins 4096 Nov 12 20:55 .git 20:58:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 20:54 .github 20:58:56 -rw-rw-r-- 1 jenkins jenkins 124 Nov 12 20:54 .gitignore 20:58:56 -rw-rw-r-- 1 jenkins jenkins 26321 Nov 12 20:54 CHANGELOG.md 20:58:56 -rw-rw-r-- 1 jenkins jenkins 677 Nov 12 20:54 GOVERNANCE.md 20:58:56 -rw-rw-r-- 1 jenkins jenkins 880 Nov 12 20:54 Jenkinsfile 20:58:56 -rw-rw-r-- 1 jenkins jenkins 11341 Nov 12 20:54 LICENSE 20:58:56 -rw-rw-r-- 1 jenkins jenkins 1120 Nov 12 20:54 Makefile 20:58:56 -rw-rw-r-- 1 jenkins jenkins 619 Nov 12 20:54 OWNERS.md 20:58:56 -rw-rw-r-- 1 jenkins jenkins 4877 Nov 12 20:54 README.md 20:58:56 -rw-rw-r-- 1 jenkins jenkins 5 Nov 12 20:52 VERSION 20:58:56 drwxrwxr-x 2 jenkins jenkins 4096 Nov 12 20:54 bin 20:58:56 -rw-r--r-- 1 jenkins jenkins 128369 Nov 12 20:57 coverage.out 20:58:56 drwxrwxr-x 5 jenkins jenkins 4096 Nov 12 20:54 example 20:58:56 -rw-rw-r-- 1 jenkins jenkins 576 Nov 12 20:58 go.mod 20:58:56 -rw-rw-r-- 1 jenkins jenkins 48946 Nov 12 20:54 go.sum 20:58:56 drwxrwxr-x 15 jenkins jenkins 4096 Nov 12 20:54 internal 20:58:56 drwxrwxr-x 3 jenkins jenkins 4096 Nov 12 20:54 openapi 20:58:56 drwxrwxr-x 5 jenkins jenkins 4096 Nov 12 20:54 pkg 20:58:56 drwxrwxr-x 4 jenkins jenkins 4096 Nov 12 20:54 snap 20:58:56 drwxrwxr-x 6 jenkins jenkins 4096 Nov 12 20:54 vendor 20:58:56 -rw-rw-r-- 1 jenkins jenkins 222 Nov 12 20:54 version.go [Pipeline] isUnix [Pipeline] sh 20:58:57 + 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=48df9d91fbaf94aabdf03ecb0566b509996ae599 --label arch=arm64 --label version=2.1.0 . 20:58:58 Sending build context to Docker daemon 16.12MB 20:58:58 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 20:58:58 Step 2/24 : FROM ${BASE} AS builder 20:58:58 ---> cd57b8dd9797 20:58:58 Step 3/24 : ARG MAKE=make build 20:58:58 ---> Running in 06471fc2e9b4 20:58:58 Removing intermediate container 06471fc2e9b4 20:58:58 ---> f73cb32f8939 20:58:58 Step 4/24 : WORKDIR /device-sdk-go 20:58:59 ---> Running in e6c4e2a685af 20:58:59 Removing intermediate container e6c4e2a685af 20:58:59 ---> 44fe936d2777 20:58:59 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:58:59 ---> Running in 7420288cfe4c 20:58:59 Removing intermediate container 7420288cfe4c 20:58:59 ---> 95575291f9be 20:58:59 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:58:59 ---> Running in 9883cb7d5b11 20:59:01 Removing intermediate container 9883cb7d5b11 20:59:01 ---> 87aa483e1ae1 20:59:01 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 20:59:01 ---> Running in 33374ca4b9ca 20:59:03 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:59:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:59:04 OK: 219 MiB in 52 packages 20:59:05 Removing intermediate container 33374ca4b9ca 20:59:05 ---> 3b357ea051fe 20:59:05 Step 8/24 : COPY . . 20:59:09 ---> ce313534a60d 20:59:09 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:09 ---> Running in 1c8da6636c59 20:59:10 skipping... 20:59:11 Removing intermediate container 1c8da6636c59 20:59:11 ---> 391c350e087c 20:59:11 Step 10/24 : RUN ${MAKE} 20:59:11 ---> Running in 1837758eb931 20:59:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.1.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 20:59:45 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 20:59:46 Removing intermediate container 1837758eb931 20:59:46 ---> 88485b5e765e 20:59:46 Step 11/24 : FROM alpine:3.14 20:59:51 3.14: Pulling from library/alpine 20:59:51 be307f383ecc: Pulling fs layer 20:59:51 be307f383ecc: Verifying Checksum 20:59:51 be307f383ecc: Download complete 20:59:51 be307f383ecc: Pull complete 20:59:51 Digest: sha256:00abeca57ca04b7672955453580fd51ab9ad1b4c5571b1e7643becaadb81b749 20:59:51 Status: Downloaded newer image for alpine:3.14 20:59:51 ---> 5b8b7b635229 20:59:51 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 20:59:51 ---> Running in d5276c64bdd6 20:59:52 Removing intermediate container d5276c64bdd6 20:59:52 ---> db4e37fc8257 20:59:52 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:52 ---> Running in dce42b89eeeb 20:59:54 Removing intermediate container dce42b89eeeb 20:59:54 ---> d26cde7ce1c1 20:59:54 Step 14/24 : RUN apk add --update --no-cache zeromq 20:59:54 ---> Running in 709820192b0e 20:59:55 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:59:56 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:59:57 (1/5) Installing libgcc (10.3.1_git20210424-r2) 20:59:57 (2/5) Installing libsodium (1.0.18-r0) 20:59:57 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 20:59:57 (4/5) Installing libzmq (4.3.4-r0) 20:59:57 (5/5) Installing zeromq (4.3.4-r0) 20:59:57 Executing busybox-1.33.1-r6.trigger 20:59:57 OK: 8 MiB in 19 packages 20:59:58 Removing intermediate container 709820192b0e 20:59:58 ---> 9550cbbd5f77 20:59:58 Step 15/24 : WORKDIR / 20:59:58 ---> Running in 307372dc4030 20:59:59 Removing intermediate container 307372dc4030 20:59:59 ---> 839b97942a0b 20:59:59 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 20:59:59 ---> 2e1d00900159 20:59:59 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:00:00 ---> 3ef0d2baa50c 21:00:00 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:00:01 ---> 2fbbf0471d2a 21:00:01 Step 19/24 : EXPOSE 59999 21:00:01 ---> Running in b4730a76bf72 21:00:01 Removing intermediate container b4730a76bf72 21:00:01 ---> e75369e4e7ea 21:00:01 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:00:01 ---> Running in b65f5898a653 21:00:02 Removing intermediate container b65f5898a653 21:00:02 ---> c7e4a40846b7 21:00:02 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:00:02 ---> Running in cfbe2d46c564 21:00:02 Removing intermediate container cfbe2d46c564 21:00:02 ---> d6d09fd29469 21:00:02 Step 22/24 : LABEL arch=arm64 21:00:03 ---> Running in d38ce88004b3 21:00:03 Removing intermediate container d38ce88004b3 21:00:03 ---> 583ded615371 21:00:03 Step 23/24 : LABEL git_sha=48df9d91fbaf94aabdf03ecb0566b509996ae599 21:00:03 ---> Running in a581782e7e94 21:00:03 Removing intermediate container a581782e7e94 21:00:03 ---> eaf03fc90102 21:00:03 Step 24/24 : LABEL version=2.1.0 21:00:03 ---> Running in ef5316678064 21:00:04 Removing intermediate container ef5316678064 21:00:04 ---> 09154acdcf00 21:00:04 [Warning] One or more build-args [ARCH] were not consumed 21:00:04 Successfully built 09154acdcf00 21:00:04 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 21:00:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:00:05 21:00:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 21:00:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:00:05 arm64: Pulling from edgex-lftools-log-publisher 21:00:05 448f6bf000e3: Pulling fs layer 21:00:05 f757da607395: Pulling fs layer 21:00:05 05883995daec: Pulling fs layer 21:00:05 8603b9c90790: Pulling fs layer 21:00:05 1560dd03e051: Pulling fs layer 21:00:05 27f5ce0e4adf: Pulling fs layer 21:00:05 c2d8d7efcc4b: Pulling fs layer 21:00:05 1560dd03e051: Waiting 21:00:05 27f5ce0e4adf: Waiting 21:00:05 c2d8d7efcc4b: Waiting 21:00:05 8603b9c90790: Waiting 21:00:05 f757da607395: Verifying Checksum 21:00:05 f757da607395: Download complete 21:00:05 8603b9c90790: Verifying Checksum 21:00:05 8603b9c90790: Download complete 21:00:05 1560dd03e051: Verifying Checksum 21:00:05 1560dd03e051: Download complete 21:00:05 27f5ce0e4adf: Download complete 21:00:05 05883995daec: Verifying Checksum 21:00:05 05883995daec: Download complete 21:00:06 448f6bf000e3: Verifying Checksum 21:00:06 448f6bf000e3: Download complete 21:00:08 c2d8d7efcc4b: Verifying Checksum 21:00:08 c2d8d7efcc4b: Download complete 21:00:09 448f6bf000e3: Pull complete 21:00:10 f757da607395: Pull complete 21:00:11 05883995daec: Pull complete 21:00:12 8603b9c90790: Pull complete 21:00:13 1560dd03e051: Pull complete 21:00:13 27f5ce0e4adf: Pull complete 21:00:28 c2d8d7efcc4b: Pull complete 21:00:28 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 21:00:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:00:28 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 21:00:28 prd-ubuntu18.04-docker-arm64-4c-16g-418 does not seem to be running inside a container 21:00:28 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@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 21:00:31 $ docker top 8e411014ce2aa7405de63ee216fc3898746c8b9b30c1def84b046a1f61663513 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:32 ---> job-cost.sh 21:00:32 lf-activate-venv: SKIPPING 21:00:32 INFO: No Stack... 21:00:32 INFO: Retrieving Pricing Info for: v3-standard-4 21:00:33 INFO: Archiving Costs [Pipeline] sh 21:00:33 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 21:00:33 + cut -d, -f6 [Pipeline] lock 21:00:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-jakarta-4-stack-cost] 21:00:33 Resource [jenkins-edgexfoundry-device-sdk-go-jakarta-4-stack-cost] did not exist. Created. 21:00:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-jakarta-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:34 /w/workspace/device-sdk-go/4@tmp/durable-319e5afe/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-319e5afe/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 21:00:35 + echo total: 0.10999999940395355 [Pipeline] stash 21:00:35 Warning: overwriting stash ‘stack-cost’ 21:00:35 Stashed 1 file(s) [Pipeline] } 21:00:35 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-jakarta-4-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:35 $ docker stop --time=1 8e411014ce2aa7405de63ee216fc3898746c8b9b30c1def84b046a1f61663513 21:00:36 $ docker rm -f 8e411014ce2aa7405de63ee216fc3898746c8b9b30c1def84b046a1f61663513 [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 21:00:37 provisioning config files... 21:00:37 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config6622609520493786546tmp [Pipeline] { [Pipeline] sh 21:00:38 + set +x 21:00:38 + curl -s https://codecov.io/bash 21:00:38 + bash -s -- 21:00:38 21:00:38 _____ _ 21:00:38 / ____| | | 21:00:38 | | ___ __| | ___ ___ _____ __ 21:00:38 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:00:38 | |___| (_) | (_| | __/ (_| (_) \ V / 21:00:38 \_____\___/ \__,_|\___|\___\___/ \_/ 21:00:38 Bash-1.0.6 21:00:38 21:00:38 21:00:38 ==> git version 2.24.4 found 21:00:38 ==> 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 21:00:38 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 21:00:38 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 21:00:38 ==> Jenkins CI detected. 21:00:38 current dir:  /w/workspace/gexfoundry_device-sdk-go_jakarta 21:00:38 project root: . 21:00:38 --> token set from env 21:00:38 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:00:38 ==> Running gcov in . (disable via -X gcov) 21:00:38 ==> Python coveragepy not found 21:00:38 ==> Searching for coverage reports in: 21:00:38 + . 21:00:38 -> Found 1 reports 21:00:38 ==> Detecting git/mercurial file structure 21:00:38 ==> Reading reports 21:00:38 + ./coverage.out bytes=128369 21:00:38 ==> Appending adjustments 21:00:38 https://docs.codecov.io/docs/fixing-reports 21:00:38 + Found adjustments 21:00:38 ==> Gzipping contents 21:00:38 24K /tmp/codecov.IMh0S8.gz 21:00:38 ==> Uploading reports 21:00:38 url: https://codecov.io 21:00:38 query: branch=jakarta&commit=48df9d91fbaf94aabdf03ecb0566b509996ae599&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:00:38 -> Pinging Codecov 21:00:38 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=jakarta&commit=48df9d91fbaf94aabdf03ecb0566b509996ae599&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fjakarta%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:00:39 -> Uploading to 21:00:39 https://storage.googleapis.com/codecov/v4/raw/2021-11-12/7E55EF52A471D76F132DFD9A03CDDE97/48df9d91fbaf94aabdf03ecb0566b509996ae599/4fc177e9-d304-454e-85bc-4cf7f2de8fe3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211112%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211112T210039Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32eb43fc0c22d3ba3d7f47b3d0be6fab8b8113c2a8528c51e0ab593f35bb13e6 21:00:39 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:39 Dload Upload Total Spent Left Speed 21:00:39 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23092 0 0 100 23092 0 81421 --:--:-- --:--:-- --:--:-- 81309 100 23092 0 0 100 23092 0 81381 --:--:-- --:--:-- --:--:-- 81309 21:00:39 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/48df9d91fbaf94aabdf03ecb0566b509996ae599 [Pipeline] } 21:00:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:00:39 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:00:39 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 21:00:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:00:39 21:00:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 21:00:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:00:40 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:00:40 188c0c94c7c5: Pulling fs layer 21:00:40 0ef7d3d256c8: Pulling fs layer 21:00:40 de9db76c5a1d: Pulling fs layer 21:00:40 0eba1c9be4d2: Pulling fs layer 21:00:40 0d57e429df01: Pulling fs layer 21:00:40 4e4be7b47b0d: Pulling fs layer 21:00:40 e1f770b5df2f: Pulling fs layer 21:00:40 85a0685a4137: Pulling fs layer 21:00:40 0eba1c9be4d2: Waiting 21:00:40 4e4be7b47b0d: Waiting 21:00:40 0d57e429df01: Waiting 21:00:40 e1f770b5df2f: Waiting 21:00:40 85a0685a4137: Waiting 21:00:40 de9db76c5a1d: Verifying Checksum 21:00:40 de9db76c5a1d: Download complete 21:00:40 0ef7d3d256c8: Verifying Checksum 21:00:40 0ef7d3d256c8: Download complete 21:00:40 0d57e429df01: Verifying Checksum 21:00:40 0d57e429df01: Download complete 21:00:40 4e4be7b47b0d: Verifying Checksum 21:00:40 4e4be7b47b0d: Download complete 21:00:40 188c0c94c7c5: Verifying Checksum 21:00:40 188c0c94c7c5: Download complete 21:00:40 e1f770b5df2f: Verifying Checksum 21:00:40 e1f770b5df2f: Download complete 21:00:40 0eba1c9be4d2: Verifying Checksum 21:00:40 0eba1c9be4d2: Download complete 21:00:41 188c0c94c7c5: Pull complete 21:00:41 85a0685a4137: Verifying Checksum 21:00:41 85a0685a4137: Download complete 21:00:41 0ef7d3d256c8: Pull complete 21:00:41 de9db76c5a1d: Pull complete 21:00:45 0eba1c9be4d2: Pull complete 21:00:45 0d57e429df01: Pull complete 21:00:45 4e4be7b47b0d: Pull complete 21:00:45 e1f770b5df2f: Pull complete 21:00:50 85a0685a4137: Pull complete 21:00:50 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 21:00:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:00:50 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 21:00:50 prd-centos7-docker-4c-2g-413 does not seem to be running inside a container 21:00:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 21:00:51 $ docker top 30417b7214b258a687263639a6a42b9e9fe0b5874aab8fca39c04bda6bed75b1 -eo pid,comm [Pipeline] { [Pipeline] echo 21:00:51 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 21:00:51 + set -o pipefail 21:00:51 + snyk monitor '--org=edgex-jenkins' 21:00:53 21:00:53 Monitoring /w/workspace/gexfoundry_device-sdk-go_jakarta (github.com/edgexfoundry/device-sdk-go/v2)... 21:00:53 21:00:53 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/7de7fa35-1adc-4c4f-bebb-de2a761773f1 21:00:53 21:00:53 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:00:53 21:00:53 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:00:53 21:00:53 21:00:53 You have reached your monthly limit of 200 private tests for your edgex-jenkins org. 21:00:53 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:00:53 $ docker stop --time=1 30417b7214b258a687263639a6a42b9e9fe0b5874aab8fca39c04bda6bed75b1 21:00:54 $ docker rm -f 30417b7214b258a687263639a6a42b9e9fe0b5874aab8fca39c04bda6bed75b1 [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 21:00:55 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:00:55 provisioning config files... 21:00:55 copy managed file [swaggerhub-api-key] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config1233621568893747857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:55 --> edgex-publish-swagger.sh 21:00:55 === Publish openapi/v2 API === 21:00:55 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 21:00:55 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/gexfoundry_device-sdk-go_jakarta/openapi/v2/device-sdk.yaml] 21:00:55 % Total % Received % Xferd Average Speed Time Time Time Current 21:00:55 Dload Upload Total Spent Left Speed 21:00:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 51659 0 0 100 51659 0 45521 0:00:01 0:00:01 --:--:-- 45554 100 51659 0 0 100 51659 0 45515 0:00:01 0:00:01 --:--:-- 45514 21:00:56 21:00:56 [Pipeline] } 21:00:56 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 21:00:56 + git log --format=format:%s -1 48df9d91fbaf94aabdf03ecb0566b509996ae599 [Pipeline] isUnix [Pipeline] sh 21:00:57 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:00:57 . [Pipeline] withDockerContainer 21:00:57 prd-centos7-docker-4c-2g-413 does not seem to be running inside a container 21:00:57 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 21:00:57 $ docker top e30601a9dae84b4c108d3338d1901a0251002da48ef284ad81a9c28194d4a311 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:00:57 [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:00:57 + git semver [Pipeline] } 21:00:58 $ docker stop --time=1 e30601a9dae84b4c108d3338d1901a0251002da48ef284ad81a9c28194d4a311 21:00:59 $ docker rm -f e30601a9dae84b4c108d3338d1901a0251002da48ef284ad81a9c28194d4a311 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 21:00:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:00:59 21:00:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 21:00:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:00:59 0.23.1-centos7: Pulling from edgex-lftools 21:00:59 ab5ef0e58194: Pulling fs layer 21:00:59 9712f1f96733: Pulling fs layer 21:00:59 63f879dbbcfc: Pulling fs layer 21:00:59 0d9ebad4ef96: Pulling fs layer 21:00:59 e9a5061849ea: Pulling fs layer 21:00:59 d747dcd14b5f: Pulling fs layer 21:00:59 2de7ff778b66: Pulling fs layer 21:00:59 0d9ebad4ef96: Waiting 21:00:59 e9a5061849ea: Waiting 21:00:59 d747dcd14b5f: Waiting 21:00:59 2de7ff778b66: Waiting 21:00:59 9712f1f96733: Verifying Checksum 21:00:59 9712f1f96733: Download complete 21:01:00 63f879dbbcfc: Verifying Checksum 21:01:00 63f879dbbcfc: Download complete 21:01:00 ab5ef0e58194: Verifying Checksum 21:01:00 ab5ef0e58194: Download complete 21:01:00 d747dcd14b5f: Verifying Checksum 21:01:00 d747dcd14b5f: Download complete 21:01:00 e9a5061849ea: Verifying Checksum 21:01:00 e9a5061849ea: Download complete 21:01:00 0d9ebad4ef96: Verifying Checksum 21:01:00 0d9ebad4ef96: Download complete 21:01:00 2de7ff778b66: Verifying Checksum 21:01:00 2de7ff778b66: Download complete 21:01:03 ab5ef0e58194: Pull complete 21:01:03 9712f1f96733: Pull complete 21:01:03 63f879dbbcfc: Pull complete 21:01:08 0d9ebad4ef96: Pull complete 21:01:08 e9a5061849ea: Pull complete 21:01:08 d747dcd14b5f: Pull complete 21:01:09 2de7ff778b66: Pull complete 21:01:09 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:01:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:01:09 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 21:01:09 prd-centos7-docker-4c-2g-413 does not seem to be running inside a container 21:01:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 21:01:13 $ docker top b2f7bb3779a07900721bcc0f2a3a9299d87e47676f7f70d557e6ed214345e222 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:01:13 provisioning config files... 21:01:13 copy managed file [sigul-config] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config618136278219866228tmp 21:01:13 copy managed file [sigul-password] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config7921679462431593768tmp 21:01:13 copy managed file [sigul-pki] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config6114338013436881001tmp [Pipeline] { [Pipeline] echo 21:01:13 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:01:13 ---> sigul-configuration.sh 21:01:13 gpg: directory `/root/.gnupg' created 21:01:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:01:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:01:13 gpg: keyring `/root/.gnupg/secring.gpg' created 21:01:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:01:13 gpg: CAST5 encrypted data 21:01:13 gpg: encrypted with 1 passphrase 21:01:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:01:13 + mkdir /home/jenkins 21:01:13 + mkdir /home/jenkins/sigul [Pipeline] sh 21:01:14 + 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 21:01:14 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:01:14 ---> sigul-install.sh 21:01:14 Sigul already installed; skipping installation. [Pipeline] sh 21:01:14 + git tag --list 21:01:14 0.7.1 21:01:14 delhi-tag 21:01:14 v1.0.0 21:01:14 v1.1.0 21:01:14 v1.1.1 21:01:14 v1.1.2 21:01:14 v1.2.0 21:01:14 v1.2.1 21:01:14 v1.2.2 21:01:14 v1.2.3 21:01:14 v1.3.0 21:01:14 v1.4.0 21:01:14 v2.0.0 21:01:14 v2.0.1-dev.1 21:01:14 v2.0.1-dev.10 21:01:14 v2.0.1-dev.11 21:01:14 v2.0.1-dev.12 21:01:14 v2.0.1-dev.13 21:01:14 v2.0.1-dev.14 21:01:14 v2.0.1-dev.15 21:01:14 v2.0.1-dev.16 21:01:14 v2.0.1-dev.17 21:01:14 v2.0.1-dev.18 21:01:14 v2.0.1-dev.19 21:01:14 v2.0.1-dev.2 21:01:14 v2.0.1-dev.20 21:01:14 v2.0.1-dev.21 21:01:14 v2.0.1-dev.22 21:01:14 v2.0.1-dev.23 21:01:14 v2.0.1-dev.24 21:01:14 v2.0.1-dev.25 21:01:14 v2.0.1-dev.26 21:01:14 v2.0.1-dev.27 21:01:14 v2.0.1-dev.28 21:01:14 v2.0.1-dev.29 21:01:14 v2.0.1-dev.3 21:01:14 v2.0.1-dev.30 21:01:14 v2.0.1-dev.31 21:01:14 v2.0.1-dev.32 21:01:14 v2.0.1-dev.33 21:01:14 v2.0.1-dev.4 21:01:14 v2.0.1-dev.5 21:01:14 v2.0.1-dev.6 21:01:14 v2.0.1-dev.7 21:01:14 v2.0.1-dev.8 21:01:14 v2.0.1-dev.9 21:01:14 v2.1.0 [Pipeline] sh 21:01:15 + lftools sign git-tag v2.1.0 21:01:15 Signing Git tag with Sigul... 21:01:15 Signing v2.1.0 [Pipeline] echo 21:01:17 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:01:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:01:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:01:17 $ docker stop --time=1 b2f7bb3779a07900721bcc0f2a3a9299d87e47676f7f70d557e6ed214345e222 21:01:18 $ docker rm -f b2f7bb3779a07900721bcc0f2a3a9299d87e47676f7f70d557e6ed214345e222 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] isUnix [Pipeline] sh 21:01:19 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:01:19 . [Pipeline] withDockerContainer 21:01:19 prd-centos7-docker-4c-2g-413 does not seem to be running inside a container 21:01:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 21:01:19 $ docker top 9f953ada6bf87b5a295fcfe5a81322f84d214d8b8a9b9a272f928396cdb0eae0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:01:19 [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:01:19 + git semver [Pipeline] } 21:01:19 $ docker stop --time=1 9f953ada6bf87b5a295fcfe5a81322f84d214d8b8a9b9a272f928396cdb0eae0 21:01:21 $ docker rm -f 9f953ada6bf87b5a295fcfe5a81322f84d214d8b8a9b9a272f928396cdb0eae0 [Pipeline] // withDockerContainer [Pipeline] isUnix [Pipeline] sh 21:01:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 21:01:21 . [Pipeline] withDockerContainer 21:01:21 prd-centos7-docker-4c-2g-413 does not seem to be running inside a container 21:01:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 21:01:22 $ docker top 3948182631b54279fdbfb8158e26bb19eb94a4972cd1c9bbb21b81cfc6c9fb74 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:01:22 [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.1.0' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:01:22 + git semver [Pipeline] } 21:01:22 $ docker stop --time=1 3948182631b54279fdbfb8158e26bb19eb94a4972cd1c9bbb21b81cfc6c9fb74 21:01:23 $ docker rm -f 3948182631b54279fdbfb8158e26bb19eb94a4972cd1c9bbb21b81cfc6c9fb74 [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] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:01:24 + '[' -d /w/workspace/gexfoundry_device-sdk-go_jakarta/archives ']' [Pipeline] libraryResource [Pipeline] sh 21:01:24 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:01:25 ---> package-listing.sh 21:01:25 ++ tr '[:upper:]' '[:lower:]' 21:01:25 ++ facter osfamily 21:01:25 + OS_FAMILY=redhat 21:01:25 + workspace=/w/workspace/gexfoundry_device-sdk-go_jakarta 21:01:25 + START_PACKAGES=/tmp/packages_start.txt 21:01:25 + END_PACKAGES=/tmp/packages_end.txt 21:01:25 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:01:25 + PACKAGES=/tmp/packages_start.txt 21:01:25 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 21:01:25 + PACKAGES=/tmp/packages_end.txt 21:01:25 + case "${OS_FAMILY}" in 21:01:25 + sort 21:01:25 + rpm -qa 21:01:26 + '[' -f /tmp/packages_start.txt ']' 21:01:26 + '[' -f /tmp/packages_end.txt ']' 21:01:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:01:26 + '[' /w/workspace/gexfoundry_device-sdk-go_jakarta ']' 21:01:26 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ 21:01:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_jakarta/archives/ [Pipeline] echo 21:01:26 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:01:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 21:01:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:26 21:01:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 21:01:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:27 latest: Pulling from edgex-lftools-log-publisher 21:01:27 b4d181a07f80: Pulling fs layer 21:01:27 a1111a8f2ec3: Pulling fs layer 21:01:27 ed53099fbce6: Pulling fs layer 21:01:27 dc539afda2c1: Pulling fs layer 21:01:27 77bc0d833cb6: Pulling fs layer 21:01:27 9065ff56babe: Pulling fs layer 21:01:27 d287ab97295c: Pulling fs layer 21:01:27 dc539afda2c1: Waiting 21:01:27 77bc0d833cb6: Waiting 21:01:27 9065ff56babe: Waiting 21:01:27 d287ab97295c: Waiting 21:01:27 a1111a8f2ec3: Verifying Checksum 21:01:27 a1111a8f2ec3: Download complete 21:01:27 dc539afda2c1: Verifying Checksum 21:01:27 dc539afda2c1: Download complete 21:01:27 ed53099fbce6: Verifying Checksum 21:01:27 ed53099fbce6: Download complete 21:01:27 9065ff56babe: Verifying Checksum 21:01:27 9065ff56babe: Download complete 21:01:27 77bc0d833cb6: Verifying Checksum 21:01:27 77bc0d833cb6: Download complete 21:01:27 b4d181a07f80: Verifying Checksum 21:01:27 b4d181a07f80: Download complete 21:01:28 d287ab97295c: Verifying Checksum 21:01:28 d287ab97295c: Download complete 21:01:29 b4d181a07f80: Pull complete 21:01:29 a1111a8f2ec3: Pull complete 21:01:29 ed53099fbce6: Pull complete 21:01:29 dc539afda2c1: Pull complete 21:01:29 77bc0d833cb6: Pull complete 21:01:29 9065ff56babe: Pull complete 21:01:35 d287ab97295c: Pull complete 21:01:35 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 21:01:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:01:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 21:01:35 prd-centos7-docker-4c-2g-413 does not seem to be running inside a container 21:01:35 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_jakarta/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_jakarta -v /w/workspace/gexfoundry_device-sdk-go_jakarta:/w/workspace/gexfoundry_device-sdk-go_jakarta:rw,z -v /w/workspace/gexfoundry_device-sdk-go_jakarta@tmp:/w/workspace/gexfoundry_device-sdk-go_jakarta@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 21:01:37 $ docker top f317dc31939e9c5be4d4e7a89ed06debab915b7c05b6c4d62269b918b15ee1d4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:01:37 + touch /tmp/pre-build-complete [Pipeline] sh 21:01:38 + mkdir -p /var/log/sysstat [Pipeline] sh 21:01:38 + ls /var/log/sa-host 21:01:38 + sadf -c /var/log/sa-host/sa12 21:01:38 file_magic: OK 21:01:38 HZ: Using current value: 100 21:01:38 file_header: OK 21:01:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:01:38 Statistics: 21:01:38 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 21:01:38 File successfully converted to sysstat format version 12.0.3 21:01:38 + sadf -c /var/log/sa-host/sa30 21:01:38 file_magic: OK 21:01:38 HZ: Using current value: 100 21:01:38 file_header: OK 21:01:38 file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK 21:01:38 Statistics: 21:01:38 Hnuu...uuuununununu...Hnuu...uuuununununu... 21:01:38 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:38 provisioning config files... 21:01:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_jakarta@tmp/config1490490065231290199tmp [Pipeline] { [Pipeline] echo 21:01:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:01:38 ---> create-netrc.sh [Pipeline] } 21:01:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:01:39 ---> python-tools-install.sh [Pipeline] echo 21:01:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:01:39 ---> sudo-logs.sh 21:01:39 Archiving 'sudo' log.. 21:01:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-413.novalocal: Name or service not known 21:01:39 sudo: unable to resolve host prd-centos7-docker-4c-2g-413.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 21:01:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:01:39 ---> job-cost.sh 21:01:39 lf-activate-venv: SKIPPING 21:01:39 DEBUG: total: 0.10999999940395355 21:01:39 INFO: Retrieving Stack Cost... 21:01:40 INFO: Retrieving Pricing Info for: v3-standard-2 21:01:40 INFO: Archiving Costs [Pipeline] echo 21:01:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:01:40 ---> logs-deploy.sh 21:01:40 lf-activate-venv: SKIPPING 21:01:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/jakarta/4 21:01:40 INFO: archiving workspace using pattern(s): 21:01:41 Archives upload complete. 21:01:41 INFO: archiving logs to Nexus