Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9a649bf1bf9918af6bcd6933aa59ded149e77d26 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-ssh4868446735848556785.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh5274144960380802481.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6086146682679582421.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh9131920521470480979.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12646939280802364741.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.17 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 ‘prd-centos7-docker-4c-2g-4559’ is offline Running on prd-centos7-docker-4c-2g-4563 in /w/workspace/edgexfoundry_device-sdk-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/edgexfoundry_device-sdk-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.24.4' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/edgexfoundry_device-sdk-go_main@tmp/jenkins-gitclient-ssh5050073703964760076.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 9a649bf1bf9918af6bcd6933aa59ded149e77d26 (main) > 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 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 Commit message: "Merge pull request #1095 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.8" > git rev-list --no-walk dd2488f44e7de249a3f057dee004478318674dba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 13:08:03 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 13:08:03 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 13:08:03 ========================================================= 13:08:03 EdgeX Global Pipelines Version Info 13:08:03 ========================================================= [Pipeline] libraryResource [Pipeline] sh 13:08:05 ------------------- 13:08:05 stable info: 13:08:05 ------------------- 13:08:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:08:05 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 13:08:05 Message: update stable to v1.0.220 13:08:05 ------------------- 13:08:05 experimental info: 13:08:05 ------------------- 13:08:05 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 13:08:05 Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 13:08:05 Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9a649bf [Pipeline] echo 13:08:06 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:08:06 provisioning config files... 13:08:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6199034787812561221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:08:07 ---> docker-login.sh 13:08:07 nexus3.edgexfoundry.org:10001 13:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:07 Configure a credential helper to remove this warning. See 13:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:07 13:08:07 Login Succeeded 13:08:07 nexus3.edgexfoundry.org:10002 13:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:07 Configure a credential helper to remove this warning. See 13:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:07 13:08:07 Login Succeeded 13:08:07 nexus3.edgexfoundry.org:10003 13:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:07 Configure a credential helper to remove this warning. See 13:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:07 13:08:07 Login Succeeded 13:08:07 nexus3.edgexfoundry.org:10004 13:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:07 Configure a credential helper to remove this warning. See 13:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:07 13:08:07 Login Succeeded 13:08:07 docker.io 13:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:08 Configure a credential helper to remove this warning. See 13:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:08 13:08:08 Login Succeeded 13:08:08 ---> docker-login.sh ends [Pipeline] } 13:08:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 13:08:09 + git rev-list -1 --merges 9a649bf1bf9918af6bcd6933aa59ded149e77d26~1..9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] echo 13:08:09 -----------> git rev-list -1 --merges 9a649bf1bf9918af6bcd6933aa59ded149e77d26~1..9a649bf1bf9918af6bcd6933aa59ded149e77d26 9a649bf1bf9918af6bcd6933aa59ded149e77d26 13:08:09 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [false] [Pipeline] sh 13:08:09 + git log --format=format:%s -1 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] echo 13:08:09 ========================================================= 13:08:09 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 13:08:09 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:08:10 + git log --format=format:%s -1 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] echo 13:08:10 [semverPrep] GIT_COMMIT: 9a649bf1bf9918af6bcd6933aa59ded149e77d26, Commit Message: Merge pull request #1095 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.8 [Pipeline] echo 13:08:10 [semverPrep] This is not a build commit. [Pipeline] sh 13:08:10 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 13:08:10 + grep -v github /etc/ssh/ssh_known_hosts 13:08:10 + '[' -e /tmp/ssh_known_hosts ']' 13:08:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 13:08:10 + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' 13:08:10 + sudo tee -a /etc/ssh/ssh_known_hosts 13:08:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:08:11 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:08:11 13:08:11 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 13:08:11 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:08:11 latest: Pulling from edgex-devops/git-semver 13:08:11 a0d0a0d46f8b: Pulling fs layer 13:08:11 3e5f54012d9b: Pulling fs layer 13:08:11 4c7163046ea9: Pulling fs layer 13:08:11 0c2d73faf560: Pulling fs layer 13:08:11 0c2d73faf560: Waiting 13:08:11 3e5f54012d9b: Verifying Checksum 13:08:11 3e5f54012d9b: Download complete 13:08:11 a0d0a0d46f8b: Verifying Checksum 13:08:11 a0d0a0d46f8b: Download complete 13:08:11 0c2d73faf560: Verifying Checksum 13:08:11 0c2d73faf560: Download complete 13:08:11 4c7163046ea9: Verifying Checksum 13:08:11 4c7163046ea9: Download complete 13:08:11 a0d0a0d46f8b: Pull complete 13:08:11 3e5f54012d9b: Pull complete 13:08:12 4c7163046ea9: Pull complete 13:08:12 0c2d73faf560: Pull complete 13:08:12 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 13:08:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:08:12 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 13:08:12 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:08:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:08:13 $ docker top 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:08:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:08:13 [ssh-agent] Looking for ssh-agent implementation... 13:08:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:08:13 $ docker exec 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 ssh-agent 13:08:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcbDlfk/agent.13 13:08:14 SSH_AGENT_PID=19 13:08:14 Running ssh-add (command line suppressed) 13:08:14 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7245008539864218578.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_7245008539864218578.key) 13:08:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:08:14 + git tag --points-at HEAD [Pipeline] } 13:08:14 $ docker exec --env ******** --env ******** 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 ssh-agent -k 13:08:14 unset SSH_AUTH_SOCK; 13:08:14 unset SSH_AGENT_PID; 13:08:14 echo Agent pid 19 killed; 13:08:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 13:08:14 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:08:14 [ssh-agent] Looking for ssh-agent implementation... 13:08:14 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:08:14 $ docker exec 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 ssh-agent 13:08:14 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXLphFPp/agent.53 13:08:14 SSH_AGENT_PID=59 13:08:14 Running ssh-add (command line suppressed) 13:08:15 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2347754642180240734.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_2347754642180240734.key) 13:08:15 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:08:15 + git semver init 13:08:15 # -> Open(): unable to determine branch for HEAD 13:08:15 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 13:08:15 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 13:08:15 # $SEMVER_REMOTE_NAME = origin 13:08:15 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:08:15 # $SEMVER_USER_NAME = edgex-jenkins 13:08:15 # $SEMVER_BRANCH = main 13:08:15 # $SEMVER_TEMP = /tmp/semver-651686063 13:08:15 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 13:08:21 # '/tmp/semver-651686063' -> '/w/workspace/edgexfoundry_device-sdk-go_main/.semver' 13:08:21 # -> Force: false 13:08:21 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 13:08:21 $ docker exec --env ******** --env ******** 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 ssh-agent -k 13:08:21 unset SSH_AUTH_SOCK; 13:08:21 unset SSH_AGENT_PID; 13:08:21 echo Agent pid 59 killed; 13:08:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:08:21 + git semver [Pipeline] } 13:08:21 $ docker stop --time=1 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 13:08:22 $ docker rm -f 2df2f0fc97c32d2f53ce713e0d2a1c495b31a8599662666f3cf2006fecda52e2 [Pipeline] // withDockerContainer [Pipeline] sh 13:08:23 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 13:08:23 Stashed 1 file(s) [Pipeline] echo 13:08:23 [edgeXSemver]: initialized semver on version 2.2.0-dev.14 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:08:24 provisioning config files... 13:08:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5117499859076062772tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:08:24 ---> docker-login.sh 13:08:24 nexus3.edgexfoundry.org:10001 13:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:24 Configure a credential helper to remove this warning. See 13:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:24 13:08:24 Login Succeeded 13:08:24 nexus3.edgexfoundry.org:10002 13:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:24 Configure a credential helper to remove this warning. See 13:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:24 13:08:24 Login Succeeded 13:08:24 nexus3.edgexfoundry.org:10003 13:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:24 Configure a credential helper to remove this warning. See 13:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:24 13:08:24 Login Succeeded 13:08:24 nexus3.edgexfoundry.org:10004 13:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:24 Configure a credential helper to remove this warning. See 13:08:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:24 13:08:24 Login Succeeded 13:08:24 docker.io 13:08:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:08:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:08:25 Configure a credential helper to remove this warning. See 13:08:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:08:25 13:08:25 Login Succeeded 13:08:25 ---> docker-login.sh ends [Pipeline] } 13:08:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 13:08:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:08:25 ========================================================= 13:08:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 13:08:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:08:25 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg 'MAKE=echo noop' --target=builder . 13:08:25 Sending build context to Docker daemon 9.425MB 13:08:25 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 13:08:25 Step 2/11 : FROM ${BASE} AS builder 13:08:26 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 13:08:26 59bf1c3509f3: Pulling fs layer 13:08:26 666ba61612fd: Pulling fs layer 13:08:26 8ed8ca486205: Pulling fs layer 13:08:26 4fe6c5a15a65: Pulling fs layer 13:08:26 22a0e8bec74d: Pulling fs layer 13:08:26 640e595b4fbd: Pulling fs layer 13:08:26 763cafe07f6e: Pulling fs layer 13:08:26 0c0b528cf693: Pulling fs layer 13:08:26 10935f4eaf8b: Pulling fs layer 13:08:26 4fe6c5a15a65: Waiting 13:08:26 22a0e8bec74d: Waiting 13:08:26 640e595b4fbd: Waiting 13:08:26 763cafe07f6e: Waiting 13:08:26 0c0b528cf693: Waiting 13:08:26 10935f4eaf8b: Waiting 13:08:31 8ed8ca486205: Download complete 13:08:31 666ba61612fd: Download complete 13:08:31 59bf1c3509f3: Verifying Checksum 13:08:31 59bf1c3509f3: Download complete 13:08:31 59bf1c3509f3: Pull complete 13:08:31 666ba61612fd: Pull complete 13:08:31 8ed8ca486205: Pull complete 13:08:31 4fe6c5a15a65: Verifying Checksum 13:08:31 4fe6c5a15a65: Download complete 13:08:36 4fe6c5a15a65: Pull complete 13:08:36 763cafe07f6e: Verifying Checksum 13:08:36 763cafe07f6e: Download complete 13:08:36 22a0e8bec74d: Verifying Checksum 13:08:36 22a0e8bec74d: Download complete 13:08:36 640e595b4fbd: Verifying Checksum 13:08:36 640e595b4fbd: Download complete 13:08:36 22a0e8bec74d: Pull complete 13:08:36 0c0b528cf693: Verifying Checksum 13:08:36 0c0b528cf693: Download complete 13:08:36 640e595b4fbd: Pull complete 13:08:36 763cafe07f6e: Pull complete 13:08:36 0c0b528cf693: Pull complete 13:08:37 10935f4eaf8b: Verifying Checksum 13:08:37 10935f4eaf8b: Download complete 13:08:39 Still waiting to schedule task 13:08:39 All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline 13:08:40 10935f4eaf8b: Pull complete 13:08:40 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 13:08:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 13:08:40 ---> 99d49a6021b9 13:08:40 Step 3/11 : ARG MAKE=make build 13:08:43 ---> Running in 64464ad72e35 13:08:43 Removing intermediate container 64464ad72e35 13:08:43 ---> ccd5fce2f493 13:08:43 Step 4/11 : WORKDIR /device-sdk-go 13:08:43 ---> Running in 7870575403b2 13:08:43 Removing intermediate container 7870575403b2 13:08:43 ---> b7c3236f7bd1 13:08:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:08:43 ---> Running in ed1fcb693d16 13:08:43 Removing intermediate container ed1fcb693d16 13:08:43 ---> dc4d936a1d45 13:08:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:08:43 ---> Running in 416ba1a63bb1 13:08:44 Removing intermediate container 416ba1a63bb1 13:08:44 ---> 1ca0a068caa9 13:08:44 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 13:08:44 ---> Running in 425745700e31 13:08:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:08:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:08:46 OK: 221 MiB in 52 packages 13:08:46 Removing intermediate container 425745700e31 13:08:46 ---> 28eda433d3f5 13:08:46 Step 8/11 : COPY go.mod vendor* ./ 13:08:46 ---> 95dd50b7c800 13:08:46 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:08:46 ---> Running in 3c9a0405bd06 13:09:25 Removing intermediate container 3c9a0405bd06 13:09:25 ---> 46fc396d69bf 13:09:25 Step 10/11 : COPY . . 13:09:25 ---> bb1f15572460 13:09:25 Step 11/11 : RUN ${MAKE} 13:09:25 ---> Running in 0e76d78e4715 13:09:25 noop 13:09:25 Removing intermediate container 0e76d78e4715 13:09:25 ---> ee7adb62afe9 13:09:25 Successfully built ee7adb62afe9 13:09:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 13:09:25 + docker inspect -f . ci-base-image-x86_64 13:09:25 . [Pipeline] withDockerContainer 13:09:25 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:09:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:09:26 $ docker top ef3f384999d64054d092366f07d3cdd6e7cb374c733c6fd104245dbd8346b4b3 -eo pid,comm [Pipeline] { [Pipeline] sh 13:09:26 + go version 13:09:26 go version go1.17.6 linux/amd64 [Pipeline] } 13:09:26 $ docker stop --time=1 ef3f384999d64054d092366f07d3cdd6e7cb374c733c6fd104245dbd8346b4b3 13:09:27 $ docker rm -f ef3f384999d64054d092366f07d3cdd6e7cb374c733c6fd104245dbd8346b4b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:09:28 + docker inspect -f . ci-base-image-x86_64 13:09:28 . [Pipeline] withDockerContainer 13:09:28 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:09:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 13:09:28 $ docker top 339767b06c3e41d10861a7f9a57b9a2384ba89d68357663bc1d7f6958cf3229f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:09:29 + make test 13:09:29 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:09:29 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 13:09:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 13:09:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 13:09:44 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 13:09:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.012s coverage: 23.3% of statements 13:09:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 13:09:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.009s coverage: 27.6% of statements 13:09:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.010s coverage: 78.9% of statements 13:09:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.007s coverage: 9.0% of statements 13:09:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 13:09:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 13:09:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 13:09:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.009s coverage: 28.7% of statements 13:09:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 13:09:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.010s coverage: 86.1% of statements 13:09:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 13:09:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 13:09:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.016s coverage: 57.4% of statements 13:09:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.033s coverage: 89.2% of statements 13:09:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 13:09:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements 13:09:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 13:10:00 GO111MODULE=on go vet ./... 13:10:04 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:10:04 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:10:04 ./bin/test-attribution-txt.sh [Pipeline] echo 13:10:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:10:05 $ docker stop --time=1 339767b06c3e41d10861a7f9a57b9a2384ba89d68357663bc1d7f6958cf3229f 13:10:05 Running on prd-ubuntu18.04-docker-arm64-4c-16g-4564 in /w/workspace/edgexfoundry_device-sdk-go_main 13:10:06 $ docker rm -f 339767b06c3e41d10861a7f9a57b9a2384ba89d68357663bc1d7f6958cf3229f [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] ws 13:10:06 Running in /w/workspace/device-sdk-go/47 [Pipeline] { [Pipeline] checkout 13:10:07 The recommended git tool is: git 13:10:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:10:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 13:10:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:10:08 + ls -al . 13:10:08 total 272 13:10:08 drwxrwxr-x. 11 jenkins jenkins 4096 Feb 3 13:10 . 13:10:08 drwxrwxr-x. 4 jenkins jenkins 110 Feb 3 13:07 .. 13:10:08 drwxrwxr-x. 2 jenkins jenkins 37 Feb 3 13:07 bin 13:10:08 -rw-rw-r--. 1 jenkins jenkins 26321 Feb 3 13:07 CHANGELOG.md 13:10:08 -rw-r--r--. 1 jenkins jenkins 128608 Feb 3 13:09 coverage.out 13:10:08 -rw-rw-r--. 1 jenkins jenkins 140 Feb 3 13:07 .dockerignore 13:10:08 drwxrwxr-x. 5 jenkins jenkins 62 Feb 3 13:07 example 13:10:08 drwxrwxr-x. 8 jenkins jenkins 162 Feb 3 13:08 .git 13:10:08 drwxrwxr-x. 3 jenkins jenkins 125 Feb 3 13:07 .github 13:10:08 -rw-rw-r--. 1 jenkins jenkins 131 Feb 3 13:07 .gitignore 13:10:08 -rw-rw-r--. 1 jenkins jenkins 42 Feb 3 13:07 .golangci.yml 13:10:08 -rw-rw-r--. 1 jenkins jenkins 2766 Feb 3 13:07 go.mod 13:10:08 -rw-rw-r--. 1 jenkins jenkins 49665 Feb 3 13:07 go.sum 13:10:08 -rw-rw-r--. 1 jenkins jenkins 677 Feb 3 13:07 GOVERNANCE.md 13:10:08 drwxrwxr-x. 15 jenkins jenkins 224 Feb 3 13:07 internal 13:10:08 -rw-rw-r--. 1 jenkins jenkins 880 Feb 3 13:07 Jenkinsfile 13:10:08 -rw-rw-r--. 1 jenkins jenkins 11341 Feb 3 13:07 LICENSE 13:10:08 -rw-rw-r--. 1 jenkins jenkins 1614 Feb 3 13:07 Makefile 13:10:08 drwxrwxr-x. 3 jenkins jenkins 16 Feb 3 13:07 openapi 13:10:08 -rw-rw-r--. 1 jenkins jenkins 619 Feb 3 13:07 OWNERS.md 13:10:08 drwxrwxr-x. 5 jenkins jenkins 50 Feb 3 13:07 pkg 13:10:08 -rw-rw-r--. 1 jenkins jenkins 4881 Feb 3 13:07 README.md 13:10:08 drwx------. 3 jenkins jenkins 57 Feb 3 13:08 .semver 13:10:08 drwxrwxr-x. 4 jenkins jenkins 54 Feb 3 13:07 snap 13:10:08 -rw-rw-r--. 1 jenkins jenkins 12 Feb 3 13:08 VERSION 13:10:08 -rw-rw-r--. 1 jenkins jenkins 222 Feb 3 13:07 version.go [Pipeline] isUnix [Pipeline] sh 13:10:08 + 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=9a649bf1bf9918af6bcd6933aa59ded149e77d26 --label arch=amd64 --label version=2.2.0-dev.14 . 13:10:08 Sending build context to Docker daemon 9.555MB 13:10:08 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 13:10:08 Step 2/25 : FROM ${BASE} AS builder 13:10:08 ---> ee7adb62afe9 13:10:08 Step 3/25 : ARG MAKE=make build 13:10:09 ---> Running in 42ae454e2894 13:10:09 Removing intermediate container 42ae454e2894 13:10:09 ---> 29b6d1cece35 13:10:09 Step 4/25 : WORKDIR /device-sdk-go 13:10:09 ---> Running in e64510f15207 13:10:09 Removing intermediate container e64510f15207 13:10:09 ---> bda75e955d9a 13:10:09 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:10:09 ---> Running in de9e9095352f 13:10:09 Removing intermediate container de9e9095352f 13:10:09 ---> d355dbd28b89 13:10:09 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:10:09 ---> Running in 383ac2990c60 13:10:09 Removing intermediate container 383ac2990c60 13:10:09 ---> 9b4f2efbee2b 13:10:09 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 13:10:09 ---> Running in 66df58dfcd4a 13:10:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 13:10:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 13:10:11 OK: 221 MiB in 52 packages 13:10:11 using credential edgex-jenkins-ssh 13:10:11 Cloning the remote Git repository 13:10:11 Removing intermediate container 66df58dfcd4a 13:10:11 ---> 2a8181626e3d 13:10:11 Step 8/25 : COPY go.mod vendor* ./ 13:10:11 ---> a9cb86de93b8 13:10:11 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:10:11 ---> Running in 0671492b8090 13:10:11 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 13:10:11 > git init /w/workspace/device-sdk-go/47 # timeout=10 13:10:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 13:10:11 > git --version # timeout=10 13:10:11 > git --version # 'git version 2.17.1' 13:10:11 using GIT_SSH to set credentials SSH Credentials for GitHub 13:10:11 > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 13:10:12 Removing intermediate container 0671492b8090 13:10:12 ---> c1cc0d24f625 13:10:12 Step 10/25 : COPY . . 13:10:12 ---> 82f0ece127ae 13:10:12 Step 11/25 : RUN ${MAKE} 13:10:12 ---> Running in 5ab7f1405168 13:10:13 Avoid second fetch 13:10:13 Checking out Revision 9a649bf1bf9918af6bcd6933aa59ded149e77d26 (main) 13:10:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 13:10:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 13:10:13 > git config core.sparsecheckout # timeout=10 13:10:13 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:10:13 > git checkout -f 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 13:10:17 Commit message: "Merge pull request #1095 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/go-mod-messaging/v2-2.2.0-dev.8" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 13:10:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 13:10:18 % Total % Received % Xferd Average Speed Time Time Time Current 13:10:18 Dload Upload Total Spent Left Speed 13:10:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 60423 0 --:--:-- --:--:-- --:--:-- 60423 [Pipeline] sh 13:10:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 13:10:18 + sudo tee /etc/docker/daemon.new 13:10:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 13:10:18 { 13:10:18 "registry-mirrors": [ 13:10:18 "https://nexus3.edgexfoundry.org:10001" 13:10:18 ], 13:10:18 "bip": "10.250.0.254/24", 13:10:18 "hosts": [ 13:10:18 "tcp://0.0.0.0:5555", 13:10:18 "unix:///var/run/docker.sock" 13:10:18 ], 13:10:18 "mtu": 1458, 13:10:18 "selinux-enabled": true, 13:10:18 "seccomp-profile": "/etc/docker/seccomp.json" 13:10:18 } [Pipeline] sh 13:10:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 13:10:19 + sudo service docker restart 13:10:25 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 13:10:25 Removing intermediate container 5ab7f1405168 13:10:25 ---> c3a540ee32a7 13:10:25 Step 12/25 : FROM alpine:3.14 13:10:25 3.14: Pulling from library/alpine 13:10:25 97518928ae5f: Pulling fs layer 13:10:25 97518928ae5f: Verifying Checksum 13:10:25 97518928ae5f: Download complete 13:10:26 97518928ae5f: Pull complete 13:10:26 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 13:10:26 Status: Downloaded newer image for alpine:3.14 13:10:26 ---> 0a97eee8041e 13:10:26 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:10:26 ---> Running in 904a712ecf95 13:10:26 Removing intermediate container 904a712ecf95 13:10:26 ---> 2e6f1cee59f9 13:10:26 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:10:26 ---> Running in 8345f9cf3740 13:10:27 Removing intermediate container 8345f9cf3740 13:10:27 ---> 73cd09ea3665 13:10:27 Step 15/25 : RUN apk add --update --no-cache zeromq 13:10:27 ---> Running in 8f83f53f8b4c 13:10:27 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 13:10:28 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 13:10:28 (1/5) Installing libgcc (10.3.1_git20210424-r2) 13:10:28 (2/5) Installing libsodium (1.0.18-r0) 13:10:28 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 13:10:29 (4/5) Installing libzmq (4.3.4-r0) 13:10:29 (5/5) Installing zeromq (4.3.4-r0) 13:10:29 Executing busybox-1.33.1-r6.trigger 13:10:29 OK: 8 MiB in 19 packages 13:10:29 Removing intermediate container 8f83f53f8b4c 13:10:29 ---> e199746070d1 13:10:29 Step 16/25 : WORKDIR / 13:10:29 ---> Running in 831bd953bcb2 13:10:29 Removing intermediate container 831bd953bcb2 13:10:29 ---> 608a3844ae8b 13:10:29 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:10:29 ---> c5bf4b22d045 13:10:29 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:10:30 ---> 6967c8ae24f4 13:10:30 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:10:30 ---> 4685e5b76693 13:10:30 Step 20/25 : EXPOSE 59999 13:10:30 ---> Running in 7462e20793aa 13:10:30 Removing intermediate container 7462e20793aa 13:10:30 ---> 51e571b1abb5 13:10:30 Step 21/25 : ENTRYPOINT ["/device-simple"] 13:10:30 ---> Running in a8206e846599 13:10:30 Removing intermediate container a8206e846599 13:10:30 ---> 17a32796f5e8 13:10:30 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:10:30 ---> Running in 66cda1514236 13:10:30 Removing intermediate container 66cda1514236 13:10:30 ---> 79440547cc48 13:10:30 Step 23/25 : LABEL arch=amd64 13:10:30 ---> Running in f3bdf1c0b7b0 13:10:30 Removing intermediate container f3bdf1c0b7b0 13:10:30 ---> 96e5882c8c17 13:10:30 Step 24/25 : LABEL git_sha=9a649bf1bf9918af6bcd6933aa59ded149e77d26 13:10:30 ---> Running in 98634872d368 13:10:30 Removing intermediate container 98634872d368 13:10:30 ---> da3d51271177 13:10:30 Step 25/25 : LABEL version=2.2.0-dev.14 13:10:31 ---> Running in b84cf78e9276 13:10:31 Removing intermediate container b84cf78e9276 13:10:31 ---> 1909069a0ec3 13:10:31 [Warning] One or more build-args [ARCH] were not consumed 13:10:31 Successfully built 1909069a0ec3 13:10:31 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 13:10:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:31 13:10:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 13:10:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:31 latest: Pulling from edgex-lftools-log-publisher 13:10:31 b4d181a07f80: Pulling fs layer 13:10:31 a1111a8f2ec3: Pulling fs layer 13:10:31 ed53099fbce6: Pulling fs layer 13:10:31 dc539afda2c1: Pulling fs layer 13:10:31 77bc0d833cb6: Pulling fs layer 13:10:31 9065ff56babe: Pulling fs layer 13:10:31 d287ab97295c: Pulling fs layer 13:10:31 77bc0d833cb6: Waiting 13:10:31 9065ff56babe: Waiting 13:10:31 d287ab97295c: Waiting 13:10:31 dc539afda2c1: Waiting 13:10:31 a1111a8f2ec3: Verifying Checksum 13:10:31 a1111a8f2ec3: Download complete 13:10:31 dc539afda2c1: Verifying Checksum 13:10:31 dc539afda2c1: Download complete 13:10:31 ed53099fbce6: Verifying Checksum 13:10:31 ed53099fbce6: Download complete 13:10:32 9065ff56babe: Verifying Checksum 13:10:32 9065ff56babe: Download complete 13:10:32 77bc0d833cb6: Verifying Checksum 13:10:32 77bc0d833cb6: Download complete 13:10:32 b4d181a07f80: Verifying Checksum 13:10:32 b4d181a07f80: Download complete 13:10:32 d287ab97295c: Verifying Checksum 13:10:32 d287ab97295c: Download complete 13:10:33 b4d181a07f80: Pull complete 13:10:33 a1111a8f2ec3: Pull complete 13:10:34 ed53099fbce6: Pull complete 13:10:34 dc539afda2c1: Pull complete 13:10:34 77bc0d833cb6: Pull complete 13:10:34 9065ff56babe: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:10:37 provisioning config files... 13:10:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/47@tmp/config1659714113944767919tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:10:38 ---> docker-login.sh 13:10:38 nexus3.edgexfoundry.org:10001 13:10:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:39 Configure a credential helper to remove this warning. See 13:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:39 13:10:39 Login Succeeded 13:10:39 nexus3.edgexfoundry.org:10002 13:10:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:39 Configure a credential helper to remove this warning. See 13:10:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:39 13:10:39 Login Succeeded 13:10:39 nexus3.edgexfoundry.org:10003 13:10:39 d287ab97295c: Pull complete 13:10:39 Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 13:10:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:10:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 13:10:39 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:10:40 $ 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/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:40 Configure a credential helper to remove this warning. See 13:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:40 13:10:40 Login Succeeded 13:10:40 nexus3.edgexfoundry.org:10004 13:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:40 Configure a credential helper to remove this warning. See 13:10:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:40 13:10:40 Login Succeeded 13:10:40 docker.io 13:10:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 13:10:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 13:10:41 Configure a credential helper to remove this warning. See 13:10:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 13:10:41 13:10:41 Login Succeeded 13:10:41 ---> docker-login.sh ends 13:10:42 $ docker top 5c6918121dabf9c36be7fd450d18775aa21914dd8033bf21bfb5d247d8ecf3ba -eo pid,comm [Pipeline] { [Pipeline] } 13:10:42 Deleting 1 temporary files [Pipeline] libraryResource [Pipeline] sh [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 13:10:43 ---> job-cost.sh 13:10:43 lf-activate-venv: SKIPPING 13:10:43 INFO: No Stack... [Pipeline] echo 13:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 13:10:43 ========================================================= 13:10:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 13:10:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 13:10:43 INFO: Retrieving Pricing Info for: v3-standard-2 13:10:43 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 13:10:44 Sending build context to Docker daemon 5.078MB 13:10:44 INFO: Archiving Costs [Pipeline] sh 13:10:44 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 13:10:44 Step 2/11 : FROM ${BASE} AS builder 13:10:44 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 13:10:44 9b3977197b4f: Pulling fs layer 13:10:44 1a89e8eeedd5: Pulling fs layer 13:10:44 94645a83ff95: Pulling fs layer 13:10:44 3f3a8bcf1eab: Pulling fs layer 13:10:44 0c92f367c5e7: Pulling fs layer 13:10:44 f7c0051592d6: Pulling fs layer 13:10:44 a227ed2f7395: Pulling fs layer 13:10:44 7b1c46037f91: Pulling fs layer 13:10:44 3f3a8bcf1eab: Waiting 13:10:44 a227ed2f7395: Waiting 13:10:44 0c92f367c5e7: Waiting 13:10:44 7b1c46037f91: Waiting 13:10:44 f7c0051592d6: Waiting 13:10:44 94645a83ff95: Verifying Checksum 13:10:44 94645a83ff95: Download complete 13:10:44 1a89e8eeedd5: Download complete 13:10:44 0c92f367c5e7: Verifying Checksum 13:10:44 0c92f367c5e7: Download complete 13:10:44 + cat /w/workspace/edgexfoundry_device-sdk-go_main/archives/cost.csv 13:10:44 + cut -d, -f6 [Pipeline] lock 13:10:44 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] 13:10:44 Resource [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] did not exist. Created. 13:10:44 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:10:44 f7c0051592d6: Verifying Checksum 13:10:44 f7c0051592d6: Download complete 13:10:44 9b3977197b4f: Download complete 13:10:44 a227ed2f7395: Verifying Checksum 13:10:44 a227ed2f7395: Download complete 13:10:44 + echo total: 0.05999999865889549 [Pipeline] stash 13:10:44 Stashed 1 file(s) [Pipeline] } 13:10:44 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 13:10:44 $ docker stop --time=1 5c6918121dabf9c36be7fd450d18775aa21914dd8033bf21bfb5d247d8ecf3ba 13:10:45 9b3977197b4f: Pull complete 13:10:45 1a89e8eeedd5: Pull complete 13:10:45 $ docker rm -f 5c6918121dabf9c36be7fd450d18775aa21914dd8033bf21bfb5d247d8ecf3ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script 13:10:46 94645a83ff95: Pull complete [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 13:10:46 7b1c46037f91: Verifying Checksum 13:10:46 7b1c46037f91: Download complete 13:10:46 3f3a8bcf1eab: Verifying Checksum 13:10:46 3f3a8bcf1eab: Download complete 13:10:59 3f3a8bcf1eab: Pull complete 13:10:59 0c92f367c5e7: Pull complete 13:10:59 f7c0051592d6: Pull complete 13:10:59 a227ed2f7395: Pull complete 13:11:04 7b1c46037f91: Pull complete 13:11:04 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 13:11:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 13:11:04 ---> f79e39bc4007 13:11:04 Step 3/11 : ARG MAKE=make build 13:11:06 ---> Running in 95377f7adedd 13:11:06 Removing intermediate container 95377f7adedd 13:11:06 ---> a2f9a05b3a81 13:11:06 Step 4/11 : WORKDIR /device-sdk-go 13:11:06 ---> Running in 1b5d5e5c2540 13:11:07 Removing intermediate container 1b5d5e5c2540 13:11:07 ---> 591981a1c23e 13:11:07 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:11:07 ---> Running in f8eff1578cfe 13:11:07 Removing intermediate container f8eff1578cfe 13:11:07 ---> 70fe2aae13e8 13:11:07 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:11:07 ---> Running in 46105a1c73c5 13:11:09 Removing intermediate container 46105a1c73c5 13:11:09 ---> dd327aeb4599 13:11:09 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 13:11:09 ---> Running in c62743e39e56 13:11:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:11:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:11:12 OK: 220 MiB in 52 packages 13:11:12 Removing intermediate container c62743e39e56 13:11:12 ---> 3c3aad815409 13:11:12 Step 8/11 : COPY go.mod vendor* ./ 13:11:13 ---> b75b7e89f134 13:11:13 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:11:13 ---> Running in 5a404ae21db7 13:12:35 Removing intermediate container 5a404ae21db7 13:12:35 ---> c66913692926 13:12:35 Step 10/11 : COPY . . 13:12:35 ---> 1789f2bb97e8 13:12:35 Step 11/11 : RUN ${MAKE} 13:12:35 ---> Running in 56169097cd3a 13:12:35 noop 13:12:35 Removing intermediate container 56169097cd3a 13:12:35 ---> 4d8bad7b674b 13:12:35 Successfully built 4d8bad7b674b 13:12:35 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 13:12:35 + docker inspect -f . ci-base-image-arm64 13:12:35 . [Pipeline] withDockerContainer 13:12:35 prd-ubuntu18.04-docker-arm64-4c-16g-4564 does not seem to be running inside a container 13:12:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@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 13:12:37 $ docker top a68359af9c839dc515ea471d3f4492fa5fb23a036ade4a68507328110bb41267 -eo pid,comm [Pipeline] { [Pipeline] sh 13:12:38 + go version 13:12:38 go version go1.17.6 linux/arm64 [Pipeline] } 13:12:38 $ docker stop --time=1 a68359af9c839dc515ea471d3f4492fa5fb23a036ade4a68507328110bb41267 13:12:39 $ docker rm -f a68359af9c839dc515ea471d3f4492fa5fb23a036ade4a68507328110bb41267 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:12:40 + docker inspect -f . ci-base-image-arm64 13:12:40 . [Pipeline] withDockerContainer 13:12:40 prd-ubuntu18.04-docker-arm64-4c-16g-4564 does not seem to be running inside a container 13:12:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@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 13:12:41 $ docker top 04dcd643503e482a41110a52fa5fa634837228748e9fcc2347549261201969a0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 13:12:42 + make test 13:12:42 GO111MODULE=on go test -coverprofile=coverage.out ./... 13:12:44 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 13:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 13:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 13:13:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 13:13:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.083s coverage: 23.3% of statements 13:13:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 13:13:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.068s coverage: 27.6% of statements 13:13:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.105s coverage: 78.9% of statements 13:13:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.092s coverage: 9.0% of statements 13:13:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 13:13:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 13:13:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 13:13:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.086s coverage: 28.7% of statements 13:13:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 13:13:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.105s coverage: 86.1% of statements 13:13:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 13:13:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 13:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.127s coverage: 57.4% of statements 13:13:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.236s coverage: 89.2% of statements 13:13:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 13:13:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.8% of statements 13:13:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 13:13:40 WARNING: Linting skipped (not on x86_64 or linter not installed) 13:13:40 GO111MODULE=on go vet ./... 13:13:59 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 13:13:59 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 13:13:59 ./bin/test-attribution-txt.sh [Pipeline] echo 13:14:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 13:14:01 $ docker stop --time=1 04dcd643503e482a41110a52fa5fa634837228748e9fcc2347549261201969a0 13:14:03 $ docker rm -f 04dcd643503e482a41110a52fa5fa634837228748e9fcc2347549261201969a0 [Pipeline] // withDockerContainer [Pipeline] sh 13:14:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 13:14:04 Warning: overwriting stash ‘coverage-report’ 13:14:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 13:14:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 13:14:05 + ls -al . 13:14:05 total 308 13:14:05 drwxrwxr-x 10 jenkins jenkins 4096 Feb 3 13:14 . 13:14:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 13:10 .. 13:14:05 -rw-rw-r-- 1 jenkins jenkins 140 Feb 3 13:10 .dockerignore 13:14:05 drwxrwxr-x 8 jenkins jenkins 4096 Feb 3 13:10 .git 13:14:05 drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 13:10 .github 13:14:05 -rw-rw-r-- 1 jenkins jenkins 131 Feb 3 13:10 .gitignore 13:14:05 -rw-rw-r-- 1 jenkins jenkins 42 Feb 3 13:10 .golangci.yml 13:14:05 -rw-rw-r-- 1 jenkins jenkins 26321 Feb 3 13:10 CHANGELOG.md 13:14:05 -rw-rw-r-- 1 jenkins jenkins 677 Feb 3 13:10 GOVERNANCE.md 13:14:05 -rw-rw-r-- 1 jenkins jenkins 880 Feb 3 13:10 Jenkinsfile 13:14:05 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 3 13:10 LICENSE 13:14:05 -rw-rw-r-- 1 jenkins jenkins 1614 Feb 3 13:10 Makefile 13:14:05 -rw-rw-r-- 1 jenkins jenkins 619 Feb 3 13:10 OWNERS.md 13:14:05 -rw-rw-r-- 1 jenkins jenkins 4881 Feb 3 13:10 README.md 13:14:05 -rw-rw-r-- 1 jenkins jenkins 12 Feb 3 13:08 VERSION 13:14:05 drwxrwxr-x 2 jenkins jenkins 4096 Feb 3 13:10 bin 13:14:05 -rw-r--r-- 1 jenkins jenkins 128608 Feb 3 13:13 coverage.out 13:14:05 drwxrwxr-x 5 jenkins jenkins 4096 Feb 3 13:10 example 13:14:05 -rw-rw-r-- 1 jenkins jenkins 2766 Feb 3 13:10 go.mod 13:14:05 -rw-rw-r-- 1 jenkins jenkins 49665 Feb 3 13:10 go.sum 13:14:05 drwxrwxr-x 15 jenkins jenkins 4096 Feb 3 13:10 internal 13:14:05 drwxrwxr-x 3 jenkins jenkins 4096 Feb 3 13:10 openapi 13:14:05 drwxrwxr-x 5 jenkins jenkins 4096 Feb 3 13:10 pkg 13:14:05 drwxrwxr-x 4 jenkins jenkins 4096 Feb 3 13:10 snap 13:14:05 -rw-rw-r-- 1 jenkins jenkins 222 Feb 3 13:10 version.go [Pipeline] isUnix [Pipeline] sh 13:14:05 + 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=9a649bf1bf9918af6bcd6933aa59ded149e77d26 --label arch=arm64 --label version=2.2.0-dev.14 . 13:14:06 Sending build context to Docker daemon 5.207MB 13:14:06 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 13:14:06 Step 2/25 : FROM ${BASE} AS builder 13:14:06 ---> 4d8bad7b674b 13:14:06 Step 3/25 : ARG MAKE=make build 13:14:06 ---> Running in b4dcea2fbc72 13:14:06 Removing intermediate container b4dcea2fbc72 13:14:06 ---> 04aca7aaf8b1 13:14:06 Step 4/25 : WORKDIR /device-sdk-go 13:14:06 ---> Running in 2a9ed11f177c 13:14:07 Removing intermediate container 2a9ed11f177c 13:14:07 ---> 4fa4918fc629 13:14:07 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:14:07 ---> Running in c0df7011591c 13:14:07 Removing intermediate container c0df7011591c 13:14:07 ---> 00fe9a52bed1 13:14:07 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:14:07 ---> Running in c76ae99041e7 13:14:09 Removing intermediate container c76ae99041e7 13:14:09 ---> a311577586d2 13:14:09 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 13:14:09 ---> Running in da8005f4d8db 13:14:10 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 13:14:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 13:14:12 OK: 220 MiB in 52 packages 13:14:13 Removing intermediate container da8005f4d8db 13:14:13 ---> 9378e5d42183 13:14:13 Step 8/25 : COPY go.mod vendor* ./ 13:14:13 ---> 464180e73cc4 13:14:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 13:14:13 ---> Running in 950074c06760 13:14:15 Removing intermediate container 950074c06760 13:14:15 ---> 45f63ab19a20 13:14:15 Step 10/25 : COPY . . 13:14:17 ---> 79118968f4a8 13:14:17 Step 11/25 : RUN ${MAKE} 13:14:17 ---> Running in 2e1bd51804e1 13:14:18 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=2.2.0-dev.14" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 13:14:57 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 13:14:57 Removing intermediate container 2e1bd51804e1 13:14:57 ---> a1ad888ad03c 13:14:57 Step 12/25 : FROM alpine:3.14 13:14:57 3.14: Pulling from library/alpine 13:14:57 be307f383ecc: Pulling fs layer 13:14:57 be307f383ecc: Verifying Checksum 13:14:57 be307f383ecc: Download complete 13:14:57 be307f383ecc: Pull complete 13:14:57 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 13:14:57 Status: Downloaded newer image for alpine:3.14 13:14:57 ---> 5b8b7b635229 13:14:57 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 13:14:57 ---> Running in 5e8b170278bc 13:14:57 Removing intermediate container 5e8b170278bc 13:14:57 ---> 5e1b6777fb6e 13:14:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 13:14:58 ---> Running in 5998275ca5bf 13:14:59 Removing intermediate container 5998275ca5bf 13:14:59 ---> 54d8983ae401 13:14:59 Step 15/25 : RUN apk add --update --no-cache zeromq 13:14:59 ---> Running in ed307e60fbc5 13:15:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 13:15:01 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 13:15:02 (1/5) Installing libgcc (10.3.1_git20210424-r2) 13:15:02 (2/5) Installing libsodium (1.0.18-r0) 13:15:02 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 13:15:02 (4/5) Installing libzmq (4.3.4-r0) 13:15:02 (5/5) Installing zeromq (4.3.4-r0) 13:15:02 Executing busybox-1.33.1-r6.trigger 13:15:02 OK: 8 MiB in 19 packages 13:15:03 Removing intermediate container ed307e60fbc5 13:15:03 ---> aa0496eb7e30 13:15:03 Step 16/25 : WORKDIR / 13:15:03 ---> Running in 378fa84aa50b 13:15:04 Removing intermediate container 378fa84aa50b 13:15:04 ---> 4ab6abd6430d 13:15:04 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 13:15:04 ---> 49ffce54c846 13:15:04 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 13:15:05 ---> 4633f92f2f5c 13:15:05 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 13:15:06 ---> 42b029dd5859 13:15:06 Step 20/25 : EXPOSE 59999 13:15:06 ---> Running in 7db20a8b208a 13:15:06 Removing intermediate container 7db20a8b208a 13:15:06 ---> e06b425a9394 13:15:06 Step 21/25 : ENTRYPOINT ["/device-simple"] 13:15:06 ---> Running in 325d7d3e291d 13:15:07 Removing intermediate container 325d7d3e291d 13:15:07 ---> ee167092460b 13:15:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 13:15:07 ---> Running in bbf3ac4aa002 13:15:07 Removing intermediate container bbf3ac4aa002 13:15:07 ---> c9d66401a2d5 13:15:07 Step 23/25 : LABEL arch=arm64 13:15:07 ---> Running in ada007d07f67 13:15:08 Removing intermediate container ada007d07f67 13:15:08 ---> d75e326475c6 13:15:08 Step 24/25 : LABEL git_sha=9a649bf1bf9918af6bcd6933aa59ded149e77d26 13:15:08 ---> Running in 7794969855de 13:15:08 Removing intermediate container 7794969855de 13:15:08 ---> 24be5768acec 13:15:08 Step 25/25 : LABEL version=2.2.0-dev.14 13:15:08 ---> Running in e0e7efa94032 13:15:08 Removing intermediate container e0e7efa94032 13:15:08 ---> 0d532c57b244 13:15:08 [Warning] One or more build-args [ARCH] were not consumed 13:15:08 Successfully built 0d532c57b244 13:15:08 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 13:15:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:09 13:15:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 13:15:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:09 arm64: Pulling from edgex-lftools-log-publisher 13:15:09 448f6bf000e3: Pulling fs layer 13:15:09 f757da607395: Pulling fs layer 13:15:09 05883995daec: Pulling fs layer 13:15:09 8603b9c90790: Pulling fs layer 13:15:09 1560dd03e051: Pulling fs layer 13:15:09 27f5ce0e4adf: Pulling fs layer 13:15:09 c2d8d7efcc4b: Pulling fs layer 13:15:09 1560dd03e051: Waiting 13:15:09 27f5ce0e4adf: Waiting 13:15:09 c2d8d7efcc4b: Waiting 13:15:09 8603b9c90790: Waiting 13:15:09 f757da607395: Verifying Checksum 13:15:09 f757da607395: Download complete 13:15:09 8603b9c90790: Verifying Checksum 13:15:09 8603b9c90790: Download complete 13:15:09 1560dd03e051: Verifying Checksum 13:15:09 1560dd03e051: Download complete 13:15:09 27f5ce0e4adf: Verifying Checksum 13:15:09 27f5ce0e4adf: Download complete 13:15:09 05883995daec: Verifying Checksum 13:15:09 05883995daec: Download complete 13:15:10 448f6bf000e3: Verifying Checksum 13:15:10 448f6bf000e3: Download complete 13:15:12 c2d8d7efcc4b: Verifying Checksum 13:15:12 c2d8d7efcc4b: Download complete 13:15:14 448f6bf000e3: Pull complete 13:15:14 f757da607395: Pull complete 13:15:16 05883995daec: Pull complete 13:15:16 8603b9c90790: Pull complete 13:15:17 1560dd03e051: Pull complete 13:15:17 27f5ce0e4adf: Pull complete 13:15:32 c2d8d7efcc4b: Pull complete 13:15:32 Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 13:15:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 13:15:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 13:15:32 prd-ubuntu18.04-docker-arm64-4c-16g-4564 does not seem to be running inside a container 13:15:33 $ 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/47 -v /w/workspace/device-sdk-go/47:/w/workspace/device-sdk-go/47:rw,z -v /w/workspace/device-sdk-go/47@tmp:/w/workspace/device-sdk-go/47@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 13:15:35 $ docker top 0329581cb7bc4ff8bd743ae30a1ada5fcb203b63ab4a9f9b4699f33e12db54ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:15:36 ---> job-cost.sh 13:15:36 lf-activate-venv: SKIPPING 13:15:36 INFO: No Stack... 13:15:36 INFO: Retrieving Pricing Info for: v3-standard-4 13:15:37 INFO: Archiving Costs [Pipeline] sh 13:15:37 + cat /w/workspace/device-sdk-go/47/archives/cost.csv 13:15:37 + cut -d, -f6 [Pipeline] lock 13:15:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] 13:15:37 Resource [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] did not exist. Created. 13:15:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 13:15:38 /w/workspace/device-sdk-go/47@tmp/durable-46092d86/script.sh: 1: /w/workspace/device-sdk-go/47@tmp/durable-46092d86/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh 13:15:39 + echo total: 0.10999999940395355 [Pipeline] stash 13:15:39 Warning: overwriting stash ‘stack-cost’ 13:15:39 Stashed 1 file(s) [Pipeline] } 13:15:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-main-47-stack-cost] [Pipeline] // lock [Pipeline] } 13:15:39 $ docker stop --time=1 0329581cb7bc4ff8bd743ae30a1ada5fcb203b63ab4a9f9b4699f33e12db54ff 13:15:40 $ docker rm -f 0329581cb7bc4ff8bd743ae30a1ada5fcb203b63ab4a9f9b4699f33e12db54ff [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 13:15:41 provisioning config files... 13:15:41 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1216609805162549719tmp [Pipeline] { [Pipeline] sh 13:15:41 + set +x 13:15:41 + bash -s -- 13:15:41 + curl -s https://codecov.io/bash 13:15:41 13:15:41 _____ _ 13:15:41 / ____| | | 13:15:41 | | ___ __| | ___ ___ _____ __ 13:15:41 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 13:15:41 | |___| (_) | (_| | __/ (_| (_) \ V / 13:15:41 \_____\___/ \__,_|\___|\___\___/ \_/ 13:15:41 Bash-1.0.6 13:15:41 13:15:41 13:15:41 ==> git version 2.24.4 found 13:15:41 ==> 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 13:15:41 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp 13:15:41 Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets 13:15:41 ==> Jenkins CI detected. 13:15:41 current dir:  /w/workspace/edgexfoundry_device-sdk-go_main 13:15:41 project root: . 13:15:41 --> token set from env 13:15:41 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 13:15:41 ==> Running gcov in . (disable via -X gcov) 13:15:41 ==> Python coveragepy not found 13:15:41 ==> Searching for coverage reports in: 13:15:41 + . 13:15:41 -> Found 1 reports 13:15:41 ==> Detecting git/mercurial file structure 13:15:41 ==> Reading reports 13:15:41 + ./coverage.out bytes=128608 13:15:41 ==> Appending adjustments 13:15:41 https://docs.codecov.io/docs/fixing-reports 13:15:41 + Found adjustments 13:15:41 ==> Gzipping contents 13:15:41 16K /tmp/codecov.1A9DqF.gz 13:15:41 ==> Uploading reports 13:15:41 url: https://codecov.io 13:15:41 query: branch=main&commit=9a649bf1bf9918af6bcd6933aa59ded149e77d26&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:15:41 -> Pinging Codecov 13:15:41 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=main&commit=9a649bf1bf9918af6bcd6933aa59ded149e77d26&build=47&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2Fmain%2F47%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=&job=&cmd_args= 13:15:42 -> Uploading to 13:15:42 https://storage.googleapis.com/codecov/v4/raw/2022-02-03/7E55EF52A471D76F132DFD9A03CDDE97/9a649bf1bf9918af6bcd6933aa59ded149e77d26/122f07f4-ce00-4263-8620-64a00edabe6f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220203%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220203T131541Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75aa562ba55f233bf506a6a4bca6bfe976c986f6b9d6fe938a14eed93a7b0da3 13:15:42 % Total % Received % Xferd Average Speed Time Time Time Current 13:15:42 Dload Upload Total Spent Left Speed 13:15:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16092 0 0 100 16092 0 49004 --:--:-- --:--:-- --:--:-- 48911 100 16092 0 0 100 16092 0 48981 --:--:-- --:--:-- --:--:-- 48911 13:15:42 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] } 13:15:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 13:15:42 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 13:15:42 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh 13:15:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:15:43 13:15:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh 13:15:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:15:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 13:15:43 188c0c94c7c5: Pulling fs layer 13:15:43 0ef7d3d256c8: Pulling fs layer 13:15:43 de9db76c5a1d: Pulling fs layer 13:15:43 0eba1c9be4d2: Pulling fs layer 13:15:43 0d57e429df01: Pulling fs layer 13:15:43 4e4be7b47b0d: Pulling fs layer 13:15:43 e1f770b5df2f: Pulling fs layer 13:15:43 85a0685a4137: Pulling fs layer 13:15:43 0eba1c9be4d2: Waiting 13:15:43 0d57e429df01: Waiting 13:15:43 4e4be7b47b0d: Waiting 13:15:43 e1f770b5df2f: Waiting 13:15:43 85a0685a4137: Waiting 13:15:43 de9db76c5a1d: Verifying Checksum 13:15:43 de9db76c5a1d: Download complete 13:15:43 0ef7d3d256c8: Verifying Checksum 13:15:43 0ef7d3d256c8: Download complete 13:15:43 0d57e429df01: Verifying Checksum 13:15:43 0d57e429df01: Download complete 13:15:43 4e4be7b47b0d: Verifying Checksum 13:15:43 4e4be7b47b0d: Download complete 13:15:43 188c0c94c7c5: Download complete 13:15:43 188c0c94c7c5: Pull complete 13:15:43 e1f770b5df2f: Verifying Checksum 13:15:43 e1f770b5df2f: Download complete 13:15:43 0eba1c9be4d2: Verifying Checksum 13:15:44 0ef7d3d256c8: Pull complete 13:15:44 de9db76c5a1d: Pull complete 13:15:44 85a0685a4137: Verifying Checksum 13:15:44 85a0685a4137: Download complete 13:15:48 0eba1c9be4d2: Pull complete 13:15:48 0d57e429df01: Pull complete 13:15:48 4e4be7b47b0d: Pull complete 13:15:48 e1f770b5df2f: Pull complete 13:15:54 85a0685a4137: Pull complete 13:15:54 Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 13:15:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 13:15:54 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer 13:15:54 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:15:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 13:15:55 $ docker top a7331df6c7abc1733b41c92217f98ede8baccdb4ee59cdc43aa56a788e7f0494 -eo pid,comm [Pipeline] { [Pipeline] echo 13:15:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh 13:15:55 + set -o pipefail 13:15:55 + snyk monitor '--org=edgex-jenkins' 13:16:00 13:16:00 Monitoring /w/workspace/edgexfoundry_device-sdk-go_main (github.com/edgexfoundry/device-sdk-go/v2)... 13:16:00 13:16:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/a91414f5-c324-409e-a494-413a27791127/history/6757c297-20c5-44cc-b6d0-5f8af132dc6f 13:16:00 13:16:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 13:16:00 13:16:00 [Pipeline] } 13:16:00 $ docker stop --time=1 a7331df6c7abc1733b41c92217f98ede8baccdb4ee59cdc43aa56a788e7f0494 13:16:02 $ docker rm -f a7331df6c7abc1733b41c92217f98ede8baccdb4ee59cdc43aa56a788e7f0494 [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 13:16:03 [edgeXSwaggerPublish]: Setting up Environment and Executing Publish. - DRY_RUN: false [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:03 provisioning config files... 13:16:03 copy managed file [swaggerhub-api-key] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config4769210662725020077tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 13:16:03 --> edgex-publish-swagger.sh 13:16:03 === Publish openapi/v2 API === 13:16:03 [publishToSwagger] Publishing the API Docs [openapi/v2] to Swagger 13:16:03 [publishToSwagger] Publishing API Name [device-sdk] [/w/workspace/edgexfoundry_device-sdk-go_main/openapi/v2/device-sdk.yaml] 13:16:03 % Total % Received % Xferd Average Speed Time Time Time Current 13:16:03 Dload Upload Total Spent Left Speed 13:16:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 52147 0 0 100 52147 0 45824 0:00:01 0:00:01 --:--:-- 45823 100 52147 0 0 100 52147 0 45817 0:00:01 0:00:01 --:--:-- 45823 13:16:04 13:16:04 [Pipeline] } 13:16:04 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 13:16:04 + git log --format=format:%s -1 9a649bf1bf9918af6bcd6933aa59ded149e77d26 [Pipeline] sh 13:16:05 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 13:16:05 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:16:05 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:16:05 . [Pipeline] withDockerContainer 13:16:05 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:16:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:16:05 $ docker top 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:05 [ssh-agent] Looking for ssh-agent implementation... 13:16:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:06 $ docker exec 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 ssh-agent 13:16:06 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFjNLOH/agent.13 13:16:06 SSH_AGENT_PID=20 13:16:06 Running ssh-add (command line suppressed) 13:16:06 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4059565912894025266.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_4059565912894025266.key) 13:16:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:06 + git semver tag 13:16:06 # -> Open(): unable to determine branch for HEAD 13:16:06 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 13:16:06 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 13:16:06 # $SEMVER_REMOTE_NAME = origin 13:16:06 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:16:06 # $SEMVER_USER_NAME = edgex-jenkins 13:16:06 # $SEMVER_BRANCH = main 13:16:06 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 13:16:06 # 9a649bf1bf9918af6bcd6933aa59ded149e77d26 HEAD 13:16:06 # -> Force: false 13:16:06 # 1570e3868a644c34dd893d1ef3827e685ef6913e refs/tags/v2.2.0-dev.14 [Pipeline] } 13:16:06 $ docker exec --env ******** --env ******** 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 ssh-agent -k 13:16:06 unset SSH_AUTH_SOCK; 13:16:06 unset SSH_AGENT_PID; 13:16:06 echo Agent pid 20 killed; 13:16:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:06 + git semver [Pipeline] } 13:16:06 $ docker stop --time=1 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 13:16:08 $ docker rm -f 6531a5d675b34bf5c91baa414e6218ae6f11fdae8bb05689ebdef0ee5a1c8312 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh 13:16:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:16:08 13:16:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh 13:16:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:16:08 0.23.1-centos7: Pulling from edgex-lftools 13:16:08 ab5ef0e58194: Pulling fs layer 13:16:08 9712f1f96733: Pulling fs layer 13:16:08 63f879dbbcfc: Pulling fs layer 13:16:08 0d9ebad4ef96: Pulling fs layer 13:16:08 e9a5061849ea: Pulling fs layer 13:16:08 d747dcd14b5f: Pulling fs layer 13:16:08 2de7ff778b66: Pulling fs layer 13:16:08 0d9ebad4ef96: Waiting 13:16:08 e9a5061849ea: Waiting 13:16:08 d747dcd14b5f: Waiting 13:16:08 2de7ff778b66: Waiting 13:16:08 9712f1f96733: Verifying Checksum 13:16:08 9712f1f96733: Download complete 13:16:09 ab5ef0e58194: Verifying Checksum 13:16:09 ab5ef0e58194: Download complete 13:16:09 0d9ebad4ef96: Verifying Checksum 13:16:09 0d9ebad4ef96: Download complete 13:16:09 d747dcd14b5f: Verifying Checksum 13:16:09 d747dcd14b5f: Download complete 13:16:09 63f879dbbcfc: Verifying Checksum 13:16:09 63f879dbbcfc: Download complete 13:16:09 e9a5061849ea: Verifying Checksum 13:16:09 e9a5061849ea: Download complete 13:16:09 2de7ff778b66: Verifying Checksum 13:16:09 2de7ff778b66: Download complete 13:16:12 ab5ef0e58194: Pull complete 13:16:12 9712f1f96733: Pull complete 13:16:12 63f879dbbcfc: Pull complete 13:16:17 0d9ebad4ef96: Pull complete 13:16:17 e9a5061849ea: Pull complete 13:16:17 d747dcd14b5f: Pull complete 13:16:18 2de7ff778b66: Pull complete 13:16:18 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 13:16:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 13:16:18 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer 13:16:18 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:16:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 13:16:21 $ docker top 71e694a05ab53162a24522703f299758722941584179316d35d6e6be585dd59c -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 13:16:22 provisioning config files... 13:16:22 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config1367696948061390167tmp 13:16:22 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config5772785017642737179tmp 13:16:22 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config6699159130486038381tmp [Pipeline] { [Pipeline] echo 13:16:22 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 13:16:22 ---> sigul-configuration.sh 13:16:22 gpg: directory `/root/.gnupg' created 13:16:22 gpg: new configuration file `/root/.gnupg/gpg.conf' created 13:16:22 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 13:16:22 gpg: keyring `/root/.gnupg/secring.gpg' created 13:16:22 gpg: keyring `/root/.gnupg/pubring.gpg' created 13:16:22 gpg: CAST5 encrypted data 13:16:22 gpg: encrypted with 1 passphrase 13:16:22 gpg: WARNING: message was not integrity protected [Pipeline] sh 13:16:22 + mkdir /home/jenkins 13:16:22 + mkdir /home/jenkins/sigul [Pipeline] sh 13:16:22 + 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 13:16:22 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 13:16:23 ---> sigul-install.sh 13:16:23 Sigul already installed; skipping installation. [Pipeline] sh 13:16:23 + git tag --list 13:16:23 0.7.1 13:16:23 delhi-tag 13:16:23 v1.0.0 13:16:23 v1.1.0 13:16:23 v1.1.1 13:16:23 v1.1.2 13:16:23 v1.2.0 13:16:23 v1.2.1 13:16:23 v1.2.2 13:16:23 v1.2.3 13:16:23 v1.3.0 13:16:23 v1.4.0 13:16:23 v2.0.0 13:16:23 v2.0.1-dev.1 13:16:23 v2.0.1-dev.10 13:16:23 v2.0.1-dev.11 13:16:23 v2.0.1-dev.12 13:16:23 v2.0.1-dev.13 13:16:23 v2.0.1-dev.14 13:16:23 v2.0.1-dev.15 13:16:23 v2.0.1-dev.16 13:16:23 v2.0.1-dev.17 13:16:23 v2.0.1-dev.18 13:16:23 v2.0.1-dev.19 13:16:23 v2.0.1-dev.2 13:16:23 v2.0.1-dev.20 13:16:23 v2.0.1-dev.21 13:16:23 v2.0.1-dev.22 13:16:23 v2.0.1-dev.23 13:16:23 v2.0.1-dev.24 13:16:23 v2.0.1-dev.25 13:16:23 v2.0.1-dev.26 13:16:23 v2.0.1-dev.27 13:16:23 v2.0.1-dev.28 13:16:23 v2.0.1-dev.29 13:16:23 v2.0.1-dev.3 13:16:23 v2.0.1-dev.30 13:16:23 v2.0.1-dev.31 13:16:23 v2.0.1-dev.32 13:16:23 v2.0.1-dev.33 13:16:23 v2.0.1-dev.4 13:16:23 v2.0.1-dev.5 13:16:23 v2.0.1-dev.6 13:16:23 v2.0.1-dev.7 13:16:23 v2.0.1-dev.8 13:16:23 v2.0.1-dev.9 13:16:23 v2.1.0 13:16:23 v2.1.1-dev.1 13:16:23 v2.2.0-dev.1 13:16:23 v2.2.0-dev.10 13:16:23 v2.2.0-dev.11 13:16:23 v2.2.0-dev.12 13:16:23 v2.2.0-dev.13 13:16:23 v2.2.0-dev.14 13:16:23 v2.2.0-dev.2 13:16:23 v2.2.0-dev.3 13:16:23 v2.2.0-dev.4 13:16:23 v2.2.0-dev.5 13:16:23 v2.2.0-dev.6 13:16:23 v2.2.0-dev.7 13:16:23 v2.2.0-dev.8 13:16:23 v2.2.0-dev.9 [Pipeline] sh 13:16:23 + lftools sign git-tag v2.2.0-dev.14 13:16:24 Signing Git tag with Sigul... 13:16:24 Signing v2.2.0-dev.14 [Pipeline] echo 13:16:25 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 13:16:25 ---> sigul-configuration-cleanup.sh [Pipeline] } 13:16:25 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 13:16:25 $ docker stop --time=1 71e694a05ab53162a24522703f299758722941584179316d35d6e6be585dd59c 13:16:26 $ docker rm -f 71e694a05ab53162a24522703f299758722941584179316d35d6e6be585dd59c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 13:16:26 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 13:16:26 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:16:27 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:16:27 . [Pipeline] withDockerContainer 13:16:27 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:16:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:16:27 $ docker top 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:27 [ssh-agent] Looking for ssh-agent implementation... 13:16:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:27 $ docker exec 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 ssh-agent 13:16:27 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXklPbNg/agent.13 13:16:27 SSH_AGENT_PID=20 13:16:27 Running ssh-add (command line suppressed) 13:16:28 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3666282259785745730.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_3666282259785745730.key) 13:16:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:28 + git semver bump pre 13:16:28 # -> Open(): unable to determine branch for HEAD 13:16:28 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 13:16:28 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 13:16:28 # $SEMVER_REMOTE_NAME = origin 13:16:28 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:16:28 # $SEMVER_USER_NAME = edgex-jenkins 13:16:28 # $SEMVER_BRANCH = main 13:16:28 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver 13:16:28 2.2.0-dev.15 [Pipeline] } 13:16:28 $ docker exec --env ******** --env ******** 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 ssh-agent -k 13:16:28 unset SSH_AUTH_SOCK; 13:16:28 unset SSH_AGENT_PID; 13:16:28 echo Agent pid 20 killed; 13:16:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:28 + git semver [Pipeline] } 13:16:28 $ docker stop --time=1 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 13:16:30 $ docker rm -f 319f95b5b98e86223e2a6ffbcf511d39cee18d1bfcfc9e12ae74b1b051f79b69 [Pipeline] // withDockerContainer [Pipeline] sh 13:16:30 + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts 13:16:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 13:16:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 13:16:30 . [Pipeline] withDockerContainer 13:16:30 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:16:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 13:16:31 $ docker top 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 13:16:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 13:16:31 [ssh-agent] Looking for ssh-agent implementation... 13:16:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 13:16:31 $ docker exec 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 ssh-agent 13:16:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXAlHmDg/agent.13 13:16:31 SSH_AGENT_PID=20 13:16:31 Running ssh-add (command line suppressed) 13:16:31 Identity added: /w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5419983353004027421.key (/w/workspace/edgexfoundry_device-sdk-go_main@tmp/private_key_5419983353004027421.key) 13:16:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 13:16:31 + git semver push 13:16:31 # -> Open(): unable to determine branch for HEAD 13:16:31 # $GIT_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.git 13:16:31 # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-sdk-go_main 13:16:31 # $SEMVER_REMOTE_NAME = origin 13:16:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 13:16:31 # $SEMVER_USER_NAME = edgex-jenkins 13:16:31 # $SEMVER_BRANCH = main 13:16:31 # $SEMVER_DIR = /w/workspace/edgexfoundry_device-sdk-go_main/.semver [Pipeline] } 13:16:33 $ docker exec --env ******** --env ******** 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 ssh-agent -k 13:16:33 unset SSH_AUTH_SOCK; 13:16:33 unset SSH_AGENT_PID; 13:16:33 echo Agent pid 20 killed; 13:16:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 13:16:34 + git semver [Pipeline] } 13:16:34 $ docker stop --time=1 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 13:16:35 $ docker rm -f 3ecff4e3ae34a247a4a3edfae6f57740fc4f6847c2a7365747f743e93770fca1 [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 13:16:35 + '[' -d /w/workspace/edgexfoundry_device-sdk-go_main/archives ']' 13:16:35 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 13:16:35 total 8 13:16:35 drwxr-xr-x. 3 root root 34 Feb 3 13:10 . 13:16:35 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 3 13:16 .. 13:16:35 drwxr-xr-x. 2 root root 6 Feb 3 13:10 cost 13:16:35 -rw-r--r--. 1 root root 83 Feb 3 13:10 cost.csv 13:16:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-sdk-go_main/archives 13:16:35 + ls -al /w/workspace/edgexfoundry_device-sdk-go_main/archives 13:16:35 total 8 13:16:35 drwxr-xr-x. 3 jenkins jenkins 34 Feb 3 13:10 . 13:16:35 drwxrwxr-x. 12 jenkins jenkins 4096 Feb 3 13:16 .. 13:16:35 drwxr-xr-x. 2 jenkins jenkins 6 Feb 3 13:10 cost 13:16:35 -rw-r--r--. 1 jenkins jenkins 83 Feb 3 13:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 13:16:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 13:16:36 ---> package-listing.sh 13:16:36 ++ facter osfamily 13:16:36 ++ tr '[:upper:]' '[:lower:]' 13:16:37 + OS_FAMILY=redhat 13:16:37 + workspace=/w/workspace/edgexfoundry_device-sdk-go_main 13:16:37 + START_PACKAGES=/tmp/packages_start.txt 13:16:37 + END_PACKAGES=/tmp/packages_end.txt 13:16:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 13:16:37 + PACKAGES=/tmp/packages_start.txt 13:16:37 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 13:16:37 + PACKAGES=/tmp/packages_end.txt 13:16:37 + case "${OS_FAMILY}" in 13:16:37 + sort 13:16:37 + rpm -qa 13:16:37 + '[' -f /tmp/packages_start.txt ']' 13:16:37 + '[' -f /tmp/packages_end.txt ']' 13:16:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 13:16:37 + '[' /w/workspace/edgexfoundry_device-sdk-go_main ']' 13:16:37 + mkdir -p /w/workspace/edgexfoundry_device-sdk-go_main/archives/ 13:16:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-sdk-go_main/archives/ [Pipeline] echo 13:16:37 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 13:16:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 13:16:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 13:16:38 . [Pipeline] withDockerContainer 13:16:38 prd-centos7-docker-4c-2g-4563 does not seem to be running inside a container 13:16:38 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-sdk-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-sdk-go_main -v /w/workspace/edgexfoundry_device-sdk-go_main:/w/workspace/edgexfoundry_device-sdk-go_main:rw,z -v /w/workspace/edgexfoundry_device-sdk-go_main@tmp:/w/workspace/edgexfoundry_device-sdk-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 13:16:38 $ docker top 835b5736e3dd08bb7e55f9e8fc9dae56fd01e35edff6850da7526ad79fb9c847 -eo pid,comm [Pipeline] { [Pipeline] sh 13:16:39 + touch /tmp/pre-build-complete [Pipeline] sh 13:16:39 + mkdir -p /var/log/sysstat [Pipeline] sh 13:16:39 + ls /var/log/sa-host 13:16:39 + sadf -c /var/log/sa-host/sa03 13:16:39 file_magic: OK 13:16:39 HZ: Using current value: 100 13:16:39 file_header: OK 13:16:39 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 13:16:39 Statistics: 13:16:39 HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... 13:16:39 File successfully converted to sysstat format version 12.0.3 13:16:39 + sadf -c /var/log/sa-host/sa17 13:16:39 file_magic: OK 13:16:39 HZ: Using current value: 100 13:16:39 file_header: OK 13:16:39 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 13:16:39 Statistics: 13:16:39 Hnuu...uuuununununu...Hnuu...uuuununununu... 13:16:39 File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 13:16:39 provisioning config files... 13:16:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-sdk-go_main@tmp/config7931850741668032223tmp [Pipeline] { [Pipeline] echo 13:16:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 13:16:40 ---> create-netrc.sh [Pipeline] } 13:16:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 13:16:40 ---> python-tools-install.sh [Pipeline] echo 13:16:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 13:16:40 ---> sudo-logs.sh 13:16:40 Archiving 'sudo' log.. 13:16:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-4563.novalocal: Name or service not known 13:16:40 sudo: unable to resolve host prd-centos7-docker-4c-2g-4563.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo 13:16:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 13:16:41 ---> job-cost.sh 13:16:41 lf-activate-venv: SKIPPING 13:16:41 DEBUG: total: 0.05999999865889549 13:16:41 INFO: Retrieving Stack Cost... 13:16:41 INFO: Retrieving Pricing Info for: v3-standard-2 13:16:41 INFO: Archiving Costs [Pipeline] echo 13:16:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 13:16:41 ---> logs-deploy.sh 13:16:41 lf-activate-venv: SKIPPING 13:16:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/main/47 13:16:41 INFO: archiving workspace using pattern(s): 13:16:42 Archives upload complete. 13:16:42 INFO: archiving logs to Nexus 13:16:43 ---> uname -a: 13:16:43 Linux prd-centos7-docker-4c-2g-4563.novalocal 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 GNU/Linux 13:16:43 13:16:43 13:16:43 ---> lscpu: 13:16:43 Architecture: x86_64 13:16:43 CPU op-mode(s): 32-bit, 64-bit 13:16:43 Byte Order: Little Endian 13:16:43 Address sizes: 40 bits physical, 48 bits virtual 13:16:43 CPU(s): 2 13:16:43 On-line CPU(s) list: 0,1 13:16:43 Thread(s) per core: 1 13:16:43 Core(s) per socket: 1 13:16:43 Socket(s): 2 13:16:43 NUMA node(s): 1 13:16:43 Vendor ID: AuthenticAMD 13:16:43 CPU family: 23 13:16:43 Model: 49 13:16:43 Model name: AMD EPYC-Rome Processor 13:16:43 Stepping: 0 13:16:43 CPU MHz: 2799.996 13:16:43 BogoMIPS: 5599.99 13:16:43 Virtualization: AMD-V 13:16:43 Hypervisor vendor: KVM 13:16:43 Virtualization type: full 13:16:43 L1d cache: 32K 13:16:43 L1i cache: 32K 13:16:43 L2 cache: 512K 13:16:43 L3 cache: 16384K 13:16:43 NUMA node0 CPU(s): 0,1 13:16:43 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm art rep_good nopl extd_apicid eagerfpu pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core retpoline_amd ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 clzero xsaveerptr arat npt nrip_save umip spec_ctrl intel_stibp arch_capabilities 13:16:43 13:16:43 13:16:43 ---> nproc: 13:16:43 2 13:16:43 13:16:43 13:16:43 ---> df -h: 13:16:43 Filesystem Size Used Avail Use% Mounted on 13:16:43 overlay 40G 11G 30G 26% / 13:16:43 tmpfs 64M 0 64M 0% /dev 13:16:43 tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup 13:16:43 shm 64M 0 64M 0% /dev/shm 13:16:43 /dev/vda1 40G 11G 30G 26% /facter-os 13:16:43 13:16:43 13:16:43 ---> sar -b -r -n DEV: 13:16:43 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 02/03/22 _x86_64_ (2 CPU) 13:16:43 13:16:43 13:07:30 LINUX RESTART (2 CPU) 13:16:43 13:16:43 13:08:01 tps rtps wtps bread/s bwrtn/s 13:16:43 13:09:01 153.42 3.26 150.16 2335.39 30654.55 13:16:43 13:10:01 296.17 0.00 296.17 0.00 52085.55 13:16:43 13:11:01 144.52 0.00 144.52 0.00 27654.70 13:16:43 13:12:01 0.85 0.00 0.85 0.00 7.91 13:16:43 13:13:01 0.25 0.00 0.25 0.00 2.92 13:16:43 13:14:01 0.38 0.00 0.38 0.00 5.76 13:16:43 13:15:01 0.93 0.65 0.28 56.36 6.41 13:16:43 13:16:01 114.19 0.03 114.16 3.73 30085.99 13:16:43 Average: 88.86 0.49 88.37 299.46 17566.55 13:16:43 13:16:43 13:08:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 13:16:43 13:09:01 4086528 0 866276 10.82 2620 3053516 1430316 15.79 786332 2683940 519480 13:16:43 13:10:01 3902520 0 962664 12.02 2620 3141136 1436380 15.86 1000752 2632192 72332 13:16:43 13:11:01 3318888 0 1044696 13.04 2620 3642736 1314772 14.52 1029744 3121928 20 13:16:43 13:12:01 3322792 0 1040788 13.00 2620 3642740 1278600 14.12 1027248 3121928 16 13:16:43 13:13:01 3328876 0 1034696 12.92 2620 3642748 1278684 14.12 1023824 3121928 20 13:16:43 13:14:01 3329392 0 1034180 12.91 2620 3642748 1278600 14.12 1023452 3121928 20 13:16:43 13:15:01 3323492 0 1038388 12.97 2620 3644440 1281576 14.15 1029496 3122496 8 13:16:43 13:16:01 2326880 0 1184580 14.79 2620 4494860 1551684 17.13 1218848 3819376 106720 13:16:43 Average: 3367421 0 1025784 12.81 2620 3613116 1356326 14.97 1017462 3093214 87327 13:16:43 13:16:43 13:08:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 13:16:43 13:09:01 eth0 477.82 398.25 5852.29 60.42 0.00 0.00 0.00 0.00 13:16:43 13:09:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:09:01 docker0 211.66 248.66 18.66 2142.37 0.00 0.00 0.00 0.00 13:16:43 13:10:01 veth80feadc 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 13:16:43 13:10:01 eth0 24.94 16.25 26.50 10.90 0.00 0.00 0.00 0.00 13:16:43 13:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:11:01 eth0 139.78 93.01 2753.08 22.62 0.00 0.00 0.00 0.00 13:16:43 13:11:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:11:01 docker0 14.30 17.77 0.81 89.20 0.00 0.00 0.00 0.00 13:16:43 13:12:01 eth0 0.40 0.33 0.03 0.03 0.00 0.00 0.00 0.00 13:16:43 13:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:13:01 eth0 0.33 0.25 0.09 0.08 0.00 0.00 0.00 0.00 13:16:43 13:13:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:14:01 eth0 0.10 0.08 0.01 0.01 0.00 0.00 0.00 0.00 13:16:43 13:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:15:01 eth0 16.76 10.31 18.44 5.17 0.00 0.00 0.00 0.00 13:16:43 13:15:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:16:01 veth04e191b 33.29 45.84 3.59 383.08 0.00 0.00 0.00 0.00 13:16:43 13:16:01 eth0 184.24 120.10 4448.63 16.85 0.00 0.00 0.00 0.00 13:16:43 13:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 13:16:01 docker0 33.29 45.72 3.14 383.07 0.00 0.00 0.00 0.00 13:16:43 Average: veth04e191b 4.16 5.73 0.45 47.88 0.00 0.00 0.00 0.00 13:16:43 Average: eth0 105.55 79.83 1637.48 14.51 0.00 0.00 0.00 0.00 13:16:43 Average: lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 13:16:43 Average: docker0 32.41 39.02 2.83 326.85 0.00 0.00 0.00 0.00 13:16:43 13:16:43 13:16:43 ---> sar -P ALL: 13:16:43 Linux 3.10.0-1160.45.1.el7.x86_64 (centos-7-docker-61956895-6fad-6945-99d6-2040f50c295e.novalocal) 02/03/22 _x86_64_ (2 CPU) 13:16:43 13:16:43 13:07:30 LINUX RESTART (2 CPU) 13:16:43 13:16:43 13:08:01 CPU %user %nice %system %iowait %steal %idle 13:16:43 13:09:01 all 20.35 0.00 8.34 3.19 0.11 68.00 13:16:43 13:09:01 0 20.30 0.00 8.56 4.69 0.11 66.34 13:16:43 13:09:01 1 20.39 0.00 8.12 1.71 0.12 69.66 13:16:43 13:10:01 all 49.12 0.00 9.71 2.76 0.13 38.28 13:16:43 13:10:01 0 48.65 0.00 10.34 3.12 0.13 37.77 13:16:43 13:10:01 1 49.59 0.00 9.07 2.40 0.13 38.80 13:16:43 13:11:01 all 27.89 0.00 7.35 3.53 0.11 61.13 13:16:43 13:11:01 0 27.46 0.00 7.70 3.37 0.11 61.36 13:16:43 13:11:01 1 28.31 0.00 6.99 3.70 0.11 60.89 13:16:43 13:12:01 all 0.22 0.00 0.08 0.00 0.01 99.69 13:16:43 13:12:01 0 0.30 0.00 0.10 0.00 0.02 99.58 13:16:43 13:12:01 1 0.13 0.00 0.07 0.00 0.00 99.80 13:16:43 13:13:01 all 0.10 0.00 0.09 0.00 0.02 99.79 13:16:43 13:13:01 0 0.08 0.00 0.05 0.00 0.02 99.85 13:16:43 13:13:01 1 0.12 0.00 0.13 0.00 0.02 99.73 13:16:43 13:14:01 all 0.15 0.00 0.03 0.01 0.01 99.80 13:16:43 13:14:01 0 0.25 0.00 0.05 0.00 0.02 99.68 13:16:43 13:14:01 1 0.05 0.00 0.02 0.02 0.00 99.92 13:16:43 13:15:01 all 0.63 0.00 0.12 0.03 0.03 99.20 13:16:43 13:15:01 0 0.74 0.00 0.12 0.00 0.03 99.11 13:16:43 13:15:01 1 0.53 0.00 0.12 0.05 0.02 99.28 13:16:43 13:16:01 all 11.91 0.00 4.40 2.09 0.06 81.54 13:16:43 13:16:01 0 11.75 0.00 4.53 2.56 0.05 81.11 13:16:43 13:16:01 1 12.08 0.00 4.27 1.63 0.07 81.96 13:16:43 Average: all 13.33 0.00 3.65 1.41 0.06 81.55 13:16:43 Average: 0 13.23 0.00 3.81 1.67 0.06 81.23 13:16:43 Average: 1 13.42 0.00 3.49 1.15 0.06 81.88 13:16:43 13:16:43 13:16:43