Pull request #1121 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from be4de0d5ed52719c8e0bee2af6130480cae9fe3c+71f09d1ab0705056f5c82f36890c48cdd3d80cce (16448e0e0c449df1c2d83a04eef5301ad09e3213) 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-ssh9573126932584780611.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-ssh11955082434875868748.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-1121/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-1121/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17336270245808748929.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-1121/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17655593519025206722.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-ssh6320911885341582470.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-1121/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-1121/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh9280023919793467299.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 on ‘prd-ubuntu20.04-docker-8c-8g-10346’ Running on prd-ubuntu20.04-docker-8c-8g-10352 in /w/workspace/gexfoundry_device-sdk-go_PR-1121 [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-1121 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 71f09d1ab0705056f5c82f36890c48cdd3d80cce into PR head commit be4de0d5ed52719c8e0bee2af6130480cae9fe3c > 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/1121/head:refs/remotes/origin/PR-1121 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be4de0d5ed52719c8e0bee2af6130480cae9fe3c # timeout=10 Merge succeeded, producing be4de0d5ed52719c8e0bee2af6130480cae9fe3c Checking out Revision be4de0d5ed52719c8e0bee2af6130480cae9fe3c (PR-1121) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 71f09d1ab0705056f5c82f36890c48cdd3d80cce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f be4de0d5ed52719c8e0bee2af6130480cae9fe3c # 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 23:12:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:12:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:13:00 ========================================================= 23:13:00 EdgeX Global Pipelines Version Info 23:13:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:13:00 ------------------- 23:13:00 stable info: 23:13:00 ------------------- 23:13:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:13:00 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 23:13:00 Message: update stable to v1.0.221 23:13:01 ------------------- 23:13:01 experimental info: 23:13:01 ------------------- 23:13:01 Commited By: **** collab-it+edgex@linuxfoundation.org 23:13:01 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 23:13:01 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:13:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 23:13:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 23:13:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:13:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:13:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:13:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 23:13:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:13:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1121 [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1121 [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1121 [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = be4de0d5ed52719c8e0bee2af6130480cae9fe3c [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = be4de0d [Pipeline] echo 23:13:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:13:03 provisioning config files... 23:13:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp/config7850084218641081651tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:03 ---> docker-login.sh 23:13:03 nexus3.edgexfoundry.org:10001 23:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:03 Configure a credential helper to remove this warning. See 23:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:03 23:13:03 Login Succeeded 23:13:03 nexus3.edgexfoundry.org:10002 23:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:03 Configure a credential helper to remove this warning. See 23:13:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:03 23:13:03 Login Succeeded 23:13:03 nexus3.edgexfoundry.org:10003 23:13:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:04 Configure a credential helper to remove this warning. See 23:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:04 23:13:04 Login Succeeded 23:13:04 nexus3.edgexfoundry.org:10004 23:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:04 Configure a credential helper to remove this warning. See 23:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:04 23:13:04 Login Succeeded 23:13:04 docker.io 23:13:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:04 Configure a credential helper to remove this warning. See 23:13:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:04 23:13:04 Login Succeeded 23:13:04 ---> docker-login.sh ends [Pipeline] } 23:13:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:13:05 + git rev-list -1 --merges be4de0d5ed52719c8e0bee2af6130480cae9fe3c~1..be4de0d5ed52719c8e0bee2af6130480cae9fe3c [Pipeline] echo 23:13:05 -----------> git rev-list -1 --merges be4de0d5ed52719c8e0bee2af6130480cae9fe3c~1..be4de0d5ed52719c8e0bee2af6130480cae9fe3c be4de0d5ed52719c8e0bee2af6130480cae9fe3c [false] [Pipeline] sh 23:13:05 + git log --format=format:%s -1 be4de0d5ed52719c8e0bee2af6130480cae9fe3c [Pipeline] echo 23:13:05 ========================================================= 23:13:05 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:13:05 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:13:06 + git log --format=format:%s -1 be4de0d5ed52719c8e0bee2af6130480cae9fe3c [Pipeline] echo 23:13:06 [semverPrep] GIT_COMMIT: be4de0d5ed52719c8e0bee2af6130480cae9fe3c, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 23:13:06 [semverPrep] This is not a build commit. [Pipeline] sh 23:13:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:13:06 + grep -v github /etc/ssh/ssh_known_hosts 23:13:06 + [ -e /tmp/ssh_known_hosts ] 23:13:06 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:13:06 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:13:06 + sudo tee -a /etc/ssh/ssh_known_hosts 23:13:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 23:13:07 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:13:07 23:13:07 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 23:13:07 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:13:07 latest: Pulling from edgex-devops/git-semver 23:13:07 a0d0a0d46f8b: Pulling fs layer 23:13:07 3e5f54012d9b: Pulling fs layer 23:13:07 4c7163046ea9: Pulling fs layer 23:13:07 0c2d73faf560: Pulling fs layer 23:13:07 0c2d73faf560: Waiting 23:13:07 3e5f54012d9b: Verifying Checksum 23:13:07 3e5f54012d9b: Download complete 23:13:07 a0d0a0d46f8b: Download complete 23:13:07 0c2d73faf560: Verifying Checksum 23:13:07 0c2d73faf560: Download complete 23:13:07 4c7163046ea9: Verifying Checksum 23:13:07 4c7163046ea9: Download complete 23:13:07 a0d0a0d46f8b: Pull complete 23:13:07 3e5f54012d9b: Pull complete 23:13:08 4c7163046ea9: Pull complete 23:13:08 0c2d73faf560: Pull complete 23:13:08 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 23:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 23:13:08 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 23:13:08 prd-ubuntu20.04-docker-8c-8g-10352 does not seem to be running inside a container 23:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1121 -v /w/workspace/gexfoundry_device-sdk-go_PR-1121:/w/workspace/gexfoundry_device-sdk-go_PR-1121:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1121@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 23:13:09 $ docker top c9585d5ddcffe36f02073e060260fcee95d06c674ea32884425e45de90afc7e7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:13:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:13:09 [ssh-agent] Looking for ssh-agent implementation... 23:13:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:13:09 $ docker exec c9585d5ddcffe36f02073e060260fcee95d06c674ea32884425e45de90afc7e7 ssh-agent 23:13:09 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXblkCFP/agent.13 23:13:09 SSH_AGENT_PID=19 23:13:09 Running ssh-add (command line suppressed) 23:13:09 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp/private_key_6870045948086417583.key (/w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp/private_key_6870045948086417583.key) 23:13:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:13:10 + git tag --points-at HEAD [Pipeline] } 23:13:10 $ docker exec --env ******** --env ******** c9585d5ddcffe36f02073e060260fcee95d06c674ea32884425e45de90afc7e7 ssh-agent -k 23:13:10 unset SSH_AUTH_SOCK; 23:13:10 unset SSH_AGENT_PID; 23:13:10 echo Agent pid 19 killed; 23:13:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:13:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:13:10 [ssh-agent] Looking for ssh-agent implementation... 23:13:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:13:10 $ docker exec c9585d5ddcffe36f02073e060260fcee95d06c674ea32884425e45de90afc7e7 ssh-agent 23:13:10 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHHKdDi/agent.52 23:13:10 SSH_AGENT_PID=58 23:13:10 Running ssh-add (command line suppressed) 23:13:10 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp/private_key_1346313263512552498.key (/w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp/private_key_1346313263512552498.key) 23:13:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:13:11 + git semver init 23:13:11 # -> Open(): unable to determine branch for HEAD 23:13:11 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1121/.git 23:13:11 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1121 23:13:11 # $SEMVER_REMOTE_NAME = origin 23:13:11 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 23:13:11 # $SEMVER_USER_NAME = edgex-jenkins 23:13:11 # $SEMVER_BRANCH = PR-1121 23:13:11 # $SEMVER_TEMP = /tmp/semver-483040983 23:13:11 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 23:13:12 # '/tmp/semver-483040983' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1121/.semver' 23:13:12 # -> Force: false 23:13:12 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1121/.semver [Pipeline] } 23:13:12 $ docker exec --env ******** --env ******** c9585d5ddcffe36f02073e060260fcee95d06c674ea32884425e45de90afc7e7 ssh-agent -k 23:13:12 unset SSH_AUTH_SOCK; 23:13:12 unset SSH_AGENT_PID; 23:13:12 echo Agent pid 58 killed; 23:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:13:13 + git semver [Pipeline] } 23:13:13 $ docker stop --time=1 c9585d5ddcffe36f02073e060260fcee95d06c674ea32884425e45de90afc7e7 23:13:14 $ docker rm -f c9585d5ddcffe36f02073e060260fcee95d06c674ea32884425e45de90afc7e7 [Pipeline] // withDockerContainer [Pipeline] sh 23:13:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:13:15 Stashed 1 file(s) [Pipeline] echo 23:13:15 [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 23:13:16 provisioning config files... 23:13:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp/config7016719247762413049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:13:16 ---> docker-login.sh 23:13:16 nexus3.edgexfoundry.org:10001 23:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:16 Configure a credential helper to remove this warning. See 23:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:16 23:13:16 Login Succeeded 23:13:16 nexus3.edgexfoundry.org:10002 23:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:16 Configure a credential helper to remove this warning. See 23:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:16 23:13:16 Login Succeeded 23:13:16 nexus3.edgexfoundry.org:10003 23:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:16 Configure a credential helper to remove this warning. See 23:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:16 23:13:16 Login Succeeded 23:13:16 nexus3.edgexfoundry.org:10004 23:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:16 Configure a credential helper to remove this warning. See 23:13:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:16 23:13:16 Login Succeeded 23:13:16 docker.io 23:13:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:13:17 Configure a credential helper to remove this warning. See 23:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:13:17 23:13:17 Login Succeeded 23:13:17 ---> docker-login.sh ends [Pipeline] } 23:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:13:17 ========================================================= 23:13:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 23:13:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:13:17 + 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 . 23:13:17 Sending build context to Docker daemon 9.55MB 23:13:17 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:13:17 Step 2/11 : FROM ${BASE} AS builder 23:13:18 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 23:13:18 59bf1c3509f3: Pulling fs layer 23:13:18 666ba61612fd: Pulling fs layer 23:13:18 8ed8ca486205: Pulling fs layer 23:13:18 4fe6c5a15a65: Pulling fs layer 23:13:18 22a0e8bec74d: Pulling fs layer 23:13:18 640e595b4fbd: Pulling fs layer 23:13:18 763cafe07f6e: Pulling fs layer 23:13:18 0c0b528cf693: Pulling fs layer 23:13:18 10935f4eaf8b: Pulling fs layer 23:13:18 22a0e8bec74d: Waiting 23:13:18 640e595b4fbd: Waiting 23:13:18 763cafe07f6e: Waiting 23:13:18 0c0b528cf693: Waiting 23:13:18 10935f4eaf8b: Waiting 23:13:18 4fe6c5a15a65: Waiting 23:13:18 8ed8ca486205: Verifying Checksum 23:13:18 666ba61612fd: Download complete 23:13:18 22a0e8bec74d: Verifying Checksum 23:13:18 22a0e8bec74d: Download complete 23:13:18 640e595b4fbd: Verifying Checksum 23:13:18 640e595b4fbd: Download complete 23:13:18 59bf1c3509f3: Verifying Checksum 23:13:18 763cafe07f6e: Verifying Checksum 23:13:18 763cafe07f6e: Download complete 23:13:18 0c0b528cf693: Verifying Checksum 23:13:18 0c0b528cf693: Download complete 23:13:18 59bf1c3509f3: Pull complete 23:13:18 666ba61612fd: Pull complete 23:13:18 8ed8ca486205: Pull complete 23:13:18 10935f4eaf8b: Verifying Checksum 23:13:18 10935f4eaf8b: Download complete 23:13:18 4fe6c5a15a65: Verifying Checksum 23:13:18 4fe6c5a15a65: Download complete 23:13:23 4fe6c5a15a65: Pull complete 23:13:23 22a0e8bec74d: Pull complete 23:13:23 640e595b4fbd: Pull complete 23:13:23 763cafe07f6e: Pull complete 23:13:23 0c0b528cf693: Pull complete 23:13:25 10935f4eaf8b: Pull complete 23:13:25 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 23:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 23:13:25 ---> 99d49a6021b9 23:13:25 Step 3/11 : ARG MAKE=make build 23:13:27 ---> Running in ab31648efeeb 23:13:27 Removing intermediate container ab31648efeeb 23:13:27 ---> a2cc1e13fa8b 23:13:27 Step 4/11 : WORKDIR /device-sdk-go 23:13:27 ---> Running in 7b78d35c761b 23:13:27 Removing intermediate container 7b78d35c761b 23:13:27 ---> 58df51e4838e 23:13:27 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:13:27 ---> Running in 54df881855c1 23:13:27 Removing intermediate container 54df881855c1 23:13:27 ---> 1de167027776 23:13:27 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:13:27 ---> Running in e74cbeaf1cef 23:13:28 Removing intermediate container e74cbeaf1cef 23:13:28 ---> 32ee88b0aaf4 23:13:28 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:13:28 ---> Running in 4b6384d99160 23:13:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:13:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:13:29 OK: 221 MiB in 52 packages 23:13:29 Removing intermediate container 4b6384d99160 23:13:29 ---> 093c8618975a 23:13:29 Step 8/11 : COPY go.mod vendor* ./ 23:13:30 ---> e56345dadf1e 23:13:30 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:13:30 ---> Running in eee0e8e641be 23:13:30 Still waiting to schedule task 23:13:30 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10348’ 23:13:45 Removing intermediate container eee0e8e641be 23:13:45 ---> c54e3fa9e535 23:13:45 Step 10/11 : COPY . . 23:13:45 ---> 19459675d105 23:13:45 Step 11/11 : RUN ${MAKE} 23:13:45 ---> Running in 758b57ad9616 23:13:45 noop 23:13:45 Removing intermediate container 758b57ad9616 23:13:45 ---> 3eb38099f8b8 23:13:45 Successfully built 3eb38099f8b8 23:13:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 23:13:45 + docker inspect -f . ci-base-image-x86_64 23:13:45 . [Pipeline] withDockerContainer 23:13:45 prd-ubuntu20.04-docker-8c-8g-10352 does not seem to be running inside a container 23:13:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1121 -v /w/workspace/gexfoundry_device-sdk-go_PR-1121:/w/workspace/gexfoundry_device-sdk-go_PR-1121:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1121@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 23:13:45 $ docker top 3534fb977b0d575ddb2fb3e036fadfffa25d4827524f6654f0a168e35107da4a -eo pid,comm [Pipeline] { [Pipeline] sh 23:13:46 + go version 23:13:46 go version go1.17.6 linux/amd64 [Pipeline] } 23:13:46 $ docker stop --time=1 3534fb977b0d575ddb2fb3e036fadfffa25d4827524f6654f0a168e35107da4a 23:13:47 $ docker rm -f 3534fb977b0d575ddb2fb3e036fadfffa25d4827524f6654f0a168e35107da4a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:13:48 + docker inspect -f . ci-base-image-x86_64 23:13:48 . [Pipeline] withDockerContainer 23:13:48 prd-ubuntu20.04-docker-8c-8g-10352 does not seem to be running inside a container 23:13:48 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1121 -v /w/workspace/gexfoundry_device-sdk-go_PR-1121:/w/workspace/gexfoundry_device-sdk-go_PR-1121:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1121@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 23:13:48 $ docker top ea164ddcced1076ff6ba9f8d749d6c3cb2cc1b126f651b385e70b0b78095a538 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:13:49 + make test 23:13:49 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:13:49 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.024s coverage: 23.3% of statements 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.016s coverage: 27.6% of statements 23:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.025s coverage: 78.9% of statements 23:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.014s coverage: 10.8% of statements 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.019s coverage: 33.2% of statements 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.020s coverage: 86.1% of statements 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.023s coverage: 57.4% of statements 23:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.043s coverage: 89.2% of statements 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:13:59 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.015s coverage: 4.8% of statements 23:13:59 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:14:07 GO111MODULE=on go vet ./... 23:14:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:14:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:14:11 ./bin/test-attribution-txt.sh [Pipeline] echo 23:14:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:14:11 $ docker stop --time=1 ea164ddcced1076ff6ba9f8d749d6c3cb2cc1b126f651b385e70b0b78095a538 23:14:13 $ docker rm -f ea164ddcced1076ff6ba9f8d749d6c3cb2cc1b126f651b385e70b0b78095a538 [Pipeline] // withDockerContainer [Pipeline] sh 23:14:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:14:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:14:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:14:15 + ls -al . 23:14:15 total 316 23:14:15 drwxrwxr-x 11 jenkins jenkins 4096 Mar 31 23:14 . 23:14:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 23:12 .. 23:14:15 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 23:12 .dockerignore 23:14:15 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 23:12 .git 23:14:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 23:12 .github 23:14:15 -rw-rw-r-- 1 jenkins jenkins 131 Mar 31 23:12 .gitignore 23:14:15 -rw-rw-r-- 1 jenkins jenkins 42 Mar 31 23:12 .golangci.yml 23:14:15 drwx------ 3 jenkins jenkins 4096 Mar 31 23:13 .semver 23:14:15 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 31 23:12 CHANGELOG.md 23:14:15 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 23:12 GOVERNANCE.md 23:14:15 -rw-rw-r-- 1 jenkins jenkins 880 Mar 31 23:12 Jenkinsfile 23:14:15 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 23:12 LICENSE 23:14:15 -rw-rw-r-- 1 jenkins jenkins 1627 Mar 31 23:12 Makefile 23:14:15 -rw-rw-r-- 1 jenkins jenkins 619 Mar 31 23:12 OWNERS.md 23:14:15 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 31 23:12 README.md 23:14:15 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 23:13 VERSION 23:14:15 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 23:12 bin 23:14:15 -rw-r--r-- 1 jenkins jenkins 129001 Mar 31 23:13 coverage.out 23:14:15 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 23:12 example 23:14:15 -rw-rw-r-- 1 jenkins jenkins 3105 Mar 31 23:12 go.mod 23:14:15 -rw-rw-r-- 1 jenkins jenkins 53784 Mar 31 23:12 go.sum 23:14:15 drwxrwxr-x 15 jenkins jenkins 4096 Mar 31 23:12 internal 23:14:15 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 23:12 openapi 23:14:15 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 23:12 pkg 23:14:15 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 23:12 snap 23:14:15 -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 23:12 version.go [Pipeline] isUnix [Pipeline] sh 23:14:15 + 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=be4de0d5ed52719c8e0bee2af6130480cae9fe3c --label arch=amd64 --label version=0.0.0 . 23:14:15 Sending build context to Docker daemon 9.68MB 23:14:15 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:14:15 Step 2/25 : FROM ${BASE} AS builder 23:14:15 ---> 3eb38099f8b8 23:14:15 Step 3/25 : ARG MAKE=make build 23:14:16 ---> Running in f260b8b55195 23:14:16 Removing intermediate container f260b8b55195 23:14:16 ---> a1ebb5730bcd 23:14:16 Step 4/25 : WORKDIR /device-sdk-go 23:14:16 ---> Running in 36bcda607f9d 23:14:16 Removing intermediate container 36bcda607f9d 23:14:16 ---> 9032cf201db6 23:14:16 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:14:16 ---> Running in d6e151fead49 23:14:16 Removing intermediate container d6e151fead49 23:14:16 ---> da073404bb6a 23:14:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:16 ---> Running in 8c72349f98e0 23:14:16 Removing intermediate container 8c72349f98e0 23:14:16 ---> 44622c1d1b10 23:14:16 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:14:17 ---> Running in 020160161de3 23:14:17 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 23:14:18 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 23:14:18 OK: 221 MiB in 52 packages 23:14:18 Removing intermediate container 020160161de3 23:14:18 ---> 4c83e4b34167 23:14:18 Step 8/25 : COPY go.mod vendor* ./ 23:14:18 ---> 39f01a33e88e 23:14:18 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:14:19 ---> Running in aed7183cc299 23:14:19 Removing intermediate container aed7183cc299 23:14:19 ---> 37b1c4e97b3e 23:14:19 Step 10/25 : COPY . . 23:14:20 ---> 4fb11837662a 23:14:20 Step 11/25 : RUN ${MAKE} 23:14:20 ---> Running in 3d8c389c1360 23:14:20 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:14:32 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:14:33 Removing intermediate container 3d8c389c1360 23:14:33 ---> be708b7db15d 23:14:33 Step 12/25 : FROM alpine:3.14 23:14:33 3.14: Pulling from library/alpine 23:14:34 cfab2db72209: Pulling fs layer 23:14:34 cfab2db72209: Verifying Checksum 23:14:34 cfab2db72209: Download complete 23:14:34 cfab2db72209: Pull complete 23:14:34 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 23:14:34 Status: Downloaded newer image for alpine:3.14 23:14:34 ---> 84b07dd2d1fd 23:14:34 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:14:34 ---> Running in 966a330752a0 23:14:34 Removing intermediate container 966a330752a0 23:14:34 ---> d68ea455fea1 23:14:34 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:14:34 ---> Running in c067520b7b68 23:14:35 Removing intermediate container c067520b7b68 23:14:35 ---> 1c672fae3029 23:14:35 Step 15/25 : RUN apk add --update --no-cache zeromq 23:14:35 ---> Running in 98d664a0a447 23:14:35 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 23:14:36 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 23:14:36 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:14:37 (2/5) Installing libsodium (1.0.18-r0) 23:14:37 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:14:37 (4/5) Installing libzmq (4.3.4-r0) 23:14:37 (5/5) Installing zeromq (4.3.4-r0) 23:14:37 Executing busybox-1.33.1-r6.trigger 23:14:37 OK: 8 MiB in 19 packages 23:14:37 Removing intermediate container 98d664a0a447 23:14:37 ---> c90065db2f23 23:14:37 Step 16/25 : WORKDIR / 23:14:37 ---> Running in 6fcd0a2b50fa 23:14:37 Removing intermediate container 6fcd0a2b50fa 23:14:37 ---> 6145c5ac0a47 23:14:37 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:14:38 ---> 26531c79b179 23:14:38 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:14:38 ---> 4d639bf7bffe 23:14:38 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:14:38 ---> c5f652858c80 23:14:38 Step 20/25 : EXPOSE 59999 23:14:38 ---> Running in 0e5c5a2586f6 23:14:38 Removing intermediate container 0e5c5a2586f6 23:14:38 ---> 9732e548a4ec 23:14:38 Step 21/25 : ENTRYPOINT ["/device-simple"] 23:14:38 ---> Running in fb9cef79d521 23:14:38 Removing intermediate container fb9cef79d521 23:14:38 ---> 44f0d551978e 23:14:38 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:14:38 ---> Running in ea4b31d3f5fd 23:14:39 Removing intermediate container ea4b31d3f5fd 23:14:39 ---> 09f84e3e34a0 23:14:39 Step 23/25 : LABEL arch=amd64 23:14:39 ---> Running in 5e0869df3f41 23:14:39 Removing intermediate container 5e0869df3f41 23:14:39 ---> 8018f3e35b70 23:14:39 Step 24/25 : LABEL git_sha=be4de0d5ed52719c8e0bee2af6130480cae9fe3c 23:14:39 ---> Running in 5d16edcd2c73 23:14:39 Removing intermediate container 5d16edcd2c73 23:14:39 ---> 5deef777f5a1 23:14:39 Step 25/25 : LABEL version=0.0.0 23:14:39 ---> Running in f5f0d1d3b672 23:14:39 Removing intermediate container f5f0d1d3b672 23:14:39 ---> ada076fa0371 23:14:39 [Warning] One or more build-args [ARCH] were not consumed 23:14:39 Successfully built ada076fa0371 23:14:39 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 23:14:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:40 23:14:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 23:14:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:40 latest: Pulling from edgex-lftools-log-publisher 23:14:40 5eb5b503b376: Pulling fs layer 23:14:40 5c69ac0246d0: Pulling fs layer 23:14:40 ec43610c2a17: Pulling fs layer 23:14:40 3a2ae6a8a46f: Pulling fs layer 23:14:40 33b1e0a273af: Pulling fs layer 23:14:40 5d3b04190fa2: Pulling fs layer 23:14:40 2f39f015ded8: Pulling fs layer 23:14:40 33b1e0a273af: Waiting 23:14:40 5d3b04190fa2: Waiting 23:14:40 3a2ae6a8a46f: Waiting 23:14:40 2f39f015ded8: Waiting 23:14:40 5c69ac0246d0: Verifying Checksum 23:14:40 5c69ac0246d0: Download complete 23:14:40 3a2ae6a8a46f: Verifying Checksum 23:14:40 3a2ae6a8a46f: Download complete 23:14:40 33b1e0a273af: Verifying Checksum 23:14:40 33b1e0a273af: Download complete 23:14:40 ec43610c2a17: Verifying Checksum 23:14:40 ec43610c2a17: Download complete 23:14:40 5d3b04190fa2: Download complete 23:14:40 5eb5b503b376: Verifying Checksum 23:14:40 5eb5b503b376: Download complete 23:14:41 2f39f015ded8: Verifying Checksum 23:14:41 2f39f015ded8: Download complete 23:14:42 5eb5b503b376: Pull complete 23:14:42 5c69ac0246d0: Pull complete 23:14:42 ec43610c2a17: Pull complete 23:14:42 3a2ae6a8a46f: Pull complete 23:14:43 33b1e0a273af: Pull complete 23:14:43 5d3b04190fa2: Pull complete 23:14:48 2f39f015ded8: Pull complete 23:14:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:14:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:14:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 23:14:48 prd-ubuntu20.04-docker-8c-8g-10352 does not seem to be running inside a container 23:14:48 $ 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-1121 -v /w/workspace/gexfoundry_device-sdk-go_PR-1121:/w/workspace/gexfoundry_device-sdk-go_PR-1121:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1121@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 23:14:50 $ docker top 1997822ff23d0af911dd48cfc23526eb5bddaf6414ae3d439ecf4842be58ea0b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:14:50 ---> job-cost.sh 23:14:50 lf-activate-venv: SKIPPING 23:14:50 INFO: No Stack... 23:14:51 INFO: Retrieving Pricing Info for: v3-standard-8 23:14:51 INFO: Archiving Costs [Pipeline] sh 23:14:51 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1121/archives/cost.csv 23:14:51 + cut -d, -f6 [Pipeline] lock 23:14:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1121-1-stack-cost] 23:14:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1121-1-stack-cost] did not exist. Created. 23:14:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1121-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:14:52 + echo total: 0.2199999988079071 [Pipeline] stash 23:14:52 Stashed 1 file(s) [Pipeline] } 23:14:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1121-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:14:52 $ docker stop --time=1 1997822ff23d0af911dd48cfc23526eb5bddaf6414ae3d439ecf4842be58ea0b 23:14:53 $ docker rm -f 1997822ff23d0af911dd48cfc23526eb5bddaf6414ae3d439ecf4842be58ea0b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:16:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10353 in /w/workspace/gexfoundry_device-sdk-go_PR-1121 [Pipeline] { [Pipeline] ws 23:16:39 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 23:16:39 The recommended git tool is: git 23:16:45 using credential edgex-jenkins-ssh 23:16:45 Cloning the remote Git repository 23:16:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 23:16:46 > git init /w/workspace/device-sdk-go/1 # timeout=10 23:16:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:16:46 > git --version # timeout=10 23:16:46 > git --version # 'git version 2.25.1' 23:16:46 using GIT_SSH to set credentials SSH Credentials for GitHub 23:16:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:16:48 Merging remotes/origin/main commit 71f09d1ab0705056f5c82f36890c48cdd3d80cce into PR head commit be4de0d5ed52719c8e0bee2af6130480cae9fe3c 23:16:49 Merge succeeded, producing be4de0d5ed52719c8e0bee2af6130480cae9fe3c 23:16:49 Checking out Revision be4de0d5ed52719c8e0bee2af6130480cae9fe3c (PR-1121) 23:16:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:16:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:16:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 23:16:48 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 23:16:48 using GIT_SSH to set credentials SSH Credentials for GitHub 23:16:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1121/head:refs/remotes/origin/PR-1121 +refs/heads/main:refs/remotes/origin/main # timeout=10 23:16:48 > git config core.sparsecheckout # timeout=10 23:16:48 > git checkout -f be4de0d5ed52719c8e0bee2af6130480cae9fe3c # timeout=10 23:16:49 > git remote # timeout=10 23:16:49 > git config --get remote.origin.url # timeout=10 23:16:49 using GIT_SSH to set credentials SSH Credentials for GitHub 23:16:49 > git merge 71f09d1ab0705056f5c82f36890c48cdd3d80cce # timeout=10 23:16:49 > git rev-parse HEAD^{commit} # timeout=10 23:16:49 > git config core.sparsecheckout # timeout=10 23:16:49 > git checkout -f be4de0d5ed52719c8e0bee2af6130480cae9fe3c # timeout=10 23:16:53 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 23:16:53 > git --version # timeout=10 23:16:53 > git --version # 'git version 2.25.1' 23:16:53 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:16:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:16:54 % Total % Received % Xferd Average Speed Time Time Time Current 23:16:54 Dload Upload Total Spent Left Speed 23:16:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 51268 0 --:--:-- --:--:-- --:--:-- 51268 [Pipeline] sh 23:16:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:16:55 + sudo tee /etc/docker/daemon.new 23:16:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:16:55 { 23:16:55 "registry-mirrors": [ 23:16:55 "https://nexus3.edgexfoundry.org:10001" 23:16:55 ], 23:16:55 "bip": "10.250.0.254/24", 23:16:55 "hosts": [ 23:16:55 "tcp://0.0.0.0:5555", 23:16:55 "unix:///var/run/docker.sock" 23:16:55 ], 23:16:55 "mtu": 1458, 23:16:55 "selinux-enabled": true, 23:16:55 "seccomp-profile": "/etc/docker/seccomp.json" 23:16:55 } [Pipeline] sh 23:16:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:16:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:17:14 provisioning config files... 23:17:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8633629430782388209tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:17:15 ---> docker-login.sh 23:17:15 nexus3.edgexfoundry.org:10001 23:17:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:16 Configure a credential helper to remove this warning. See 23:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:16 23:17:16 Login Succeeded 23:17:16 nexus3.edgexfoundry.org:10002 23:17:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:16 Configure a credential helper to remove this warning. See 23:17:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:16 23:17:16 Login Succeeded 23:17:16 nexus3.edgexfoundry.org:10003 23:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:17 Configure a credential helper to remove this warning. See 23:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:17 23:17:17 Login Succeeded 23:17:17 nexus3.edgexfoundry.org:10004 23:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:17 Configure a credential helper to remove this warning. See 23:17:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:17 23:17:17 Login Succeeded 23:17:17 docker.io 23:17:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:17:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:17:18 Configure a credential helper to remove this warning. See 23:17:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:17:18 23:17:18 Login Succeeded 23:17:18 ---> docker-login.sh ends [Pipeline] } 23:17:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:17:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:17:18 ========================================================= 23:17:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 23:17:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 23:17:19 + 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 . 23:17:19 Sending build context to Docker daemon 5.163MB 23:17:19 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 23:17:19 Step 2/11 : FROM ${BASE} AS builder 23:17:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:17:19 9b3977197b4f: Pulling fs layer 23:17:19 1a89e8eeedd5: Pulling fs layer 23:17:19 94645a83ff95: Pulling fs layer 23:17:19 3f3a8bcf1eab: Pulling fs layer 23:17:19 0c92f367c5e7: Pulling fs layer 23:17:19 f7c0051592d6: Pulling fs layer 23:17:19 a227ed2f7395: Pulling fs layer 23:17:19 7b1c46037f91: Pulling fs layer 23:17:19 3f3a8bcf1eab: Waiting 23:17:19 0c92f367c5e7: Waiting 23:17:19 f7c0051592d6: Waiting 23:17:19 a227ed2f7395: Waiting 23:17:19 7b1c46037f91: Waiting 23:17:19 94645a83ff95: Verifying Checksum 23:17:19 94645a83ff95: Download complete 23:17:19 1a89e8eeedd5: Verifying Checksum 23:17:19 1a89e8eeedd5: Download complete 23:17:19 0c92f367c5e7: Verifying Checksum 23:17:19 0c92f367c5e7: Download complete 23:17:19 f7c0051592d6: Verifying Checksum 23:17:19 f7c0051592d6: Download complete 23:17:19 a227ed2f7395: Verifying Checksum 23:17:19 a227ed2f7395: Download complete 23:17:20 9b3977197b4f: Verifying Checksum 23:17:20 9b3977197b4f: Download complete 23:17:20 9b3977197b4f: Pull complete 23:17:21 1a89e8eeedd5: Pull complete 23:17:21 94645a83ff95: Pull complete 23:17:22 7b1c46037f91: Verifying Checksum 23:17:22 7b1c46037f91: Download complete 23:17:22 3f3a8bcf1eab: Download complete 23:17:35 3f3a8bcf1eab: Pull complete 23:17:35 0c92f367c5e7: Pull complete 23:17:35 f7c0051592d6: Pull complete 23:17:35 a227ed2f7395: Pull complete 23:17:42 7b1c46037f91: Pull complete 23:17:42 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 23:17:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 23:17:42 ---> f79e39bc4007 23:17:42 Step 3/11 : ARG MAKE=make build 23:17:42 ---> Running in cc2ab9dec543 23:17:42 Removing intermediate container cc2ab9dec543 23:17:42 ---> 0e431ce81000 23:17:42 Step 4/11 : WORKDIR /device-sdk-go 23:17:42 ---> Running in f2cb6664bbcc 23:17:42 Removing intermediate container f2cb6664bbcc 23:17:42 ---> bec25a16f7ce 23:17:42 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:17:42 ---> Running in edca6df838e0 23:17:43 Removing intermediate container edca6df838e0 23:17:43 ---> 998c27daee53 23:17:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:17:43 ---> Running in 2f487712c22a 23:17:45 Removing intermediate container 2f487712c22a 23:17:45 ---> 7cb31f688f18 23:17:45 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:17:45 ---> Running in 882bd09b9444 23:17:46 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:17:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:17:47 OK: 220 MiB in 52 packages 23:17:48 Removing intermediate container 882bd09b9444 23:17:48 ---> 4d725df545e5 23:17:48 Step 8/11 : COPY go.mod vendor* ./ 23:17:48 ---> f83d134b66b2 23:17:48 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:17:49 ---> Running in fe18cd5f2921 23:18:36 Removing intermediate container fe18cd5f2921 23:18:36 ---> 8a6df98110ea 23:18:36 Step 10/11 : COPY . . 23:18:36 ---> 2666eb3bf0e8 23:18:36 Step 11/11 : RUN ${MAKE} 23:18:36 ---> Running in 781a1c98dd82 23:18:36 noop 23:18:36 Removing intermediate container 781a1c98dd82 23:18:36 ---> be33d0838967 23:18:36 Successfully built be33d0838967 23:18:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 23:18:37 + docker inspect -f . ci-base-image-arm64 23:18:37 . [Pipeline] withDockerContainer 23:18:37 prd-ubuntu20.04-docker-arm64-4c-16g-10353 does not seem to be running inside a container 23:18:37 $ 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 23:18:38 $ docker top 264151df0dc1ed41e3bf375c2cd66dd5cd4bdb0b01dff768d16e1be9dfc0af65 -eo pid,comm [Pipeline] { [Pipeline] sh 23:18:39 + go version 23:18:39 go version go1.17.6 linux/arm64 [Pipeline] } 23:18:39 $ docker stop --time=1 264151df0dc1ed41e3bf375c2cd66dd5cd4bdb0b01dff768d16e1be9dfc0af65 23:18:41 $ docker rm -f 264151df0dc1ed41e3bf375c2cd66dd5cd4bdb0b01dff768d16e1be9dfc0af65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 23:18:42 + docker inspect -f . ci-base-image-arm64 23:18:42 . [Pipeline] withDockerContainer 23:18:42 prd-ubuntu20.04-docker-arm64-4c-16g-10353 does not seem to be running inside a container 23:18:42 $ 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 23:18:43 $ docker top 4eeb94fcaf31a61a5c294428dea6a4a7d14eefde946eb5e2855933ae20a1636d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 23:18:44 + make test 23:18:44 GO111MODULE=on go test -coverprofile=coverage.out ./... 23:18:46 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 23:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 23:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 23:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 23:20:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.118s coverage: 23.3% of statements 23:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 23:20:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.066s coverage: 27.6% of statements 23:20:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.088s coverage: 78.9% of statements 23:20:08 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.063s coverage: 10.8% of statements 23:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 23:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 23:20:08 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 23:20:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 33.2% of statements 23:20:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 23:20:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.077s coverage: 86.1% of statements 23:20:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 23:20:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 23:20:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.117s coverage: 57.4% of statements 23:20:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.197s coverage: 89.2% of statements 23:20:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 23:20:17 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.063s coverage: 4.8% of statements 23:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 23:20:18 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:20:18 GO111MODULE=on go vet ./... 23:20:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:20:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:20:44 ./bin/test-attribution-txt.sh [Pipeline] echo 23:20:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:20:47 $ docker stop --time=1 4eeb94fcaf31a61a5c294428dea6a4a7d14eefde946eb5e2855933ae20a1636d 23:20:49 $ docker rm -f 4eeb94fcaf31a61a5c294428dea6a4a7d14eefde946eb5e2855933ae20a1636d [Pipeline] // withDockerContainer [Pipeline] sh 23:20:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:20:50 Warning: overwriting stash ‘coverage-report’ 23:20:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:20:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:20:52 + ls -al . 23:20:52 total 312 23:20:52 drwxrwxr-x 10 jenkins jenkins 4096 Mar 31 23:20 . 23:20:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 23:16 .. 23:20:52 -rw-rw-r-- 1 jenkins jenkins 140 Mar 31 23:16 .dockerignore 23:20:52 drwxrwxr-x 8 jenkins jenkins 4096 Mar 31 23:16 .git 23:20:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 23:16 .github 23:20:52 -rw-rw-r-- 1 jenkins jenkins 131 Mar 31 23:16 .gitignore 23:20:52 -rw-rw-r-- 1 jenkins jenkins 42 Mar 31 23:16 .golangci.yml 23:20:52 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 31 23:16 CHANGELOG.md 23:20:52 -rw-rw-r-- 1 jenkins jenkins 677 Mar 31 23:16 GOVERNANCE.md 23:20:52 -rw-rw-r-- 1 jenkins jenkins 880 Mar 31 23:16 Jenkinsfile 23:20:52 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 31 23:16 LICENSE 23:20:52 -rw-rw-r-- 1 jenkins jenkins 1627 Mar 31 23:16 Makefile 23:20:52 -rw-rw-r-- 1 jenkins jenkins 619 Mar 31 23:16 OWNERS.md 23:20:52 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 31 23:16 README.md 23:20:52 -rw-rw-r-- 1 jenkins jenkins 5 Mar 31 23:13 VERSION 23:20:52 drwxrwxr-x 2 jenkins jenkins 4096 Mar 31 23:16 bin 23:20:52 -rw-r--r-- 1 jenkins jenkins 129001 Mar 31 23:20 coverage.out 23:20:52 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 23:16 example 23:20:52 -rw-rw-r-- 1 jenkins jenkins 3105 Mar 31 23:16 go.mod 23:20:52 -rw-rw-r-- 1 jenkins jenkins 53784 Mar 31 23:16 go.sum 23:20:52 drwxrwxr-x 15 jenkins jenkins 4096 Mar 31 23:16 internal 23:20:52 drwxrwxr-x 3 jenkins jenkins 4096 Mar 31 23:16 openapi 23:20:52 drwxrwxr-x 5 jenkins jenkins 4096 Mar 31 23:16 pkg 23:20:52 drwxrwxr-x 4 jenkins jenkins 4096 Mar 31 23:16 snap 23:20:52 -rw-rw-r-- 1 jenkins jenkins 222 Mar 31 23:16 version.go [Pipeline] isUnix [Pipeline] sh 23:20:52 + 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=be4de0d5ed52719c8e0bee2af6130480cae9fe3c --label arch=arm64 --label version=0.0.0 . 23:20:53 Sending build context to Docker daemon 5.293MB 23:20:53 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 23:20:53 Step 2/25 : FROM ${BASE} AS builder 23:20:53 ---> be33d0838967 23:20:53 Step 3/25 : ARG MAKE=make build 23:20:53 ---> Running in 00416d30e4f8 23:20:53 Removing intermediate container 00416d30e4f8 23:20:53 ---> bbb7782edfc4 23:20:53 Step 4/25 : WORKDIR /device-sdk-go 23:20:53 ---> Running in 1d065184c646 23:20:53 Removing intermediate container 1d065184c646 23:20:53 ---> 355c1f388cad 23:20:53 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:20:53 ---> Running in 45e8e0d2fca2 23:20:54 Removing intermediate container 45e8e0d2fca2 23:20:54 ---> b6ef032a680c 23:20:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:20:54 ---> Running in 699edd2513e0 23:20:56 Removing intermediate container 699edd2513e0 23:20:56 ---> b0a6f75ee270 23:20:56 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 23:20:56 ---> Running in 61d2da6df230 23:20:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 23:20:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 23:20:59 OK: 220 MiB in 52 packages 23:20:59 Removing intermediate container 61d2da6df230 23:20:59 ---> 3d9acaf3c98a 23:20:59 Step 8/25 : COPY go.mod vendor* ./ 23:21:00 ---> 6ad57d5d150f 23:21:00 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:21:00 ---> Running in 77b5ef2f7ffd 23:21:02 Removing intermediate container 77b5ef2f7ffd 23:21:02 ---> 8a741235271c 23:21:02 Step 10/25 : COPY . . 23:21:03 ---> 3094d9a019ac 23:21:03 Step 11/25 : RUN ${MAKE} 23:21:03 ---> Running in bab6ececd1b9 23:21:04 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 23:22:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 23:22:13 Removing intermediate container bab6ececd1b9 23:22:13 ---> 9a326db3f39d 23:22:13 Step 12/25 : FROM alpine:3.14 23:22:13 3.14: Pulling from library/alpine 23:22:13 810d54c7e01b: Pulling fs layer 23:22:13 810d54c7e01b: Verifying Checksum 23:22:13 810d54c7e01b: Download complete 23:22:14 810d54c7e01b: Pull complete 23:22:14 Digest: sha256:85c63ff404e9b4daf18f264447161b50ffa70047cc4c03381478cf2c6edfa9da 23:22:14 Status: Downloaded newer image for alpine:3.14 23:22:14 ---> cc3d11fa2d52 23:22:14 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 23:22:14 ---> Running in 831715bfd31a 23:22:15 Removing intermediate container 831715bfd31a 23:22:15 ---> 5b27e4372ba8 23:22:15 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 23:22:15 ---> Running in a302f7b58525 23:22:17 Removing intermediate container a302f7b58525 23:22:17 ---> 7aade5c17232 23:22:17 Step 15/25 : RUN apk add --update --no-cache zeromq 23:22:17 ---> Running in b3f278091ad4 23:22:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 23:22:18 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 23:22:19 (1/5) Installing libgcc (10.3.1_git20210424-r2) 23:22:19 (2/5) Installing libsodium (1.0.18-r0) 23:22:19 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 23:22:19 (4/5) Installing libzmq (4.3.4-r0) 23:22:19 (5/5) Installing zeromq (4.3.4-r0) 23:22:19 Executing busybox-1.33.1-r6.trigger 23:22:19 OK: 8 MiB in 19 packages 23:22:20 Removing intermediate container b3f278091ad4 23:22:20 ---> 3915a56a7e86 23:22:20 Step 16/25 : WORKDIR / 23:22:20 ---> Running in a850e4b1d938 23:22:21 Removing intermediate container a850e4b1d938 23:22:21 ---> 5439ecaeeeb1 23:22:21 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 23:22:21 ---> 318b6a3524ee 23:22:21 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 23:22:23 ---> 26d12c62117c 23:22:23 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 23:22:23 ---> dfb06b4204d0 23:22:23 Step 20/25 : EXPOSE 59999 23:22:23 ---> Running in e4509a67d373 23:22:23 Removing intermediate container e4509a67d373 23:22:23 ---> 7dc5e700625a 23:22:23 Step 21/25 : ENTRYPOINT ["/device-simple"] 23:22:23 ---> Running in 7c2ecf49329e 23:22:24 Removing intermediate container 7c2ecf49329e 23:22:24 ---> 356488dfe990 23:22:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 23:22:24 ---> Running in 5fb6596c51fb 23:22:24 Removing intermediate container 5fb6596c51fb 23:22:24 ---> dcf51d158726 23:22:24 Step 23/25 : LABEL arch=arm64 23:22:24 ---> Running in 34f97712dda8 23:22:25 Removing intermediate container 34f97712dda8 23:22:25 ---> 54c806990727 23:22:25 Step 24/25 : LABEL git_sha=be4de0d5ed52719c8e0bee2af6130480cae9fe3c 23:22:25 ---> Running in 4887d13a553e 23:22:25 Removing intermediate container 4887d13a553e 23:22:25 ---> ff568e605336 23:22:25 Step 25/25 : LABEL version=0.0.0 23:22:25 ---> Running in 1ab3360575f9 23:22:25 Removing intermediate container 1ab3360575f9 23:22:25 ---> 53dc4b0297f2 23:22:25 [Warning] One or more build-args [ARCH] were not consumed 23:22:25 Successfully built 53dc4b0297f2 23:22:25 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 23:22:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:26 23:22:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 23:22:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:27 arm64: Pulling from edgex-lftools-log-publisher 23:22:27 8998bd30e6a1: Pulling fs layer 23:22:27 04944245beec: Pulling fs layer 23:22:27 699f458cf7ca: Pulling fs layer 23:22:27 765212b225bb: Pulling fs layer 23:22:27 f23df028b6ca: Pulling fs layer 23:22:27 d65c8cfc05b1: Pulling fs layer 23:22:27 2437ff75d9bd: Pulling fs layer 23:22:27 f23df028b6ca: Waiting 23:22:27 d65c8cfc05b1: Waiting 23:22:27 2437ff75d9bd: Waiting 23:22:27 765212b225bb: Waiting 23:22:27 04944245beec: Download complete 23:22:27 765212b225bb: Verifying Checksum 23:22:27 765212b225bb: Download complete 23:22:27 f23df028b6ca: Verifying Checksum 23:22:27 f23df028b6ca: Download complete 23:22:27 d65c8cfc05b1: Verifying Checksum 23:22:27 d65c8cfc05b1: Download complete 23:22:27 699f458cf7ca: Verifying Checksum 23:22:27 699f458cf7ca: Download complete 23:22:27 8998bd30e6a1: Verifying Checksum 23:22:27 8998bd30e6a1: Download complete 23:22:30 2437ff75d9bd: Verifying Checksum 23:22:30 2437ff75d9bd: Download complete 23:22:32 8998bd30e6a1: Pull complete 23:22:32 04944245beec: Pull complete 23:22:34 699f458cf7ca: Pull complete 23:22:34 765212b225bb: Pull complete 23:22:35 f23df028b6ca: Pull complete 23:22:35 d65c8cfc05b1: Pull complete 23:22:50 2437ff75d9bd: Pull complete 23:22:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:22:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:22:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 23:22:50 prd-ubuntu20.04-docker-arm64-4c-16g-10353 does not seem to be running inside a container 23:22:50 $ 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 23:22:53 $ docker top 99cf9ff2f226118e14442ca9453aac076548a00983ff096fa0c03743feb2a9f3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:22:54 ---> job-cost.sh 23:22:54 lf-activate-venv: SKIPPING 23:22:54 INFO: No Stack... 23:22:54 INFO: Retrieving Pricing Info for: v3-standard-4 23:22:55 INFO: Archiving Costs [Pipeline] sh 23:22:56 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 23:22:56 + cut -d, -f6 [Pipeline] lock 23:22:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1121-1-stack-cost] 23:22:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1121-1-stack-cost] did not exist. Created. 23:22:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1121-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:22:57 /w/workspace/device-sdk-go/1@tmp/durable-ac908313/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:22:57 + echo total: 0.10999999940395355 [Pipeline] stash 23:22:58 Warning: overwriting stash ‘stack-cost’ 23:22:58 Stashed 1 file(s) [Pipeline] } 23:22:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1121-1-stack-cost] [Pipeline] // lock [Pipeline] } 23:22:58 $ docker stop --time=1 99cf9ff2f226118e14442ca9453aac076548a00983ff096fa0c03743feb2a9f3 23:22:59 $ docker rm -f 99cf9ff2f226118e14442ca9453aac076548a00983ff096fa0c03743feb2a9f3 [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 23:23:00 provisioning config files... 23:23:00 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp/config8971902303953146279tmp [Pipeline] { [Pipeline] sh 23:23:01 + set +x 23:23:01 + + bash -scurl -s https://codecov.io/bash 23:23:01 -- 23:23:01 23:23:01 _____ _ 23:23:01 / ____| | | 23:23:01 | | ___ __| | ___ ___ _____ __ 23:23:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:23:01 | |___| (_) | (_| | __/ (_| (_) \ V / 23:23:01 \_____\___/ \__,_|\___|\___\___/ \_/ 23:23:01 Bash-1.0.6 23:23:01 23:23:01 23:23:01 ==> git version 2.25.1 found 23:23:01 ==> 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 23:23:01 Release-Date: 2020-01-08 23:23:01 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:23:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:23:01 ==> Jenkins CI detected. 23:23:01 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1121 23:23:01 project root: . 23:23:01 --> token set from env 23:23:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:23:01 ==> Running gcov in . (disable via -X gcov) 23:23:01 ==> Python coveragepy not found 23:23:01 ==> Searching for coverage reports in: 23:23:01 + . 23:23:01 -> Found 1 reports 23:23:01 ==> Detecting git/mercurial file structure 23:23:01 ==> Reading reports 23:23:01 + ./coverage.out bytes=129001 23:23:01 ==> Appending adjustments 23:23:01 https://docs.codecov.io/docs/fixing-reports 23:23:01 + Found adjustments 23:23:01 ==> Gzipping contents 23:23:01 16K /tmp/codecov.IczBdB.gz 23:23:01 ==> Uploading reports 23:23:01 url: https://codecov.io 23:23:01 query: branch=PR-1121&commit=be4de0d5ed52719c8e0bee2af6130480cae9fe3c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1121%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1121&job=&cmd_args= 23:23:01 -> Pinging Codecov 23:23:01 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1121&commit=be4de0d5ed52719c8e0bee2af6130480cae9fe3c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1121%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1121&job=&cmd_args= 23:23:01 -> Uploading to 23:23:01 https://storage.googleapis.com/codecov/v4/raw/2022-03-31/7E55EF52A471D76F132DFD9A03CDDE97/be4de0d5ed52719c8e0bee2af6130480cae9fe3c/b8358501-cf69-4f3d-879d-6c43be42917e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220331%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220331T232301Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=90b11dc8a92d0d4e58c87375372d06a62f2e688dc31d55cb321cf16a488a867e 23:23:01 % Total % Received % Xferd Average Speed Time Time Time Current 23:23:01 Dload Upload Total Spent Left Speed 23:23:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16243 0 0 100 16243 0 65232 --:--:-- --:--:-- --:--:-- 65232 23:23:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/be4de0d5ed52719c8e0bee2af6130480cae9fe3c [Pipeline] } 23:23:01 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 23:23:03 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1121/archives ] 23:23:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1121/archives 23:23:03 total 16 23:23:03 drwxr-xr-x 3 root root 4096 Mar 31 23:14 . 23:23:03 drwxrwxr-x 12 jenkins jenkins 4096 Mar 31 23:14 .. 23:23:03 drwxr-xr-x 2 root root 4096 Mar 31 23:14 cost 23:23:03 -rw-r--r-- 1 root root 85 Mar 31 23:14 cost.csv 23:23:03 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1121/archives 23:23:03 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1121/archives 23:23:03 total 16 23:23:03 drwxr-xr-x 3 jenkins jenkins 4096 Mar 31 23:14 . 23:23:03 drwxrwxr-x 12 jenkins jenkins 4096 Mar 31 23:14 .. 23:23:03 drwxr-xr-x 2 jenkins jenkins 4096 Mar 31 23:14 cost 23:23:03 -rw-r--r-- 1 jenkins jenkins 85 Mar 31 23:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:23:03 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:23:04 ---> package-listing.sh 23:23:04 ++ facter osfamily 23:23:04 ++ tr '[:upper:]' '[:lower:]' 23:23:05 + OS_FAMILY=debian 23:23:05 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1121 23:23:05 + START_PACKAGES=/tmp/packages_start.txt 23:23:05 + END_PACKAGES=/tmp/packages_end.txt 23:23:05 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:23:05 + PACKAGES=/tmp/packages_start.txt 23:23:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1121 ']' 23:23:05 + PACKAGES=/tmp/packages_end.txt 23:23:05 + case "${OS_FAMILY}" in 23:23:05 + dpkg -l 23:23:05 + grep '^ii' 23:23:05 + '[' -f /tmp/packages_start.txt ']' 23:23:05 + '[' -f /tmp/packages_end.txt ']' 23:23:05 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:23:05 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1121 ']' 23:23:05 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1121/archives/ 23:23:05 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1121/archives/ [Pipeline] echo 23:23:05 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-1121/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 23:23:05 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 23:23:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:23:06 . [Pipeline] withDockerContainer 23:23:06 prd-ubuntu20.04-docker-8c-8g-10352 does not seem to be running inside a container 23:23:06 $ 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-1121/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-1121 -v /w/workspace/gexfoundry_device-sdk-go_PR-1121:/w/workspace/gexfoundry_device-sdk-go_PR-1121:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1121@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 23:23:06 $ docker top a8e90873ffb875520e0d56b9415fe75f2a76afc14d655e382df82419a3bf4c96 -eo pid,comm [Pipeline] { [Pipeline] sh 23:23:07 + touch /tmp/pre-build-complete [Pipeline] sh 23:23:07 + mkdir -p /var/log/sysstat [Pipeline] sh 23:23:07 + ls /var/log/sa-host 23:23:07 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:23:07 provisioning config files... 23:23:07 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1121@tmp/config5463319170507042025tmp [Pipeline] { [Pipeline] echo 23:23:07 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:23:08 ---> create-netrc.sh [Pipeline] } 23:23:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:23:08 ---> python-tools-install.sh [Pipeline] echo 23:23:08 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:23:09 ---> sudo-logs.sh 23:23:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:23:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:23:09 ---> job-cost.sh 23:23:09 lf-activate-venv: SKIPPING 23:23:09 DEBUG: total: 0.2199999988079071 23:23:09 INFO: Retrieving Stack Cost... 23:23:09 INFO: Retrieving Pricing Info for: v3-standard-8 23:23:10 INFO: Archiving Costs [Pipeline] echo 23:23:10 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:23:10 ---> logs-deploy.sh 23:23:10 lf-activate-venv: SKIPPING 23:23:10 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1121/1 23:23:10 INFO: archiving workspace using pattern(s): 23:23:11 Archives upload complete. 23:23:11 INFO: archiving logs to Nexus