Pull request #1132 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a10ee31a4230b1d60406550b25f041cc551d2c47+45e6addfd964a0ca7ed47e9673a51a0c53e11884 (a9a34780dc30e916c452fac7f3f2be33a35a351b) 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-ssh17832112930640986529.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-ssh18378860034507695869.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-1132/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-1132/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh991065325211697217.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-1132/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2864102539988183393.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-ssh6548348832652354192.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-1132/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-1132/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5994537870905402851.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-20622 in /w/workspace/gexfoundry_device-sdk-go_PR-1132 [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-1132 # 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 > 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/1132/head:refs/remotes/origin/PR-1132 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit a10ee31a4230b1d60406550b25f041cc551d2c47 Merge succeeded, producing a10ee31a4230b1d60406550b25f041cc551d2c47 Checking out Revision a10ee31a4230b1d60406550b25f041cc551d2c47 (PR-1132) > git config core.sparsecheckout # timeout=10 > git checkout -f a10ee31a4230b1d60406550b25f041cc551d2c47 # 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 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a10ee31a4230b1d60406550b25f041cc551d2c47 # 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 05:31:52 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 05:31:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:31:52 ========================================================= 05:31:52 EdgeX Global Pipelines Version Info 05:31:52 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:31:53 ------------------- 05:31:53 stable info: 05:31:53 ------------------- 05:31:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:31:53 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:31:53 Message: update stable to v1.0.221 05:31:53 ------------------- 05:31:53 experimental info: 05:31:53 ------------------- 05:31:53 Commited By: **** collab-it+edgex@linuxfoundation.org 05:31:53 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:31:53 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:31:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:31:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:31:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1132 [Pipeline] echo 05:31:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1132 [Pipeline] echo 05:31:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1132 [Pipeline] echo 05:31:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a10ee31a4230b1d60406550b25f041cc551d2c47 [Pipeline] echo 05:31:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a10ee31 [Pipeline] echo 05:31:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:31:55 provisioning config files... 05:31:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp/config7433483918880739610tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:31:55 ---> docker-login.sh 05:31:55 nexus3.edgexfoundry.org:10001 05:31:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:55 Configure a credential helper to remove this warning. See 05:31:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:55 05:31:55 Login Succeeded 05:31:56 nexus3.edgexfoundry.org:10002 05:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:56 Configure a credential helper to remove this warning. See 05:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:56 05:31:56 Login Succeeded 05:31:56 nexus3.edgexfoundry.org:10003 05:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:56 Configure a credential helper to remove this warning. See 05:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:56 05:31:56 Login Succeeded 05:31:56 nexus3.edgexfoundry.org:10004 05:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:56 Configure a credential helper to remove this warning. See 05:31:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:56 05:31:56 Login Succeeded 05:31:56 docker.io 05:31:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:31:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:31:57 Configure a credential helper to remove this warning. See 05:31:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:31:57 05:31:57 Login Succeeded 05:31:57 ---> docker-login.sh ends [Pipeline] } 05:31:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:31:57 + git rev-list -1 --merges a10ee31a4230b1d60406550b25f041cc551d2c47~1..a10ee31a4230b1d60406550b25f041cc551d2c47 [Pipeline] echo 05:31:57 -----------> git rev-list -1 --merges a10ee31a4230b1d60406550b25f041cc551d2c47~1..a10ee31a4230b1d60406550b25f041cc551d2c47 a10ee31a4230b1d60406550b25f041cc551d2c47 [false] [Pipeline] sh 05:31:58 + git log --format=format:%s -1 a10ee31a4230b1d60406550b25f041cc551d2c47 [Pipeline] echo 05:31:58 ========================================================= 05:31:58 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:31:58 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:31:58 + git log --format=format:%s -1 a10ee31a4230b1d60406550b25f041cc551d2c47 [Pipeline] echo 05:31:58 [semverPrep] GIT_COMMIT: a10ee31a4230b1d60406550b25f041cc551d2c47, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:31:58 [semverPrep] This is not a build commit. [Pipeline] sh 05:31:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:31:59 + grep -v github /etc/ssh/ssh_known_hosts 05:31:59 + [ -e /tmp/ssh_known_hosts ] 05:31:59 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:31:59 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:31:59 + sudo tee -a /etc/ssh/ssh_known_hosts 05:31:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:31:59 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:31:59 05:31:59 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:31:59 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:31:59 latest: Pulling from edgex-devops/git-semver 05:31:59 a0d0a0d46f8b: Pulling fs layer 05:31:59 3e5f54012d9b: Pulling fs layer 05:31:59 4c7163046ea9: Pulling fs layer 05:31:59 0c2d73faf560: Pulling fs layer 05:31:59 0c2d73faf560: Waiting 05:31:59 3e5f54012d9b: Download complete 05:31:59 a0d0a0d46f8b: Verifying Checksum 05:31:59 a0d0a0d46f8b: Download complete 05:32:00 0c2d73faf560: Verifying Checksum 05:32:00 0c2d73faf560: Download complete 05:32:00 4c7163046ea9: Download complete 05:32:00 a0d0a0d46f8b: Pull complete 05:32:00 3e5f54012d9b: Pull complete 05:32:00 4c7163046ea9: Pull complete 05:32:00 0c2d73faf560: Pull complete 05:32:00 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:32:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:32:00 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:32:00 prd-ubuntu20.04-docker-8c-8g-20622 does not seem to be running inside a container 05:32:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1132 -v /w/workspace/gexfoundry_device-sdk-go_PR-1132:/w/workspace/gexfoundry_device-sdk-go_PR-1132:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:32:01 $ docker top 71cb647f53fb16fa5ad6dad6b1c631cc8749a38aa685a41ceceed1fb7945989d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:32:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:01 [ssh-agent] Looking for ssh-agent implementation... 05:32:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:02 $ docker exec 71cb647f53fb16fa5ad6dad6b1c631cc8749a38aa685a41ceceed1fb7945989d ssh-agent 05:32:02 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXkDBFNe/agent.13 05:32:02 SSH_AGENT_PID=19 05:32:02 Running ssh-add (command line suppressed) 05:32:02 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp/private_key_7873436523608742469.key (/w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp/private_key_7873436523608742469.key) 05:32:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:02 + git tag --points-at HEAD [Pipeline] } 05:32:02 $ docker exec --env ******** --env ******** 71cb647f53fb16fa5ad6dad6b1c631cc8749a38aa685a41ceceed1fb7945989d ssh-agent -k 05:32:02 unset SSH_AUTH_SOCK; 05:32:02 unset SSH_AGENT_PID; 05:32:02 echo Agent pid 19 killed; 05:32:02 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:32:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:32:02 [ssh-agent] Looking for ssh-agent implementation... 05:32:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:32:03 $ docker exec 71cb647f53fb16fa5ad6dad6b1c631cc8749a38aa685a41ceceed1fb7945989d ssh-agent 05:32:03 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXjcKLne/agent.53 05:32:03 SSH_AGENT_PID=60 05:32:03 Running ssh-add (command line suppressed) 05:32:03 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp/private_key_1322195959519583908.key (/w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp/private_key_1322195959519583908.key) 05:32:03 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:32:03 + git semver init 05:32:03 # -> Open(): unable to determine branch for HEAD 05:32:03 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1132/.git 05:32:03 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1132 05:32:03 # $SEMVER_REMOTE_NAME = origin 05:32:03 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:32:03 # $SEMVER_USER_NAME = edgex-jenkins 05:32:03 # $SEMVER_BRANCH = PR-1132 05:32:03 # $SEMVER_TEMP = /tmp/semver-208808658 05:32:03 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:32:05 # '/tmp/semver-208808658' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1132/.semver' 05:32:05 # -> Force: false 05:32:05 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1132/.semver [Pipeline] } 05:32:05 $ docker exec --env ******** --env ******** 71cb647f53fb16fa5ad6dad6b1c631cc8749a38aa685a41ceceed1fb7945989d ssh-agent -k 05:32:05 unset SSH_AUTH_SOCK; 05:32:05 unset SSH_AGENT_PID; 05:32:05 echo Agent pid 60 killed; 05:32:05 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:32:05 + git semver [Pipeline] } 05:32:05 $ docker stop --time=1 71cb647f53fb16fa5ad6dad6b1c631cc8749a38aa685a41ceceed1fb7945989d 05:32:07 $ docker rm -f 71cb647f53fb16fa5ad6dad6b1c631cc8749a38aa685a41ceceed1fb7945989d [Pipeline] // withDockerContainer [Pipeline] sh 05:32:07 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:32:07 Stashed 1 file(s) [Pipeline] echo 05:32:07 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:32:08 provisioning config files... 05:32:08 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp/config137405155542738406tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:32:08 ---> docker-login.sh 05:32:08 nexus3.edgexfoundry.org:10001 05:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:08 Configure a credential helper to remove this warning. See 05:32:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:08 05:32:08 Login Succeeded 05:32:08 nexus3.edgexfoundry.org:10002 05:32:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:09 Configure a credential helper to remove this warning. See 05:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:09 05:32:09 Login Succeeded 05:32:09 nexus3.edgexfoundry.org:10003 05:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:09 Configure a credential helper to remove this warning. See 05:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:09 05:32:09 Login Succeeded 05:32:09 nexus3.edgexfoundry.org:10004 05:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:09 Configure a credential helper to remove this warning. See 05:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:09 05:32:09 Login Succeeded 05:32:09 docker.io 05:32:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:32:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:32:09 Configure a credential helper to remove this warning. See 05:32:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:32:09 05:32:09 Login Succeeded 05:32:09 ---> docker-login.sh ends [Pipeline] } 05:32:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:32:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:32:09 ========================================================= 05:32:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:32:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:32:10 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:32:10 Sending build context to Docker daemon 9.581MB 05:32:10 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:32:10 Step 2/11 : FROM ${BASE} AS builder 05:32:10 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:32:10 59bf1c3509f3: Pulling fs layer 05:32:10 666ba61612fd: Pulling fs layer 05:32:10 8ed8ca486205: Pulling fs layer 05:32:10 4fe6c5a15a65: Pulling fs layer 05:32:10 22a0e8bec74d: Pulling fs layer 05:32:10 640e595b4fbd: Pulling fs layer 05:32:10 4fe6c5a15a65: Waiting 05:32:10 22a0e8bec74d: Waiting 05:32:10 763cafe07f6e: Pulling fs layer 05:32:10 640e595b4fbd: Waiting 05:32:10 0c0b528cf693: Pulling fs layer 05:32:10 10935f4eaf8b: Pulling fs layer 05:32:10 763cafe07f6e: Waiting 05:32:10 0c0b528cf693: Waiting 05:32:10 10935f4eaf8b: Waiting 05:32:10 8ed8ca486205: Verifying Checksum 05:32:10 8ed8ca486205: Download complete 05:32:10 666ba61612fd: Download complete 05:32:10 22a0e8bec74d: Verifying Checksum 05:32:10 22a0e8bec74d: Download complete 05:32:10 640e595b4fbd: Verifying Checksum 05:32:10 640e595b4fbd: Download complete 05:32:10 59bf1c3509f3: Verifying Checksum 05:32:10 59bf1c3509f3: Download complete 05:32:10 763cafe07f6e: Download complete 05:32:10 0c0b528cf693: Verifying Checksum 05:32:10 0c0b528cf693: Download complete 05:32:10 59bf1c3509f3: Pull complete 05:32:10 666ba61612fd: Pull complete 05:32:10 8ed8ca486205: Pull complete 05:32:11 10935f4eaf8b: Verifying Checksum 05:32:11 10935f4eaf8b: Download complete 05:32:11 4fe6c5a15a65: Verifying Checksum 05:32:14 4fe6c5a15a65: Pull complete 05:32:14 22a0e8bec74d: Pull complete 05:32:15 640e595b4fbd: Pull complete 05:32:15 763cafe07f6e: Pull complete 05:32:15 0c0b528cf693: Pull complete 05:32:17 10935f4eaf8b: Pull complete 05:32:17 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:32:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:32:17 ---> 99d49a6021b9 05:32:17 Step 3/11 : ARG MAKE=make build 05:32:19 ---> Running in 0cf4d194a48f 05:32:19 Removing intermediate container 0cf4d194a48f 05:32:19 ---> d21c3ec7bf4e 05:32:19 Step 4/11 : WORKDIR /device-sdk-go 05:32:19 ---> Running in e2482f905f23 05:32:19 Removing intermediate container e2482f905f23 05:32:19 ---> 6af64cc0c228 05:32:19 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:32:19 ---> Running in 1204640d463e 05:32:19 Removing intermediate container 1204640d463e 05:32:19 ---> 6bbae8f72e51 05:32:19 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:32:19 ---> Running in ade0e9fa2dd1 05:32:19 Removing intermediate container ade0e9fa2dd1 05:32:19 ---> 763d4bae1e8a 05:32:19 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:32:19 ---> Running in a144b5e94eef 05:32:19 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:32:20 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:32:21 OK: 221 MiB in 52 packages 05:32:21 Removing intermediate container a144b5e94eef 05:32:21 ---> f21620127638 05:32:21 Step 8/11 : COPY go.mod vendor* ./ 05:32:21 ---> cc392499d6e0 05:32:21 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:32:21 ---> Running in a9fb133dd5ef 05:32:23 Still waiting to schedule task 05:32:23 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 05:32:36 Removing intermediate container a9fb133dd5ef 05:32:36 ---> 3b034cffe7fd 05:32:36 Step 10/11 : COPY . . 05:32:36 ---> f06f2951c870 05:32:36 Step 11/11 : RUN ${MAKE} 05:32:36 ---> Running in ecce7f3b7d02 05:32:36 noop 05:32:37 Removing intermediate container ecce7f3b7d02 05:32:37 ---> 49ec0166fba7 05:32:37 Successfully built 49ec0166fba7 05:32:37 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:32:37 + docker inspect -f . ci-base-image-x86_64 05:32:37 . [Pipeline] withDockerContainer 05:32:37 prd-ubuntu20.04-docker-8c-8g-20622 does not seem to be running inside a container 05:32:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1132 -v /w/workspace/gexfoundry_device-sdk-go_PR-1132:/w/workspace/gexfoundry_device-sdk-go_PR-1132:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1132@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-x86_64 cat 05:32:38 $ docker top 6199bad7f6d5d62b85cbc3b556224da50d3c02bc8580b6cba32084ec374c4e51 -eo pid,comm [Pipeline] { [Pipeline] sh 05:32:38 + go version 05:32:38 go version go1.17.6 linux/amd64 [Pipeline] } 05:32:38 $ docker stop --time=1 6199bad7f6d5d62b85cbc3b556224da50d3c02bc8580b6cba32084ec374c4e51 05:32:39 $ docker rm -f 6199bad7f6d5d62b85cbc3b556224da50d3c02bc8580b6cba32084ec374c4e51 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:32:40 + docker inspect -f . ci-base-image-x86_64 05:32:40 . [Pipeline] withDockerContainer 05:32:40 prd-ubuntu20.04-docker-8c-8g-20622 does not seem to be running inside a container 05:32:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1132 -v /w/workspace/gexfoundry_device-sdk-go_PR-1132:/w/workspace/gexfoundry_device-sdk-go_PR-1132:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1132@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-x86_64 cat 05:32:41 $ docker top 3c86a6ff38918e601142339aa0a9881bd90120366874b6308984ca89b6111e16 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:32:41 + make test 05:32:41 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:32:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:32:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.072s coverage: 23.3% of statements 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:32:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements 05:32:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.065s coverage: 78.9% of statements 05:32:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.065s coverage: 10.8% of statements 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:32:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.088s coverage: 33.2% of statements 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:32:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 86.1% of statements 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:32:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.104s coverage: 57.4% of statements 05:32:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.810s coverage: 89.2% of statements 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:32:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.8% of statements 05:32:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:33:14 GO111MODULE=on go vet ./... 05:33:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:33:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:33:16 ./bin/test-attribution-txt.sh [Pipeline] echo 05:33:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:33:17 $ docker stop --time=1 3c86a6ff38918e601142339aa0a9881bd90120366874b6308984ca89b6111e16 05:33:19 $ docker rm -f 3c86a6ff38918e601142339aa0a9881bd90120366874b6308984ca89b6111e16 [Pipeline] // withDockerContainer [Pipeline] sh 05:33:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:33:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:33:21 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:33:21 + ls -al . 05:33:21 total 316 05:33:21 drwxrwxr-x 11 jenkins jenkins 4096 Apr 12 05:33 . 05:33:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 05:31 .. 05:33:21 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 05:31 .dockerignore 05:33:21 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 05:31 .git 05:33:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 05:31 .github 05:33:21 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 05:31 .gitignore 05:33:21 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 05:31 .golangci.yml 05:33:21 drwx------ 3 jenkins jenkins 4096 Apr 12 05:32 .semver 05:33:21 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 05:31 CHANGELOG.md 05:33:21 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 05:31 GOVERNANCE.md 05:33:21 -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 05:31 Jenkinsfile 05:33:21 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 05:31 LICENSE 05:33:21 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 05:31 Makefile 05:33:21 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 05:31 OWNERS.md 05:33:21 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 05:31 README.md 05:33:21 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 05:32 VERSION 05:33:21 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 05:31 bin 05:33:21 -rw-r--r-- 1 jenkins jenkins 129061 Apr 12 05:32 coverage.out 05:33:21 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 05:31 example 05:33:21 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 05:31 go.mod 05:33:21 -rw-rw-r-- 1 jenkins jenkins 53784 Apr 12 05:31 go.sum 05:33:21 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 05:31 internal 05:33:21 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 05:31 openapi 05:33:21 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 05:31 pkg 05:33:21 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 05:31 snap 05:33:21 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 05:31 version.go [Pipeline] isUnix [Pipeline] sh 05:33:22 + 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=a10ee31a4230b1d60406550b25f041cc551d2c47 --label arch=amd64 --label version=0.0.0 . 05:33:22 Sending build context to Docker daemon 9.711MB 05:33:22 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:33:22 Step 2/25 : FROM ${BASE} AS builder 05:33:22 ---> 49ec0166fba7 05:33:22 Step 3/25 : ARG MAKE=make build 05:33:22 ---> Running in 32a6792eaa70 05:33:22 Removing intermediate container 32a6792eaa70 05:33:22 ---> e644a2ea7506 05:33:22 Step 4/25 : WORKDIR /device-sdk-go 05:33:22 ---> Running in 9dded5dac618 05:33:22 Removing intermediate container 9dded5dac618 05:33:22 ---> 914d6ae09436 05:33:22 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:33:22 ---> Running in 84c4ada2d685 05:33:22 Removing intermediate container 84c4ada2d685 05:33:22 ---> 39101930979b 05:33:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:33:22 ---> Running in 0bed4b755f2f 05:33:23 Removing intermediate container 0bed4b755f2f 05:33:23 ---> 5c9e09e8f4bc 05:33:23 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:33:23 ---> Running in 8f47a3dafecf 05:33:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:33:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:33:24 OK: 221 MiB in 52 packages 05:33:24 Removing intermediate container 8f47a3dafecf 05:33:24 ---> 02e9967e4ae4 05:33:24 Step 8/25 : COPY go.mod vendor* ./ 05:33:25 ---> d27631f94bb9 05:33:25 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:33:25 ---> Running in 2937b5f4fdae 05:33:25 Removing intermediate container 2937b5f4fdae 05:33:25 ---> bde78c40d224 05:33:25 Step 10/25 : COPY . . 05:33:26 ---> 382f84827acc 05:33:26 Step 11/25 : RUN ${MAKE} 05:33:26 ---> Running in fa8c75434539 05:33:26 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:33:44 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:33:44 Removing intermediate container fa8c75434539 05:33:44 ---> 8f8f228775a3 05:33:44 Step 12/25 : FROM alpine:3.14 05:33:45 3.14: Pulling from library/alpine 05:33:45 8663204ce13b: Pulling fs layer 05:33:45 8663204ce13b: Verifying Checksum 05:33:45 8663204ce13b: Download complete 05:33:45 8663204ce13b: Pull complete 05:33:45 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:33:45 Status: Downloaded newer image for alpine:3.14 05:33:45 ---> e04c818066af 05:33:45 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:33:45 ---> Running in bc8b1a2bbed5 05:33:46 Removing intermediate container bc8b1a2bbed5 05:33:46 ---> e13693fff45d 05:33:46 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:33:46 ---> Running in ea52b97bc54c 05:33:46 Removing intermediate container ea52b97bc54c 05:33:46 ---> d3d3d1ab689b 05:33:46 Step 15/25 : RUN apk add --update --no-cache zeromq 05:33:46 ---> Running in 1c4a6d39cfe2 05:33:46 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:33:47 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:33:48 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:33:48 (2/5) Installing libsodium (1.0.18-r0) 05:33:48 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:33:48 (4/5) Installing libzmq (4.3.4-r0) 05:33:48 (5/5) Installing zeromq (4.3.4-r0) 05:33:48 Executing busybox-1.33.1-r7.trigger 05:33:48 OK: 8 MiB in 19 packages 05:33:48 Removing intermediate container 1c4a6d39cfe2 05:33:48 ---> 1737b120984c 05:33:48 Step 16/25 : WORKDIR / 05:33:48 ---> Running in 84fdb0143a38 05:33:48 Removing intermediate container 84fdb0143a38 05:33:48 ---> 4cf673e859b0 05:33:48 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:33:49 ---> 615aedba70cb 05:33:49 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:33:49 ---> db58df09ccec 05:33:49 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:33:49 ---> 98b3fda398f6 05:33:49 Step 20/25 : EXPOSE 59999 05:33:50 ---> Running in a8fee05e52ba 05:33:50 Removing intermediate container a8fee05e52ba 05:33:50 ---> f9672d52eabb 05:33:50 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:33:50 ---> Running in 69edcca42847 05:33:50 Removing intermediate container 69edcca42847 05:33:50 ---> 5992a052672a 05:33:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:33:50 ---> Running in a84265669191 05:33:50 Removing intermediate container a84265669191 05:33:50 ---> 8806b818f972 05:33:50 Step 23/25 : LABEL arch=amd64 05:33:50 ---> Running in d0fccc0cf60e 05:33:50 Removing intermediate container d0fccc0cf60e 05:33:50 ---> 9b5026193086 05:33:50 Step 24/25 : LABEL git_sha=a10ee31a4230b1d60406550b25f041cc551d2c47 05:33:50 ---> Running in 3b9e94e4bbe0 05:33:50 Removing intermediate container 3b9e94e4bbe0 05:33:50 ---> f5e86bf8f2c1 05:33:50 Step 25/25 : LABEL version=0.0.0 05:33:50 ---> Running in 78d532da1629 05:33:50 Removing intermediate container 78d532da1629 05:33:50 ---> 370422c9953f 05:33:50 [Warning] One or more build-args [ARCH] were not consumed 05:33:50 Successfully built 370422c9953f 05:33:50 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:33:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:51 05:33:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:33:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:51 latest: Pulling from edgex-lftools-log-publisher 05:33:51 5eb5b503b376: Pulling fs layer 05:33:51 5c69ac0246d0: Pulling fs layer 05:33:51 ec43610c2a17: Pulling fs layer 05:33:51 3a2ae6a8a46f: Pulling fs layer 05:33:51 33b1e0a273af: Pulling fs layer 05:33:51 5d3b04190fa2: Pulling fs layer 05:33:51 2f39f015ded8: Pulling fs layer 05:33:51 3a2ae6a8a46f: Waiting 05:33:51 33b1e0a273af: Waiting 05:33:51 5d3b04190fa2: Waiting 05:33:51 2f39f015ded8: Waiting 05:33:51 5c69ac0246d0: Download complete 05:33:51 3a2ae6a8a46f: Verifying Checksum 05:33:51 3a2ae6a8a46f: Download complete 05:33:51 33b1e0a273af: Verifying Checksum 05:33:51 33b1e0a273af: Download complete 05:33:51 5d3b04190fa2: Verifying Checksum 05:33:51 5d3b04190fa2: Download complete 05:33:51 ec43610c2a17: Verifying Checksum 05:33:51 ec43610c2a17: Download complete 05:33:51 5eb5b503b376: Verifying Checksum 05:33:51 5eb5b503b376: Download complete 05:33:52 2f39f015ded8: Verifying Checksum 05:33:52 2f39f015ded8: Download complete 05:33:53 5eb5b503b376: Pull complete 05:33:53 5c69ac0246d0: Pull complete 05:33:53 ec43610c2a17: Pull complete 05:33:53 3a2ae6a8a46f: Pull complete 05:33:53 33b1e0a273af: Pull complete 05:33:53 5d3b04190fa2: Pull complete 05:33:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20624 in /w/workspace/gexfoundry_device-sdk-go_PR-1132 [Pipeline] { [Pipeline] ws 05:33:56 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 05:33:56 The recommended git tool is: git 05:33:57 2f39f015ded8: Pull complete 05:33:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:33:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:33:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:33:58 prd-ubuntu20.04-docker-8c-8g-20622 does not seem to be running inside a container 05:33:58 $ 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-1132 -v /w/workspace/gexfoundry_device-sdk-go_PR-1132:/w/workspace/gexfoundry_device-sdk-go_PR-1132:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1132@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:latest cat 05:33:59 $ docker top 59e9688a99883e42f6d9567d554d54201d36e9cea46fa94dad2e6c44b49598a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:00 ---> job-cost.sh 05:34:00 lf-activate-venv: SKIPPING 05:34:00 INFO: No Stack... 05:34:00 INFO: Retrieving Pricing Info for: v3-standard-8 05:34:00 INFO: Archiving Costs [Pipeline] sh 05:34:01 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1132/archives/cost.csv 05:34:01 + cut -d, -f6 [Pipeline] lock 05:34:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1132-1-stack-cost] 05:34:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1132-1-stack-cost] did not exist. Created. 05:34:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1132-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:34:01 + echo total: 0.2199999988079071 [Pipeline] stash 05:34:01 Stashed 1 file(s) [Pipeline] } 05:34:01 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1132-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:34:01 $ docker stop --time=1 59e9688a99883e42f6d9567d554d54201d36e9cea46fa94dad2e6c44b49598a0 05:34:03 $ docker rm -f 59e9688a99883e42f6d9567d554d54201d36e9cea46fa94dad2e6c44b49598a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:34:03 using credential edgex-jenkins-ssh 05:34:03 Cloning the remote Git repository 05:34:04 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:34:04 > git init /w/workspace/device-sdk-go/1 # timeout=10 05:34:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:34:04 > git --version # timeout=10 05:34:04 > git --version # 'git version 2.25.1' 05:34:04 using GIT_SSH to set credentials SSH Credentials for GitHub 05:34:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:34:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:34:06 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:34:06 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:34:06 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:34:06 using GIT_SSH to set credentials SSH Credentials for GitHub 05:34:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1132/head:refs/remotes/origin/PR-1132 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:34:06 Merging remotes/origin/main commit 45e6addfd964a0ca7ed47e9673a51a0c53e11884 into PR head commit a10ee31a4230b1d60406550b25f041cc551d2c47 05:34:07 Merge succeeded, producing a10ee31a4230b1d60406550b25f041cc551d2c47 05:34:07 Checking out Revision a10ee31a4230b1d60406550b25f041cc551d2c47 (PR-1132) 05:34:07 > git config core.sparsecheckout # timeout=10 05:34:07 > git checkout -f a10ee31a4230b1d60406550b25f041cc551d2c47 # timeout=10 05:34:07 > git remote # timeout=10 05:34:07 > git config --get remote.origin.url # timeout=10 05:34:07 using GIT_SSH to set credentials SSH Credentials for GitHub 05:34:07 > git merge 45e6addfd964a0ca7ed47e9673a51a0c53e11884 # timeout=10 05:34:07 > git rev-parse HEAD^{commit} # timeout=10 05:34:07 > git config core.sparsecheckout # timeout=10 05:34:07 > git checkout -f a10ee31a4230b1d60406550b25f041cc551d2c47 # timeout=10 05:34:11 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 05:34:11 > git --version # timeout=10 05:34:11 > git --version # 'git version 2.25.1' 05:34:11 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:34:13 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:34:13 % Total % Received % Xferd Average Speed Time Time Time Current 05:34:13 Dload Upload Total Spent Left Speed 05:34:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 45903 0 --:--:-- --:--:-- --:--:-- 45725 [Pipeline] sh 05:34:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:34:14 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:34:14 + sudo tee /etc/docker/daemon.new 05:34:14 { 05:34:14 "registry-mirrors": [ 05:34:14 "https://nexus3.edgexfoundry.org:10001" 05:34:14 ], 05:34:14 "bip": "10.250.0.254/24", 05:34:14 "hosts": [ 05:34:14 "tcp://0.0.0.0:5555", 05:34:14 "unix:///var/run/docker.sock" 05:34:14 ], 05:34:14 "mtu": 1458, 05:34:14 "selinux-enabled": true, 05:34:14 "seccomp-profile": "/etc/docker/seccomp.json" 05:34:14 } [Pipeline] sh 05:34:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:34:15 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:34:33 provisioning config files... 05:34:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6987345222977131231tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:34:34 ---> docker-login.sh 05:34:34 nexus3.edgexfoundry.org:10001 05:34:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:34 Configure a credential helper to remove this warning. See 05:34:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:34 05:34:34 Login Succeeded 05:34:34 nexus3.edgexfoundry.org:10002 05:34:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:35 Configure a credential helper to remove this warning. See 05:34:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:35 05:34:35 Login Succeeded 05:34:35 nexus3.edgexfoundry.org:10003 05:34:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:35 Configure a credential helper to remove this warning. See 05:34:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:35 05:34:35 Login Succeeded 05:34:35 nexus3.edgexfoundry.org:10004 05:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:36 Configure a credential helper to remove this warning. See 05:34:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:36 05:34:36 Login Succeeded 05:34:36 docker.io 05:34:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:34:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:34:37 Configure a credential helper to remove this warning. See 05:34:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:34:37 05:34:37 Login Succeeded 05:34:37 ---> docker-login.sh ends [Pipeline] } 05:34:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:34:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:34:37 ========================================================= 05:34:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:34:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:34:38 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 05:34:38 Sending build context to Docker daemon 5.177MB 05:34:38 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:34:38 Step 2/11 : FROM ${BASE} AS builder 05:34:38 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:34:38 9b3977197b4f: Pulling fs layer 05:34:38 1a89e8eeedd5: Pulling fs layer 05:34:38 94645a83ff95: Pulling fs layer 05:34:38 3f3a8bcf1eab: Pulling fs layer 05:34:38 0c92f367c5e7: Pulling fs layer 05:34:38 f7c0051592d6: Pulling fs layer 05:34:38 a227ed2f7395: Pulling fs layer 05:34:38 7b1c46037f91: Pulling fs layer 05:34:38 f7c0051592d6: Waiting 05:34:38 a227ed2f7395: Waiting 05:34:38 3f3a8bcf1eab: Waiting 05:34:38 0c92f367c5e7: Waiting 05:34:38 7b1c46037f91: Waiting 05:34:38 94645a83ff95: Verifying Checksum 05:34:38 94645a83ff95: Download complete 05:34:38 1a89e8eeedd5: Verifying Checksum 05:34:38 1a89e8eeedd5: Download complete 05:34:38 0c92f367c5e7: Verifying Checksum 05:34:38 0c92f367c5e7: Download complete 05:34:38 f7c0051592d6: Verifying Checksum 05:34:38 f7c0051592d6: Download complete 05:34:38 9b3977197b4f: Verifying Checksum 05:34:38 a227ed2f7395: Verifying Checksum 05:34:38 a227ed2f7395: Download complete 05:34:39 9b3977197b4f: Pull complete 05:34:40 1a89e8eeedd5: Pull complete 05:34:40 94645a83ff95: Pull complete 05:34:40 7b1c46037f91: Verifying Checksum 05:34:40 7b1c46037f91: Download complete 05:34:41 3f3a8bcf1eab: Verifying Checksum 05:34:41 3f3a8bcf1eab: Download complete 05:34:53 3f3a8bcf1eab: Pull complete 05:34:53 0c92f367c5e7: Pull complete 05:34:53 f7c0051592d6: Pull complete 05:34:53 a227ed2f7395: Pull complete 05:35:00 7b1c46037f91: Pull complete 05:35:00 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:35:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:35:00 ---> f79e39bc4007 05:35:00 Step 3/11 : ARG MAKE=make build 05:35:01 ---> Running in d5952d004722 05:35:01 Removing intermediate container d5952d004722 05:35:01 ---> 0de14d2daa01 05:35:01 Step 4/11 : WORKDIR /device-sdk-go 05:35:01 ---> Running in 0ca03123ecbe 05:35:01 Removing intermediate container 0ca03123ecbe 05:35:01 ---> 5672927125de 05:35:01 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:35:02 ---> Running in acaf34435b59 05:35:02 Removing intermediate container acaf34435b59 05:35:02 ---> a3deef9b5e0d 05:35:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:35:02 ---> Running in 6f66398d67e9 05:35:04 Removing intermediate container 6f66398d67e9 05:35:04 ---> 229498cab8a9 05:35:04 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:35:04 ---> Running in 0b42ba11c525 05:35:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:35:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:35:06 OK: 220 MiB in 52 packages 05:35:07 Removing intermediate container 0b42ba11c525 05:35:07 ---> 72f2bf4a0389 05:35:07 Step 8/11 : COPY go.mod vendor* ./ 05:35:07 ---> dc76ed0ff7de 05:35:07 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:35:07 ---> Running in a250e88d9c08 05:35:54 Removing intermediate container a250e88d9c08 05:35:54 ---> b33f175140e1 05:35:54 Step 10/11 : COPY . . 05:35:54 ---> b594a75fe10b 05:35:54 Step 11/11 : RUN ${MAKE} 05:35:54 ---> Running in 79d9cf21a95e 05:35:55 noop 05:35:56 Removing intermediate container 79d9cf21a95e 05:35:56 ---> 8e7f9207067a 05:35:56 Successfully built 8e7f9207067a 05:35:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:35:56 + docker inspect -f . ci-base-image-arm64 05:35:56 . [Pipeline] withDockerContainer 05:35:56 prd-ubuntu20.04-docker-arm64-4c-16g-20624 does not seem to be running inside a container 05:35:56 $ 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 05:35:58 $ docker top 6f1ddb445105faff617f39a85089cebb7393e606b972741d82e1ec145d579c43 -eo pid,comm [Pipeline] { [Pipeline] sh 05:35:59 + go version 05:35:59 go version go1.17.6 linux/arm64 [Pipeline] } 05:35:59 $ docker stop --time=1 6f1ddb445105faff617f39a85089cebb7393e606b972741d82e1ec145d579c43 05:36:00 $ docker rm -f 6f1ddb445105faff617f39a85089cebb7393e606b972741d82e1ec145d579c43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:36:01 + docker inspect -f . ci-base-image-arm64 05:36:01 . [Pipeline] withDockerContainer 05:36:01 prd-ubuntu20.04-docker-arm64-4c-16g-20624 does not seem to be running inside a container 05:36:02 $ 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 05:36:03 $ docker top ea7a052e89c2f44762a9cbcdb0abae35cce9098f235a698550107eb16ca3360a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:36:04 + make test 05:36:04 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 05:36:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:38:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:38:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:38:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:38:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.394s coverage: 23.3% of statements 05:38:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:38:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.265s coverage: 27.6% of statements 05:38:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.305s coverage: 78.9% of statements 05:38:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.260s coverage: 10.8% of statements 05:38:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:38:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:38:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:38:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.399s coverage: 33.2% of statements 05:38:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:38:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.306s coverage: 86.1% of statements 05:38:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:38:33 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:38:33 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.477s coverage: 57.4% of statements 05:38:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.924s coverage: 89.2% of statements 05:38:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:38:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.263s coverage: 4.8% of statements 05:38:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:38:39 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:38:39 GO111MODULE=on go vet ./... 05:40:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:40:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:40:16 ./bin/test-attribution-txt.sh [Pipeline] echo 05:40:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:40:16 $ docker stop --time=1 ea7a052e89c2f44762a9cbcdb0abae35cce9098f235a698550107eb16ca3360a 05:40:17 $ docker rm -f ea7a052e89c2f44762a9cbcdb0abae35cce9098f235a698550107eb16ca3360a [Pipeline] // withDockerContainer [Pipeline] sh 05:40:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:40:19 Warning: overwriting stash ‘coverage-report’ 05:40:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:40:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:40:20 + ls -al . 05:40:20 total 312 05:40:20 drwxrwxr-x 10 jenkins jenkins 4096 Apr 12 05:40 . 05:40:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 05:34 .. 05:40:20 -rw-rw-r-- 1 jenkins jenkins 140 Apr 12 05:34 .dockerignore 05:40:20 drwxrwxr-x 8 jenkins jenkins 4096 Apr 12 05:34 .git 05:40:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 05:34 .github 05:40:20 -rw-rw-r-- 1 jenkins jenkins 131 Apr 12 05:34 .gitignore 05:40:20 -rw-rw-r-- 1 jenkins jenkins 42 Apr 12 05:34 .golangci.yml 05:40:20 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 12 05:34 CHANGELOG.md 05:40:20 -rw-rw-r-- 1 jenkins jenkins 677 Apr 12 05:34 GOVERNANCE.md 05:40:20 -rw-rw-r-- 1 jenkins jenkins 880 Apr 12 05:34 Jenkinsfile 05:40:20 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 12 05:34 LICENSE 05:40:20 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 12 05:34 Makefile 05:40:20 -rw-rw-r-- 1 jenkins jenkins 619 Apr 12 05:34 OWNERS.md 05:40:20 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 12 05:34 README.md 05:40:20 -rw-rw-r-- 1 jenkins jenkins 5 Apr 12 05:32 VERSION 05:40:20 drwxrwxr-x 2 jenkins jenkins 4096 Apr 12 05:34 bin 05:40:20 -rw-r--r-- 1 jenkins jenkins 129061 Apr 12 05:38 coverage.out 05:40:20 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 05:34 example 05:40:20 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 12 05:34 go.mod 05:40:20 -rw-rw-r-- 1 jenkins jenkins 53784 Apr 12 05:34 go.sum 05:40:20 drwxrwxr-x 15 jenkins jenkins 4096 Apr 12 05:34 internal 05:40:20 drwxrwxr-x 3 jenkins jenkins 4096 Apr 12 05:34 openapi 05:40:20 drwxrwxr-x 5 jenkins jenkins 4096 Apr 12 05:34 pkg 05:40:20 drwxrwxr-x 4 jenkins jenkins 4096 Apr 12 05:34 snap 05:40:20 -rw-rw-r-- 1 jenkins jenkins 222 Apr 12 05:34 version.go [Pipeline] isUnix [Pipeline] sh 05:40:21 + 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=a10ee31a4230b1d60406550b25f041cc551d2c47 --label arch=arm64 --label version=0.0.0 . 05:40:21 Sending build context to Docker daemon 5.307MB 05:40:21 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:40:21 Step 2/25 : FROM ${BASE} AS builder 05:40:21 ---> 8e7f9207067a 05:40:21 Step 3/25 : ARG MAKE=make build 05:40:21 ---> Running in efaeaa388b49 05:40:22 Removing intermediate container efaeaa388b49 05:40:22 ---> 86ba80b9fc29 05:40:22 Step 4/25 : WORKDIR /device-sdk-go 05:40:22 ---> Running in f2238e48a25e 05:40:22 Removing intermediate container f2238e48a25e 05:40:22 ---> e7625c26258a 05:40:22 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:40:22 ---> Running in 522fd9d4f963 05:40:22 Removing intermediate container 522fd9d4f963 05:40:22 ---> b4ba720000e1 05:40:22 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:40:22 ---> Running in 07152ff9d086 05:40:24 Removing intermediate container 07152ff9d086 05:40:24 ---> fca1e1712549 05:40:24 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:40:24 ---> Running in ea4b73ae13b6 05:40:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:40:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:40:27 OK: 220 MiB in 52 packages 05:40:28 Removing intermediate container ea4b73ae13b6 05:40:28 ---> f2871b0eb87f 05:40:28 Step 8/25 : COPY go.mod vendor* ./ 05:40:28 ---> 41317e988f78 05:40:28 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:40:28 ---> Running in bd45a215bda0 05:40:30 Removing intermediate container bd45a215bda0 05:40:30 ---> 07756cd3727b 05:40:30 Step 10/25 : COPY . . 05:40:31 ---> f85db2d4cf72 05:40:31 Step 11/25 : RUN ${MAKE} 05:40:31 ---> Running in 92dd5cfac7bb 05:40:32 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:42:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:42:40 Removing intermediate container 92dd5cfac7bb 05:42:40 ---> 9865726bebbc 05:42:40 Step 12/25 : FROM alpine:3.14 05:42:41 3.14: Pulling from library/alpine 05:42:41 455c02918c45: Pulling fs layer 05:42:41 455c02918c45: Verifying Checksum 05:42:41 455c02918c45: Download complete 05:42:42 455c02918c45: Pull complete 05:42:42 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 05:42:42 Status: Downloaded newer image for alpine:3.14 05:42:42 ---> ac73e934f311 05:42:42 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:42:42 ---> Running in 35dc1f53a35f 05:42:42 Removing intermediate container 35dc1f53a35f 05:42:42 ---> 41ce8cbe976b 05:42:42 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:42:42 ---> Running in 83d20fdf4b90 05:42:44 Removing intermediate container 83d20fdf4b90 05:42:44 ---> 8f9549aa2a51 05:42:44 Step 15/25 : RUN apk add --update --no-cache zeromq 05:42:44 ---> Running in 14b3de70b2f9 05:42:45 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:42:46 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:42:47 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:42:47 (2/5) Installing libsodium (1.0.18-r0) 05:42:47 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:42:47 (4/5) Installing libzmq (4.3.4-r0) 05:42:47 (5/5) Installing zeromq (4.3.4-r0) 05:42:47 Executing busybox-1.33.1-r7.trigger 05:42:47 OK: 8 MiB in 19 packages 05:42:48 Removing intermediate container 14b3de70b2f9 05:42:48 ---> 7ff0e5187b51 05:42:48 Step 16/25 : WORKDIR / 05:42:48 ---> Running in f4a3f5e100b3 05:42:49 Removing intermediate container f4a3f5e100b3 05:42:49 ---> 0a6bb2223e65 05:42:49 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:42:49 ---> 9c85ce9f270f 05:42:49 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:42:51 ---> 29cfc3a2d496 05:42:51 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:42:51 ---> c93e681d4d61 05:42:51 Step 20/25 : EXPOSE 59999 05:42:51 ---> Running in b9b337bc15f0 05:42:52 Removing intermediate container b9b337bc15f0 05:42:52 ---> 3af852ec8a4b 05:42:52 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:42:52 ---> Running in 85be3a38b6fe 05:42:52 Removing intermediate container 85be3a38b6fe 05:42:52 ---> 2150992c4dad 05:42:52 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:42:52 ---> Running in a108a124a2a6 05:42:53 Removing intermediate container a108a124a2a6 05:42:53 ---> c7faa00ff661 05:42:53 Step 23/25 : LABEL arch=arm64 05:42:53 ---> Running in ce9ec1c9d498 05:42:53 Removing intermediate container ce9ec1c9d498 05:42:53 ---> 63b53a5f290f 05:42:53 Step 24/25 : LABEL git_sha=a10ee31a4230b1d60406550b25f041cc551d2c47 05:42:53 ---> Running in 973a45bc7ea3 05:42:53 Removing intermediate container 973a45bc7ea3 05:42:53 ---> 02359d3015a9 05:42:53 Step 25/25 : LABEL version=0.0.0 05:42:53 ---> Running in 143e81c5d774 05:42:54 Removing intermediate container 143e81c5d774 05:42:54 ---> 473ab5e1011d 05:42:54 [Warning] One or more build-args [ARCH] were not consumed 05:42:54 Successfully built 473ab5e1011d 05:42:54 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:42:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:42:54 05:42:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:42:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:42:55 arm64: Pulling from edgex-lftools-log-publisher 05:42:55 8998bd30e6a1: Pulling fs layer 05:42:55 04944245beec: Pulling fs layer 05:42:55 699f458cf7ca: Pulling fs layer 05:42:55 765212b225bb: Pulling fs layer 05:42:55 f23df028b6ca: Pulling fs layer 05:42:55 d65c8cfc05b1: Pulling fs layer 05:42:55 2437ff75d9bd: Pulling fs layer 05:42:55 f23df028b6ca: Waiting 05:42:55 765212b225bb: Waiting 05:42:55 d65c8cfc05b1: Waiting 05:42:55 2437ff75d9bd: Waiting 05:42:55 04944245beec: Download complete 05:42:55 765212b225bb: Verifying Checksum 05:42:55 765212b225bb: Download complete 05:42:55 f23df028b6ca: Download complete 05:42:55 d65c8cfc05b1: Verifying Checksum 05:42:55 d65c8cfc05b1: Download complete 05:42:55 699f458cf7ca: Verifying Checksum 05:42:55 699f458cf7ca: Download complete 05:42:56 8998bd30e6a1: Verifying Checksum 05:42:56 8998bd30e6a1: Download complete 05:42:58 2437ff75d9bd: Verifying Checksum 05:42:58 2437ff75d9bd: Download complete 05:43:00 8998bd30e6a1: Pull complete 05:43:00 04944245beec: Pull complete 05:43:02 699f458cf7ca: Pull complete 05:43:02 765212b225bb: Pull complete 05:43:02 f23df028b6ca: Pull complete 05:43:03 d65c8cfc05b1: Pull complete 05:43:18 2437ff75d9bd: Pull complete 05:43:18 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:43:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:43:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:43:18 prd-ubuntu20.04-docker-arm64-4c-16g-20624 does not seem to be running inside a container 05:43:18 $ 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 05:43:21 $ docker top 8bee1dacba6b55508d1fa45ef373e4aa2a8f899f5e59ff26bd1d4a1b3971ac86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:43:22 ---> job-cost.sh 05:43:22 lf-activate-venv: SKIPPING 05:43:22 INFO: No Stack... 05:43:23 INFO: Retrieving Pricing Info for: v3-standard-4 05:43:24 INFO: Archiving Costs [Pipeline] sh 05:43:24 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:43:24 + cut -d, -f6 [Pipeline] lock 05:43:24 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1132-1-stack-cost] 05:43:24 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1132-1-stack-cost] did not exist. Created. 05:43:24 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1132-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:43:25 /w/workspace/device-sdk-go/1@tmp/durable-58db328a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:43:26 + echo total: 0.10999999940395355 [Pipeline] stash 05:43:26 Warning: overwriting stash ‘stack-cost’ 05:43:26 Stashed 1 file(s) [Pipeline] } 05:43:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1132-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:43:26 $ docker stop --time=1 8bee1dacba6b55508d1fa45ef373e4aa2a8f899f5e59ff26bd1d4a1b3971ac86 05:43:28 $ docker rm -f 8bee1dacba6b55508d1fa45ef373e4aa2a8f899f5e59ff26bd1d4a1b3971ac86 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 05:43:29 provisioning config files... 05:43:29 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp/config4891728705122373960tmp [Pipeline] { [Pipeline] sh 05:43:29 + set +x 05:43:29 + curl -s https://codecov.io/bash 05:43:29 + bash -s -- 05:43:29 05:43:29 _____ _ 05:43:29 / ____| | | 05:43:29 | | ___ __| | ___ ___ _____ __ 05:43:29 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:43:29 | |___| (_) | (_| | __/ (_| (_) \ V / 05:43:29 \_____\___/ \__,_|\___|\___\___/ \_/ 05:43:29 Bash-1.0.6 05:43:29 05:43:29 05:43:29 ==> git version 2.25.1 found 05:43:29 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 05:43:29 Release-Date: 2020-01-08 05:43:29 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:43:29 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:43:29 ==> Jenkins CI detected. 05:43:29 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1132 05:43:29 project root: . 05:43:29 --> token set from env 05:43:29 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:43:29 ==> Running gcov in . (disable via -X gcov) 05:43:29 ==> Python coveragepy not found 05:43:29 ==> Searching for coverage reports in: 05:43:29 + . 05:43:29 -> Found 1 reports 05:43:29 ==> Detecting git/mercurial file structure 05:43:29 ==> Reading reports 05:43:29 + ./coverage.out bytes=129061 05:43:29 ==> Appending adjustments 05:43:29 https://docs.codecov.io/docs/fixing-reports 05:43:30 + Found adjustments 05:43:30 ==> Gzipping contents 05:43:30 20K /tmp/codecov.RAyu2t.gz 05:43:30 ==> Uploading reports 05:43:30 url: https://codecov.io 05:43:30 query: branch=PR-1132&commit=a10ee31a4230b1d60406550b25f041cc551d2c47&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1132%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1132&job=&cmd_args= 05:43:30 -> Pinging Codecov 05:43:30 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1132&commit=a10ee31a4230b1d60406550b25f041cc551d2c47&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1132%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1132&job=&cmd_args= 05:43:30 -> Uploading to 05:43:30 https://storage.googleapis.com/codecov/v4/raw/2022-04-12/7E55EF52A471D76F132DFD9A03CDDE97/a10ee31a4230b1d60406550b25f041cc551d2c47/3a871ed8-0ed5-4df1-abcc-087be72619db.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220412%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220412T054330Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ca3fb0fb4df662db7e88d9a6d1fcd56f9523c52a25b49d91ff8dc7dc9596d970 05:43:30 % Total % Received % Xferd Average Speed Time Time Time Current 05:43:30 Dload Upload Total Spent Left Speed 05:43:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16502 0 0 100 16502 0 63226 --:--:-- --:--:-- --:--:-- 63226 05:43:30 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a10ee31a4230b1d60406550b25f041cc551d2c47 [Pipeline] } 05:43:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 05:43:32 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1132/archives ] 05:43:32 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1132/archives 05:43:32 total 16 05:43:32 drwxr-xr-x 3 root root 4096 Apr 12 05:34 . 05:43:32 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 05:34 .. 05:43:32 drwxr-xr-x 2 root root 4096 Apr 12 05:34 cost 05:43:32 -rw-r--r-- 1 root root 85 Apr 12 05:34 cost.csv 05:43:32 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1132/archives 05:43:32 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1132/archives 05:43:32 total 16 05:43:32 drwxr-xr-x 3 jenkins jenkins 4096 Apr 12 05:34 . 05:43:32 drwxrwxr-x 12 jenkins jenkins 4096 Apr 12 05:34 .. 05:43:32 drwxr-xr-x 2 jenkins jenkins 4096 Apr 12 05:34 cost 05:43:32 -rw-r--r-- 1 jenkins jenkins 85 Apr 12 05:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:43:32 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:43:33 ---> package-listing.sh 05:43:33 ++ facter osfamily 05:43:33 ++ tr '[:upper:]' '[:lower:]' 05:43:33 + OS_FAMILY=debian 05:43:33 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1132 05:43:33 + START_PACKAGES=/tmp/packages_start.txt 05:43:33 + END_PACKAGES=/tmp/packages_end.txt 05:43:33 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:43:33 + PACKAGES=/tmp/packages_start.txt 05:43:33 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1132 ']' 05:43:33 + PACKAGES=/tmp/packages_end.txt 05:43:33 + case "${OS_FAMILY}" in 05:43:33 + dpkg -l 05:43:33 + grep '^ii' 05:43:33 + '[' -f /tmp/packages_start.txt ']' 05:43:33 + '[' -f /tmp/packages_end.txt ']' 05:43:33 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:43:33 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1132 ']' 05:43:33 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1132/archives/ 05:43:33 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1132/archives/ [Pipeline] echo 05:43:33 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-1132/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:43:34 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:43:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:43:34 . [Pipeline] withDockerContainer 05:43:34 prd-ubuntu20.04-docker-8c-8g-20622 does not seem to be running inside a container 05:43:34 $ 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-1132/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-1132 -v /w/workspace/gexfoundry_device-sdk-go_PR-1132:/w/workspace/gexfoundry_device-sdk-go_PR-1132:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1132@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 05:43:35 $ docker top e12bdc8909624767c92cb6b097664e58f95cdbce1f51e39c725135413b6a6a8e -eo pid,comm [Pipeline] { [Pipeline] sh 05:43:35 + touch /tmp/pre-build-complete [Pipeline] sh 05:43:35 + mkdir -p /var/log/sysstat [Pipeline] sh 05:43:36 + ls /var/log/sa-host 05:43:36 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:43:36 provisioning config files... 05:43:36 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1132@tmp/config6821296798461800074tmp [Pipeline] { [Pipeline] echo 05:43:36 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:43:36 ---> create-netrc.sh [Pipeline] } 05:43:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:43:37 ---> python-tools-install.sh [Pipeline] echo 05:43:37 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:43:37 ---> sudo-logs.sh 05:43:37 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:43:37 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:43:37 ---> job-cost.sh 05:43:37 lf-activate-venv: SKIPPING 05:43:37 DEBUG: total: 0.2199999988079071 05:43:37 INFO: Retrieving Stack Cost... 05:43:38 INFO: Retrieving Pricing Info for: v3-standard-8 05:43:38 INFO: Archiving Costs [Pipeline] echo 05:43:38 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:43:39 ---> logs-deploy.sh 05:43:39 lf-activate-venv: SKIPPING 05:43:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1132/1 05:43:39 INFO: archiving workspace using pattern(s): 05:43:39 Archives upload complete. 05:43:39 INFO: archiving logs to Nexus