Pull request #1127 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 97449670e7606b5052a4a3700326f9203cc863e0+b5ea364822c8c62a095049094fb918b913a19c7c (c3b94c6907074d6f1eede45e608fdc700d155d95) 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-ssh18354220397517232423.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-ssh6260241144695353920.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1127/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh71741373061803512.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 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-ssh3077955492625259806.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1127/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16841170317563717422.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-11750’ Running on prd-ubuntu20.04-docker-8c-8g-11752 in /w/workspace/gexfoundry_device-sdk-go_PR-1127 [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-1127 # 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 b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit 97449670e7606b5052a4a3700326f9203cc863e0 Merge succeeded, producing 97449670e7606b5052a4a3700326f9203cc863e0 Checking out Revision 97449670e7606b5052a4a3700326f9203cc863e0 (PR-1127) > 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/1127/head:refs/remotes/origin/PR-1127 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97449670e7606b5052a4a3700326f9203cc863e0 # 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 b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97449670e7606b5052a4a3700326f9203cc863e0 # timeout=10 Commit message: "feat: remove default github templates that are now provided in .github repo" First time build. Skipping changelog. > git rev-list --no-walk b352cb3f3b31b6f79ad6b75d1187976244d6fdfd # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 05:01:08 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:01:08 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:01:08 ========================================================= 05:01:08 EdgeX Global Pipelines Version Info 05:01:08 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:01:09 ------------------- 05:01:09 stable info: 05:01:09 ------------------- 05:01:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:01:09 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:01:09 Message: update stable to v1.0.221 05:01:09 ------------------- 05:01:09 experimental info: 05:01:09 ------------------- 05:01:09 Commited By: **** collab-it+edgex@linuxfoundation.org 05:01:09 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:01:09 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:01:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:01:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:01:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:01:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1127 [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1127 [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1127 [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97449670e7606b5052a4a3700326f9203cc863e0 [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9744967 [Pipeline] echo 05:01:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:10 provisioning config files... 05:01:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/config7596022130800284852tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:10 ---> docker-login.sh 05:01:10 nexus3.edgexfoundry.org:10001 05:01:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:10 Configure a credential helper to remove this warning. See 05:01:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:10 05:01:10 Login Succeeded 05:01:10 nexus3.edgexfoundry.org:10002 05:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:11 Configure a credential helper to remove this warning. See 05:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:11 05:01:11 Login Succeeded 05:01:11 nexus3.edgexfoundry.org:10003 05:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:11 Configure a credential helper to remove this warning. See 05:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:11 05:01:11 Login Succeeded 05:01:11 nexus3.edgexfoundry.org:10004 05:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:11 Configure a credential helper to remove this warning. See 05:01:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:11 05:01:11 Login Succeeded 05:01:11 docker.io 05:01:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:12 Configure a credential helper to remove this warning. See 05:01:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:12 05:01:12 Login Succeeded 05:01:12 ---> docker-login.sh ends [Pipeline] } 05:01:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:01:12 + git rev-list -1 --merges 97449670e7606b5052a4a3700326f9203cc863e0~1..97449670e7606b5052a4a3700326f9203cc863e0 [Pipeline] echo 05:01:12 -----------> git rev-list -1 --merges 97449670e7606b5052a4a3700326f9203cc863e0~1..97449670e7606b5052a4a3700326f9203cc863e0 97449670e7606b5052a4a3700326f9203cc863e0 [false] [Pipeline] sh 05:01:12 + git log --format=format:%s -1 97449670e7606b5052a4a3700326f9203cc863e0 [Pipeline] echo 05:01:12 ========================================================= 05:01:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:01:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:01:13 + git log --format=format:%s -1 97449670e7606b5052a4a3700326f9203cc863e0 [Pipeline] echo 05:01:13 [semverPrep] GIT_COMMIT: 97449670e7606b5052a4a3700326f9203cc863e0, Commit Message: feat: remove default github templates that are now provided in .github repo [Pipeline] echo 05:01:13 [semverPrep] This is not a build commit. [Pipeline] sh 05:01:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:01:13 + grep -v github /etc/ssh/ssh_known_hosts 05:01:13 + [ -e /tmp/ssh_known_hosts ] 05:01:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:01:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:01:13 + sudo tee -a /etc/ssh/ssh_known_hosts 05:01:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:01:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:01:13 05:01:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:01:14 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:01:14 latest: Pulling from edgex-devops/git-semver 05:01:14 a0d0a0d46f8b: Pulling fs layer 05:01:14 3e5f54012d9b: Pulling fs layer 05:01:14 4c7163046ea9: Pulling fs layer 05:01:14 0c2d73faf560: Pulling fs layer 05:01:14 0c2d73faf560: Waiting 05:01:14 3e5f54012d9b: Verifying Checksum 05:01:14 3e5f54012d9b: Download complete 05:01:14 a0d0a0d46f8b: Download complete 05:01:14 0c2d73faf560: Verifying Checksum 05:01:14 0c2d73faf560: Download complete 05:01:14 4c7163046ea9: Verifying Checksum 05:01:14 4c7163046ea9: Download complete 05:01:14 a0d0a0d46f8b: Pull complete 05:01:14 3e5f54012d9b: Pull complete 05:01:14 4c7163046ea9: Pull complete 05:01:14 0c2d73faf560: Pull complete 05:01:14 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:01:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:01:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:01:15 prd-ubuntu20.04-docker-8c-8g-11752 does not seem to be running inside a container 05:01:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:01:15 $ docker top 92ee11f9c832dc29eca38a6bedffa2c41ca7cd54888606bdb7f13c5d058e6668 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:01:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:01:16 [ssh-agent] Looking for ssh-agent implementation... 05:01:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:01:16 $ docker exec 92ee11f9c832dc29eca38a6bedffa2c41ca7cd54888606bdb7f13c5d058e6668 ssh-agent 05:01:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEdODoL/agent.14 05:01:16 SSH_AGENT_PID=20 05:01:16 Running ssh-add (command line suppressed) 05:01:16 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/private_key_360774327966839769.key (/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/private_key_360774327966839769.key) 05:01:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:01:16 + git tag --points-at HEAD [Pipeline] } 05:01:16 $ docker exec --env ******** --env ******** 92ee11f9c832dc29eca38a6bedffa2c41ca7cd54888606bdb7f13c5d058e6668 ssh-agent -k 05:01:16 unset SSH_AUTH_SOCK; 05:01:16 unset SSH_AGENT_PID; 05:01:16 echo Agent pid 20 killed; 05:01:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:01:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:01:16 [ssh-agent] Looking for ssh-agent implementation... 05:01:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:01:17 $ docker exec 92ee11f9c832dc29eca38a6bedffa2c41ca7cd54888606bdb7f13c5d058e6668 ssh-agent 05:01:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkOEiMi/agent.53 05:01:17 SSH_AGENT_PID=59 05:01:17 Running ssh-add (command line suppressed) 05:01:17 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/private_key_1196022324750688709.key (/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/private_key_1196022324750688709.key) 05:01:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:01:17 + git semver init 05:01:17 # -> Open(): unable to determine branch for HEAD 05:01:17 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1127/.git 05:01:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1127 05:01:17 # $SEMVER_REMOTE_NAME = origin 05:01:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:01:17 # $SEMVER_USER_NAME = edgex-jenkins 05:01:17 # $SEMVER_BRANCH = PR-1127 05:01:17 # $SEMVER_TEMP = /tmp/semver-357399660 05:01:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:01:19 # '/tmp/semver-357399660' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1127/.semver' 05:01:19 # -> Force: false 05:01:19 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1127/.semver [Pipeline] } 05:01:19 $ docker exec --env ******** --env ******** 92ee11f9c832dc29eca38a6bedffa2c41ca7cd54888606bdb7f13c5d058e6668 ssh-agent -k 05:01:19 unset SSH_AUTH_SOCK; 05:01:19 unset SSH_AGENT_PID; 05:01:19 echo Agent pid 59 killed; 05:01:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:01:19 + git semver [Pipeline] } 05:01:19 $ docker stop --time=1 92ee11f9c832dc29eca38a6bedffa2c41ca7cd54888606bdb7f13c5d058e6668 05:01:21 $ docker rm -f 92ee11f9c832dc29eca38a6bedffa2c41ca7cd54888606bdb7f13c5d058e6668 [Pipeline] // withDockerContainer [Pipeline] sh 05:01:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:01:21 Stashed 1 file(s) [Pipeline] echo 05:01:21 [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 05:01:21 provisioning config files... 05:01:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/config1677313003792705446tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:22 ---> docker-login.sh 05:01:22 nexus3.edgexfoundry.org:10001 05:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:22 Configure a credential helper to remove this warning. See 05:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:22 05:01:22 Login Succeeded 05:01:22 nexus3.edgexfoundry.org:10002 05:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:22 Configure a credential helper to remove this warning. See 05:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:22 05:01:22 Login Succeeded 05:01:22 nexus3.edgexfoundry.org:10003 05:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:22 Configure a credential helper to remove this warning. See 05:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:22 05:01:22 Login Succeeded 05:01:22 nexus3.edgexfoundry.org:10004 05:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:22 Configure a credential helper to remove this warning. See 05:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:22 05:01:22 Login Succeeded 05:01:22 docker.io 05:01:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:01:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:01:22 Configure a credential helper to remove this warning. See 05:01:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:01:22 05:01:22 Login Succeeded 05:01:22 ---> docker-login.sh ends [Pipeline] } 05:01:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:01:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:01:23 ========================================================= 05:01:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:01:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:01:23 + 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 . 05:01:23 Sending build context to Docker daemon 9.56MB 05:01:23 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:01:23 Step 2/11 : FROM ${BASE} AS builder 05:01:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:01:23 59bf1c3509f3: Pulling fs layer 05:01:23 666ba61612fd: Pulling fs layer 05:01:23 8ed8ca486205: Pulling fs layer 05:01:23 4fe6c5a15a65: Pulling fs layer 05:01:23 22a0e8bec74d: Pulling fs layer 05:01:23 640e595b4fbd: Pulling fs layer 05:01:23 763cafe07f6e: Pulling fs layer 05:01:23 0c0b528cf693: Pulling fs layer 05:01:23 10935f4eaf8b: Pulling fs layer 05:01:23 22a0e8bec74d: Waiting 05:01:23 640e595b4fbd: Waiting 05:01:23 763cafe07f6e: Waiting 05:01:23 0c0b528cf693: Waiting 05:01:23 10935f4eaf8b: Waiting 05:01:23 4fe6c5a15a65: Waiting 05:01:23 8ed8ca486205: Verifying Checksum 05:01:23 8ed8ca486205: Download complete 05:01:23 666ba61612fd: Verifying Checksum 05:01:23 666ba61612fd: Download complete 05:01:23 22a0e8bec74d: Download complete 05:01:23 640e595b4fbd: Verifying Checksum 05:01:23 640e595b4fbd: Download complete 05:01:23 59bf1c3509f3: Verifying Checksum 05:01:23 59bf1c3509f3: Download complete 05:01:23 763cafe07f6e: Verifying Checksum 05:01:23 763cafe07f6e: Download complete 05:01:23 0c0b528cf693: Verifying Checksum 05:01:23 0c0b528cf693: Download complete 05:01:23 59bf1c3509f3: Pull complete 05:01:23 666ba61612fd: Pull complete 05:01:23 8ed8ca486205: Pull complete 05:01:24 10935f4eaf8b: Verifying Checksum 05:01:24 10935f4eaf8b: Download complete 05:01:24 4fe6c5a15a65: Verifying Checksum 05:01:24 4fe6c5a15a65: Download complete 05:01:28 4fe6c5a15a65: Pull complete 05:01:28 22a0e8bec74d: Pull complete 05:01:28 640e595b4fbd: Pull complete 05:01:28 763cafe07f6e: Pull complete 05:01:29 0c0b528cf693: Pull complete 05:01:31 10935f4eaf8b: Pull complete 05:01:31 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:01:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:01:31 ---> 99d49a6021b9 05:01:31 Step 3/11 : ARG MAKE=make build 05:01:33 ---> Running in 06fec3618694 05:01:33 Removing intermediate container 06fec3618694 05:01:33 ---> 27195b6f6970 05:01:33 Step 4/11 : WORKDIR /device-sdk-go 05:01:33 ---> Running in e47e676a9ec0 05:01:33 Removing intermediate container e47e676a9ec0 05:01:33 ---> f611fd9415d3 05:01:33 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:01:33 ---> Running in e2227e3d6663 05:01:33 Removing intermediate container e2227e3d6663 05:01:33 ---> 0f8a65c093c7 05:01:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:01:33 ---> Running in d99f0f3a2601 05:01:34 Removing intermediate container d99f0f3a2601 05:01:34 ---> 6984f411afa8 05:01:34 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:01:34 ---> Running in bcd05b5e0b60 05:01:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:01:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:01:35 OK: 221 MiB in 52 packages 05:01:36 Removing intermediate container bcd05b5e0b60 05:01:36 ---> 5e54dd234d18 05:01:36 Step 8/11 : COPY go.mod vendor* ./ 05:01:36 ---> 7aac0e221229 05:01:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:01:36 ---> Running in d5cc24366364 05:01:36 Still waiting to schedule task 05:01:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11751’ 05:01:51 Removing intermediate container d5cc24366364 05:01:51 ---> 0d9c4f8bacee 05:01:51 Step 10/11 : COPY . . 05:01:51 ---> 7f2b7863662b 05:01:51 Step 11/11 : RUN ${MAKE} 05:01:51 ---> Running in 7d358cfd11c2 05:01:51 noop 05:01:52 Removing intermediate container 7d358cfd11c2 05:01:52 ---> 98438de43565 05:01:52 Successfully built 98438de43565 05:01:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:01:52 + docker inspect -f . ci-base-image-x86_64 05:01:52 . [Pipeline] withDockerContainer 05:01:52 prd-ubuntu20.04-docker-8c-8g-11752 does not seem to be running inside a container 05:01:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:01:53 $ docker top 74bf923d267167a334530cfb4be17750ac8035a4c3af8e1f6cb2a0c7855e9088 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:53 + go version 05:01:53 go version go1.17.6 linux/amd64 [Pipeline] } 05:01:53 $ docker stop --time=1 74bf923d267167a334530cfb4be17750ac8035a4c3af8e1f6cb2a0c7855e9088 05:01:54 $ docker rm -f 74bf923d267167a334530cfb4be17750ac8035a4c3af8e1f6cb2a0c7855e9088 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:01:55 + docker inspect -f . ci-base-image-x86_64 05:01:55 . [Pipeline] withDockerContainer 05:01:55 prd-ubuntu20.04-docker-8c-8g-11752 does not seem to be running inside a container 05:01:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:01:55 $ docker top 50c2e80e578d3d8a6e4e4cfebdc757e731783b65bdaa83b3caaf2a8f27a69dc7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:01:56 + make test 05:01:56 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:01:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:02:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.032s coverage: 23.3% of statements 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:02:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.022s coverage: 27.6% of statements 05:02:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.026s coverage: 78.9% of statements 05:02:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.022s coverage: 10.8% of statements 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:02:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.015s coverage: 33.2% of statements 05:02:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:02:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.017s coverage: 86.1% of statements 05:02:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:02:07 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:02:07 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.030s coverage: 57.4% of statements 05:02:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.035s coverage: 89.2% of statements 05:02:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:02:07 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.015s coverage: 4.8% of statements 05:02:07 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:02:15 GO111MODULE=on go vet ./... 05:02:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:02:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:02:19 ./bin/test-attribution-txt.sh [Pipeline] echo 05:02:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:02:20 $ docker stop --time=1 50c2e80e578d3d8a6e4e4cfebdc757e731783b65bdaa83b3caaf2a8f27a69dc7 05:02:21 $ docker rm -f 50c2e80e578d3d8a6e4e4cfebdc757e731783b65bdaa83b3caaf2a8f27a69dc7 [Pipeline] // withDockerContainer [Pipeline] sh 05:02:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:02:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:02:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:02:23 + ls -al . 05:02:23 total 296 05:02:23 drwxrwxr-x 11 jenkins jenkins 4096 Apr 10 05:02 . 05:02:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:01 .. 05:02:23 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 05:01 .dockerignore 05:02:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:01 .git 05:02:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:01 .github 05:02:23 -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 05:01 .gitignore 05:02:23 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 05:01 .golangci.yml 05:02:23 drwx------ 3 jenkins jenkins 4096 Apr 10 05:01 .semver 05:02:23 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 05:01 CHANGELOG.md 05:02:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:01 GOVERNANCE.md 05:02:23 -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 05:01 Jenkinsfile 05:02:23 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 05:01 LICENSE 05:02:23 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 05:01 Makefile 05:02:23 -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 05:01 OWNERS.md 05:02:23 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 05:01 README.md 05:02:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 05:01 VERSION 05:02:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:01 bin 05:02:23 -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 05:02 coverage.out 05:02:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 05:01 example 05:02:23 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 10 05:01 go.mod 05:02:23 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 10 05:01 go.sum 05:02:23 drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 05:01 internal 05:02:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:01 openapi 05:02:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 05:01 pkg 05:02:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:01 snap 05:02:23 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 05:01 version.go [Pipeline] isUnix [Pipeline] sh 05:02:23 + 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=97449670e7606b5052a4a3700326f9203cc863e0 --label arch=amd64 --label version=0.0.0 . 05:02:23 Sending build context to Docker daemon 9.69MB 05:02:23 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:02:23 Step 2/25 : FROM ${BASE} AS builder 05:02:23 ---> 98438de43565 05:02:23 Step 3/25 : ARG MAKE=make build 05:02:23 ---> Running in 19e2d851490d 05:02:23 Removing intermediate container 19e2d851490d 05:02:23 ---> 14183aa36bb7 05:02:23 Step 4/25 : WORKDIR /device-sdk-go 05:02:23 ---> Running in deb94413c510 05:02:23 Removing intermediate container deb94413c510 05:02:23 ---> cc960ac81dc4 05:02:23 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:02:24 ---> Running in ffd549eb72f3 05:02:24 Removing intermediate container ffd549eb72f3 05:02:24 ---> 4fc7424f009a 05:02:24 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:02:24 ---> Running in 203b9ac1ebf5 05:02:24 Removing intermediate container 203b9ac1ebf5 05:02:24 ---> 9ca8fee6c80f 05:02:24 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:02:24 ---> Running in 6a4d7d4fa7a6 05:02:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:02:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:02:26 OK: 221 MiB in 52 packages 05:02:26 Removing intermediate container 6a4d7d4fa7a6 05:02:26 ---> 079d29aed59a 05:02:26 Step 8/25 : COPY go.mod vendor* ./ 05:02:26 ---> d6f3a9f09add 05:02:26 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:02:26 ---> Running in b9f8a95c9f1b 05:02:27 Removing intermediate container b9f8a95c9f1b 05:02:27 ---> 66938f8be1c9 05:02:27 Step 10/25 : COPY . . 05:02:27 ---> 6f3e7a9a0163 05:02:27 Step 11/25 : RUN ${MAKE} 05:02:27 ---> Running in 8cfa99467aac 05:02:28 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:02:46 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:02:47 Removing intermediate container 8cfa99467aac 05:02:47 ---> 90c9521b2574 05:02:47 Step 12/25 : FROM alpine:3.14 05:02:47 3.14: Pulling from library/alpine 05:02:48 8663204ce13b: Pulling fs layer 05:02:48 8663204ce13b: Verifying Checksum 05:02:48 8663204ce13b: Download complete 05:02:48 8663204ce13b: Pull complete 05:02:48 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:02:48 Status: Downloaded newer image for alpine:3.14 05:02:48 ---> e04c818066af 05:02:48 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:02:48 ---> Running in 56222ee2f3ea 05:02:48 Removing intermediate container 56222ee2f3ea 05:02:48 ---> 27a0bbd169ba 05:02:48 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:02:48 ---> Running in a980873b3392 05:02:49 Removing intermediate container a980873b3392 05:02:49 ---> 0e81cb8d5d4c 05:02:49 Step 15/25 : RUN apk add --update --no-cache zeromq 05:02:49 ---> Running in 406b7610a2cf 05:02:49 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:02:50 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:02:50 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:02:50 (2/5) Installing libsodium (1.0.18-r0) 05:02:50 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:02:50 (4/5) Installing libzmq (4.3.4-r0) 05:02:50 (5/5) Installing zeromq (4.3.4-r0) 05:02:51 Executing busybox-1.33.1-r7.trigger 05:02:51 OK: 8 MiB in 19 packages 05:02:51 Removing intermediate container 406b7610a2cf 05:02:51 ---> 2ff869caf124 05:02:51 Step 16/25 : WORKDIR / 05:02:51 ---> Running in 9ce3a26eb7a2 05:02:51 Removing intermediate container 9ce3a26eb7a2 05:02:51 ---> 39d45fd962a3 05:02:51 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:02:51 ---> 2ce1d88f9228 05:02:51 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:02:52 ---> 6221f93cf587 05:02:52 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:02:52 ---> 875af9a22cfa 05:02:52 Step 20/25 : EXPOSE 59999 05:02:52 ---> Running in bda319b84884 05:02:52 Removing intermediate container bda319b84884 05:02:52 ---> 4ff50a77416b 05:02:52 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:02:52 ---> Running in 8d960ea3806a 05:02:52 Removing intermediate container 8d960ea3806a 05:02:52 ---> aac10c49735a 05:02:52 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:02:52 ---> Running in 562d7b2bbf3f 05:02:52 Removing intermediate container 562d7b2bbf3f 05:02:52 ---> a6769cbad7b2 05:02:52 Step 23/25 : LABEL arch=amd64 05:02:52 ---> Running in af6dcb9e8a36 05:02:52 Removing intermediate container af6dcb9e8a36 05:02:52 ---> 06e7e0a57767 05:02:52 Step 24/25 : LABEL git_sha=97449670e7606b5052a4a3700326f9203cc863e0 05:02:52 ---> Running in 62c93fb69021 05:02:52 Removing intermediate container 62c93fb69021 05:02:52 ---> 3e7d77e65913 05:02:52 Step 25/25 : LABEL version=0.0.0 05:02:52 ---> Running in 1a7e7e59b1e1 05:02:53 Removing intermediate container 1a7e7e59b1e1 05:02:53 ---> d5747f51133b 05:02:53 [Warning] One or more build-args [ARCH] were not consumed 05:02:53 Successfully built d5747f51133b 05:02:53 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 05:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:02:53 05:02:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:02:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:02:53 latest: Pulling from edgex-lftools-log-publisher 05:02:53 5eb5b503b376: Pulling fs layer 05:02:53 5c69ac0246d0: Pulling fs layer 05:02:53 ec43610c2a17: Pulling fs layer 05:02:53 3a2ae6a8a46f: Pulling fs layer 05:02:53 33b1e0a273af: Pulling fs layer 05:02:53 5d3b04190fa2: Pulling fs layer 05:02:53 2f39f015ded8: Pulling fs layer 05:02:53 3a2ae6a8a46f: Waiting 05:02:53 33b1e0a273af: Waiting 05:02:53 5d3b04190fa2: Waiting 05:02:53 2f39f015ded8: Waiting 05:02:53 5c69ac0246d0: Verifying Checksum 05:02:53 5c69ac0246d0: Download complete 05:02:53 3a2ae6a8a46f: Verifying Checksum 05:02:53 3a2ae6a8a46f: Download complete 05:02:53 33b1e0a273af: Verifying Checksum 05:02:53 33b1e0a273af: Download complete 05:02:53 5d3b04190fa2: Download complete 05:02:53 ec43610c2a17: Verifying Checksum 05:02:53 ec43610c2a17: Download complete 05:02:54 5eb5b503b376: Verifying Checksum 05:02:54 5eb5b503b376: Download complete 05:02:54 2f39f015ded8: Download complete 05:02:55 5eb5b503b376: Pull complete 05:02:55 5c69ac0246d0: Pull complete 05:02:55 ec43610c2a17: Pull complete 05:02:55 3a2ae6a8a46f: Pull complete 05:02:56 33b1e0a273af: Pull complete 05:02:56 5d3b04190fa2: Pull complete 05:03:00 2f39f015ded8: Pull complete 05:03:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:03:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:03:00 prd-ubuntu20.04-docker-8c-8g-11752 does not seem to be running inside a container 05:03:00 $ 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-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:03:03 $ docker top f0eea02bd156e7214787ff1ca4aefb5ab3b07b631e96cbb045fa5324347fa7bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:03 ---> job-cost.sh 05:03:03 lf-activate-venv: SKIPPING 05:03:03 INFO: No Stack... 05:03:03 INFO: Retrieving Pricing Info for: v3-standard-8 05:03:04 INFO: Archiving Costs [Pipeline] sh 05:03:04 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives/cost.csv 05:03:04 + cut -d, -f6 [Pipeline] lock 05:03:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1127-2-stack-cost] 05:03:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1127-2-stack-cost] did not exist. Created. 05:03:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1127-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:03:04 + echo total: 0.2199999988079071 [Pipeline] stash 05:03:04 Stashed 1 file(s) [Pipeline] } 05:03:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1127-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:03:04 $ docker stop --time=1 f0eea02bd156e7214787ff1ca4aefb5ab3b07b631e96cbb045fa5324347fa7bf 05:03:06 $ docker rm -f f0eea02bd156e7214787ff1ca4aefb5ab3b07b631e96cbb045fa5324347fa7bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:04:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11754 in /w/workspace/gexfoundry_device-sdk-go_PR-1127 [Pipeline] { [Pipeline] ws 05:04:05 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 05:04:06 The recommended git tool is: git 05:04:14 using credential edgex-jenkins-ssh 05:04:14 Cloning the remote Git repository 05:04:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:04:14 > git init /w/workspace/device-sdk-go/2 # timeout=10 05:04:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:04:14 > git --version # timeout=10 05:04:14 > git --version # 'git version 2.25.1' 05:04:14 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:17 Merging remotes/origin/main commit b5ea364822c8c62a095049094fb918b913a19c7c into PR head commit 97449670e7606b5052a4a3700326f9203cc863e0 05:04:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:04:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:04:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:04:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:04:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1127/head:refs/remotes/origin/PR-1127 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:04:17 > git config core.sparsecheckout # timeout=10 05:04:17 > git checkout -f 97449670e7606b5052a4a3700326f9203cc863e0 # timeout=10 05:04:17 > git remote # timeout=10 05:04:17 > git config --get remote.origin.url # timeout=10 05:04:17 using GIT_SSH to set credentials SSH Credentials for GitHub 05:04:17 > git merge b5ea364822c8c62a095049094fb918b913a19c7c # timeout=10 05:04:18 > git rev-parse HEAD^{commit} # timeout=10 05:04:18 Merge succeeded, producing 97449670e7606b5052a4a3700326f9203cc863e0 05:04:18 Checking out Revision 97449670e7606b5052a4a3700326f9203cc863e0 (PR-1127) 05:04:18 > git config core.sparsecheckout # timeout=10 05:04:18 > git checkout -f 97449670e7606b5052a4a3700326f9203cc863e0 # timeout=10 05:04:22 Commit message: "feat: remove default github templates that are now provided in .github repo" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:04:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:04:23 % Total % Received % Xferd Average Speed Time Time Time Current 05:04:23 Dload Upload Total Spent Left Speed 05:04:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh 05:04:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:04:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:04:24 + sudo tee /etc/docker/daemon.new 05:04:24 { 05:04:24 "registry-mirrors": [ 05:04:24 "https://nexus3.edgexfoundry.org:10001" 05:04:24 ], 05:04:24 "bip": "10.250.0.254/24", 05:04:24 "hosts": [ 05:04:24 "tcp://0.0.0.0:5555", 05:04:24 "unix:///var/run/docker.sock" 05:04:24 ], 05:04:24 "mtu": 1458, 05:04:24 "selinux-enabled": true, 05:04:24 "seccomp-profile": "/etc/docker/seccomp.json" 05:04:24 } [Pipeline] sh 05:04:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:04:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:04:43 provisioning config files... 05:04:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config6241457704326148134tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:43 ---> docker-login.sh 05:04:43 nexus3.edgexfoundry.org:10001 05:04:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:44 Configure a credential helper to remove this warning. See 05:04:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:44 05:04:44 Login Succeeded 05:04:44 nexus3.edgexfoundry.org:10002 05:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:45 Configure a credential helper to remove this warning. See 05:04:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:45 05:04:45 Login Succeeded 05:04:45 nexus3.edgexfoundry.org:10003 05:04:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:45 Configure a credential helper to remove this warning. See 05:04:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:45 05:04:45 Login Succeeded 05:04:45 nexus3.edgexfoundry.org:10004 05:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:46 Configure a credential helper to remove this warning. See 05:04:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:46 05:04:46 Login Succeeded 05:04:46 docker.io 05:04:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:04:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:04:47 Configure a credential helper to remove this warning. See 05:04:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:04:47 05:04:47 Login Succeeded 05:04:47 ---> docker-login.sh ends [Pipeline] } 05:04:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:04:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:04:47 ========================================================= 05:04:47 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:04:47 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:04:48 + 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 . 05:04:48 Sending build context to Docker daemon 5.164MB 05:04:48 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:04:48 Step 2/11 : FROM ${BASE} AS builder 05:04:48 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:04:48 9b3977197b4f: Pulling fs layer 05:04:48 1a89e8eeedd5: Pulling fs layer 05:04:48 94645a83ff95: Pulling fs layer 05:04:48 3f3a8bcf1eab: Pulling fs layer 05:04:48 0c92f367c5e7: Pulling fs layer 05:04:48 f7c0051592d6: Pulling fs layer 05:04:48 a227ed2f7395: Pulling fs layer 05:04:48 7b1c46037f91: Pulling fs layer 05:04:48 3f3a8bcf1eab: Waiting 05:04:48 f7c0051592d6: Waiting 05:04:48 0c92f367c5e7: Waiting 05:04:48 a227ed2f7395: Waiting 05:04:48 7b1c46037f91: Waiting 05:04:48 94645a83ff95: Verifying Checksum 05:04:48 94645a83ff95: Download complete 05:04:48 1a89e8eeedd5: Download complete 05:04:49 0c92f367c5e7: Verifying Checksum 05:04:49 0c92f367c5e7: Download complete 05:04:49 f7c0051592d6: Verifying Checksum 05:04:49 f7c0051592d6: Download complete 05:04:49 9b3977197b4f: Verifying Checksum 05:04:49 9b3977197b4f: Download complete 05:04:49 a227ed2f7395: Verifying Checksum 05:04:49 a227ed2f7395: Download complete 05:04:49 9b3977197b4f: Pull complete 05:04:50 1a89e8eeedd5: Pull complete 05:04:50 94645a83ff95: Pull complete 05:04:51 7b1c46037f91: Verifying Checksum 05:04:51 7b1c46037f91: Download complete 05:04:51 3f3a8bcf1eab: Download complete 05:05:04 3f3a8bcf1eab: Pull complete 05:05:04 0c92f367c5e7: Pull complete 05:05:04 f7c0051592d6: Pull complete 05:05:04 a227ed2f7395: Pull complete 05:05:11 7b1c46037f91: Pull complete 05:05:11 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:05:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:05:11 ---> f79e39bc4007 05:05:11 Step 3/11 : ARG MAKE=make build 05:05:11 ---> Running in b76a98e427f0 05:05:12 Removing intermediate container b76a98e427f0 05:05:12 ---> dd6c713633f1 05:05:12 Step 4/11 : WORKDIR /device-sdk-go 05:05:12 ---> Running in 13eca9568a19 05:05:12 Removing intermediate container 13eca9568a19 05:05:12 ---> 2bb6fc8eaebb 05:05:12 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:05:12 ---> Running in e1f728821261 05:05:13 Removing intermediate container e1f728821261 05:05:13 ---> b852f269a45b 05:05:13 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:05:13 ---> Running in 0c063ee03e12 05:05:15 Removing intermediate container 0c063ee03e12 05:05:15 ---> 4a5f5ae2ffe0 05:05:15 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:05:15 ---> Running in c2a136eca0be 05:05:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:05:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:05:18 OK: 220 MiB in 52 packages 05:05:18 Removing intermediate container c2a136eca0be 05:05:18 ---> ddb814e5598d 05:05:18 Step 8/11 : COPY go.mod vendor* ./ 05:05:19 ---> b056a5b07b22 05:05:19 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:05:19 ---> Running in c0a37ef65daf 05:06:07 Removing intermediate container c0a37ef65daf 05:06:07 ---> de6ed1a896ab 05:06:07 Step 10/11 : COPY . . 05:06:08 ---> 8afd4e31f06f 05:06:08 Step 11/11 : RUN ${MAKE} 05:06:08 ---> Running in c0d81404d3ac 05:06:09 noop 05:06:09 Removing intermediate container c0d81404d3ac 05:06:09 ---> 43c817fed280 05:06:09 Successfully built 43c817fed280 05:06:09 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:06:10 + docker inspect -f . ci-base-image-arm64 05:06:10 . [Pipeline] withDockerContainer 05:06:10 prd-ubuntu20.04-docker-arm64-4c-16g-11754 does not seem to be running inside a container 05:06:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:06:12 $ docker top a22869c019d1d5531971f0783b17bed255840067485c7c532d41138c3e49a179 -eo pid,comm [Pipeline] { [Pipeline] sh 05:06:13 + go version 05:06:13 go version go1.17.6 linux/arm64 [Pipeline] } 05:06:13 $ docker stop --time=1 a22869c019d1d5531971f0783b17bed255840067485c7c532d41138c3e49a179 05:06:14 $ docker rm -f a22869c019d1d5531971f0783b17bed255840067485c7c532d41138c3e49a179 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:06:15 + docker inspect -f . ci-base-image-arm64 05:06:15 . [Pipeline] withDockerContainer 05:06:15 prd-ubuntu20.04-docker-arm64-4c-16g-11754 does not seem to be running inside a container 05:06:15 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:06:17 $ docker top 8db5f44855c5d4627932fc32d88149355cccfe1b4e1603842852d1c8c8343308 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:06:18 + make test 05:06:18 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:06:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:07:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:07:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:07:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:07:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.103s coverage: 23.3% of statements 05:07:57 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:07:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.081s coverage: 27.6% of statements 05:07:57 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.090s coverage: 78.9% of statements 05:08:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.168s coverage: 10.8% of statements 05:08:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:08:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:08:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:08:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.106s coverage: 33.2% of statements 05:08:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:08:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.068s coverage: 86.1% of statements 05:08:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:08:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:08:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.165s coverage: 57.4% of statements 05:08:04 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.194s coverage: 89.2% of statements 05:08:04 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:08:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.073s coverage: 4.8% of statements 05:08:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:08:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:08:08 GO111MODULE=on go vet ./... 05:08:41 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:08:41 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:08:41 ./bin/test-attribution-txt.sh [Pipeline] echo 05:08:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:08:42 $ docker stop --time=1 8db5f44855c5d4627932fc32d88149355cccfe1b4e1603842852d1c8c8343308 05:08:44 $ docker rm -f 8db5f44855c5d4627932fc32d88149355cccfe1b4e1603842852d1c8c8343308 [Pipeline] // withDockerContainer [Pipeline] sh 05:08:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:08:45 Warning: overwriting stash ‘coverage-report’ 05:08:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:08:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:08:46 + ls -al . 05:08:46 total 292 05:08:46 drwxrwxr-x 10 jenkins jenkins 4096 Apr 10 05:08 . 05:08:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:04 .. 05:08:46 -rw-rw-r-- 1 jenkins jenkins 140 Apr 10 05:04 .dockerignore 05:08:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 10 05:04 .git 05:08:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:04 .github 05:08:46 -rw-rw-r-- 1 jenkins jenkins 131 Apr 10 05:04 .gitignore 05:08:46 -rw-rw-r-- 1 jenkins jenkins 42 Apr 10 05:04 .golangci.yml 05:08:46 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 10 05:04 CHANGELOG.md 05:08:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 10 05:04 GOVERNANCE.md 05:08:46 -rw-rw-r-- 1 jenkins jenkins 880 Apr 10 05:04 Jenkinsfile 05:08:46 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 10 05:04 LICENSE 05:08:46 -rw-rw-r-- 1 jenkins jenkins 2016 Apr 10 05:04 Makefile 05:08:46 -rw-rw-r-- 1 jenkins jenkins 619 Apr 10 05:04 OWNERS.md 05:08:46 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 10 05:04 README.md 05:08:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 10 05:01 VERSION 05:08:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 10 05:04 bin 05:08:46 -rw-r--r-- 1 jenkins jenkins 129001 Apr 10 05:08 coverage.out 05:08:46 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 05:04 example 05:08:46 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 10 05:04 go.mod 05:08:46 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 10 05:04 go.sum 05:08:46 drwxrwxr-x 15 jenkins jenkins 4096 Apr 10 05:04 internal 05:08:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 10 05:04 openapi 05:08:46 drwxrwxr-x 5 jenkins jenkins 4096 Apr 10 05:04 pkg 05:08:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 10 05:04 snap 05:08:46 -rw-rw-r-- 1 jenkins jenkins 222 Apr 10 05:04 version.go [Pipeline] isUnix [Pipeline] sh 05:08:46 + 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=97449670e7606b5052a4a3700326f9203cc863e0 --label arch=arm64 --label version=0.0.0 . 05:08:47 Sending build context to Docker daemon 5.293MB 05:08:47 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:08:47 Step 2/25 : FROM ${BASE} AS builder 05:08:47 ---> 43c817fed280 05:08:47 Step 3/25 : ARG MAKE=make build 05:08:47 ---> Running in 45c084cc399d 05:08:47 Removing intermediate container 45c084cc399d 05:08:47 ---> c13d03d6ab9e 05:08:47 Step 4/25 : WORKDIR /device-sdk-go 05:08:48 ---> Running in 3690683fc03e 05:08:48 Removing intermediate container 3690683fc03e 05:08:48 ---> a8d62527c213 05:08:48 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:08:48 ---> Running in 8a679c37670f 05:08:48 Removing intermediate container 8a679c37670f 05:08:48 ---> c6f74923638d 05:08:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:08:48 ---> Running in d81b4e2a918b 05:08:50 Removing intermediate container d81b4e2a918b 05:08:50 ---> db38fc0505c9 05:08:50 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:08:50 ---> Running in 0ad5f7cc34ca 05:08:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:08:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:08:53 OK: 220 MiB in 52 packages 05:08:54 Removing intermediate container 0ad5f7cc34ca 05:08:54 ---> b20c6308f40c 05:08:54 Step 8/25 : COPY go.mod vendor* ./ 05:08:54 ---> 7f781dd1daa6 05:08:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:08:54 ---> Running in 0074da3c3c8c 05:08:56 Removing intermediate container 0074da3c3c8c 05:08:56 ---> 5188a467a455 05:08:56 Step 10/25 : COPY . . 05:08:57 ---> a4f959f8a275 05:08:57 Step 11/25 : RUN ${MAKE} 05:08:57 ---> Running in cec723fffd0a 05:08:58 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:11:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:11:08 Removing intermediate container cec723fffd0a 05:11:08 ---> dc57c73734f0 05:11:08 Step 12/25 : FROM alpine:3.14 05:11:08 3.14: Pulling from library/alpine 05:11:08 455c02918c45: Pulling fs layer 05:11:09 455c02918c45: Verifying Checksum 05:11:09 455c02918c45: Download complete 05:11:09 455c02918c45: Pull complete 05:11:09 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:11:09 Status: Downloaded newer image for alpine:3.14 05:11:09 ---> ac73e934f311 05:11:09 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:11:09 ---> Running in 714a5a1bbbba 05:11:10 Removing intermediate container 714a5a1bbbba 05:11:10 ---> 949b37b09fb4 05:11:10 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:10 ---> Running in f8b52afaefab 05:11:12 Removing intermediate container f8b52afaefab 05:11:12 ---> ddb286ff9b1d 05:11:12 Step 15/25 : RUN apk add --update --no-cache zeromq 05:11:12 ---> Running in 1a6c3477a44b 05:11:13 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:11:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:11:14 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:11:14 (2/5) Installing libsodium (1.0.18-r0) 05:11:14 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:11:15 (4/5) Installing libzmq (4.3.4-r0) 05:11:15 (5/5) Installing zeromq (4.3.4-r0) 05:11:15 Executing busybox-1.33.1-r7.trigger 05:11:15 OK: 8 MiB in 19 packages 05:11:16 Removing intermediate container 1a6c3477a44b 05:11:16 ---> ee087a5af6b9 05:11:16 Step 16/25 : WORKDIR / 05:11:16 ---> Running in 9879bf0c1549 05:11:16 Removing intermediate container 9879bf0c1549 05:11:16 ---> 0d7645cdc9d1 05:11:16 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:11:17 ---> 6ab28deec636 05:11:17 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:11:18 ---> 7f1ee371ab04 05:11:18 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:11:19 ---> c50e93d4dadd 05:11:19 Step 20/25 : EXPOSE 59999 05:11:19 ---> Running in 10efe3aa63fa 05:11:20 Removing intermediate container 10efe3aa63fa 05:11:20 ---> 76354d7a307f 05:11:20 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:11:20 ---> Running in 63a920324259 05:11:20 Removing intermediate container 63a920324259 05:11:20 ---> 2ca94726afd9 05:11:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:11:20 ---> Running in d73c86fff097 05:11:20 Removing intermediate container d73c86fff097 05:11:20 ---> 1cea6927430d 05:11:20 Step 23/25 : LABEL arch=arm64 05:11:20 ---> Running in 4d284b7701eb 05:11:21 Removing intermediate container 4d284b7701eb 05:11:21 ---> 0beff987677e 05:11:21 Step 24/25 : LABEL git_sha=97449670e7606b5052a4a3700326f9203cc863e0 05:11:21 ---> Running in 5137152bea0a 05:11:21 Removing intermediate container 5137152bea0a 05:11:21 ---> 6322f19c9afb 05:11:21 Step 25/25 : LABEL version=0.0.0 05:11:21 ---> Running in d734b511ba52 05:11:22 Removing intermediate container d734b511ba52 05:11:22 ---> 51ad35408922 05:11:22 [Warning] One or more build-args [ARCH] were not consumed 05:11:22 Successfully built 51ad35408922 05:11:22 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 05:11:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:22 05:11:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:11:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:23 arm64: Pulling from edgex-lftools-log-publisher 05:11:23 8998bd30e6a1: Pulling fs layer 05:11:23 04944245beec: Pulling fs layer 05:11:23 699f458cf7ca: Pulling fs layer 05:11:23 765212b225bb: Pulling fs layer 05:11:23 f23df028b6ca: Pulling fs layer 05:11:23 d65c8cfc05b1: Pulling fs layer 05:11:23 2437ff75d9bd: Pulling fs layer 05:11:23 f23df028b6ca: Waiting 05:11:23 765212b225bb: Waiting 05:11:23 d65c8cfc05b1: Waiting 05:11:23 2437ff75d9bd: Waiting 05:11:23 04944245beec: Download complete 05:11:23 765212b225bb: Verifying Checksum 05:11:23 765212b225bb: Download complete 05:11:23 f23df028b6ca: Download complete 05:11:23 d65c8cfc05b1: Verifying Checksum 05:11:23 d65c8cfc05b1: Download complete 05:11:23 699f458cf7ca: Verifying Checksum 05:11:23 699f458cf7ca: Download complete 05:11:23 8998bd30e6a1: Verifying Checksum 05:11:23 8998bd30e6a1: Download complete 05:11:26 2437ff75d9bd: Verifying Checksum 05:11:26 2437ff75d9bd: Download complete 05:11:28 8998bd30e6a1: Pull complete 05:11:28 04944245beec: Pull complete 05:11:30 699f458cf7ca: Pull complete 05:11:30 765212b225bb: Pull complete 05:11:31 f23df028b6ca: Pull complete 05:11:31 d65c8cfc05b1: Pull complete 05:11:46 2437ff75d9bd: Pull complete 05:11:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:11:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:11:46 prd-ubuntu20.04-docker-arm64-4c-16g-11754 does not seem to be running inside a container 05:11:46 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:11:49 $ docker top 76566c38842d0eb52985e9eefaf9629c5a5d984dc8b5c149e46250a4bbf5fc8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:11:50 ---> job-cost.sh 05:11:50 lf-activate-venv: SKIPPING 05:11:50 INFO: No Stack... 05:11:50 INFO: Retrieving Pricing Info for: v3-standard-4 05:11:51 INFO: Archiving Costs [Pipeline] sh 05:11:52 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 05:11:52 + cut -d, -f6 [Pipeline] lock 05:11:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1127-2-stack-cost] 05:11:52 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1127-2-stack-cost] did not exist. Created. 05:11:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1127-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:11:53 /w/workspace/device-sdk-go/2@tmp/durable-1933e4f7/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:11:53 + echo total: 0.10999999940395355 [Pipeline] stash 05:11:53 Warning: overwriting stash ‘stack-cost’ 05:11:53 Stashed 1 file(s) [Pipeline] } 05:11:54 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1127-2-stack-cost] [Pipeline] // lock [Pipeline] } 05:11:54 $ docker stop --time=1 76566c38842d0eb52985e9eefaf9629c5a5d984dc8b5c149e46250a4bbf5fc8d 05:11:55 $ docker rm -f 76566c38842d0eb52985e9eefaf9629c5a5d984dc8b5c149e46250a4bbf5fc8d [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 05:11:55 provisioning config files... 05:11:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/config5073494451863250573tmp [Pipeline] { [Pipeline] sh 05:11:56 + set +x 05:11:56 + curl -s https://codecov.io/bash 05:11:56 + bash -s -- 05:11:56 05:11:56 _____ _ 05:11:56 / ____| | | 05:11:56 | | ___ __| | ___ ___ _____ __ 05:11:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:11:56 | |___| (_) | (_| | __/ (_| (_) \ V / 05:11:56 \_____\___/ \__,_|\___|\___\___/ \_/ 05:11:56 Bash-1.0.6 05:11:56 05:11:56 05:11:56 ==> git version 2.25.1 found 05:11:56 ==> 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 05:11:56 Release-Date: 2020-01-08 05:11:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:11:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:11:56 ==> Jenkins CI detected. 05:11:56 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1127 05:11:56 project root: . 05:11:56 --> token set from env 05:11:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:11:56 ==> Running gcov in . (disable via -X gcov) 05:11:56 ==> Python coveragepy not found 05:11:56 ==> Searching for coverage reports in: 05:11:56 + . 05:11:56 -> Found 1 reports 05:11:56 ==> Detecting git/mercurial file structure 05:11:56 ==> Reading reports 05:11:56 + ./coverage.out bytes=129001 05:11:56 ==> Appending adjustments 05:11:56 https://docs.codecov.io/docs/fixing-reports 05:11:56 + Found adjustments 05:11:56 ==> Gzipping contents 05:11:56 16K /tmp/codecov.sb6bEW.gz 05:11:56 ==> Uploading reports 05:11:56 url: https://codecov.io 05:11:56 query: branch=PR-1127&commit=97449670e7606b5052a4a3700326f9203cc863e0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1127%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1127&job=&cmd_args= 05:11:56 -> Pinging Codecov 05:11:56 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1127&commit=97449670e7606b5052a4a3700326f9203cc863e0&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1127%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1127&job=&cmd_args= 05:11:56 -> Uploading to 05:11:56 https://storage.googleapis.com/codecov/v4/raw/2022-04-10/7E55EF52A471D76F132DFD9A03CDDE97/97449670e7606b5052a4a3700326f9203cc863e0/c9be9272-a818-48e4-9698-da2b06f458f4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220410%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220410T051156Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3ac2328752075f98be39f24dacd254dba74bd52c3ef86fd50aa9c6fd77a079ad 05:11:56 % Total % Received % Xferd Average Speed Time Time Time Current 05:11:56 Dload Upload Total Spent Left Speed 05:11:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16276 0 0 100 16276 0 68966 --:--:-- --:--:-- --:--:-- 68966 05:11:57 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/97449670e7606b5052a4a3700326f9203cc863e0 [Pipeline] } 05:11:57 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 05:11:57 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives ] 05:11:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives 05:11:57 total 16 05:11:57 drwxr-xr-x 3 root root 4096 Apr 10 05:03 . 05:11:57 drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 05:03 .. 05:11:57 drwxr-xr-x 2 root root 4096 Apr 10 05:03 cost 05:11:57 -rw-r--r-- 1 root root 85 Apr 10 05:03 cost.csv 05:11:57 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives 05:11:57 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives 05:11:57 total 16 05:11:57 drwxr-xr-x 3 jenkins jenkins 4096 Apr 10 05:03 . 05:11:57 drwxrwxr-x 12 jenkins jenkins 4096 Apr 10 05:03 .. 05:11:57 drwxr-xr-x 2 jenkins jenkins 4096 Apr 10 05:03 cost 05:11:57 -rw-r--r-- 1 jenkins jenkins 85 Apr 10 05:03 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:11:58 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:11:59 ---> package-listing.sh 05:11:59 ++ facter osfamily 05:11:59 ++ tr '[:upper:]' '[:lower:]' 05:11:59 + OS_FAMILY=debian 05:11:59 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1127 05:11:59 + START_PACKAGES=/tmp/packages_start.txt 05:11:59 + END_PACKAGES=/tmp/packages_end.txt 05:11:59 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:11:59 + PACKAGES=/tmp/packages_start.txt 05:11:59 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1127 ']' 05:11:59 + PACKAGES=/tmp/packages_end.txt 05:11:59 + case "${OS_FAMILY}" in 05:11:59 + dpkg -l 05:11:59 + grep '^ii' 05:11:59 + '[' -f /tmp/packages_start.txt ']' 05:11:59 + '[' -f /tmp/packages_end.txt ']' 05:11:59 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:11:59 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1127 ']' 05:11:59 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives/ 05:11:59 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives/ [Pipeline] echo 05:11:59 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-1127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:11:59 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:12:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:12:00 . [Pipeline] withDockerContainer 05:12:00 prd-ubuntu20.04-docker-8c-8g-11752 does not seem to be running inside a container 05:12:00 $ 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-1127/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-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:12:00 $ docker top 8453985b1fd0e65b1c717f3b098f1760e355c55e8ccce5783cf41cdcc5311c8f -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:00 + touch /tmp/pre-build-complete [Pipeline] sh 05:12:01 + mkdir -p /var/log/sysstat [Pipeline] sh 05:12:01 + ls /var/log/sa-host 05:12:01 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:01 provisioning config files... 05:12:01 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/config8398523072877001319tmp [Pipeline] { [Pipeline] echo 05:12:01 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:12:01 ---> create-netrc.sh [Pipeline] } 05:12:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:12:02 ---> python-tools-install.sh [Pipeline] echo 05:12:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:12:02 ---> sudo-logs.sh 05:12:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:12:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:12:02 ---> job-cost.sh 05:12:02 lf-activate-venv: SKIPPING 05:12:02 DEBUG: total: 0.2199999988079071 05:12:02 INFO: Retrieving Stack Cost... 05:12:03 INFO: Retrieving Pricing Info for: v3-standard-8 05:12:03 INFO: Archiving Costs [Pipeline] echo 05:12:03 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:12:03 ---> logs-deploy.sh 05:12:03 lf-activate-venv: SKIPPING 05:12:03 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1127/2 05:12:03 INFO: archiving workspace using pattern(s): 05:12:04 Archives upload complete. 05:12:04 INFO: archiving logs to Nexus