Pull request #1116 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 190385306753cc41d1018407d190722ed72f6a8b+511d52040eef7e00dec48ea5a3bfdec0745a4f08 (1574bf2a3f0e3173ac06863b7a088cd1ba588c48) 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-ssh4973780501156853945.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-ssh478098897147325837.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1116/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1116/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11220420637486971347.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1116/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7981535076646706419.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15061186989914776202.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1116/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1116/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh13483885332438405800.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-9208 in /w/workspace/gexfoundry_device-sdk-go_PR-1116 [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-1116 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 511d52040eef7e00dec48ea5a3bfdec0745a4f08 into PR head commit 190385306753cc41d1018407d190722ed72f6a8b Merge succeeded, producing 190385306753cc41d1018407d190722ed72f6a8b Checking out Revision 190385306753cc41d1018407d190722ed72f6a8b (PR-1116) > 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/1116/head:refs/remotes/origin/PR-1116 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 190385306753cc41d1018407d190722ed72f6a8b # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 511d52040eef7e00dec48ea5a3bfdec0745a4f08 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 190385306753cc41d1018407d190722ed72f6a8b # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:05:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:05:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:05:22 ========================================================= 04:05:22 EdgeX Global Pipelines Version Info 04:05:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:05:23 ------------------- 04:05:23 stable info: 04:05:23 ------------------- 04:05:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:05:23 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:05:23 Message: update stable to v1.0.221 04:05:24 ------------------- 04:05:24 experimental info: 04:05:24 ------------------- 04:05:24 Commited By: **** collab-it+edgex@linuxfoundation.org 04:05:24 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:05:24 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:05:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1116 [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1116 [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1116 [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 190385306753cc41d1018407d190722ed72f6a8b [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1903853 [Pipeline] echo 04:05:25 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:25 provisioning config files... 04:05:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp/config9063128515762162317tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:26 ---> docker-login.sh 04:05:26 nexus3.edgexfoundry.org:10001 04:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:26 Configure a credential helper to remove this warning. See 04:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:26 04:05:26 Login Succeeded 04:05:26 nexus3.edgexfoundry.org:10002 04:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:26 Configure a credential helper to remove this warning. See 04:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:26 04:05:26 Login Succeeded 04:05:26 nexus3.edgexfoundry.org:10003 04:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:26 Configure a credential helper to remove this warning. See 04:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:26 04:05:26 Login Succeeded 04:05:26 nexus3.edgexfoundry.org:10004 04:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:27 Configure a credential helper to remove this warning. See 04:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:27 04:05:27 Login Succeeded 04:05:27 docker.io 04:05:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:27 Configure a credential helper to remove this warning. See 04:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:27 04:05:27 Login Succeeded 04:05:27 ---> docker-login.sh ends [Pipeline] } 04:05:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:05:28 + git rev-list -1 --merges 190385306753cc41d1018407d190722ed72f6a8b~1..190385306753cc41d1018407d190722ed72f6a8b [Pipeline] echo 04:05:28 -----------> git rev-list -1 --merges 190385306753cc41d1018407d190722ed72f6a8b~1..190385306753cc41d1018407d190722ed72f6a8b 190385306753cc41d1018407d190722ed72f6a8b [false] [Pipeline] sh 04:05:28 + git log --format=format:%s -1 190385306753cc41d1018407d190722ed72f6a8b [Pipeline] echo 04:05:28 ========================================================= 04:05:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:05:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:29 + git log --format=format:%s -1 190385306753cc41d1018407d190722ed72f6a8b [Pipeline] echo 04:05:29 [semverPrep] GIT_COMMIT: 190385306753cc41d1018407d190722ed72f6a8b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 04:05:29 [semverPrep] This is not a build commit. [Pipeline] sh 04:05:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:29 + grep -v github /etc/ssh/ssh_known_hosts 04:05:29 + [ -e /tmp/ssh_known_hosts ] 04:05:29 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:05:29 + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee 04:05:29 -a /etc/ssh/ssh_known_hosts 04:05:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:05:30 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:05:30 04:05:30 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:05:30 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:05:30 latest: Pulling from edgex-devops/git-semver 04:05:30 a0d0a0d46f8b: Pulling fs layer 04:05:30 3e5f54012d9b: Pulling fs layer 04:05:30 4c7163046ea9: Pulling fs layer 04:05:30 0c2d73faf560: Pulling fs layer 04:05:30 3e5f54012d9b: Download complete 04:05:30 a0d0a0d46f8b: Download complete 04:05:30 4c7163046ea9: Verifying Checksum 04:05:30 4c7163046ea9: Download complete 04:05:30 0c2d73faf560: Verifying Checksum 04:05:30 0c2d73faf560: Download complete 04:05:30 a0d0a0d46f8b: Pull complete 04:05:30 3e5f54012d9b: Pull complete 04:05:31 4c7163046ea9: Pull complete 04:05:31 0c2d73faf560: Pull complete 04:05:31 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:05:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:05:31 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:05:31 prd-ubuntu20.04-docker-8c-8g-9208 does not seem to be running inside a container 04:05:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1116 -v /w/workspace/gexfoundry_device-sdk-go_PR-1116:/w/workspace/gexfoundry_device-sdk-go_PR-1116:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 04:05:32 $ docker top c77f554a0e96e51159baf1eae5baf78609b24b9fe51da91d8540f245716c22fe -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:32 [ssh-agent] Looking for ssh-agent implementation... 04:05:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:32 $ docker exec c77f554a0e96e51159baf1eae5baf78609b24b9fe51da91d8540f245716c22fe ssh-agent 04:05:32 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNEaIko/agent.14 04:05:32 SSH_AGENT_PID=20 04:05:32 Running ssh-add (command line suppressed) 04:05:32 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp/private_key_8134931862295826042.key (/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp/private_key_8134931862295826042.key) 04:05:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:33 + git tag --points-at HEAD [Pipeline] } 04:05:33 $ docker exec --env ******** --env ******** c77f554a0e96e51159baf1eae5baf78609b24b9fe51da91d8540f245716c22fe ssh-agent -k 04:05:33 unset SSH_AUTH_SOCK; 04:05:33 unset SSH_AGENT_PID; 04:05:33 echo Agent pid 20 killed; 04:05:33 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:05:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:33 [ssh-agent] Looking for ssh-agent implementation... 04:05:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:33 $ docker exec c77f554a0e96e51159baf1eae5baf78609b24b9fe51da91d8540f245716c22fe ssh-agent 04:05:33 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXADJhlN/agent.53 04:05:33 SSH_AGENT_PID=59 04:05:33 Running ssh-add (command line suppressed) 04:05:33 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp/private_key_3414551189308447981.key (/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp/private_key_3414551189308447981.key) 04:05:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:34 + git semver init 04:05:34 # -> Open(): unable to determine branch for HEAD 04:05:34 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1116/.git 04:05:34 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1116 04:05:34 # $SEMVER_REMOTE_NAME = origin 04:05:34 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:05:34 # $SEMVER_USER_NAME = edgex-jenkins 04:05:34 # $SEMVER_BRANCH = PR-1116 04:05:34 # $SEMVER_TEMP = /tmp/semver-747127535 04:05:34 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:05:34 # '/tmp/semver-747127535' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1116/.semver' 04:05:35 # -> Force: false 04:05:35 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1116/.semver [Pipeline] } 04:05:35 $ docker exec --env ******** --env ******** c77f554a0e96e51159baf1eae5baf78609b24b9fe51da91d8540f245716c22fe ssh-agent -k 04:05:35 unset SSH_AUTH_SOCK; 04:05:35 unset SSH_AGENT_PID; 04:05:35 echo Agent pid 59 killed; 04:05:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:35 + git semver [Pipeline] } 04:05:35 $ docker stop --time=1 c77f554a0e96e51159baf1eae5baf78609b24b9fe51da91d8540f245716c22fe 04:05:37 $ docker rm -f c77f554a0e96e51159baf1eae5baf78609b24b9fe51da91d8540f245716c22fe [Pipeline] // withDockerContainer [Pipeline] sh 04:05:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:05:37 Stashed 1 file(s) [Pipeline] echo 04:05:38 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:38 provisioning config files... 04:05:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp/config8083410819845847559tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:38 ---> docker-login.sh 04:05:38 nexus3.edgexfoundry.org:10001 04:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:38 Configure a credential helper to remove this warning. See 04:05:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:38 04:05:38 Login Succeeded 04:05:38 nexus3.edgexfoundry.org:10002 04:05:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:39 Configure a credential helper to remove this warning. See 04:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:39 04:05:39 Login Succeeded 04:05:39 nexus3.edgexfoundry.org:10003 04:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:39 Configure a credential helper to remove this warning. See 04:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:39 04:05:39 Login Succeeded 04:05:39 nexus3.edgexfoundry.org:10004 04:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:39 Configure a credential helper to remove this warning. See 04:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:39 04:05:39 Login Succeeded 04:05:39 docker.io 04:05:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:39 Configure a credential helper to remove this warning. See 04:05:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:39 04:05:39 Login Succeeded 04:05:39 ---> docker-login.sh ends [Pipeline] } 04:05:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:05:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:40 ========================================================= 04:05:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:05:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:05:40 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:05:40 Sending build context to Docker daemon 9.543MB 04:05:40 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:05:40 Step 2/11 : FROM ${BASE} AS builder 04:05:40 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:05:40 59bf1c3509f3: Pulling fs layer 04:05:40 666ba61612fd: Pulling fs layer 04:05:40 8ed8ca486205: Pulling fs layer 04:05:40 4fe6c5a15a65: Pulling fs layer 04:05:40 22a0e8bec74d: Pulling fs layer 04:05:40 640e595b4fbd: Pulling fs layer 04:05:40 763cafe07f6e: Pulling fs layer 04:05:40 0c0b528cf693: Pulling fs layer 04:05:40 10935f4eaf8b: Pulling fs layer 04:05:40 640e595b4fbd: Waiting 04:05:40 763cafe07f6e: Waiting 04:05:40 0c0b528cf693: Waiting 04:05:40 10935f4eaf8b: Waiting 04:05:40 4fe6c5a15a65: Waiting 04:05:40 22a0e8bec74d: Waiting 04:05:40 8ed8ca486205: Verifying Checksum 04:05:40 8ed8ca486205: Download complete 04:05:40 666ba61612fd: Download complete 04:05:40 22a0e8bec74d: Verifying Checksum 04:05:40 22a0e8bec74d: Download complete 04:05:40 640e595b4fbd: Verifying Checksum 04:05:40 640e595b4fbd: Download complete 04:05:40 59bf1c3509f3: Verifying Checksum 04:05:40 763cafe07f6e: Download complete 04:05:40 0c0b528cf693: Verifying Checksum 04:05:40 0c0b528cf693: Download complete 04:05:40 59bf1c3509f3: Pull complete 04:05:41 666ba61612fd: Pull complete 04:05:41 8ed8ca486205: Pull complete 04:05:41 10935f4eaf8b: Verifying Checksum 04:05:41 10935f4eaf8b: Download complete 04:05:41 4fe6c5a15a65: Verifying Checksum 04:05:41 4fe6c5a15a65: Download complete 04:05:45 4fe6c5a15a65: Pull complete 04:05:45 22a0e8bec74d: Pull complete 04:05:45 640e595b4fbd: Pull complete 04:05:45 763cafe07f6e: Pull complete 04:05:45 0c0b528cf693: Pull complete 04:05:47 10935f4eaf8b: Pull complete 04:05:47 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 04:05:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:05:47 ---> 99d49a6021b9 04:05:47 Step 3/11 : ARG MAKE=make build 04:05:49 ---> Running in 7a510e5371dc 04:05:49 Removing intermediate container 7a510e5371dc 04:05:49 ---> 718060f6388e 04:05:49 Step 4/11 : WORKDIR /device-sdk-go 04:05:49 ---> Running in 29191bf8d333 04:05:49 Removing intermediate container 29191bf8d333 04:05:49 ---> 25ac638df593 04:05:49 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:49 ---> Running in 093888918d2e 04:05:49 Removing intermediate container 093888918d2e 04:05:49 ---> 3782d3ffe12d 04:05:49 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:49 ---> Running in 265838e3ae8b 04:05:49 Removing intermediate container 265838e3ae8b 04:05:49 ---> 9c83579de2fb 04:05:49 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:49 ---> Running in 7460f9944100 04:05:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:05:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:05:51 OK: 221 MiB in 52 packages 04:05:51 Removing intermediate container 7460f9944100 04:05:51 ---> 08983b17d09a 04:05:51 Step 8/11 : COPY go.mod vendor* ./ 04:05:51 ---> 70b91b265dfe 04:05:51 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:51 ---> Running in 7567151ef475 04:05:53 Still waiting to schedule task 04:05:53 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:06:18 Removing intermediate container 7567151ef475 04:06:18 ---> 9d0f9fe15200 04:06:18 Step 10/11 : COPY . . 04:06:18 ---> 75fa335f1ad2 04:06:18 Step 11/11 : RUN ${MAKE} 04:06:18 ---> Running in 2fe8b75e455f 04:06:18 noop 04:06:18 Removing intermediate container 2fe8b75e455f 04:06:18 ---> f426c9fe311e 04:06:18 Successfully built f426c9fe311e 04:06:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:06:18 + docker inspect -f . ci-base-image-x86_64 04:06:18 . [Pipeline] withDockerContainer 04:06:18 prd-ubuntu20.04-docker-8c-8g-9208 does not seem to be running inside a container 04:06:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1116 -v /w/workspace/gexfoundry_device-sdk-go_PR-1116:/w/workspace/gexfoundry_device-sdk-go_PR-1116:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:06:19 $ docker top ef414843a0ab7842d459e4453573a7da29f3384cf711e05c2de495f7dc8945e8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:19 + go version 04:06:19 go version go1.17.6 linux/amd64 [Pipeline] } 04:06:19 $ docker stop --time=1 ef414843a0ab7842d459e4453573a7da29f3384cf711e05c2de495f7dc8945e8 04:06:21 $ docker rm -f ef414843a0ab7842d459e4453573a7da29f3384cf711e05c2de495f7dc8945e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:06:21 + docker inspect -f . ci-base-image-x86_64 04:06:21 . [Pipeline] withDockerContainer 04:06:21 prd-ubuntu20.04-docker-8c-8g-9208 does not seem to be running inside a container 04:06:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1116 -v /w/workspace/gexfoundry_device-sdk-go_PR-1116:/w/workspace/gexfoundry_device-sdk-go_PR-1116:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:06:22 $ docker top dcc2f41064d8322e3f80395f30831388c9a168aead332ebb391024298334f608 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:06:22 + make test 04:06:22 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:06:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.026s coverage: 23.3% of statements 04:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.014s coverage: 27.6% of statements 04:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.014s coverage: 78.9% of statements 04:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.012s coverage: 10.8% of statements 04:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:06:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.021s coverage: 33.2% of statements 04:06:29 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:06:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.013s coverage: 86.1% of statements 04:06:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:06:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:06:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.012s coverage: 57.4% of statements 04:06:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.038s coverage: 89.2% of statements 04:06:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:06:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.012s coverage: 4.8% of statements 04:06:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:06:35 GO111MODULE=on go vet ./... 04:06:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:38 ./bin/test-attribution-txt.sh [Pipeline] echo 04:06:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:39 $ docker stop --time=1 dcc2f41064d8322e3f80395f30831388c9a168aead332ebb391024298334f608 04:06:41 $ docker rm -f dcc2f41064d8322e3f80395f30831388c9a168aead332ebb391024298334f608 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:06:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:43 + ls -al . 04:06:43 total 312 04:06:43 drwxrwxr-x 11 jenkins jenkins 4096 Mar 28 04:06 . 04:06:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:05 .. 04:06:43 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 04:05 .dockerignore 04:06:43 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 04:05 .git 04:06:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:05 .github 04:06:43 -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 04:05 .gitignore 04:06:43 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 04:05 .golangci.yml 04:06:43 drwx------ 3 jenkins jenkins 4096 Mar 28 04:05 .semver 04:06:43 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 28 04:05 CHANGELOG.md 04:06:43 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 04:05 GOVERNANCE.md 04:06:43 -rw-rw-r-- 1 jenkins jenkins 880 Mar 28 04:05 Jenkinsfile 04:06:43 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 04:05 LICENSE 04:06:43 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 28 04:05 Makefile 04:06:43 -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 04:05 OWNERS.md 04:06:43 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 28 04:05 README.md 04:06:43 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 04:05 VERSION 04:06:43 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 04:05 bin 04:06:43 -rw-r--r-- 1 jenkins jenkins 129001 Mar 28 04:06 coverage.out 04:06:43 drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:05 example 04:06:43 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 28 04:05 go.mod 04:06:43 -rw-rw-r-- 1 jenkins jenkins 50080 Mar 28 04:05 go.sum 04:06:43 drwxrwxr-x 15 jenkins jenkins 4096 Mar 28 04:05 internal 04:06:43 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:05 openapi 04:06:43 drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:05 pkg 04:06:43 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:05 snap 04:06:43 -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 04:05 version.go [Pipeline] isUnix [Pipeline] sh 04:06:43 + 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=190385306753cc41d1018407d190722ed72f6a8b --label arch=amd64 --label version=0.0.0 . 04:06:43 Sending build context to Docker daemon 9.672MB 04:06:43 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:06:43 Step 2/25 : FROM ${BASE} AS builder 04:06:43 ---> f426c9fe311e 04:06:43 Step 3/25 : ARG MAKE=make build 04:06:43 ---> Running in d6e0791127ba 04:06:43 Removing intermediate container d6e0791127ba 04:06:43 ---> d8b40bdb4759 04:06:43 Step 4/25 : WORKDIR /device-sdk-go 04:06:43 ---> Running in 89a17a2323fc 04:06:43 Removing intermediate container 89a17a2323fc 04:06:43 ---> 5739a191c8ce 04:06:43 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:44 ---> Running in dbd6b345b171 04:06:44 Removing intermediate container dbd6b345b171 04:06:44 ---> 4b4f4917fb63 04:06:44 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:44 ---> Running in 37f5357277ba 04:06:44 Removing intermediate container 37f5357277ba 04:06:44 ---> dedd31cc4ebd 04:06:44 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:44 ---> Running in 0d2da3e31644 04:06:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:06:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:06:46 OK: 221 MiB in 52 packages 04:06:46 Removing intermediate container 0d2da3e31644 04:06:46 ---> 392338e55e36 04:06:46 Step 8/25 : COPY go.mod vendor* ./ 04:06:46 ---> 2debf5e54e03 04:06:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:46 ---> Running in 0d37feef5f7a 04:06:47 Removing intermediate container 0d37feef5f7a 04:06:47 ---> 329a2d1ae545 04:06:47 Step 10/25 : COPY . . 04:06:47 ---> f0cfca1d0482 04:06:47 Step 11/25 : RUN ${MAKE} 04:06:47 ---> Running in 5c49ec19c613 04:06:48 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:06:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:06:55 Removing intermediate container 5c49ec19c613 04:06:55 ---> 2f5152b14dac 04:06:55 Step 12/25 : FROM alpine:3.14 04:06:56 3.14: Pulling from library/alpine 04:06:56 36ccefbf3d8a: Pulling fs layer 04:06:56 36ccefbf3d8a: Download complete 04:06:56 36ccefbf3d8a: Pull complete 04:06:56 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 04:06:56 Status: Downloaded newer image for alpine:3.14 04:06:56 ---> a33ac4f1069a 04:06:56 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:56 ---> Running in bd8fa4570ff1 04:06:56 Removing intermediate container bd8fa4570ff1 04:06:56 ---> 3a0d8b53d9b3 04:06:56 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:57 ---> Running in c1f452c34150 04:06:57 Removing intermediate container c1f452c34150 04:06:57 ---> 3af43dec181b 04:06:57 Step 15/25 : RUN apk add --update --no-cache zeromq 04:06:57 ---> Running in 9b720b4da2a2 04:06:57 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:06:58 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:06:58 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:06:59 (2/5) Installing libsodium (1.0.18-r0) 04:06:59 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:06:59 (4/5) Installing libzmq (4.3.4-r0) 04:06:59 (5/5) Installing zeromq (4.3.4-r0) 04:06:59 Executing busybox-1.33.1-r6.trigger 04:06:59 OK: 8 MiB in 19 packages 04:06:59 Removing intermediate container 9b720b4da2a2 04:06:59 ---> 8ea338af91b9 04:06:59 Step 16/25 : WORKDIR / 04:06:59 ---> Running in c794aaee8fc8 04:06:59 Removing intermediate container c794aaee8fc8 04:06:59 ---> d524f05fb22b 04:06:59 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:00 ---> f83bb8cfbcd2 04:07:00 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:00 ---> 544048498b5b 04:07:00 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:00 ---> e77c550e79f7 04:07:00 Step 20/25 : EXPOSE 59999 04:07:00 ---> Running in 836d9a50c11e 04:07:00 Removing intermediate container 836d9a50c11e 04:07:00 ---> f37d55a52b35 04:07:00 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:07:00 ---> Running in b92bad99519a 04:07:01 Removing intermediate container b92bad99519a 04:07:01 ---> 3b8217c3a844 04:07:01 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:01 ---> Running in cf34b792f0eb 04:07:01 Removing intermediate container cf34b792f0eb 04:07:01 ---> 3652c1a75820 04:07:01 Step 23/25 : LABEL arch=amd64 04:07:01 ---> Running in f25ad00582b7 04:07:01 Removing intermediate container f25ad00582b7 04:07:01 ---> 2e6878e972ca 04:07:01 Step 24/25 : LABEL git_sha=190385306753cc41d1018407d190722ed72f6a8b 04:07:01 ---> Running in 188331769bb3 04:07:01 Removing intermediate container 188331769bb3 04:07:01 ---> a1f4252ebc61 04:07:01 Step 25/25 : LABEL version=0.0.0 04:07:01 ---> Running in b68b0eb12684 04:07:01 Removing intermediate container b68b0eb12684 04:07:01 ---> 05482d7afb5f 04:07:01 [Warning] One or more build-args [ARCH] were not consumed 04:07:01 Successfully built 05482d7afb5f 04:07:01 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:07:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:02 04:07:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:07:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:02 latest: Pulling from edgex-lftools-log-publisher 04:07:02 5eb5b503b376: Pulling fs layer 04:07:02 5c69ac0246d0: Pulling fs layer 04:07:02 ec43610c2a17: Pulling fs layer 04:07:02 3a2ae6a8a46f: Pulling fs layer 04:07:02 33b1e0a273af: Pulling fs layer 04:07:02 5d3b04190fa2: Pulling fs layer 04:07:02 2f39f015ded8: Pulling fs layer 04:07:02 33b1e0a273af: Waiting 04:07:02 3a2ae6a8a46f: Waiting 04:07:02 5d3b04190fa2: Waiting 04:07:02 2f39f015ded8: Waiting 04:07:02 5c69ac0246d0: Download complete 04:07:02 3a2ae6a8a46f: Download complete 04:07:02 33b1e0a273af: Verifying Checksum 04:07:02 33b1e0a273af: Download complete 04:07:02 ec43610c2a17: Verifying Checksum 04:07:02 ec43610c2a17: Download complete 04:07:02 5d3b04190fa2: Download complete 04:07:02 5eb5b503b376: Verifying Checksum 04:07:02 5eb5b503b376: Download complete 04:07:03 2f39f015ded8: Download complete 04:07:04 5eb5b503b376: Pull complete 04:07:04 5c69ac0246d0: Pull complete 04:07:04 ec43610c2a17: Pull complete 04:07:04 3a2ae6a8a46f: Pull complete 04:07:04 33b1e0a273af: Pull complete 04:07:05 5d3b04190fa2: Pull complete 04:07:09 2f39f015ded8: Pull complete 04:07:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:07:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:07:09 prd-ubuntu20.04-docker-8c-8g-9208 does not seem to be running inside a container 04:07:09 $ 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-1116 -v /w/workspace/gexfoundry_device-sdk-go_PR-1116:/w/workspace/gexfoundry_device-sdk-go_PR-1116:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:07:11 $ docker top e73205d8909752b7733b38e578c7227b3e45a5d2824a7da9162f1cdefebe570a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:11 ---> job-cost.sh 04:07:11 lf-activate-venv: SKIPPING 04:07:11 INFO: No Stack... 04:07:12 INFO: Retrieving Pricing Info for: v3-standard-8 04:07:12 INFO: Archiving Costs [Pipeline] sh 04:07:12 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1116/archives/cost.csv 04:07:12 + cut -d, -f6 [Pipeline] lock 04:07:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1116-1-stack-cost] 04:07:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1116-1-stack-cost] did not exist. Created. 04:07:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1116-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:13 + echo total: 0.4399999976158142 [Pipeline] stash 04:07:13 Stashed 1 file(s) [Pipeline] } 04:07:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1116-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:07:13 $ docker stop --time=1 e73205d8909752b7733b38e578c7227b3e45a5d2824a7da9162f1cdefebe570a 04:07:14 $ docker rm -f e73205d8909752b7733b38e578c7227b3e45a5d2824a7da9162f1cdefebe570a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9213 in /w/workspace/gexfoundry_device-sdk-go_PR-1116 [Pipeline] { [Pipeline] ws 04:07:27 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:07:28 The recommended git tool is: git 04:07:35 using credential edgex-jenkins-ssh 04:07:35 Cloning the remote Git repository 04:07:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:07:35 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:07:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:35 > git --version # timeout=10 04:07:35 > git --version # 'git version 2.25.1' 04:07:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:38 Merging remotes/origin/main commit 511d52040eef7e00dec48ea5a3bfdec0745a4f08 into PR head commit 190385306753cc41d1018407d190722ed72f6a8b 04:07:38 Merge succeeded, producing 190385306753cc41d1018407d190722ed72f6a8b 04:07:38 Checking out Revision 190385306753cc41d1018407d190722ed72f6a8b (PR-1116) 04:07:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1116/head:refs/remotes/origin/PR-1116 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:07:38 > git config core.sparsecheckout # timeout=10 04:07:38 > git checkout -f 190385306753cc41d1018407d190722ed72f6a8b # timeout=10 04:07:38 > git remote # timeout=10 04:07:38 > git config --get remote.origin.url # timeout=10 04:07:38 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:38 > git merge 511d52040eef7e00dec48ea5a3bfdec0745a4f08 # timeout=10 04:07:38 > git rev-parse HEAD^{commit} # timeout=10 04:07:38 > git config core.sparsecheckout # timeout=10 04:07:38 > git checkout -f 190385306753cc41d1018407d190722ed72f6a8b # timeout=10 04:07:43 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 04:07:43 > git --version # timeout=10 04:07:43 > git --version # 'git version 2.25.1' 04:07:43 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:07:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:44 Dload Upload Total Spent Left Speed 04:07:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45030 0 --:--:-- --:--:-- --:--:-- 45202 [Pipeline] sh 04:07:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:07:45 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee 04:07:45 /etc/docker/daemon.new 04:07:45 { 04:07:45 "registry-mirrors": [ 04:07:45 "https://nexus3.edgexfoundry.org:10001" 04:07:45 ], 04:07:45 "bip": "10.250.0.254/24", 04:07:45 "hosts": [ 04:07:45 "tcp://0.0.0.0:5555", 04:07:45 "unix:///var/run/docker.sock" 04:07:45 ], 04:07:45 "mtu": 1458, 04:07:45 "selinux-enabled": true, 04:07:45 "seccomp-profile": "/etc/docker/seccomp.json" 04:07:45 } [Pipeline] sh 04:07:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:07:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:04 provisioning config files... 04:08:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config621476393936932396tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:05 ---> docker-login.sh 04:08:05 nexus3.edgexfoundry.org:10001 04:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:05 Configure a credential helper to remove this warning. See 04:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:05 04:08:05 Login Succeeded 04:08:05 nexus3.edgexfoundry.org:10002 04:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:06 Configure a credential helper to remove this warning. See 04:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:06 04:08:06 Login Succeeded 04:08:06 nexus3.edgexfoundry.org:10003 04:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:06 Configure a credential helper to remove this warning. See 04:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:06 04:08:06 Login Succeeded 04:08:06 nexus3.edgexfoundry.org:10004 04:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:07 Configure a credential helper to remove this warning. See 04:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:07 04:08:07 Login Succeeded 04:08:07 docker.io 04:08:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:08 Configure a credential helper to remove this warning. See 04:08:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:08 04:08:08 Login Succeeded 04:08:08 ---> docker-login.sh ends [Pipeline] } 04:08:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:08 ========================================================= 04:08:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:08:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:08:09 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:08:09 Sending build context to Docker daemon 5.158MB 04:08:09 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:08:09 Step 2/11 : FROM ${BASE} AS builder 04:08:09 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:08:09 9b3977197b4f: Pulling fs layer 04:08:09 1a89e8eeedd5: Pulling fs layer 04:08:09 94645a83ff95: Pulling fs layer 04:08:09 3f3a8bcf1eab: Pulling fs layer 04:08:09 0c92f367c5e7: Pulling fs layer 04:08:09 f7c0051592d6: Pulling fs layer 04:08:09 a227ed2f7395: Pulling fs layer 04:08:09 7b1c46037f91: Pulling fs layer 04:08:09 f7c0051592d6: Waiting 04:08:09 a227ed2f7395: Waiting 04:08:09 7b1c46037f91: Waiting 04:08:09 3f3a8bcf1eab: Waiting 04:08:09 0c92f367c5e7: Waiting 04:08:09 94645a83ff95: Verifying Checksum 04:08:09 94645a83ff95: Download complete 04:08:09 1a89e8eeedd5: Verifying Checksum 04:08:09 1a89e8eeedd5: Download complete 04:08:09 0c92f367c5e7: Verifying Checksum 04:08:09 0c92f367c5e7: Download complete 04:08:10 f7c0051592d6: Verifying Checksum 04:08:10 f7c0051592d6: Download complete 04:08:10 9b3977197b4f: Verifying Checksum 04:08:10 9b3977197b4f: Download complete 04:08:10 a227ed2f7395: Verifying Checksum 04:08:10 a227ed2f7395: Download complete 04:08:10 9b3977197b4f: Pull complete 04:08:11 1a89e8eeedd5: Pull complete 04:08:11 94645a83ff95: Pull complete 04:08:11 7b1c46037f91: Verifying Checksum 04:08:11 7b1c46037f91: Download complete 04:08:12 3f3a8bcf1eab: Verifying Checksum 04:08:12 3f3a8bcf1eab: Download complete 04:08:24 3f3a8bcf1eab: Pull complete 04:08:24 0c92f367c5e7: Pull complete 04:08:24 f7c0051592d6: Pull complete 04:08:25 a227ed2f7395: Pull complete 04:08:31 7b1c46037f91: Pull complete 04:08:31 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 04:08:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:08:31 ---> f79e39bc4007 04:08:31 Step 3/11 : ARG MAKE=make build 04:08:32 ---> Running in 07609d59e52e 04:08:32 Removing intermediate container 07609d59e52e 04:08:32 ---> eac3bd0069d6 04:08:32 Step 4/11 : WORKDIR /device-sdk-go 04:08:32 ---> Running in b5ac994baf6c 04:08:33 Removing intermediate container b5ac994baf6c 04:08:33 ---> 1e54e0120e5c 04:08:33 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:33 ---> Running in 0c16184a10c8 04:08:33 Removing intermediate container 0c16184a10c8 04:08:33 ---> 94699b598ae8 04:08:33 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:33 ---> Running in 1e0cfdd5171b 04:08:35 Removing intermediate container 1e0cfdd5171b 04:08:35 ---> 6b4371252a11 04:08:35 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:35 ---> Running in 92072af75990 04:08:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:08:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:08:38 OK: 220 MiB in 52 packages 04:08:38 Removing intermediate container 92072af75990 04:08:38 ---> ec6eab887f3a 04:08:38 Step 8/11 : COPY go.mod vendor* ./ 04:08:39 ---> 49c611b3e3d7 04:08:39 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:39 ---> Running in 98b30f30701b 04:10:01 Removing intermediate container 98b30f30701b 04:10:01 ---> 8f71a0dd1720 04:10:01 Step 10/11 : COPY . . 04:10:01 ---> a161abd7b9fb 04:10:01 Step 11/11 : RUN ${MAKE} 04:10:01 ---> Running in 1698e09f9829 04:10:01 noop 04:10:01 Removing intermediate container 1698e09f9829 04:10:01 ---> 43b5cfe8818c 04:10:01 Successfully built 43b5cfe8818c 04:10:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:10:01 + docker inspect -f . ci-base-image-arm64 04:10:01 . [Pipeline] withDockerContainer 04:10:01 prd-ubuntu20.04-docker-arm64-4c-16g-9213 does not seem to be running inside a container 04:10:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:03 $ docker top 83a970d64291922185feb6527545afacca3008f253a68e06e4931be431d1bcce -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:04 + go version 04:10:04 go version go1.17.6 linux/arm64 [Pipeline] } 04:10:04 $ docker stop --time=1 83a970d64291922185feb6527545afacca3008f253a68e06e4931be431d1bcce 04:10:05 $ docker rm -f 83a970d64291922185feb6527545afacca3008f253a68e06e4931be431d1bcce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:10:06 + docker inspect -f . ci-base-image-arm64 04:10:06 . [Pipeline] withDockerContainer 04:10:06 prd-ubuntu20.04-docker-arm64-4c-16g-9213 does not seem to be running inside a container 04:10:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:07 $ docker top d4e96517a97709b866dabb786a00b169c793733133901e875790320de0b2f91f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:10:08 + make test 04:10:08 GO111MODULE=on go test -coverprofile=coverage.out ./... 04:10:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:10:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:10:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:10:57 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:11:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.091s coverage: 23.3% of statements 04:11:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:11:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements 04:11:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements 04:11:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.071s coverage: 10.8% of statements 04:11:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 04:11:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:11:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:11:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.106s coverage: 33.2% of statements 04:11:06 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.089s coverage: 86.1% of statements 04:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.119s coverage: 57.4% of statements 04:11:08 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.246s coverage: 89.2% of statements 04:11:08 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:11:09 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.8% of statements 04:11:09 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:11:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:11:09 GO111MODULE=on go vet ./... 04:11:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:11:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:11:31 ./bin/test-attribution-txt.sh [Pipeline] echo 04:11:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:11:32 $ docker stop --time=1 d4e96517a97709b866dabb786a00b169c793733133901e875790320de0b2f91f 04:11:34 $ docker rm -f d4e96517a97709b866dabb786a00b169c793733133901e875790320de0b2f91f [Pipeline] // withDockerContainer [Pipeline] sh 04:11:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:11:35 Warning: overwriting stash ‘coverage-report’ 04:11:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:11:36 + ls -al . 04:11:36 total 308 04:11:36 drwxrwxr-x 10 jenkins jenkins 4096 Mar 28 04:11 . 04:11:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:07 .. 04:11:36 -rw-rw-r-- 1 jenkins jenkins 140 Mar 28 04:07 .dockerignore 04:11:36 drwxrwxr-x 8 jenkins jenkins 4096 Mar 28 04:07 .git 04:11:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:07 .github 04:11:36 -rw-rw-r-- 1 jenkins jenkins 131 Mar 28 04:07 .gitignore 04:11:36 -rw-rw-r-- 1 jenkins jenkins 42 Mar 28 04:07 .golangci.yml 04:11:36 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 28 04:07 CHANGELOG.md 04:11:36 -rw-rw-r-- 1 jenkins jenkins 677 Mar 28 04:07 GOVERNANCE.md 04:11:36 -rw-rw-r-- 1 jenkins jenkins 880 Mar 28 04:07 Jenkinsfile 04:11:36 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 28 04:07 LICENSE 04:11:36 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 28 04:07 Makefile 04:11:36 -rw-rw-r-- 1 jenkins jenkins 619 Mar 28 04:07 OWNERS.md 04:11:36 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 28 04:07 README.md 04:11:36 -rw-rw-r-- 1 jenkins jenkins 5 Mar 28 04:05 VERSION 04:11:36 drwxrwxr-x 2 jenkins jenkins 4096 Mar 28 04:07 bin 04:11:36 -rw-r--r-- 1 jenkins jenkins 129001 Mar 28 04:11 coverage.out 04:11:36 drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:07 example 04:11:36 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 28 04:07 go.mod 04:11:36 -rw-rw-r-- 1 jenkins jenkins 50080 Mar 28 04:07 go.sum 04:11:36 drwxrwxr-x 15 jenkins jenkins 4096 Mar 28 04:07 internal 04:11:36 drwxrwxr-x 3 jenkins jenkins 4096 Mar 28 04:07 openapi 04:11:36 drwxrwxr-x 5 jenkins jenkins 4096 Mar 28 04:07 pkg 04:11:36 drwxrwxr-x 4 jenkins jenkins 4096 Mar 28 04:07 snap 04:11:36 -rw-rw-r-- 1 jenkins jenkins 222 Mar 28 04:07 version.go [Pipeline] isUnix [Pipeline] sh 04:11:37 + 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=190385306753cc41d1018407d190722ed72f6a8b --label arch=arm64 --label version=0.0.0 . 04:11:37 Sending build context to Docker daemon 5.287MB 04:11:37 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:11:37 Step 2/25 : FROM ${BASE} AS builder 04:11:37 ---> 43b5cfe8818c 04:11:37 Step 3/25 : ARG MAKE=make build 04:11:37 ---> Running in 05183c4f8adb 04:11:38 Removing intermediate container 05183c4f8adb 04:11:38 ---> ddefbf06cf44 04:11:38 Step 4/25 : WORKDIR /device-sdk-go 04:11:38 ---> Running in b251a4d6fb70 04:11:38 Removing intermediate container b251a4d6fb70 04:11:38 ---> 784da28fcead 04:11:38 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:11:38 ---> Running in a3f0c60b6e60 04:11:38 Removing intermediate container a3f0c60b6e60 04:11:38 ---> d44a14908a3b 04:11:38 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:38 ---> Running in 8cf7386b1bc7 04:11:40 Removing intermediate container 8cf7386b1bc7 04:11:40 ---> 469fffbf8477 04:11:40 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:40 ---> Running in d995083247f7 04:11:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:11:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:11:43 OK: 220 MiB in 52 packages 04:11:44 Removing intermediate container d995083247f7 04:11:44 ---> 15b53d8eea6f 04:11:44 Step 8/25 : COPY go.mod vendor* ./ 04:11:44 ---> 356d5074f230 04:11:44 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:44 ---> Running in 61279e4faa54 04:11:46 Removing intermediate container 61279e4faa54 04:11:46 ---> c0b17c9b6f6e 04:11:46 Step 10/25 : COPY . . 04:11:48 ---> 899c0eb30869 04:11:48 Step 11/25 : RUN ${MAKE} 04:11:48 ---> Running in c6bd5fa59126 04:11:49 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:12:28 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:12:28 Removing intermediate container c6bd5fa59126 04:12:28 ---> cb9379dde047 04:12:28 Step 12/25 : FROM alpine:3.14 04:12:28 3.14: Pulling from library/alpine 04:12:28 93a1719cf261: Pulling fs layer 04:12:28 93a1719cf261: Verifying Checksum 04:12:28 93a1719cf261: Download complete 04:12:28 93a1719cf261: Pull complete 04:12:28 Digest: sha256:cf5b2ed6e37873edf0733ad18ca3ccc414a60ba260be611459c245508a19b652 04:12:28 Status: Downloaded newer image for alpine:3.14 04:12:28 ---> 71a2028e5025 04:12:28 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:12:28 ---> Running in 8c61d7ca676c 04:12:29 Removing intermediate container 8c61d7ca676c 04:12:29 ---> 769428659e66 04:12:29 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:12:29 ---> Running in 44b421db259b 04:12:31 Removing intermediate container 44b421db259b 04:12:31 ---> 73bf2e2c0fad 04:12:31 Step 15/25 : RUN apk add --update --no-cache zeromq 04:12:31 ---> Running in 2d8b48f6e32f 04:12:31 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:12:32 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:12:33 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:12:33 (2/5) Installing libsodium (1.0.18-r0) 04:12:33 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:12:33 (4/5) Installing libzmq (4.3.4-r0) 04:12:33 (5/5) Installing zeromq (4.3.4-r0) 04:12:33 Executing busybox-1.33.1-r6.trigger 04:12:33 OK: 8 MiB in 19 packages 04:12:34 Removing intermediate container 2d8b48f6e32f 04:12:34 ---> 75f9a00a2c33 04:12:34 Step 16/25 : WORKDIR / 04:12:34 ---> Running in 0c5ebc624b0c 04:12:35 Removing intermediate container 0c5ebc624b0c 04:12:35 ---> d47887305edd 04:12:35 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:12:35 ---> 60bef6bd41be 04:12:35 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:12:36 ---> d9a165a7c13a 04:12:36 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:12:37 ---> 72aa4f306a5b 04:12:37 Step 20/25 : EXPOSE 59999 04:12:37 ---> Running in 779e1641c7c0 04:12:37 Removing intermediate container 779e1641c7c0 04:12:37 ---> fae2a685c74a 04:12:37 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:12:37 ---> Running in bbf052c640e0 04:12:37 Removing intermediate container bbf052c640e0 04:12:37 ---> 024630c8849c 04:12:37 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:12:37 ---> Running in 22af7a3d0711 04:12:38 Removing intermediate container 22af7a3d0711 04:12:38 ---> c830d2df22b1 04:12:38 Step 23/25 : LABEL arch=arm64 04:12:38 ---> Running in fdbdc7b60844 04:12:38 Removing intermediate container fdbdc7b60844 04:12:38 ---> d675a6a2d62f 04:12:38 Step 24/25 : LABEL git_sha=190385306753cc41d1018407d190722ed72f6a8b 04:12:38 ---> Running in f10e5e4dc94f 04:12:39 Removing intermediate container f10e5e4dc94f 04:12:39 ---> b8179e9f46d6 04:12:39 Step 25/25 : LABEL version=0.0.0 04:12:39 ---> Running in a28031555f78 04:12:39 Removing intermediate container a28031555f78 04:12:39 ---> 499fda6bcbd6 04:12:39 [Warning] One or more build-args [ARCH] were not consumed 04:12:39 Successfully built 499fda6bcbd6 04:12:39 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:12:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:40 04:12:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:12:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:12:40 arm64: Pulling from edgex-lftools-log-publisher 04:12:40 8998bd30e6a1: Pulling fs layer 04:12:40 04944245beec: Pulling fs layer 04:12:40 699f458cf7ca: Pulling fs layer 04:12:40 765212b225bb: Pulling fs layer 04:12:40 f23df028b6ca: Pulling fs layer 04:12:40 d65c8cfc05b1: Pulling fs layer 04:12:40 2437ff75d9bd: Pulling fs layer 04:12:40 f23df028b6ca: Waiting 04:12:40 d65c8cfc05b1: Waiting 04:12:40 2437ff75d9bd: Waiting 04:12:40 765212b225bb: Waiting 04:12:40 04944245beec: Verifying Checksum 04:12:40 04944245beec: Download complete 04:12:40 765212b225bb: Verifying Checksum 04:12:40 765212b225bb: Download complete 04:12:40 f23df028b6ca: Verifying Checksum 04:12:40 f23df028b6ca: Download complete 04:12:40 d65c8cfc05b1: Download complete 04:12:41 699f458cf7ca: Verifying Checksum 04:12:41 699f458cf7ca: Download complete 04:12:41 8998bd30e6a1: Verifying Checksum 04:12:41 8998bd30e6a1: Download complete 04:12:43 2437ff75d9bd: Verifying Checksum 04:12:43 2437ff75d9bd: Download complete 04:12:45 8998bd30e6a1: Pull complete 04:12:46 04944245beec: Pull complete 04:12:47 699f458cf7ca: Pull complete 04:12:47 765212b225bb: Pull complete 04:12:48 f23df028b6ca: Pull complete 04:12:48 d65c8cfc05b1: Pull complete 04:13:03 2437ff75d9bd: Pull complete 04:13:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:13:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:13:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:13:04 prd-ubuntu20.04-docker-arm64-4c-16g-9213 does not seem to be running inside a container 04:13:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:13:06 $ docker top 8fa0701e66369f79adeee371fc6958406c9acaaf89dd660380250e870849e3d7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:13:07 ---> job-cost.sh 04:13:07 lf-activate-venv: SKIPPING 04:13:07 INFO: No Stack... 04:13:08 INFO: Retrieving Pricing Info for: v3-standard-4 04:13:08 INFO: Archiving Costs [Pipeline] sh 04:13:09 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:13:09 + cut -d, -f6 [Pipeline] lock 04:13:09 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1116-1-stack-cost] 04:13:09 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1116-1-stack-cost] did not exist. Created. 04:13:09 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1116-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:13:10 /w/workspace/device-sdk-go/1@tmp/durable-1cb01af4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:13:11 + echo total: 0.10999999940395355 [Pipeline] stash 04:13:11 Warning: overwriting stash ‘stack-cost’ 04:13:11 Stashed 1 file(s) [Pipeline] } 04:13:11 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1116-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:13:11 $ docker stop --time=1 8fa0701e66369f79adeee371fc6958406c9acaaf89dd660380250e870849e3d7 04:13:12 $ docker rm -f 8fa0701e66369f79adeee371fc6958406c9acaaf89dd660380250e870849e3d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:13:13 provisioning config files... 04:13:13 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp/config5492199465681384024tmp [Pipeline] { [Pipeline] sh 04:13:14 + set +x 04:13:14 + bash -s --+ 04:13:14 curl -s https://codecov.io/bash 04:13:14 04:13:14 _____ _ 04:13:14 / ____| | | 04:13:14 | | ___ __| | ___ ___ _____ __ 04:13:14 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:13:14 | |___| (_) | (_| | __/ (_| (_) \ V / 04:13:14 \_____\___/ \__,_|\___|\___\___/ \_/ 04:13:14 Bash-1.0.6 04:13:14 04:13:14 04:13:14 ==> git version 2.25.1 found 04:13:14 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:13:14 Release-Date: 2020-01-08 04:13:14 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:13:14 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:13:14 ==> Jenkins CI detected. 04:13:14 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1116 04:13:14 project root: . 04:13:14 --> token set from env 04:13:14 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:13:14 ==> Running gcov in . (disable via -X gcov) 04:13:14 ==> Python coveragepy not found 04:13:14 ==> Searching for coverage reports in: 04:13:14 + . 04:13:14 -> Found 1 reports 04:13:14 ==> Detecting git/mercurial file structure 04:13:14 ==> Reading reports 04:13:14 + ./coverage.out bytes=129001 04:13:14 ==> Appending adjustments 04:13:14 https://docs.codecov.io/docs/fixing-reports 04:13:14 + Found adjustments 04:13:14 ==> Gzipping contents 04:13:14 16K /tmp/codecov.5Sx7tT.gz 04:13:14 ==> Uploading reports 04:13:14 url: https://codecov.io 04:13:14 query: branch=PR-1116&commit=190385306753cc41d1018407d190722ed72f6a8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1116%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1116&job=&cmd_args= 04:13:14 -> Pinging Codecov 04:13:14 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1116&commit=190385306753cc41d1018407d190722ed72f6a8b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1116%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1116&job=&cmd_args= 04:13:14 -> Uploading to 04:13:14 https://storage.googleapis.com/codecov/v4/raw/2022-03-28/7E55EF52A471D76F132DFD9A03CDDE97/190385306753cc41d1018407d190722ed72f6a8b/78f1cad3-64d5-4090-a66d-14e09827bc4c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220328%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220328T041314Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=04779cbee3a98f9a4a2beb7e59f04bb2a6b4301a578de4a2c46ebdbe32666637 04:13:14 % Total % Received % Xferd Average Speed Time Time Time Current 04:13:14 Dload Upload Total Spent Left Speed 04:13:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16213 0 0 100 16213 0 65375 --:--:-- --:--:-- --:--:-- 65375 04:13:14 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/190385306753cc41d1018407d190722ed72f6a8b [Pipeline] } 04:13:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:13:16 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1116/archives ] 04:13:16 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1116/archives 04:13:16 total 16 04:13:16 drwxr-xr-x 3 root root 4096 Mar 28 04:07 . 04:13:16 drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 04:07 .. 04:13:16 drwxr-xr-x 2 root root 4096 Mar 28 04:07 cost 04:13:16 -rw-r--r-- 1 root root 86 Mar 28 04:07 cost.csv 04:13:16 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1116/archives 04:13:16 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1116/archives 04:13:16 total 16 04:13:16 drwxr-xr-x 3 jenkins jenkins 4096 Mar 28 04:07 . 04:13:16 drwxrwxr-x 12 jenkins jenkins 4096 Mar 28 04:07 .. 04:13:16 drwxr-xr-x 2 jenkins jenkins 4096 Mar 28 04:07 cost 04:13:16 -rw-r--r-- 1 jenkins jenkins 86 Mar 28 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:13:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:13:17 ---> package-listing.sh 04:13:17 ++ facter osfamily 04:13:17 ++ tr '[:upper:]' '[:lower:]' 04:13:18 + OS_FAMILY=debian 04:13:18 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1116 04:13:18 + START_PACKAGES=/tmp/packages_start.txt 04:13:18 + END_PACKAGES=/tmp/packages_end.txt 04:13:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:13:18 + PACKAGES=/tmp/packages_start.txt 04:13:18 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1116 ']' 04:13:18 + PACKAGES=/tmp/packages_end.txt 04:13:18 + case "${OS_FAMILY}" in 04:13:18 + dpkg -l 04:13:18 + grep '^ii' 04:13:18 + '[' -f /tmp/packages_start.txt ']' 04:13:18 + '[' -f /tmp/packages_end.txt ']' 04:13:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:13:18 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1116 ']' 04:13:18 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1116/archives/ 04:13:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1116/archives/ [Pipeline] echo 04:13:18 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-1116/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:13:18 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:13:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:13:19 . [Pipeline] withDockerContainer 04:13:19 prd-ubuntu20.04-docker-8c-8g-9208 does not seem to be running inside a container 04:13:19 $ 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-1116/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-1116 -v /w/workspace/gexfoundry_device-sdk-go_PR-1116:/w/workspace/gexfoundry_device-sdk-go_PR-1116:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:13:19 $ docker top 61d73ee0552fb48519b153f4d3bc99e058da02ebe77c221e843302c0d77fb252 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:19 + touch /tmp/pre-build-complete [Pipeline] sh 04:13:20 + mkdir -p /var/log/sysstat [Pipeline] sh 04:13:20 + ls /var/log/sa-host 04:13:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:13:20 provisioning config files... 04:13:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1116@tmp/config4477378814521781838tmp [Pipeline] { [Pipeline] echo 04:13:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:13:21 ---> create-netrc.sh [Pipeline] } 04:13:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:13:21 ---> python-tools-install.sh [Pipeline] echo 04:13:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:13:22 ---> sudo-logs.sh 04:13:22 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:13:22 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:13:22 ---> job-cost.sh 04:13:22 lf-activate-venv: SKIPPING 04:13:22 DEBUG: total: 0.4399999976158142 04:13:22 INFO: Retrieving Stack Cost... 04:13:22 INFO: Retrieving Pricing Info for: v3-standard-8 04:13:23 INFO: Archiving Costs [Pipeline] echo 04:13:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:13:23 ---> logs-deploy.sh 04:13:23 lf-activate-venv: SKIPPING 04:13:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1116/1 04:13:23 INFO: archiving workspace using pattern(s): 04:13:24 Archives upload complete. 04:13:24 INFO: archiving logs to Nexus