Pull request #1109 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 97292904093c4593d6582cd0c7fedb47835f6b76+511d52040eef7e00dec48ea5a3bfdec0745a4f08 (f7aed436c105273146f2b70cd7383b97122f6cf2) 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-ssh6678658449518214508.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh11836270319894810626.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1109/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1109/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7016144350274176202.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1109/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15843622840209795332.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh16012786770198873963.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1109/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1109/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10723631256993364396.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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: [[ubuntu20.04-docker-8c-8g, ubuntu20.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7909 in /w/workspace/gexfoundry_device-sdk-go_PR-1109 [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/gexfoundry_device-sdk-go_PR-1109 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 511d52040eef7e00dec48ea5a3bfdec0745a4f08 into PR head commit 97292904093c4593d6582cd0c7fedb47835f6b76 Merge succeeded, producing 97292904093c4593d6582cd0c7fedb47835f6b76 Checking out Revision 97292904093c4593d6582cd0c7fedb47835f6b76 (PR-1109) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1109/head:refs/remotes/origin/PR-1109 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97292904093c4593d6582cd0c7fedb47835f6b76 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 511d52040eef7e00dec48ea5a3bfdec0745a4f08 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97292904093c4593d6582cd0c7fedb47835f6b76 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:05:18 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:05:18 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:05:18 ========================================================= 04:05:18 EdgeX Global Pipelines Version Info 04:05:18 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:05:19 ------------------- 04:05:19 stable info: 04:05:19 ------------------- 04:05:19 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:05:19 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:05:19 Message: update stable to v1.0.221 04:05:20 ------------------- 04:05:20 experimental info: 04:05:20 ------------------- 04:05:20 Commited By: **** collab-it+edgex@linuxfoundation.org 04:05:20 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:05:20 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:05:20 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1109 [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1109 [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1109 [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97292904093c4593d6582cd0c7fedb47835f6b76 [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9729290 [Pipeline] echo 04:05:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:21 provisioning config files... 04:05:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp/config8921421350257090858tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:22 ---> docker-login.sh 04:05:22 nexus3.edgexfoundry.org:10001 04:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:22 Configure a credential helper to remove this warning. See 04:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:22 04:05:22 Login Succeeded 04:05:22 nexus3.edgexfoundry.org:10002 04:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:22 Configure a credential helper to remove this warning. See 04:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:22 04:05:22 Login Succeeded 04:05:22 nexus3.edgexfoundry.org:10003 04:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:22 Configure a credential helper to remove this warning. See 04:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:22 04:05:22 Login Succeeded 04:05:22 nexus3.edgexfoundry.org:10004 04:05:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:22 Configure a credential helper to remove this warning. See 04:05:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:22 04:05:22 Login Succeeded 04:05:22 docker.io 04:05:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:23 Configure a credential helper to remove this warning. See 04:05:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:23 04:05:23 Login Succeeded 04:05:23 ---> docker-login.sh ends [Pipeline] } 04:05:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:05:24 + git rev-list -1 --merges 97292904093c4593d6582cd0c7fedb47835f6b76~1..97292904093c4593d6582cd0c7fedb47835f6b76 [Pipeline] echo 04:05:24 -----------> git rev-list -1 --merges 97292904093c4593d6582cd0c7fedb47835f6b76~1..97292904093c4593d6582cd0c7fedb47835f6b76 97292904093c4593d6582cd0c7fedb47835f6b76 [false] [Pipeline] sh 04:05:24 + git log --format=format:%s -1 97292904093c4593d6582cd0c7fedb47835f6b76 [Pipeline] echo 04:05:24 ========================================================= 04:05:24 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:05:24 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:24 + git log --format=format:%s -1 97292904093c4593d6582cd0c7fedb47835f6b76 [Pipeline] echo 04:05:25 [semverPrep] GIT_COMMIT: 97292904093c4593d6582cd0c7fedb47835f6b76, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 04:05:25 [semverPrep] This is not a build commit. [Pipeline] sh 04:05:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:25 + grep -v github /etc/ssh/ssh_known_hosts 04:05:25 + [ -e /tmp/ssh_known_hosts ] 04:05:25 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:05:25 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 04:05:25 sudo tee -a /etc/ssh/ssh_known_hosts 04:05:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:05:25 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:05:25 04:05:25 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:05:26 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:05:26 latest: Pulling from edgex-devops/git-semver 04:05:26 a0d0a0d46f8b: Pulling fs layer 04:05:26 3e5f54012d9b: Pulling fs layer 04:05:26 4c7163046ea9: Pulling fs layer 04:05:26 0c2d73faf560: Pulling fs layer 04:05:26 3e5f54012d9b: Download complete 04:05:26 a0d0a0d46f8b: Verifying Checksum 04:05:26 a0d0a0d46f8b: Download complete 04:05:26 4c7163046ea9: Verifying Checksum 04:05:26 4c7163046ea9: Download complete 04:05:26 0c2d73faf560: Verifying Checksum 04:05:26 0c2d73faf560: Download complete 04:05:26 a0d0a0d46f8b: Pull complete 04:05:26 3e5f54012d9b: Pull complete 04:05:26 4c7163046ea9: Pull complete 04:05:27 0c2d73faf560: Pull complete 04:05:27 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:05:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:05:27 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:05:27 prd-ubuntu20.04-docker-8c-8g-7909 does not seem to be running inside a container 04:05:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1109 -v /w/workspace/gexfoundry_device-sdk-go_PR-1109:/w/workspace/gexfoundry_device-sdk-go_PR-1109:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1109@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:05:27 $ docker top 38148e00eba9061b872fce60aebd3a6e2b25d474d7c070a3f6dc21a2c3cdb005 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:28 [ssh-agent] Looking for ssh-agent implementation... 04:05:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:28 $ docker exec 38148e00eba9061b872fce60aebd3a6e2b25d474d7c070a3f6dc21a2c3cdb005 ssh-agent 04:05:28 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXOHjDiN/agent.14 04:05:28 SSH_AGENT_PID=20 04:05:28 Running ssh-add (command line suppressed) 04:05:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp/private_key_8182881322886573305.key (/w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp/private_key_8182881322886573305.key) 04:05:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:28 + git tag --points-at HEAD [Pipeline] } 04:05:28 $ docker exec --env ******** --env ******** 38148e00eba9061b872fce60aebd3a6e2b25d474d7c070a3f6dc21a2c3cdb005 ssh-agent -k 04:05:29 unset SSH_AUTH_SOCK; 04:05:29 unset SSH_AGENT_PID; 04:05:29 echo Agent pid 20 killed; 04:05:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:05:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:29 [ssh-agent] Looking for ssh-agent implementation... 04:05:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:29 $ docker exec 38148e00eba9061b872fce60aebd3a6e2b25d474d7c070a3f6dc21a2c3cdb005 ssh-agent 04:05:29 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCfmAjL/agent.53 04:05:29 SSH_AGENT_PID=59 04:05:29 Running ssh-add (command line suppressed) 04:05:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp/private_key_7003518568973660950.key (/w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp/private_key_7003518568973660950.key) 04:05:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:29 + git semver init 04:05:29 # -> Open(): unable to determine branch for HEAD 04:05:29 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1109/.git 04:05:29 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1109 04:05:29 # $SEMVER_REMOTE_NAME = origin 04:05:29 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:05:29 # $SEMVER_USER_NAME = edgex-jenkins 04:05:29 # $SEMVER_BRANCH = PR-1109 04:05:29 # $SEMVER_TEMP = /tmp/semver-055717762 04:05:29 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:05:31 # '/tmp/semver-055717762' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1109/.semver' 04:05:31 # -> Force: false 04:05:31 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1109/.semver [Pipeline] } 04:05:31 $ docker exec --env ******** --env ******** 38148e00eba9061b872fce60aebd3a6e2b25d474d7c070a3f6dc21a2c3cdb005 ssh-agent -k 04:05:31 unset SSH_AUTH_SOCK; 04:05:31 unset SSH_AGENT_PID; 04:05:31 echo Agent pid 59 killed; 04:05:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:31 + git semver [Pipeline] } 04:05:31 $ docker stop --time=1 38148e00eba9061b872fce60aebd3a6e2b25d474d7c070a3f6dc21a2c3cdb005 04:05:33 $ docker rm -f 38148e00eba9061b872fce60aebd3a6e2b25d474d7c070a3f6dc21a2c3cdb005 [Pipeline] // withDockerContainer [Pipeline] sh 04:05:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:05:34 Stashed 1 file(s) [Pipeline] echo 04:05:34 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:34 provisioning config files... 04:05:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp/config5121568379302985423tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:34 ---> docker-login.sh 04:05:34 nexus3.edgexfoundry.org:10001 04:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:34 Configure a credential helper to remove this warning. See 04:05:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:34 04:05:34 Login Succeeded 04:05:34 nexus3.edgexfoundry.org:10002 04:05:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:35 Configure a credential helper to remove this warning. See 04:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:35 04:05:35 Login Succeeded 04:05:35 nexus3.edgexfoundry.org:10003 04:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:35 Configure a credential helper to remove this warning. See 04:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:35 04:05:35 Login Succeeded 04:05:35 nexus3.edgexfoundry.org:10004 04:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:35 Configure a credential helper to remove this warning. See 04:05:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:35 04:05:35 Login Succeeded 04:05:35 docker.io 04:05:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:36 Configure a credential helper to remove this warning. See 04:05:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:36 04:05:36 Login Succeeded 04:05:36 ---> docker-login.sh ends [Pipeline] } 04:05:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:05:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:36 ========================================================= 04:05:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:05:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:05:36 + 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 . 04:05:36 Sending build context to Docker daemon 9.535MB 04:05:36 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:05:36 Step 2/11 : FROM ${BASE} AS builder 04:05:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:05:37 59bf1c3509f3: Pulling fs layer 04:05:37 666ba61612fd: Pulling fs layer 04:05:37 8ed8ca486205: Pulling fs layer 04:05:37 4fe6c5a15a65: Pulling fs layer 04:05:37 22a0e8bec74d: Pulling fs layer 04:05:37 640e595b4fbd: Pulling fs layer 04:05:37 763cafe07f6e: Pulling fs layer 04:05:37 0c0b528cf693: Pulling fs layer 04:05:37 4fe6c5a15a65: Waiting 04:05:37 10935f4eaf8b: Pulling fs layer 04:05:37 22a0e8bec74d: Waiting 04:05:37 640e595b4fbd: Waiting 04:05:37 763cafe07f6e: Waiting 04:05:37 0c0b528cf693: Waiting 04:05:37 10935f4eaf8b: Waiting 04:05:37 8ed8ca486205: Download complete 04:05:37 666ba61612fd: Verifying Checksum 04:05:37 666ba61612fd: Download complete 04:05:37 22a0e8bec74d: Verifying Checksum 04:05:37 22a0e8bec74d: Download complete 04:05:37 640e595b4fbd: Download complete 04:05:37 59bf1c3509f3: Verifying Checksum 04:05:37 59bf1c3509f3: Download complete 04:05:37 763cafe07f6e: Verifying Checksum 04:05:37 763cafe07f6e: Download complete 04:05:37 0c0b528cf693: Verifying Checksum 04:05:37 0c0b528cf693: Download complete 04:05:37 59bf1c3509f3: Pull complete 04:05:37 666ba61612fd: Pull complete 04:05:37 8ed8ca486205: Pull complete 04:05:37 10935f4eaf8b: Verifying Checksum 04:05:37 10935f4eaf8b: Download complete 04:05:37 4fe6c5a15a65: Verifying Checksum 04:05:37 4fe6c5a15a65: Download complete 04:05:41 4fe6c5a15a65: Pull complete 04:05:41 22a0e8bec74d: Pull complete 04:05:41 640e595b4fbd: Pull complete 04:05:41 763cafe07f6e: Pull complete 04:05:42 0c0b528cf693: Pull complete 04:05:44 10935f4eaf8b: Pull complete 04:05:44 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 04:05:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:05:44 ---> 99d49a6021b9 04:05:44 Step 3/11 : ARG MAKE=make build 04:05:46 ---> Running in 406acefbba41 04:05:46 Removing intermediate container 406acefbba41 04:05:46 ---> 89d621c614f1 04:05:46 Step 4/11 : WORKDIR /device-sdk-go 04:05:46 ---> Running in fec868281c79 04:05:46 Removing intermediate container fec868281c79 04:05:46 ---> ff5a9306bb38 04:05:46 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:46 ---> Running in fd03be2aaf0b 04:05:46 Removing intermediate container fd03be2aaf0b 04:05:46 ---> 9e1fadbb3d9d 04:05:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:46 ---> Running in ed8b3c579620 04:05:47 Removing intermediate container ed8b3c579620 04:05:47 ---> 4bd6d4fcb857 04:05:47 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:47 ---> Running in 3ad30e35dc3a 04:05:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:05:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:05:48 OK: 221 MiB in 52 packages 04:05:49 Removing intermediate container 3ad30e35dc3a 04:05:49 ---> dd59786280b0 04:05:49 Step 8/11 : COPY go.mod vendor* ./ 04:05:49 ---> ad203ef34269 04:05:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:49 ---> Running in dd0fe5b97a0b 04:05:49 Still waiting to schedule task 04:05:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:06:21 Removing intermediate container dd0fe5b97a0b 04:06:21 ---> 9784eea8ebc1 04:06:21 Step 10/11 : COPY . . 04:06:21 ---> 63a2e343470a 04:06:21 Step 11/11 : RUN ${MAKE} 04:06:21 ---> Running in 3127e259cf11 04:06:21 noop 04:06:21 Removing intermediate container 3127e259cf11 04:06:21 ---> 7d78d21a1cc6 04:06:21 Successfully built 7d78d21a1cc6 04:06:21 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:06:21 + docker inspect -f . ci-base-image-x86_64 04:06:21 . [Pipeline] withDockerContainer 04:06:21 prd-ubuntu20.04-docker-8c-8g-7909 does not seem to be running inside a container 04:06:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1109 -v /w/workspace/gexfoundry_device-sdk-go_PR-1109:/w/workspace/gexfoundry_device-sdk-go_PR-1109:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:06:22 $ docker top 71301df1eb87f59817a35456127f2d2810721ec119d1aeb8b128e1dfcf25750f -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:22 + go version 04:06:22 go version go1.17.6 linux/amd64 [Pipeline] } 04:06:22 $ docker stop --time=1 71301df1eb87f59817a35456127f2d2810721ec119d1aeb8b128e1dfcf25750f 04:06:24 $ docker rm -f 71301df1eb87f59817a35456127f2d2810721ec119d1aeb8b128e1dfcf25750f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:06:24 + docker inspect -f . ci-base-image-x86_64 04:06:24 . [Pipeline] withDockerContainer 04:06:24 prd-ubuntu20.04-docker-8c-8g-7909 does not seem to be running inside a container 04:06:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1109 -v /w/workspace/gexfoundry_device-sdk-go_PR-1109:/w/workspace/gexfoundry_device-sdk-go_PR-1109:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:06:25 $ docker top 2d4f7e0a507211d05b33a222bc813833bf61c3e0a886a12fd5e25c4c7c7dcade -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:06:25 + make test 04:06:25 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:06:26 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:06:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.015s coverage: 23.3% of statements 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:06:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.013s coverage: 27.6% of statements 04:06:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.012s coverage: 78.9% of statements 04:06:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.013s coverage: 10.8% of statements 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:06:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.018s coverage: 33.2% of statements 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:06:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.014s coverage: 86.1% of statements 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:06:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.012s coverage: 57.4% of statements 04:06:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.042s coverage: 89.2% of statements 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:06:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.015s coverage: 4.8% of statements 04:06:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:06:40 GO111MODULE=on go vet ./... 04:06:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:44 ./bin/test-attribution-txt.sh [Pipeline] echo 04:06:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:44 $ docker stop --time=1 2d4f7e0a507211d05b33a222bc813833bf61c3e0a886a12fd5e25c4c7c7dcade 04:06:45 $ docker rm -f 2d4f7e0a507211d05b33a222bc813833bf61c3e0a886a12fd5e25c4c7c7dcade [Pipeline] // withDockerContainer [Pipeline] sh 04:06:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:06:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:48 + ls -al . 04:06:48 total 312 04:06:48 drwxrwxr-x 11 jenkins jenkins 4096 Mar 18 04:06 . 04:06:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 04:05 .. 04:06:48 -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 04:05 .dockerignore 04:06:48 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 04:05 .git 04:06:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:05 .github 04:06:48 -rw-rw-r-- 1 jenkins jenkins 131 Mar 18 04:05 .gitignore 04:06:48 -rw-rw-r-- 1 jenkins jenkins 42 Mar 18 04:05 .golangci.yml 04:06:48 drwx------ 3 jenkins jenkins 4096 Mar 18 04:05 .semver 04:06:48 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 18 04:05 CHANGELOG.md 04:06:48 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 04:05 GOVERNANCE.md 04:06:48 -rw-rw-r-- 1 jenkins jenkins 880 Mar 18 04:05 Jenkinsfile 04:06:48 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 18 04:05 LICENSE 04:06:48 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 18 04:05 Makefile 04:06:48 -rw-rw-r-- 1 jenkins jenkins 619 Mar 18 04:05 OWNERS.md 04:06:48 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 18 04:05 README.md 04:06:48 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 04:05 VERSION 04:06:48 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 04:05 bin 04:06:48 -rw-r--r-- 1 jenkins jenkins 129001 Mar 18 04:06 coverage.out 04:06:48 drwxrwxr-x 5 jenkins jenkins 4096 Mar 18 04:05 example 04:06:48 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 18 04:05 go.mod 04:06:48 -rw-rw-r-- 1 jenkins jenkins 50080 Mar 18 04:05 go.sum 04:06:48 drwxrwxr-x 15 jenkins jenkins 4096 Mar 18 04:05 internal 04:06:48 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:05 openapi 04:06:48 drwxrwxr-x 5 jenkins jenkins 4096 Mar 18 04:05 pkg 04:06:48 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 04:05 snap 04:06:48 -rw-rw-r-- 1 jenkins jenkins 222 Mar 18 04:05 version.go [Pipeline] isUnix [Pipeline] sh 04:06:48 + 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=97292904093c4593d6582cd0c7fedb47835f6b76 --label arch=amd64 --label version=0.0.0 . 04:06:48 Sending build context to Docker daemon 9.665MB 04:06:48 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:06:48 Step 2/25 : FROM ${BASE} AS builder 04:06:48 ---> 7d78d21a1cc6 04:06:48 Step 3/25 : ARG MAKE=make build 04:06:48 ---> Running in 415cd232168f 04:06:48 Removing intermediate container 415cd232168f 04:06:48 ---> 3095200bbb64 04:06:48 Step 4/25 : WORKDIR /device-sdk-go 04:06:48 ---> Running in 0211e7cc3e3c 04:06:48 Removing intermediate container 0211e7cc3e3c 04:06:48 ---> bb5591a47d66 04:06:48 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:48 ---> Running in 6e325955a650 04:06:48 Removing intermediate container 6e325955a650 04:06:48 ---> 4f64473badf3 04:06:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:48 ---> Running in 5cacf79b3754 04:06:49 Removing intermediate container 5cacf79b3754 04:06:49 ---> a91ba6e71167 04:06:49 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:49 ---> Running in c6f24a4fc0d8 04:06:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:06:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:06:50 OK: 221 MiB in 52 packages 04:06:51 Removing intermediate container c6f24a4fc0d8 04:06:51 ---> e4fd28c47276 04:06:51 Step 8/25 : COPY go.mod vendor* ./ 04:06:51 ---> 4a250854fe32 04:06:51 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:51 ---> Running in e5cf3463f552 04:06:52 Removing intermediate container e5cf3463f552 04:06:52 ---> cb75563e0440 04:06:52 Step 10/25 : COPY . . 04:06:52 ---> ab83c249908a 04:06:52 Step 11/25 : RUN ${MAKE} 04:06:52 ---> Running in d969ebc3ecd5 04:06:52 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:06:59 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:07:00 Removing intermediate container d969ebc3ecd5 04:07:00 ---> d42f03f0694a 04:07:00 Step 12/25 : FROM alpine:3.14 04:07:01 3.14: Pulling from library/alpine 04:07:01 36ccefbf3d8a: Pulling fs layer 04:07:01 36ccefbf3d8a: Download complete 04:07:01 36ccefbf3d8a: Pull complete 04:07:01 Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b 04:07:01 Status: Downloaded newer image for alpine:3.14 04:07:01 ---> a33ac4f1069a 04:07:01 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:07:01 ---> Running in 8a33a9d1eb44 04:07:01 Removing intermediate container 8a33a9d1eb44 04:07:01 ---> 5ce09ec82ba2 04:07:01 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:01 ---> Running in d279e980ac0d 04:07:02 Removing intermediate container d279e980ac0d 04:07:02 ---> 654b33cd4ac7 04:07:02 Step 15/25 : RUN apk add --update --no-cache zeromq 04:07:02 ---> Running in 3a8e76c096fb 04:07:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:07:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:07:03 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:07:03 (2/5) Installing libsodium (1.0.18-r0) 04:07:03 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:07:03 (4/5) Installing libzmq (4.3.4-r0) 04:07:03 (5/5) Installing zeromq (4.3.4-r0) 04:07:04 Executing busybox-1.33.1-r6.trigger 04:07:04 OK: 8 MiB in 19 packages 04:07:04 Removing intermediate container 3a8e76c096fb 04:07:04 ---> 1dfae5fb6173 04:07:04 Step 16/25 : WORKDIR / 04:07:04 ---> Running in 827778ffaf02 04:07:04 Removing intermediate container 827778ffaf02 04:07:04 ---> afa9c45c2ea0 04:07:04 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:04 ---> a0cf2bbb6f53 04:07:04 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:05 ---> 335d3a966abb 04:07:05 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:05 ---> b14d91ed1896 04:07:05 Step 20/25 : EXPOSE 59999 04:07:05 ---> Running in 425f4c45a7b4 04:07:05 Removing intermediate container 425f4c45a7b4 04:07:05 ---> c6d9913269c5 04:07:05 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:07:05 ---> Running in 9c6a7d37a610 04:07:05 Removing intermediate container 9c6a7d37a610 04:07:05 ---> f3ebe5626093 04:07:05 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:05 ---> Running in 9dbbfa0b0c57 04:07:05 Removing intermediate container 9dbbfa0b0c57 04:07:05 ---> a9ad325f421c 04:07:05 Step 23/25 : LABEL arch=amd64 04:07:05 ---> Running in e3cf389c1ba0 04:07:05 Removing intermediate container e3cf389c1ba0 04:07:05 ---> bcaf9b1209f9 04:07:05 Step 24/25 : LABEL git_sha=97292904093c4593d6582cd0c7fedb47835f6b76 04:07:05 ---> Running in 838b0a168d3a 04:07:05 Removing intermediate container 838b0a168d3a 04:07:05 ---> c81b2afbd73b 04:07:05 Step 25/25 : LABEL version=0.0.0 04:07:05 ---> Running in 62ac3f791ffe 04:07:05 Removing intermediate container 62ac3f791ffe 04:07:05 ---> a6a20c1f697e 04:07:05 [Warning] One or more build-args [ARCH] were not consumed 04:07:05 Successfully built a6a20c1f697e 04:07:05 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 04:07:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:06 04:07:06 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:07:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:07 latest: Pulling from edgex-lftools-log-publisher 04:07:07 5eb5b503b376: Pulling fs layer 04:07:07 5c69ac0246d0: Pulling fs layer 04:07:07 ec43610c2a17: Pulling fs layer 04:07:07 3a2ae6a8a46f: Pulling fs layer 04:07:07 33b1e0a273af: Pulling fs layer 04:07:07 5d3b04190fa2: Pulling fs layer 04:07:07 3a2ae6a8a46f: Waiting 04:07:07 2f39f015ded8: Pulling fs layer 04:07:07 5d3b04190fa2: Waiting 04:07:07 2f39f015ded8: Waiting 04:07:07 5c69ac0246d0: Download complete 04:07:07 3a2ae6a8a46f: Verifying Checksum 04:07:07 3a2ae6a8a46f: Download complete 04:07:07 33b1e0a273af: Verifying Checksum 04:07:07 33b1e0a273af: Download complete 04:07:07 ec43610c2a17: Verifying Checksum 04:07:07 ec43610c2a17: Download complete 04:07:07 5d3b04190fa2: Download complete 04:07:07 5eb5b503b376: Verifying Checksum 04:07:07 5eb5b503b376: Download complete 04:07:07 2f39f015ded8: Download complete 04:07:08 5eb5b503b376: Pull complete 04:07:08 5c69ac0246d0: Pull complete 04:07:09 ec43610c2a17: Pull complete 04:07:09 3a2ae6a8a46f: Pull complete 04:07:09 33b1e0a273af: Pull complete 04:07:09 5d3b04190fa2: Pull complete 04:07:14 2f39f015ded8: Pull complete 04:07:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:07:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:07:14 prd-ubuntu20.04-docker-8c-8g-7909 does not seem to be running inside a container 04:07:14 $ 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/gexfoundry_device-sdk-go_PR-1109 -v /w/workspace/gexfoundry_device-sdk-go_PR-1109:/w/workspace/gexfoundry_device-sdk-go_PR-1109:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:07:16 $ docker top 1e13bcf7b46095783c2cb4d24835e24cbee2a0c25db496f6de75b5d2cbca7c70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:17 ---> job-cost.sh 04:07:17 lf-activate-venv: SKIPPING 04:07:17 INFO: No Stack... 04:07:17 INFO: Retrieving Pricing Info for: v3-standard-8 04:07:18 INFO: Archiving Costs [Pipeline] sh 04:07:18 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1109/archives/cost.csv 04:07:18 + cut -d, -f6 [Pipeline] lock 04:07:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1109-1-stack-cost] 04:07:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1109-1-stack-cost] did not exist. Created. 04:07:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:18 + echo total: 0.2199999988079071 [Pipeline] stash 04:07:18 Stashed 1 file(s) [Pipeline] } 04:07:18 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1109-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:07:19 $ docker stop --time=1 1e13bcf7b46095783c2cb4d24835e24cbee2a0c25db496f6de75b5d2cbca7c70 04:07:20 $ docker rm -f 1e13bcf7b46095783c2cb4d24835e24cbee2a0c25db496f6de75b5d2cbca7c70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7913 in /w/workspace/gexfoundry_device-sdk-go_PR-1109 [Pipeline] { [Pipeline] ws 04:07:29 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:07:30 The recommended git tool is: git 04:07:38 using credential edgex-jenkins-ssh 04:07:38 Cloning the remote Git repository 04:07:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:07:38 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:07:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:38 > git --version # timeout=10 04:07:38 > git --version # 'git version 2.25.1' 04:07:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:40 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1109/head:refs/remotes/origin/PR-1109 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:07:41 Merging remotes/origin/main commit 511d52040eef7e00dec48ea5a3bfdec0745a4f08 into PR head commit 97292904093c4593d6582cd0c7fedb47835f6b76 04:07:41 Merge succeeded, producing 97292904093c4593d6582cd0c7fedb47835f6b76 04:07:41 Checking out Revision 97292904093c4593d6582cd0c7fedb47835f6b76 (PR-1109) 04:07:41 > git config core.sparsecheckout # timeout=10 04:07:41 > git checkout -f 97292904093c4593d6582cd0c7fedb47835f6b76 # timeout=10 04:07:41 > git remote # timeout=10 04:07:41 > git config --get remote.origin.url # timeout=10 04:07:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:41 > git merge 511d52040eef7e00dec48ea5a3bfdec0745a4f08 # timeout=10 04:07:41 > git rev-parse HEAD^{commit} # timeout=10 04:07:41 > git config core.sparsecheckout # timeout=10 04:07:41 > git checkout -f 97292904093c4593d6582cd0c7fedb47835f6b76 # timeout=10 04:07:46 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 04:07:46 > git --version # timeout=10 04:07:46 > git --version # 'git version 2.25.1' 04:07:46 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:47 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:07:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:47 Dload Upload Total Spent Left Speed 04:07:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 44690 0 --:--:-- --:--:-- --:--:-- 44690 [Pipeline] sh 04:07:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:07:48 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:07:48 + sudo tee /etc/docker/daemon.new 04:07:48 { 04:07:48 "registry-mirrors": [ 04:07:48 "https://nexus3.edgexfoundry.org:10001" 04:07:48 ], 04:07:48 "bip": "10.250.0.254/24", 04:07:48 "hosts": [ 04:07:48 "tcp://0.0.0.0:5555", 04:07:48 "unix:///var/run/docker.sock" 04:07:48 ], 04:07:48 "mtu": 1458, 04:07:48 "selinux-enabled": true, 04:07:48 "seccomp-profile": "/etc/docker/seccomp.json" 04:07:48 } [Pipeline] sh 04:07:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:07:49 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:07 provisioning config files... 04:08:07 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6424112030406609442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:08 ---> docker-login.sh 04:08:08 nexus3.edgexfoundry.org:10001 04:08:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:09 Configure a credential helper to remove this warning. See 04:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:09 04:08:09 Login Succeeded 04:08:09 nexus3.edgexfoundry.org:10002 04:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:09 Configure a credential helper to remove this warning. See 04:08:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:09 04:08:09 Login Succeeded 04:08:09 nexus3.edgexfoundry.org:10003 04:08:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 nexus3.edgexfoundry.org:10004 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 docker.io 04:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:11 Configure a credential helper to remove this warning. See 04:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:11 04:08:11 Login Succeeded 04:08:11 ---> docker-login.sh ends [Pipeline] } 04:08:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:11 ========================================================= 04:08:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:08:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:08:12 + 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 . 04:08:12 Sending build context to Docker daemon 5.157MB 04:08:12 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:08:12 Step 2/11 : FROM ${BASE} AS builder 04:08:12 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:08:12 9b3977197b4f: Pulling fs layer 04:08:12 1a89e8eeedd5: Pulling fs layer 04:08:12 94645a83ff95: Pulling fs layer 04:08:12 3f3a8bcf1eab: Pulling fs layer 04:08:12 0c92f367c5e7: Pulling fs layer 04:08:12 f7c0051592d6: Pulling fs layer 04:08:12 a227ed2f7395: Pulling fs layer 04:08:12 7b1c46037f91: Pulling fs layer 04:08:12 3f3a8bcf1eab: Waiting 04:08:12 0c92f367c5e7: Waiting 04:08:12 f7c0051592d6: Waiting 04:08:12 7b1c46037f91: Waiting 04:08:12 a227ed2f7395: Waiting 04:08:12 94645a83ff95: Verifying Checksum 04:08:12 94645a83ff95: Download complete 04:08:12 1a89e8eeedd5: Verifying Checksum 04:08:12 1a89e8eeedd5: Download complete 04:08:13 0c92f367c5e7: Verifying Checksum 04:08:13 0c92f367c5e7: Download complete 04:08:13 f7c0051592d6: Verifying Checksum 04:08:13 f7c0051592d6: Download complete 04:08:13 9b3977197b4f: Verifying Checksum 04:08:13 a227ed2f7395: Verifying Checksum 04:08:13 a227ed2f7395: Download complete 04:08:13 9b3977197b4f: Pull complete 04:08:14 1a89e8eeedd5: Pull complete 04:08:14 94645a83ff95: Pull complete 04:08:15 7b1c46037f91: Verifying Checksum 04:08:15 7b1c46037f91: Download complete 04:08:15 3f3a8bcf1eab: Verifying Checksum 04:08:15 3f3a8bcf1eab: Download complete 04:08:28 3f3a8bcf1eab: Pull complete 04:08:28 0c92f367c5e7: Pull complete 04:08:28 f7c0051592d6: Pull complete 04:08:28 a227ed2f7395: Pull complete 04:08:35 7b1c46037f91: Pull complete 04:08:35 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 04:08:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:08:35 ---> f79e39bc4007 04:08:35 Step 3/11 : ARG MAKE=make build 04:08:35 ---> Running in 22dc0667352e 04:08:36 Removing intermediate container 22dc0667352e 04:08:36 ---> aeb6a105d3ed 04:08:36 Step 4/11 : WORKDIR /device-sdk-go 04:08:36 ---> Running in 404ac899db8b 04:08:36 Removing intermediate container 404ac899db8b 04:08:36 ---> 1062ea454bde 04:08:36 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:36 ---> Running in ba9baea9ce38 04:08:36 Removing intermediate container ba9baea9ce38 04:08:36 ---> 3266437e96c2 04:08:36 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:36 ---> Running in 51625142b313 04:08:38 Removing intermediate container 51625142b313 04:08:38 ---> 8629dc263e92 04:08:38 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:38 ---> Running in 2cd890f85519 04:08:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:08:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:08:42 OK: 220 MiB in 52 packages 04:08:43 Removing intermediate container 2cd890f85519 04:08:43 ---> 9e6d993fbcec 04:08:43 Step 8/11 : COPY go.mod vendor* ./ 04:08:43 ---> 0e9324899ae5 04:08:43 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:43 ---> Running in dc33a19dd32d 04:10:05 Removing intermediate container dc33a19dd32d 04:10:05 ---> 02b05555bc23 04:10:05 Step 10/11 : COPY . . 04:10:05 ---> 81fc71db1caf 04:10:05 Step 11/11 : RUN ${MAKE} 04:10:05 ---> Running in e19ae3b4ee1d 04:10:05 noop 04:10:06 Removing intermediate container e19ae3b4ee1d 04:10:06 ---> c13a58a65586 04:10:06 Successfully built c13a58a65586 04:10:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:10:07 + docker inspect -f . ci-base-image-arm64 04:10:07 . [Pipeline] withDockerContainer 04:10:07 prd-ubuntu20.04-docker-arm64-4c-16g-7913 does not seem to be running inside a container 04:10:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:08 $ docker top c6dfa2e6f545a7b10d245748044b4ddcd0282800678ebc8d046d438d1fd80704 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:09 + go version 04:10:09 go version go1.17.6 linux/arm64 [Pipeline] } 04:10:09 $ docker stop --time=1 c6dfa2e6f545a7b10d245748044b4ddcd0282800678ebc8d046d438d1fd80704 04:10:11 $ docker rm -f c6dfa2e6f545a7b10d245748044b4ddcd0282800678ebc8d046d438d1fd80704 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:10:12 + docker inspect -f . ci-base-image-arm64 04:10:12 . [Pipeline] withDockerContainer 04:10:12 prd-ubuntu20.04-docker-arm64-4c-16g-7913 does not seem to be running inside a container 04:10:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:14 $ docker top f92c0f9a73cd9cfe63718d72a68c1b9c204633a2148967c4cd69d63d891656e8 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:10:15 + make test 04:10:15 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:10:17 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:11:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:11:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:11:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:11:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.100s coverage: 23.3% of statements 04:11:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:11:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements 04:11:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.095s coverage: 78.9% of statements 04:11:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.098s coverage: 10.8% of statements 04:11:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:11:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:11:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:11:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.104s coverage: 33.2% of statements 04:11:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:11:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 86.1% of statements 04:11:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:11:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:11:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.149s coverage: 57.4% of statements 04:11:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.215s coverage: 89.2% of statements 04:11:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:11:25 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.8% of statements 04:11:25 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:11:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:11:26 GO111MODULE=on go vet ./... 04:11:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:11:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:11:48 ./bin/test-attribution-txt.sh [Pipeline] echo 04:11:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:11:50 $ docker stop --time=1 f92c0f9a73cd9cfe63718d72a68c1b9c204633a2148967c4cd69d63d891656e8 04:11:52 $ docker rm -f f92c0f9a73cd9cfe63718d72a68c1b9c204633a2148967c4cd69d63d891656e8 [Pipeline] // withDockerContainer [Pipeline] sh 04:11:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:11:53 Warning: overwriting stash ‘coverage-report’ 04:11:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:11:55 + ls -al . 04:11:55 total 308 04:11:55 drwxrwxr-x 10 jenkins jenkins 4096 Mar 18 04:11 . 04:11:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 04:07 .. 04:11:55 -rw-rw-r-- 1 jenkins jenkins 140 Mar 18 04:07 .dockerignore 04:11:55 drwxrwxr-x 8 jenkins jenkins 4096 Mar 18 04:07 .git 04:11:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:07 .github 04:11:55 -rw-rw-r-- 1 jenkins jenkins 131 Mar 18 04:07 .gitignore 04:11:55 -rw-rw-r-- 1 jenkins jenkins 42 Mar 18 04:07 .golangci.yml 04:11:55 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 18 04:07 CHANGELOG.md 04:11:55 -rw-rw-r-- 1 jenkins jenkins 677 Mar 18 04:07 GOVERNANCE.md 04:11:55 -rw-rw-r-- 1 jenkins jenkins 880 Mar 18 04:07 Jenkinsfile 04:11:55 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 18 04:07 LICENSE 04:11:55 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 18 04:07 Makefile 04:11:55 -rw-rw-r-- 1 jenkins jenkins 619 Mar 18 04:07 OWNERS.md 04:11:55 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 18 04:07 README.md 04:11:55 -rw-rw-r-- 1 jenkins jenkins 5 Mar 18 04:05 VERSION 04:11:55 drwxrwxr-x 2 jenkins jenkins 4096 Mar 18 04:07 bin 04:11:55 -rw-r--r-- 1 jenkins jenkins 129001 Mar 18 04:11 coverage.out 04:11:55 drwxrwxr-x 5 jenkins jenkins 4096 Mar 18 04:07 example 04:11:55 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 18 04:07 go.mod 04:11:55 -rw-rw-r-- 1 jenkins jenkins 50080 Mar 18 04:07 go.sum 04:11:55 drwxrwxr-x 15 jenkins jenkins 4096 Mar 18 04:07 internal 04:11:55 drwxrwxr-x 3 jenkins jenkins 4096 Mar 18 04:07 openapi 04:11:55 drwxrwxr-x 5 jenkins jenkins 4096 Mar 18 04:07 pkg 04:11:55 drwxrwxr-x 4 jenkins jenkins 4096 Mar 18 04:07 snap 04:11:55 -rw-rw-r-- 1 jenkins jenkins 222 Mar 18 04:07 version.go [Pipeline] isUnix [Pipeline] sh 04:11:55 + 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=97292904093c4593d6582cd0c7fedb47835f6b76 --label arch=arm64 --label version=0.0.0 . 04:11:56 Sending build context to Docker daemon 5.287MB 04:11:56 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:11:56 Step 2/25 : FROM ${BASE} AS builder 04:11:56 ---> c13a58a65586 04:11:56 Step 3/25 : ARG MAKE=make build 04:11:56 ---> Running in b488032515a3 04:11:56 Removing intermediate container b488032515a3 04:11:56 ---> 0b7eaf10dc1c 04:11:56 Step 4/25 : WORKDIR /device-sdk-go 04:11:56 ---> Running in 98aa95ac86e0 04:11:56 Removing intermediate container 98aa95ac86e0 04:11:56 ---> cda9a9f4a03b 04:11:56 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:11:56 ---> Running in 9da514cd9a58 04:11:57 Removing intermediate container 9da514cd9a58 04:11:57 ---> 3c04dbee996e 04:11:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:57 ---> Running in 33aae4cd47b2 04:11:59 Removing intermediate container 33aae4cd47b2 04:11:59 ---> 2afcfe7d4cba 04:11:59 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:59 ---> Running in 62667010d21b 04:12:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:12:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:12:02 OK: 220 MiB in 52 packages 04:12:03 Removing intermediate container 62667010d21b 04:12:03 ---> 44e6f0b175a2 04:12:03 Step 8/25 : COPY go.mod vendor* ./ 04:12:03 ---> aaa291a4486d 04:12:03 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:12:03 ---> Running in 5edee5d1061c 04:12:05 Removing intermediate container 5edee5d1061c 04:12:05 ---> 423ac44aa71b 04:12:05 Step 10/25 : COPY . . 04:12:07 ---> 86d3567d89fa 04:12:07 Step 11/25 : RUN ${MAKE} 04:12:07 ---> Running in 33f7b7d22212 04:12:08 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:12:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:12:55 Removing intermediate container 33f7b7d22212 04:12:55 ---> 9d0669c6b878 04:12:55 Step 12/25 : FROM alpine:3.14 04:12:55 3.14: Pulling from library/alpine 04:12:55 93a1719cf261: Pulling fs layer 04:12:55 93a1719cf261: Download complete 04:12:55 93a1719cf261: Pull complete 04:12:55 Digest: sha256:beca83085fd7f5b2a2cc457ddb2ed180c090c13ad7e806530e4ef578cb5cfe7b 04:12:55 Status: Downloaded newer image for alpine:3.14 04:12:55 ---> 71a2028e5025 04:12:55 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:12:55 ---> Running in 878aebc9b9d1 04:12:55 Removing intermediate container 878aebc9b9d1 04:12:55 ---> 3dc568b7d432 04:12:55 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:12:55 ---> Running in 7a4ce6727780 04:12:56 Removing intermediate container 7a4ce6727780 04:12:56 ---> 11b11154d5fa 04:12:56 Step 15/25 : RUN apk add --update --no-cache zeromq 04:12:57 ---> Running in 4dc4ebe4ff77 04:12:58 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:12:59 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:13:00 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:13:00 (2/5) Installing libsodium (1.0.18-r0) 04:13:00 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:13:00 (4/5) Installing libzmq (4.3.4-r0) 04:13:00 (5/5) Installing zeromq (4.3.4-r0) 04:13:00 Executing busybox-1.33.1-r6.trigger 04:13:00 OK: 8 MiB in 19 packages 04:13:01 Removing intermediate container 4dc4ebe4ff77 04:13:01 ---> 87acce20d37f 04:13:01 Step 16/25 : WORKDIR / 04:13:01 ---> Running in bbc549511829 04:13:01 Removing intermediate container bbc549511829 04:13:01 ---> 67f25654475b 04:13:01 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:13:02 ---> 464ac9496ca2 04:13:02 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:13:03 ---> 1392205c82e5 04:13:03 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:13:04 ---> cad0d13d875d 04:13:04 Step 20/25 : EXPOSE 59999 04:13:04 ---> Running in 691523b5848e 04:13:04 Removing intermediate container 691523b5848e 04:13:04 ---> 68433056c675 04:13:04 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:13:04 ---> Running in d969c4847e73 04:13:05 Removing intermediate container d969c4847e73 04:13:05 ---> fea8d8b18dc1 04:13:05 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:13:05 ---> Running in 5de3e6c9b0e5 04:13:05 Removing intermediate container 5de3e6c9b0e5 04:13:05 ---> cb1b4ef03eff 04:13:05 Step 23/25 : LABEL arch=arm64 04:13:05 ---> Running in 9f5dde6132b0 04:13:05 Removing intermediate container 9f5dde6132b0 04:13:05 ---> 099a140e881c 04:13:05 Step 24/25 : LABEL git_sha=97292904093c4593d6582cd0c7fedb47835f6b76 04:13:05 ---> Running in 7efd59d30e53 04:13:06 Removing intermediate container 7efd59d30e53 04:13:06 ---> f174bad46a18 04:13:06 Step 25/25 : LABEL version=0.0.0 04:13:06 ---> Running in aba6d244d72c 04:13:06 Removing intermediate container aba6d244d72c 04:13:06 ---> 45d02fd67dc3 04:13:06 [Warning] One or more build-args [ARCH] were not consumed 04:13:06 Successfully built 45d02fd67dc3 04:13:06 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 04:13:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:13:07 04:13:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:13:07 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:13:08 arm64: Pulling from edgex-lftools-log-publisher 04:13:08 8998bd30e6a1: Pulling fs layer 04:13:08 04944245beec: Pulling fs layer 04:13:08 699f458cf7ca: Pulling fs layer 04:13:08 765212b225bb: Pulling fs layer 04:13:08 f23df028b6ca: Pulling fs layer 04:13:08 d65c8cfc05b1: Pulling fs layer 04:13:08 2437ff75d9bd: Pulling fs layer 04:13:08 f23df028b6ca: Waiting 04:13:08 2437ff75d9bd: Waiting 04:13:08 765212b225bb: Waiting 04:13:08 d65c8cfc05b1: Waiting 04:13:08 04944245beec: Verifying Checksum 04:13:08 04944245beec: Download complete 04:13:08 765212b225bb: Verifying Checksum 04:13:08 765212b225bb: Download complete 04:13:08 f23df028b6ca: Verifying Checksum 04:13:08 f23df028b6ca: Download complete 04:13:08 d65c8cfc05b1: Verifying Checksum 04:13:08 d65c8cfc05b1: Download complete 04:13:08 699f458cf7ca: Verifying Checksum 04:13:08 699f458cf7ca: Download complete 04:13:09 8998bd30e6a1: Download complete 04:13:11 2437ff75d9bd: Download complete 04:13:13 8998bd30e6a1: Pull complete 04:13:13 04944245beec: Pull complete 04:13:15 699f458cf7ca: Pull complete 04:13:15 765212b225bb: Pull complete 04:13:16 f23df028b6ca: Pull complete 04:13:16 d65c8cfc05b1: Pull complete 04:13:31 2437ff75d9bd: Pull complete 04:13:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:13:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:13:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:13:32 prd-ubuntu20.04-docker-arm64-4c-16g-7913 does not seem to be running inside a container 04:13:32 $ 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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:13:35 $ docker top 5f98732b5bc0bbb1573de12f194e5afbe782e557b327b36684d8285c2ed8c9a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:36 ---> job-cost.sh 04:13:36 lf-activate-venv: SKIPPING 04:13:36 INFO: No Stack... 04:13:36 INFO: Retrieving Pricing Info for: v3-standard-4 04:13:37 INFO: Archiving Costs [Pipeline] sh 04:13:37 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:13:37 + cut -d, -f6 [Pipeline] lock 04:13:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1109-1-stack-cost] 04:13:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1109-1-stack-cost] did not exist. Created. 04:13:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1109-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:13:38 /w/workspace/device-sdk-go/1@tmp/durable-42ccd728/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:13:39 + echo total: 0.10999999940395355 [Pipeline] stash 04:13:39 Warning: overwriting stash ‘stack-cost’ 04:13:39 Stashed 1 file(s) [Pipeline] } 04:13:39 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1109-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:13:39 $ docker stop --time=1 5f98732b5bc0bbb1573de12f194e5afbe782e557b327b36684d8285c2ed8c9a0 04:13:41 $ docker rm -f 5f98732b5bc0bbb1573de12f194e5afbe782e557b327b36684d8285c2ed8c9a0 [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 04:13:42 provisioning config files... 04:13:42 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp/config6738839363807253878tmp [Pipeline] { [Pipeline] sh 04:13:42 + set +x 04:13:42 + bash -s -- 04:13:42 + curl -s https://codecov.io/bash 04:13:42 04:13:42 _____ _ 04:13:42 / ____| | | 04:13:42 | | ___ __| | ___ ___ _____ __ 04:13:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:13:42 | |___| (_) | (_| | __/ (_| (_) \ V / 04:13:42 \_____\___/ \__,_|\___|\___\___/ \_/ 04:13:42 Bash-1.0.6 04:13:42 04:13:42 04:13:42 ==> git version 2.25.1 found 04:13:42 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:13:42 Release-Date: 2020-01-08 04:13:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:13:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:13:42 ==> Jenkins CI detected. 04:13:42 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1109 04:13:42 project root: . 04:13:42 --> token set from env 04:13:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:13:42 ==> Running gcov in . (disable via -X gcov) 04:13:42 ==> Python coveragepy not found 04:13:42 ==> Searching for coverage reports in: 04:13:42 + . 04:13:42 -> Found 1 reports 04:13:42 ==> Detecting git/mercurial file structure 04:13:42 ==> Reading reports 04:13:42 + ./coverage.out bytes=129001 04:13:42 ==> Appending adjustments 04:13:42 https://docs.codecov.io/docs/fixing-reports 04:13:43 + Found adjustments 04:13:43 ==> Gzipping contents 04:13:43 16K /tmp/codecov.yXePKT.gz 04:13:43 ==> Uploading reports 04:13:43 url: https://codecov.io 04:13:43 query: branch=PR-1109&commit=97292904093c4593d6582cd0c7fedb47835f6b76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1109&job=&cmd_args= 04:13:43 -> Pinging Codecov 04:13:43 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1109&commit=97292904093c4593d6582cd0c7fedb47835f6b76&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1109%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1109&job=&cmd_args= 04:13:43 -> Uploading to 04:13:43 https://storage.googleapis.com/codecov/v4/raw/2022-03-18/7E55EF52A471D76F132DFD9A03CDDE97/97292904093c4593d6582cd0c7fedb47835f6b76/3177cfe3-fc4b-4a71-b605-0958e052d295.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220318%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220318T041343Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c948d4c75d1fe4730dc89633e0f68a3b1285cf530718ad77c4087343d0e9999b 04:13:43 % Total % Received % Xferd Average Speed Time Time Time Current 04:13:43 Dload Upload Total Spent Left Speed 04:13:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16223 0 0 100 16223 0 73740 --:--:-- --:--:-- --:--:-- 73407 100 16223 0 0 100 16223 0 62879 --:--:-- --:--:-- --:--:-- 62637 04:13:43 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/97292904093c4593d6582cd0c7fedb47835f6b76 [Pipeline] } 04:13:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" 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 04:13:45 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1109/archives ] 04:13:45 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1109/archives 04:13:45 total 16 04:13:45 drwxr-xr-x 3 root root 4096 Mar 18 04:07 . 04:13:45 drwxrwxr-x 12 jenkins jenkins 4096 Mar 18 04:07 .. 04:13:45 drwxr-xr-x 2 root root 4096 Mar 18 04:07 cost 04:13:45 -rw-r--r-- 1 root root 85 Mar 18 04:07 cost.csv 04:13:45 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1109/archives 04:13:45 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1109/archives 04:13:45 total 16 04:13:45 drwxr-xr-x 3 jenkins jenkins 4096 Mar 18 04:07 . 04:13:45 drwxrwxr-x 12 jenkins jenkins 4096 Mar 18 04:07 .. 04:13:45 drwxr-xr-x 2 jenkins jenkins 4096 Mar 18 04:07 cost 04:13:45 -rw-r--r-- 1 jenkins jenkins 85 Mar 18 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:13:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:13:46 ---> package-listing.sh 04:13:46 ++ facter osfamily 04:13:46 ++ tr '[:upper:]' '[:lower:]' 04:13:46 + OS_FAMILY=debian 04:13:46 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1109 04:13:46 + START_PACKAGES=/tmp/packages_start.txt 04:13:46 + END_PACKAGES=/tmp/packages_end.txt 04:13:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:13:46 + PACKAGES=/tmp/packages_start.txt 04:13:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1109 ']' 04:13:46 + PACKAGES=/tmp/packages_end.txt 04:13:46 + case "${OS_FAMILY}" in 04:13:46 + dpkg -l 04:13:46 + grep '^ii' 04:13:46 + '[' -f /tmp/packages_start.txt ']' 04:13:46 + '[' -f /tmp/packages_end.txt ']' 04:13:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:13:46 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1109 ']' 04:13:46 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1109/archives/ 04:13:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1109/archives/ [Pipeline] echo 04:13:46 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:13:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:13:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:47 . [Pipeline] withDockerContainer 04:13:47 prd-ubuntu20.04-docker-8c-8g-7909 does not seem to be running inside a container 04:13:48 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1109/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1109 -v /w/workspace/gexfoundry_device-sdk-go_PR-1109:/w/workspace/gexfoundry_device-sdk-go_PR-1109:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1109@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 04:13:48 $ docker top a482324d5526d9a379cfa4601fbcc075bb7254ad6d1164502f55e818765f000c -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:48 + touch /tmp/pre-build-complete [Pipeline] sh 04:13:48 + mkdir -p /var/log/sysstat [Pipeline] sh 04:13:49 + ls /var/log/sa-host 04:13:49 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:49 provisioning config files... 04:13:49 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1109@tmp/config2078085458167635682tmp [Pipeline] { [Pipeline] echo 04:13:49 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:13:49 ---> create-netrc.sh [Pipeline] } 04:13:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:13:50 ---> python-tools-install.sh [Pipeline] echo 04:13:50 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:13:50 ---> sudo-logs.sh 04:13:50 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:13:50 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:13:51 ---> job-cost.sh 04:13:51 lf-activate-venv: SKIPPING 04:13:51 DEBUG: total: 0.2199999988079071 04:13:51 INFO: Retrieving Stack Cost... 04:13:51 INFO: Retrieving Pricing Info for: v3-standard-8 04:13:51 INFO: Archiving Costs [Pipeline] echo 04:13:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:13:52 ---> logs-deploy.sh 04:13:52 lf-activate-venv: SKIPPING 04:13:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1109/1 04:13:52 INFO: archiving workspace using pattern(s): 04:13:53 Archives upload complete. 04:13:53 INFO: archiving logs to Nexus