Pull request #1134 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4+49643132f6b9e95e3a0d289ddc01900e940e8eba (004f10830e4a2f9e33ea8cc1bf812d95b27972d4) 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-ssh16844987211385944718.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-ssh17250395692337506495.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-1134/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-1134/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh6780704987498096530.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-1134/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5792652916418234772.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-ssh15961331782000998617.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-1134/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-1134/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh781878612179201811.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-20760’ Running on prd-ubuntu20.04-docker-8c-8g-20766 in /w/workspace/gexfoundry_device-sdk-go_PR-1134 [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-1134 # 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 49643132f6b9e95e3a0d289ddc01900e940e8eba into PR head commit abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 Merge succeeded, producing abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 Checking out Revision abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 (PR-1134) > 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/1134/head:refs/remotes/origin/PR-1134 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 49643132f6b9e95e3a0d289ddc01900e940e8eba # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 # 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 03:33:38 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:33:38 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:33:38 ========================================================= 03:33:38 EdgeX Global Pipelines Version Info 03:33:38 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:33:39 ------------------- 03:33:39 stable info: 03:33:39 ------------------- 03:33:39 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:33:39 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:33:39 Message: update stable to v1.0.221 03:33:40 ------------------- 03:33:40 experimental info: 03:33:40 ------------------- 03:33:40 Commited By: **** collab-it+edgex@linuxfoundation.org 03:33:40 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 03:33:40 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:33:40 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1134 [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1134 [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1134 [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = abb5df0 [Pipeline] echo 03:33:41 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:33:41 provisioning config files... 03:33:41 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp/config651223003509713614tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:41 ---> docker-login.sh 03:33:41 nexus3.edgexfoundry.org:10001 03:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:42 Configure a credential helper to remove this warning. See 03:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:42 03:33:42 Login Succeeded 03:33:42 nexus3.edgexfoundry.org:10002 03:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:42 Configure a credential helper to remove this warning. See 03:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:42 03:33:42 Login Succeeded 03:33:42 nexus3.edgexfoundry.org:10003 03:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:42 Configure a credential helper to remove this warning. See 03:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:42 03:33:42 Login Succeeded 03:33:42 nexus3.edgexfoundry.org:10004 03:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:42 Configure a credential helper to remove this warning. See 03:33:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:42 03:33:42 Login Succeeded 03:33:42 docker.io 03:33:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:43 Configure a credential helper to remove this warning. See 03:33:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:43 03:33:43 Login Succeeded 03:33:43 ---> docker-login.sh ends [Pipeline] } 03:33:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:33:43 + git rev-list -1 --merges abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4~1..abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 [Pipeline] echo 03:33:44 -----------> git rev-list -1 --merges abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4~1..abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 [false] [Pipeline] sh 03:33:44 + git log --format=format:%s -1 abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 [Pipeline] echo 03:33:44 ========================================================= 03:33:44 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:33:44 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:33:44 + git log --format=format:%s -1 abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 [Pipeline] echo 03:33:44 [semverPrep] GIT_COMMIT: abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 03:33:44 [semverPrep] This is not a build commit. [Pipeline] sh 03:33:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:33:45 + grep -v github /etc/ssh/ssh_known_hosts 03:33:45 + [ -e /tmp/ssh_known_hosts ] 03:33:45 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:33:45 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:33:45 + sudo tee -a /etc/ssh/ssh_known_hosts 03:33:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:33:45 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:33:45 03:33:45 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:33:46 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:33:46 latest: Pulling from edgex-devops/git-semver 03:33:46 a0d0a0d46f8b: Pulling fs layer 03:33:46 3e5f54012d9b: Pulling fs layer 03:33:46 4c7163046ea9: Pulling fs layer 03:33:46 0c2d73faf560: Pulling fs layer 03:33:46 3e5f54012d9b: Download complete 03:33:46 a0d0a0d46f8b: Verifying Checksum 03:33:46 a0d0a0d46f8b: Download complete 03:33:46 4c7163046ea9: Verifying Checksum 03:33:46 4c7163046ea9: Download complete 03:33:46 0c2d73faf560: Verifying Checksum 03:33:46 0c2d73faf560: Download complete 03:33:46 a0d0a0d46f8b: Pull complete 03:33:46 3e5f54012d9b: Pull complete 03:33:46 4c7163046ea9: Pull complete 03:33:46 0c2d73faf560: Pull complete 03:33:46 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 03:33:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 03:33:46 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 03:33:47 prd-ubuntu20.04-docker-8c-8g-20766 does not seem to be running inside a container 03:33:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1134 -v /w/workspace/gexfoundry_device-sdk-go_PR-1134:/w/workspace/gexfoundry_device-sdk-go_PR-1134:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 03:33:47 $ docker top 1af4c10dc1e45d8660674484971a54f8891f50ce0ba8f646365028059973cfd3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:33:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:48 [ssh-agent] Looking for ssh-agent implementation... 03:33:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:48 $ docker exec 1af4c10dc1e45d8660674484971a54f8891f50ce0ba8f646365028059973cfd3 ssh-agent 03:33:48 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXChjLIC/agent.13 03:33:48 SSH_AGENT_PID=19 03:33:48 Running ssh-add (command line suppressed) 03:33:48 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp/private_key_5622469723412044569.key (/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp/private_key_5622469723412044569.key) 03:33:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:48 + git tag --points-at HEAD [Pipeline] } 03:33:48 $ docker exec --env ******** --env ******** 1af4c10dc1e45d8660674484971a54f8891f50ce0ba8f646365028059973cfd3 ssh-agent -k 03:33:49 unset SSH_AUTH_SOCK; 03:33:49 unset SSH_AGENT_PID; 03:33:49 echo Agent pid 19 killed; 03:33:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:33:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:33:49 [ssh-agent] Looking for ssh-agent implementation... 03:33:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:33:49 $ docker exec 1af4c10dc1e45d8660674484971a54f8891f50ce0ba8f646365028059973cfd3 ssh-agent 03:33:49 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKCkNHM/agent.51 03:33:49 SSH_AGENT_PID=57 03:33:49 Running ssh-add (command line suppressed) 03:33:49 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp/private_key_8980486696059920440.key (/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp/private_key_8980486696059920440.key) 03:33:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:33:49 + git semver init 03:33:49 # -> Open(): unable to determine branch for HEAD 03:33:49 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1134/.git 03:33:49 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1134 03:33:49 # $SEMVER_REMOTE_NAME = origin 03:33:49 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 03:33:49 # $SEMVER_USER_NAME = edgex-jenkins 03:33:49 # $SEMVER_BRANCH = PR-1134 03:33:49 # $SEMVER_TEMP = /tmp/semver-445633036 03:33:49 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 03:33:51 # '/tmp/semver-445633036' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1134/.semver' 03:33:51 # -> Force: false 03:33:51 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1134/.semver [Pipeline] } 03:33:51 $ docker exec --env ******** --env ******** 1af4c10dc1e45d8660674484971a54f8891f50ce0ba8f646365028059973cfd3 ssh-agent -k 03:33:51 unset SSH_AUTH_SOCK; 03:33:51 unset SSH_AGENT_PID; 03:33:51 echo Agent pid 57 killed; 03:33:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:33:51 + git semver [Pipeline] } 03:33:52 $ docker stop --time=1 1af4c10dc1e45d8660674484971a54f8891f50ce0ba8f646365028059973cfd3 03:33:53 $ docker rm -f 1af4c10dc1e45d8660674484971a54f8891f50ce0ba8f646365028059973cfd3 [Pipeline] // withDockerContainer [Pipeline] sh 03:33:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:33:54 Stashed 1 file(s) [Pipeline] echo 03:33:54 [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 03:33:54 provisioning config files... 03:33:54 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp/config993699473186393918tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:33:55 ---> docker-login.sh 03:33:55 nexus3.edgexfoundry.org:10001 03:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:55 Configure a credential helper to remove this warning. See 03:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:55 03:33:55 Login Succeeded 03:33:55 nexus3.edgexfoundry.org:10002 03:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:55 Configure a credential helper to remove this warning. See 03:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:55 03:33:55 Login Succeeded 03:33:55 nexus3.edgexfoundry.org:10003 03:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:55 Configure a credential helper to remove this warning. See 03:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:55 03:33:55 Login Succeeded 03:33:55 nexus3.edgexfoundry.org:10004 03:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:55 Configure a credential helper to remove this warning. See 03:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:55 03:33:55 Login Succeeded 03:33:55 docker.io 03:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:33:55 Configure a credential helper to remove this warning. See 03:33:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:33:55 03:33:55 Login Succeeded 03:33:55 ---> docker-login.sh ends [Pipeline] } 03:33:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:33:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:33:56 ========================================================= 03:33:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:33:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:33:56 + 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 . 03:33:56 Sending build context to Docker daemon 9.594MB 03:33:56 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 03:33:56 Step 2/11 : FROM ${BASE} AS builder 03:33:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:33:56 59bf1c3509f3: Pulling fs layer 03:33:56 666ba61612fd: Pulling fs layer 03:33:56 8ed8ca486205: Pulling fs layer 03:33:56 4fe6c5a15a65: Pulling fs layer 03:33:56 22a0e8bec74d: Pulling fs layer 03:33:56 640e595b4fbd: Pulling fs layer 03:33:56 763cafe07f6e: Pulling fs layer 03:33:56 0c0b528cf693: Pulling fs layer 03:33:56 10935f4eaf8b: Pulling fs layer 03:33:56 22a0e8bec74d: Waiting 03:33:56 640e595b4fbd: Waiting 03:33:56 763cafe07f6e: Waiting 03:33:56 0c0b528cf693: Waiting 03:33:56 10935f4eaf8b: Waiting 03:33:56 4fe6c5a15a65: Waiting 03:33:56 8ed8ca486205: Verifying Checksum 03:33:56 8ed8ca486205: Download complete 03:33:56 666ba61612fd: Download complete 03:33:56 22a0e8bec74d: Verifying Checksum 03:33:56 22a0e8bec74d: Download complete 03:33:56 640e595b4fbd: Verifying Checksum 03:33:56 640e595b4fbd: Download complete 03:33:56 59bf1c3509f3: Verifying Checksum 03:33:56 59bf1c3509f3: Download complete 03:33:56 763cafe07f6e: Download complete 03:33:56 0c0b528cf693: Verifying Checksum 03:33:56 0c0b528cf693: Download complete 03:33:56 59bf1c3509f3: Pull complete 03:33:57 666ba61612fd: Pull complete 03:33:57 8ed8ca486205: Pull complete 03:33:57 4fe6c5a15a65: Verifying Checksum 03:33:57 4fe6c5a15a65: Download complete 03:33:57 10935f4eaf8b: Verifying Checksum 03:33:57 10935f4eaf8b: Download complete 03:34:01 4fe6c5a15a65: Pull complete 03:34:01 22a0e8bec74d: Pull complete 03:34:01 640e595b4fbd: Pull complete 03:34:01 763cafe07f6e: Pull complete 03:34:02 0c0b528cf693: Pull complete 03:34:04 10935f4eaf8b: Pull complete 03:34:04 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 03:34:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:34:04 ---> 99d49a6021b9 03:34:04 Step 3/11 : ARG MAKE=make build 03:34:06 ---> Running in dfa8b0a0de09 03:34:06 Removing intermediate container dfa8b0a0de09 03:34:06 ---> 005be2b2a5ad 03:34:06 Step 4/11 : WORKDIR /device-sdk-go 03:34:06 ---> Running in b7866b362b2d 03:34:06 Removing intermediate container b7866b362b2d 03:34:06 ---> 409b05fb32cd 03:34:06 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:34:06 ---> Running in caee9623c212 03:34:06 Removing intermediate container caee9623c212 03:34:06 ---> 574200e8a594 03:34:06 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:34:06 ---> Running in 1af211bb7b9d 03:34:07 Removing intermediate container 1af211bb7b9d 03:34:07 ---> 1be7b667e6d6 03:34:07 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:34:07 ---> Running in 2582a449c63f 03:34:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:34:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:34:08 OK: 221 MiB in 52 packages 03:34:08 Removing intermediate container 2582a449c63f 03:34:08 ---> ed79035aa0c3 03:34:08 Step 8/11 : COPY go.mod vendor* ./ 03:34:09 ---> f96f2e31fe19 03:34:09 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:34:09 ---> Running in 113a50ebe36f 03:34:09 Still waiting to schedule task 03:34:09 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-20761’ 03:34:24 Removing intermediate container 113a50ebe36f 03:34:24 ---> f450934997a7 03:34:24 Step 10/11 : COPY . . 03:34:24 ---> bb501ff6056b 03:34:24 Step 11/11 : RUN ${MAKE} 03:34:24 ---> Running in 1e418341e985 03:34:24 noop 03:34:24 Removing intermediate container 1e418341e985 03:34:24 ---> f0d7bb25e6ea 03:34:24 Successfully built f0d7bb25e6ea 03:34:24 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:34:24 + docker inspect -f . ci-base-image-x86_64 03:34:24 . [Pipeline] withDockerContainer 03:34:24 prd-ubuntu20.04-docker-8c-8g-20766 does not seem to be running inside a container 03:34:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1134 -v /w/workspace/gexfoundry_device-sdk-go_PR-1134:/w/workspace/gexfoundry_device-sdk-go_PR-1134:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:34:24 $ docker top e23c9a25cdae70c04287247526809a2b69a5a38ec28d944a6d19f726cecfc7c7 -eo pid,comm [Pipeline] { [Pipeline] sh 03:34:25 + go version 03:34:25 go version go1.17.6 linux/amd64 [Pipeline] } 03:34:25 $ docker stop --time=1 e23c9a25cdae70c04287247526809a2b69a5a38ec28d944a6d19f726cecfc7c7 03:34:26 $ docker rm -f e23c9a25cdae70c04287247526809a2b69a5a38ec28d944a6d19f726cecfc7c7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:34:27 + docker inspect -f . ci-base-image-x86_64 03:34:27 . [Pipeline] withDockerContainer 03:34:27 prd-ubuntu20.04-docker-8c-8g-20766 does not seem to be running inside a container 03:34:27 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1134 -v /w/workspace/gexfoundry_device-sdk-go_PR-1134:/w/workspace/gexfoundry_device-sdk-go_PR-1134:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:34:28 $ docker top d2be7179bac427ca3846b73bb616cf9661f3bd6448c9ed6a41b58a8c39799b43 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:34:28 + make test 03:34:28 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:34:35 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:34:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:34:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:34:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:34:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.067s coverage: 23.3% of statements 03:34:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:34:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.072s coverage: 27.6% of statements 03:34:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 03:34:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.085s coverage: 10.8% of statements 03:34:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 03:34:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:34:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:34:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.091s coverage: 33.2% of statements 03:34:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:34:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 86.1% of statements 03:34:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:34:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:34:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements 03:34:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.785s coverage: 89.2% of statements 03:34:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:34:48 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.8% of statements 03:34:48 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:35:03 GO111MODULE=on go vet ./... 03:35:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:35:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:35:06 ./bin/test-attribution-txt.sh [Pipeline] echo 03:35:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:35:06 $ docker stop --time=1 d2be7179bac427ca3846b73bb616cf9661f3bd6448c9ed6a41b58a8c39799b43 03:35:08 $ docker rm -f d2be7179bac427ca3846b73bb616cf9661f3bd6448c9ed6a41b58a8c39799b43 [Pipeline] // withDockerContainer [Pipeline] sh 03:35:09 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:35:09 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:35:10 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:35:10 + ls -al . 03:35:10 total 316 03:35:10 drwxrwxr-x 11 jenkins jenkins 4096 Apr 13 03:35 . 03:35:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:33 .. 03:35:10 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 03:33 .dockerignore 03:35:10 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:33 .git 03:35:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:33 .github 03:35:10 -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 03:33 .gitignore 03:35:10 -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 03:33 .golangci.yml 03:35:10 drwx------ 3 jenkins jenkins 4096 Apr 13 03:33 .semver 03:35:10 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 03:33 CHANGELOG.md 03:35:10 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:33 GOVERNANCE.md 03:35:10 -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 03:33 Jenkinsfile 03:35:10 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 03:33 LICENSE 03:35:10 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 03:33 Makefile 03:35:10 -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 03:33 OWNERS.md 03:35:10 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 03:33 README.md 03:35:10 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 03:33 VERSION 03:35:10 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:33 bin 03:35:10 -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 03:34 coverage.out 03:35:10 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:33 example 03:35:10 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 13 03:33 go.mod 03:35:10 -rw-rw-r-- 1 jenkins jenkins 53784 Apr 13 03:33 go.sum 03:35:10 drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 03:33 internal 03:35:10 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:33 openapi 03:35:10 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:33 pkg 03:35:10 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:33 snap 03:35:10 -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 03:33 version.go [Pipeline] isUnix [Pipeline] sh 03:35:10 + 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=abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 --label arch=amd64 --label version=0.0.0 . 03:35:10 Sending build context to Docker daemon 9.724MB 03:35:10 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:35:10 Step 2/25 : FROM ${BASE} AS builder 03:35:10 ---> f0d7bb25e6ea 03:35:10 Step 3/25 : ARG MAKE=make build 03:35:11 ---> Running in e92803c760f7 03:35:11 Removing intermediate container e92803c760f7 03:35:11 ---> 9203d466006c 03:35:11 Step 4/25 : WORKDIR /device-sdk-go 03:35:11 ---> Running in 412a99951825 03:35:11 Removing intermediate container 412a99951825 03:35:11 ---> 82d4cb071b76 03:35:11 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:35:11 ---> Running in a61957e72536 03:35:11 Removing intermediate container a61957e72536 03:35:11 ---> 78d70ea5273d 03:35:11 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:35:11 ---> Running in 92a5fead5265 03:35:11 Removing intermediate container 92a5fead5265 03:35:11 ---> 253b7772d856 03:35:11 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:35:11 ---> Running in 1f1212d9ca0d 03:35:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:35:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:35:13 OK: 221 MiB in 52 packages 03:35:13 Removing intermediate container 1f1212d9ca0d 03:35:13 ---> 33c816b1dfc2 03:35:13 Step 8/25 : COPY go.mod vendor* ./ 03:35:13 ---> 62aae3d6a0a5 03:35:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:35:13 ---> Running in 020e7b393cb0 03:35:14 Removing intermediate container 020e7b393cb0 03:35:14 ---> 66ebb8e29e1d 03:35:14 Step 10/25 : COPY . . 03:35:15 ---> 16f8e88fa0a6 03:35:15 Step 11/25 : RUN ${MAKE} 03:35:15 ---> Running in 9855048357e2 03:35:15 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:35:33 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:35:34 Removing intermediate container 9855048357e2 03:35:34 ---> 53989ff32ca0 03:35:34 Step 12/25 : FROM alpine:3.14 03:35:35 3.14: Pulling from library/alpine 03:35:35 8663204ce13b: Pulling fs layer 03:35:35 8663204ce13b: Verifying Checksum 03:35:35 8663204ce13b: Download complete 03:35:35 8663204ce13b: Pull complete 03:35:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:35:35 Status: Downloaded newer image for alpine:3.14 03:35:35 ---> e04c818066af 03:35:35 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:35:35 ---> Running in f580a578b241 03:35:35 Removing intermediate container f580a578b241 03:35:35 ---> e3be8ccb0d91 03:35:35 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:35:35 ---> Running in d1f5c64f7a07 03:35:36 Removing intermediate container d1f5c64f7a07 03:35:36 ---> 3c0d35abeebf 03:35:36 Step 15/25 : RUN apk add --update --no-cache zeromq 03:35:36 ---> Running in 65ae51f1e716 03:35:36 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:35:37 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:35:37 (1/5) Installing libgcc (10.3.1_git20210424-r2) 03:35:37 (2/5) Installing libsodium (1.0.18-r0) 03:35:37 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 03:35:37 (4/5) Installing libzmq (4.3.4-r0) 03:35:38 (5/5) Installing zeromq (4.3.4-r0) 03:35:38 Executing busybox-1.33.1-r7.trigger 03:35:38 OK: 8 MiB in 19 packages 03:35:38 Removing intermediate container 65ae51f1e716 03:35:38 ---> 3ea3a117f0ea 03:35:38 Step 16/25 : WORKDIR / 03:35:38 ---> Running in 723619db3fda 03:35:38 Removing intermediate container 723619db3fda 03:35:38 ---> fe723256283c 03:35:38 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:35:39 ---> 9cc71aaf760d 03:35:39 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:35:39 ---> 62bafbb158d6 03:35:39 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:35:39 ---> b32a25651b95 03:35:39 Step 20/25 : EXPOSE 59999 03:35:39 ---> Running in dc7cc8355e7b 03:35:39 Removing intermediate container dc7cc8355e7b 03:35:39 ---> d28ae49ea873 03:35:39 Step 21/25 : ENTRYPOINT ["/device-simple"] 03:35:39 ---> Running in 656fd200be38 03:35:39 Removing intermediate container 656fd200be38 03:35:39 ---> 2fc15e6f601a 03:35:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:35:40 ---> Running in 6e50c99fe565 03:35:40 Removing intermediate container 6e50c99fe565 03:35:40 ---> ff0b5e119d8f 03:35:40 Step 23/25 : LABEL arch=amd64 03:35:40 ---> Running in ed00e56b859a 03:35:40 Removing intermediate container ed00e56b859a 03:35:40 ---> 82fbd2e5a9e9 03:35:40 Step 24/25 : LABEL git_sha=abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 03:35:40 ---> Running in 95dbc78c7309 03:35:40 Removing intermediate container 95dbc78c7309 03:35:40 ---> 43fb44868342 03:35:40 Step 25/25 : LABEL version=0.0.0 03:35:40 ---> Running in ce5aa0ef24ba 03:35:40 Removing intermediate container ce5aa0ef24ba 03:35:40 ---> bd63e7f5c017 03:35:40 [Warning] One or more build-args [ARCH] were not consumed 03:35:40 Successfully built bd63e7f5c017 03:35:40 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 03:35:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:41 03:35:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:35:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:41 latest: Pulling from edgex-lftools-log-publisher 03:35:41 5eb5b503b376: Pulling fs layer 03:35:41 5c69ac0246d0: Pulling fs layer 03:35:41 ec43610c2a17: Pulling fs layer 03:35:41 3a2ae6a8a46f: Pulling fs layer 03:35:41 33b1e0a273af: Pulling fs layer 03:35:41 5d3b04190fa2: Pulling fs layer 03:35:41 2f39f015ded8: Pulling fs layer 03:35:41 33b1e0a273af: Waiting 03:35:41 5d3b04190fa2: Waiting 03:35:41 2f39f015ded8: Waiting 03:35:41 3a2ae6a8a46f: Waiting 03:35:41 5c69ac0246d0: Verifying Checksum 03:35:41 5c69ac0246d0: Download complete 03:35:41 3a2ae6a8a46f: Verifying Checksum 03:35:41 3a2ae6a8a46f: Download complete 03:35:41 33b1e0a273af: Verifying Checksum 03:35:41 33b1e0a273af: Download complete 03:35:41 5d3b04190fa2: Verifying Checksum 03:35:41 5d3b04190fa2: Download complete 03:35:41 ec43610c2a17: Verifying Checksum 03:35:41 ec43610c2a17: Download complete 03:35:41 5eb5b503b376: Verifying Checksum 03:35:41 5eb5b503b376: Download complete 03:35:42 2f39f015ded8: Download complete 03:35:43 5eb5b503b376: Pull complete 03:35:43 5c69ac0246d0: Pull complete 03:35:44 ec43610c2a17: Pull complete 03:35:44 3a2ae6a8a46f: Pull complete 03:35:44 33b1e0a273af: Pull complete 03:35:44 5d3b04190fa2: Pull complete 03:35:48 2f39f015ded8: Pull complete 03:35:48 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:35:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:35:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:35:48 prd-ubuntu20.04-docker-8c-8g-20766 does not seem to be running inside a container 03:35: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-1134 -v /w/workspace/gexfoundry_device-sdk-go_PR-1134:/w/workspace/gexfoundry_device-sdk-go_PR-1134:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1134@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 03:35:50 $ docker top f7b09638fb286873aa8949e17efad18ebc7512e64ea6ef963510d1700ee2b099 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:35:50 ---> job-cost.sh 03:35:50 lf-activate-venv: SKIPPING 03:35:50 INFO: No Stack... 03:35:51 INFO: Retrieving Pricing Info for: v3-standard-8 03:35:51 INFO: Archiving Costs [Pipeline] sh 03:35:51 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1134/archives/cost.csv 03:35:51 + cut -d, -f6 [Pipeline] lock 03:35:51 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1134-1-stack-cost] 03:35:51 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1134-1-stack-cost] did not exist. Created. 03:35:51 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1134-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:35:52 + echo total: 0.2199999988079071 [Pipeline] stash 03:35:52 Stashed 1 file(s) [Pipeline] } 03:35:52 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1134-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:35:52 $ docker stop --time=1 f7b09638fb286873aa8949e17efad18ebc7512e64ea6ef963510d1700ee2b099 03:35:53 $ docker rm -f f7b09638fb286873aa8949e17efad18ebc7512e64ea6ef963510d1700ee2b099 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:37:26 Running on prd-ubuntu20.04-docker-arm64-4c-16g-20770 in /w/workspace/gexfoundry_device-sdk-go_PR-1134 [Pipeline] { [Pipeline] ws 03:37:26 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:37:26 The recommended git tool is: git 03:37:36 using credential edgex-jenkins-ssh 03:37:36 Cloning the remote Git repository 03:37:36 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:37:36 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:37:36 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:37:36 > git --version # timeout=10 03:37:36 > git --version # 'git version 2.25.1' 03:37:36 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:36 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:37:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:37:38 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:37:38 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:37:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:37:38 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1134/head:refs/remotes/origin/PR-1134 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:37:39 Merging remotes/origin/main commit 49643132f6b9e95e3a0d289ddc01900e940e8eba into PR head commit abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 03:37:39 Merge succeeded, producing abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 03:37:39 Checking out Revision abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 (PR-1134) 03:37:39 > git config core.sparsecheckout # timeout=10 03:37:39 > git checkout -f abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 # timeout=10 03:37:39 > git remote # timeout=10 03:37:39 > git config --get remote.origin.url # timeout=10 03:37:39 using GIT_SSH to set credentials SSH Credentials for GitHub 03:37:39 > git merge 49643132f6b9e95e3a0d289ddc01900e940e8eba # timeout=10 03:37:39 > git rev-parse HEAD^{commit} # timeout=10 03:37:39 > git config core.sparsecheckout # timeout=10 03:37:39 > git checkout -f abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 # timeout=10 03:37:44 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 03:37:44 > git --version # timeout=10 03:37:44 > git --version # 'git version 2.25.1' 03:37:44 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:37:45 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:37:45 % Total % Received % Xferd Average Speed Time Time Time Current 03:37:45 Dload Upload Total Spent Left Speed 03:37:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [Pipeline] sh 03:37:46 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:37:46 + sudo tee /etc/docker/daemon.new 03:37:46 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:37:46 { 03:37:46 "registry-mirrors": [ 03:37:46 "https://nexus3.edgexfoundry.org:10001" 03:37:46 ], 03:37:46 "bip": "10.250.0.254/24", 03:37:46 "hosts": [ 03:37:46 "tcp://0.0.0.0:5555", 03:37:46 "unix:///var/run/docker.sock" 03:37:46 ], 03:37:46 "mtu": 1458, 03:37:46 "selinux-enabled": true, 03:37:46 "seccomp-profile": "/etc/docker/seccomp.json" 03:37:46 } [Pipeline] sh 03:37:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:37:47 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:38:05 provisioning config files... 03:38:05 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2099638726660731859tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:38:06 ---> docker-login.sh 03:38:06 nexus3.edgexfoundry.org:10001 03:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:07 Configure a credential helper to remove this warning. See 03:38:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:07 03:38:07 Login Succeeded 03:38:07 nexus3.edgexfoundry.org:10002 03:38:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:08 Configure a credential helper to remove this warning. See 03:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:08 03:38:08 Login Succeeded 03:38:08 nexus3.edgexfoundry.org:10003 03:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:08 Configure a credential helper to remove this warning. See 03:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:08 03:38:08 Login Succeeded 03:38:08 nexus3.edgexfoundry.org:10004 03:38:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:08 Configure a credential helper to remove this warning. See 03:38:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:08 03:38:09 Login Succeeded 03:38:09 docker.io 03:38:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:38:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:38:09 Configure a credential helper to remove this warning. See 03:38:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:38:09 03:38:09 Login Succeeded 03:38:09 ---> docker-login.sh ends [Pipeline] } 03:38:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:38:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:38:10 ========================================================= 03:38:10 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:38:10 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:38:10 + 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 . 03:38:11 Sending build context to Docker daemon 5.187MB 03:38:11 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 03:38:11 Step 2/11 : FROM ${BASE} AS builder 03:38:11 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:38:11 9b3977197b4f: Pulling fs layer 03:38:11 1a89e8eeedd5: Pulling fs layer 03:38:11 94645a83ff95: Pulling fs layer 03:38:11 3f3a8bcf1eab: Pulling fs layer 03:38:11 0c92f367c5e7: Pulling fs layer 03:38:11 f7c0051592d6: Pulling fs layer 03:38:11 a227ed2f7395: Pulling fs layer 03:38:11 7b1c46037f91: Pulling fs layer 03:38:11 3f3a8bcf1eab: Waiting 03:38:11 0c92f367c5e7: Waiting 03:38:11 f7c0051592d6: Waiting 03:38:11 a227ed2f7395: Waiting 03:38:11 7b1c46037f91: Waiting 03:38:11 94645a83ff95: Verifying Checksum 03:38:11 94645a83ff95: Download complete 03:38:11 1a89e8eeedd5: Verifying Checksum 03:38:11 1a89e8eeedd5: Download complete 03:38:11 0c92f367c5e7: Verifying Checksum 03:38:11 0c92f367c5e7: Download complete 03:38:11 f7c0051592d6: Verifying Checksum 03:38:11 f7c0051592d6: Download complete 03:38:11 9b3977197b4f: Download complete 03:38:11 a227ed2f7395: Verifying Checksum 03:38:11 a227ed2f7395: Download complete 03:38:12 9b3977197b4f: Pull complete 03:38:12 1a89e8eeedd5: Pull complete 03:38:13 94645a83ff95: Pull complete 03:38:13 7b1c46037f91: Verifying Checksum 03:38:13 7b1c46037f91: Download complete 03:38:14 3f3a8bcf1eab: Verifying Checksum 03:38:14 3f3a8bcf1eab: Download complete 03:38:29 3f3a8bcf1eab: Pull complete 03:38:29 0c92f367c5e7: Pull complete 03:38:29 f7c0051592d6: Pull complete 03:38:29 a227ed2f7395: Pull complete 03:38:34 7b1c46037f91: Pull complete 03:38:34 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 03:38:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:38:34 ---> f79e39bc4007 03:38:34 Step 3/11 : ARG MAKE=make build 03:38:36 ---> Running in b7ddc40e2b0d 03:38:36 Removing intermediate container b7ddc40e2b0d 03:38:36 ---> cb6658027944 03:38:36 Step 4/11 : WORKDIR /device-sdk-go 03:38:36 ---> Running in 2556a2c8f9d5 03:38:36 Removing intermediate container 2556a2c8f9d5 03:38:36 ---> 156a6e1a36bf 03:38:36 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:38:37 ---> Running in c0cb1cf8ca0b 03:38:37 Removing intermediate container c0cb1cf8ca0b 03:38:37 ---> b63b928d540a 03:38:37 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:38:37 ---> Running in 1112f11bb236 03:38:39 Removing intermediate container 1112f11bb236 03:38:39 ---> c8b936180993 03:38:39 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:38:39 ---> Running in c41ec4e88a11 03:38:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:38:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:38:42 OK: 220 MiB in 52 packages 03:38:45 Removing intermediate container c41ec4e88a11 03:38:45 ---> d35d7501176b 03:38:45 Step 8/11 : COPY go.mod vendor* ./ 03:38:46 ---> c145f7ff6b77 03:38:46 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:38:46 ---> Running in 9f8ff872b70b 03:39:33 Removing intermediate container 9f8ff872b70b 03:39:33 ---> fb1b0d220125 03:39:33 Step 10/11 : COPY . . 03:39:34 ---> 9050a42634ee 03:39:34 Step 11/11 : RUN ${MAKE} 03:39:34 ---> Running in 6c692d6b3f28 03:39:35 noop 03:39:36 Removing intermediate container 6c692d6b3f28 03:39:36 ---> 7bca1af15d58 03:39:36 Successfully built 7bca1af15d58 03:39:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:39:37 + docker inspect -f . ci-base-image-arm64 03:39:37 . [Pipeline] withDockerContainer 03:39:37 prd-ubuntu20.04-docker-arm64-4c-16g-20770 does not seem to be running inside a container 03:39: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 03:39:39 $ docker top f7ca79fe712c059ae6609f5182f356423161412d14d399dfbba006f3cb4c7eed -eo pid,comm [Pipeline] { [Pipeline] sh 03:39:40 + go version 03:39:40 go version go1.17.6 linux/arm64 [Pipeline] } 03:39:40 $ docker stop --time=1 f7ca79fe712c059ae6609f5182f356423161412d14d399dfbba006f3cb4c7eed 03:39:41 $ docker rm -f f7ca79fe712c059ae6609f5182f356423161412d14d399dfbba006f3cb4c7eed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:39:42 + docker inspect -f . ci-base-image-arm64 03:39:42 . [Pipeline] withDockerContainer 03:39:43 prd-ubuntu20.04-docker-arm64-4c-16g-20770 does not seem to be running inside a container 03:39:43 $ 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 03:39:44 $ docker top 117e5771d04e745fe831fd997a804b778870cc0a25f7341d5140a2904b020a53 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:39:45 + make test 03:39:45 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:40:24 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:42:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:42:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:42:31 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:42:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.418s coverage: 23.3% of statements 03:42:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:42:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.285s coverage: 27.6% of statements 03:42:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.324s coverage: 78.9% of statements 03:42:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.255s coverage: 10.8% of statements 03:42:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 03:42:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:42:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:42:35 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.564s coverage: 33.2% of statements 03:42:35 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:42:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.326s coverage: 86.1% of statements 03:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.469s coverage: 65.1% of statements 03:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.734s coverage: 89.2% of statements 03:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:42:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.251s coverage: 4.8% of statements 03:42:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:42:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:42:43 GO111MODULE=on go vet ./... 03:44:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:44:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:44:20 ./bin/test-attribution-txt.sh [Pipeline] echo 03:44:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:44:20 $ docker stop --time=1 117e5771d04e745fe831fd997a804b778870cc0a25f7341d5140a2904b020a53 03:44:22 $ docker rm -f 117e5771d04e745fe831fd997a804b778870cc0a25f7341d5140a2904b020a53 [Pipeline] // withDockerContainer [Pipeline] sh 03:44:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:44:24 Warning: overwriting stash ‘coverage-report’ 03:44:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:44:25 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:44:25 + ls -al . 03:44:25 total 312 03:44:25 drwxrwxr-x 10 jenkins jenkins 4096 Apr 13 03:44 . 03:44:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:37 .. 03:44:25 -rw-rw-r-- 1 jenkins jenkins 140 Apr 13 03:37 .dockerignore 03:44:25 drwxrwxr-x 8 jenkins jenkins 4096 Apr 13 03:37 .git 03:44:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:37 .github 03:44:25 -rw-rw-r-- 1 jenkins jenkins 131 Apr 13 03:37 .gitignore 03:44:25 -rw-rw-r-- 1 jenkins jenkins 42 Apr 13 03:37 .golangci.yml 03:44:25 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 13 03:37 CHANGELOG.md 03:44:25 -rw-rw-r-- 1 jenkins jenkins 677 Apr 13 03:37 GOVERNANCE.md 03:44:25 -rw-rw-r-- 1 jenkins jenkins 880 Apr 13 03:37 Jenkinsfile 03:44:25 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 13 03:37 LICENSE 03:44:25 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 13 03:37 Makefile 03:44:25 -rw-rw-r-- 1 jenkins jenkins 619 Apr 13 03:37 OWNERS.md 03:44:25 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 13 03:37 README.md 03:44:25 -rw-rw-r-- 1 jenkins jenkins 5 Apr 13 03:33 VERSION 03:44:25 drwxrwxr-x 2 jenkins jenkins 4096 Apr 13 03:37 bin 03:44:25 -rw-r--r-- 1 jenkins jenkins 129245 Apr 13 03:42 coverage.out 03:44:25 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:37 example 03:44:25 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 13 03:37 go.mod 03:44:25 -rw-rw-r-- 1 jenkins jenkins 53784 Apr 13 03:37 go.sum 03:44:25 drwxrwxr-x 15 jenkins jenkins 4096 Apr 13 03:37 internal 03:44:25 drwxrwxr-x 3 jenkins jenkins 4096 Apr 13 03:37 openapi 03:44:25 drwxrwxr-x 5 jenkins jenkins 4096 Apr 13 03:37 pkg 03:44:25 drwxrwxr-x 4 jenkins jenkins 4096 Apr 13 03:37 snap 03:44:25 -rw-rw-r-- 1 jenkins jenkins 222 Apr 13 03:37 version.go [Pipeline] isUnix [Pipeline] sh 03:44:26 + 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=abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 --label arch=arm64 --label version=0.0.0 . 03:44:26 Sending build context to Docker daemon 5.317MB 03:44:26 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:44:26 Step 2/25 : FROM ${BASE} AS builder 03:44:26 ---> 7bca1af15d58 03:44:26 Step 3/25 : ARG MAKE=make build 03:44:26 ---> Running in 9a01b9a886ef 03:44:27 Removing intermediate container 9a01b9a886ef 03:44:27 ---> 7db941b3818a 03:44:27 Step 4/25 : WORKDIR /device-sdk-go 03:44:27 ---> Running in 4a290df574ab 03:44:27 Removing intermediate container 4a290df574ab 03:44:27 ---> b3dc93f9bd03 03:44:27 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:44:27 ---> Running in 1de1cb19c23d 03:44:28 Removing intermediate container 1de1cb19c23d 03:44:28 ---> 305b9133ced8 03:44:28 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:44:28 ---> Running in ddf2979086ce 03:44:30 Removing intermediate container ddf2979086ce 03:44:30 ---> afc35cdfd2a6 03:44:30 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:44:30 ---> Running in 245f75af94f8 03:44:30 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:44:31 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:44:32 OK: 220 MiB in 52 packages 03:44:33 Removing intermediate container 245f75af94f8 03:44:33 ---> 71b692030165 03:44:33 Step 8/25 : COPY go.mod vendor* ./ 03:44:33 ---> fa3b2ba00cd8 03:44:33 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:44:34 ---> Running in 4347823ac46e 03:44:36 Removing intermediate container 4347823ac46e 03:44:36 ---> 6b98f1ca354a 03:44:36 Step 10/25 : COPY . . 03:44:37 ---> fd7e151fec35 03:44:37 Step 11/25 : RUN ${MAKE} 03:44:37 ---> Running in 9934bcdb1a18 03:44:38 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 03:47:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:47:00 Removing intermediate container 9934bcdb1a18 03:47:00 ---> 56997a64928c 03:47:00 Step 12/25 : FROM alpine:3.14 03:47:00 3.14: Pulling from library/alpine 03:47:00 455c02918c45: Pulling fs layer 03:47:00 455c02918c45: Verifying Checksum 03:47:00 455c02918c45: Download complete 03:47:00 455c02918c45: Pull complete 03:47:00 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:47:00 Status: Downloaded newer image for alpine:3.14 03:47:00 ---> ac73e934f311 03:47:00 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:47:00 ---> Running in b072e5048266 03:47:00 Removing intermediate container b072e5048266 03:47:00 ---> 8c031f549ec2 03:47:00 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:47:00 ---> Running in 42fbc4bdfa90 03:47:00 Removing intermediate container 42fbc4bdfa90 03:47:00 ---> 65cc3974ed3c 03:47:00 Step 15/25 : RUN apk add --update --no-cache zeromq 03:47:00 ---> Running in 748ef99fa612 03:47:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:47:00 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:47:01 (1/5) Installing libgcc (10.3.1_git20210424-r2) 03:47:01 (2/5) Installing libsodium (1.0.18-r0) 03:47:02 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 03:47:02 (4/5) Installing libzmq (4.3.4-r0) 03:47:02 (5/5) Installing zeromq (4.3.4-r0) 03:47:02 Executing busybox-1.33.1-r7.trigger 03:47:02 OK: 8 MiB in 19 packages 03:47:03 Removing intermediate container 748ef99fa612 03:47:03 ---> 7040cd214a05 03:47:03 Step 16/25 : WORKDIR / 03:47:03 ---> Running in 7697ca684318 03:47:03 Removing intermediate container 7697ca684318 03:47:03 ---> ae997ea667da 03:47:03 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:47:04 ---> 53670a9fdc7a 03:47:04 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:47:06 ---> 79cb694ea08a 03:47:06 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:47:06 ---> a119a474351e 03:47:06 Step 20/25 : EXPOSE 59999 03:47:06 ---> Running in 85eb60f90e5d 03:47:06 Removing intermediate container 85eb60f90e5d 03:47:06 ---> 32adf75690c7 03:47:06 Step 21/25 : ENTRYPOINT ["/device-simple"] 03:47:07 ---> Running in 0b1320b28c18 03:47:07 Removing intermediate container 0b1320b28c18 03:47:07 ---> 28540e73d460 03:47:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:47:07 ---> Running in ac75f2f8babe 03:47:07 Removing intermediate container ac75f2f8babe 03:47:07 ---> 0a819a2f0224 03:47:07 Step 23/25 : LABEL arch=arm64 03:47:07 ---> Running in f63ac79379e2 03:47:07 Removing intermediate container f63ac79379e2 03:47:07 ---> 5d3889b1b177 03:47:07 Step 24/25 : LABEL git_sha=abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 03:47:08 ---> Running in 452bcb1f5722 03:47:08 Removing intermediate container 452bcb1f5722 03:47:08 ---> 04d74b9dab8a 03:47:08 Step 25/25 : LABEL version=0.0.0 03:47:08 ---> Running in e60e7125ae49 03:47:08 Removing intermediate container e60e7125ae49 03:47:08 ---> 13829e4cd769 03:47:08 [Warning] One or more build-args [ARCH] were not consumed 03:47:08 Successfully built 13829e4cd769 03:47:08 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 03:47:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:47:09 03:47:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:47:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:47:10 arm64: Pulling from edgex-lftools-log-publisher 03:47:10 8998bd30e6a1: Pulling fs layer 03:47:10 04944245beec: Pulling fs layer 03:47:10 699f458cf7ca: Pulling fs layer 03:47:10 765212b225bb: Pulling fs layer 03:47:10 f23df028b6ca: Pulling fs layer 03:47:10 d65c8cfc05b1: Pulling fs layer 03:47:10 2437ff75d9bd: Pulling fs layer 03:47:10 f23df028b6ca: Waiting 03:47:10 d65c8cfc05b1: Waiting 03:47:10 2437ff75d9bd: Waiting 03:47:10 765212b225bb: Waiting 03:47:10 04944245beec: Verifying Checksum 03:47:10 04944245beec: Download complete 03:47:10 765212b225bb: Verifying Checksum 03:47:10 765212b225bb: Download complete 03:47:10 f23df028b6ca: Verifying Checksum 03:47:10 f23df028b6ca: Download complete 03:47:10 d65c8cfc05b1: Verifying Checksum 03:47:10 d65c8cfc05b1: Download complete 03:47:10 699f458cf7ca: Verifying Checksum 03:47:10 699f458cf7ca: Download complete 03:47:10 8998bd30e6a1: Download complete 03:47:13 2437ff75d9bd: Verifying Checksum 03:47:13 2437ff75d9bd: Download complete 03:47:15 8998bd30e6a1: Pull complete 03:47:15 04944245beec: Pull complete 03:47:17 699f458cf7ca: Pull complete 03:47:17 765212b225bb: Pull complete 03:47:18 f23df028b6ca: Pull complete 03:47:18 d65c8cfc05b1: Pull complete 03:47:33 2437ff75d9bd: Pull complete 03:47:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:47:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:47:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:47:34 prd-ubuntu20.04-docker-arm64-4c-16g-20770 does not seem to be running inside a container 03:47:34 $ 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 03:47:36 $ docker top 48e35350187eb466ca4558635074e48180080892bda0a5598376591082e26a94 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:37 ---> job-cost.sh 03:47:37 lf-activate-venv: SKIPPING 03:47:37 INFO: No Stack... 03:47:38 INFO: Retrieving Pricing Info for: v3-standard-4 03:47:39 INFO: Archiving Costs [Pipeline] sh 03:47:39 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 03:47:39 + cut -d, -f6 [Pipeline] lock 03:47:39 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1134-1-stack-cost] 03:47:39 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1134-1-stack-cost] did not exist. Created. 03:47:39 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1134-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:47:40 /w/workspace/device-sdk-go/1@tmp/durable-e742b0d9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:47:41 + echo total: 0.10999999940395355 [Pipeline] stash 03:47:41 Warning: overwriting stash ‘stack-cost’ 03:47:41 Stashed 1 file(s) [Pipeline] } 03:47:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1134-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:47:41 $ docker stop --time=1 48e35350187eb466ca4558635074e48180080892bda0a5598376591082e26a94 03:47:43 $ docker rm -f 48e35350187eb466ca4558635074e48180080892bda0a5598376591082e26a94 [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 03:47:44 provisioning config files... 03:47:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp/config4315877763001013749tmp [Pipeline] { [Pipeline] sh 03:47:44 + set +x 03:47:44 + curl -s https://codecov.io/bash 03:47:44 + bash -s -- 03:47:44 03:47:44 _____ _ 03:47:44 / ____| | | 03:47:44 | | ___ __| | ___ ___ _____ __ 03:47:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:47:44 | |___| (_) | (_| | __/ (_| (_) \ V / 03:47:44 \_____\___/ \__,_|\___|\___\___/ \_/ 03:47:44 Bash-1.0.6 03:47:44 03:47:44 03:47:44 ==> git version 2.25.1 found 03:47:44 ==> 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 03:47:44 Release-Date: 2020-01-08 03:47:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:47:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:47:44 ==> Jenkins CI detected. 03:47:44 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1134 03:47:44 project root: . 03:47:44 --> token set from env 03:47:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:47:44 ==> Running gcov in . (disable via -X gcov) 03:47:44 ==> Python coveragepy not found 03:47:44 ==> Searching for coverage reports in: 03:47:44 + . 03:47:44 -> Found 1 reports 03:47:44 ==> Detecting git/mercurial file structure 03:47:44 ==> Reading reports 03:47:44 + ./coverage.out bytes=129245 03:47:44 ==> Appending adjustments 03:47:44 https://docs.codecov.io/docs/fixing-reports 03:47:44 + Found adjustments 03:47:44 ==> Gzipping contents 03:47:44 20K /tmp/codecov.xqP37o.gz 03:47:44 ==> Uploading reports 03:47:44 url: https://codecov.io 03:47:44 query: branch=PR-1134&commit=abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1134%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1134&job=&cmd_args= 03:47:44 -> Pinging Codecov 03:47:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1134&commit=abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1134%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1134&job=&cmd_args= 03:47:45 -> Uploading to 03:47:45 https://storage.googleapis.com/codecov/v4/raw/2022-04-13/7E55EF52A471D76F132DFD9A03CDDE97/abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4/b9c76299-8e83-4e8d-af81-f1342e3fbae6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220413%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220413T034745Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36febce23bc19901422fb41870f4b2323c1063a410d460d308cd2bebbb7e176c 03:47:45 % Total % Received % Xferd Average Speed Time Time Time Current 03:47:45 Dload Upload Total Spent Left Speed 03:47:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16543 0 0 100 16543 0 76944 --:--:-- --:--:-- --:--:-- 76944 03:47:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/abb5df0a2c2e00ac4e5442004eeabc7ad46d45f4 [Pipeline] } 03:47:45 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 03:47:47 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1134/archives ] 03:47:47 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1134/archives 03:47:47 total 16 03:47:47 drwxr-xr-x 3 root root 4096 Apr 13 03:35 . 03:47:47 drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 03:35 .. 03:47:47 drwxr-xr-x 2 root root 4096 Apr 13 03:35 cost 03:47:47 -rw-r--r-- 1 root root 85 Apr 13 03:35 cost.csv 03:47:47 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1134/archives 03:47:47 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1134/archives 03:47:47 total 16 03:47:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 13 03:35 . 03:47:47 drwxrwxr-x 12 jenkins jenkins 4096 Apr 13 03:35 .. 03:47:47 drwxr-xr-x 2 jenkins jenkins 4096 Apr 13 03:35 cost 03:47:47 -rw-r--r-- 1 jenkins jenkins 85 Apr 13 03:35 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:47:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:47:48 ---> package-listing.sh 03:47:48 ++ facter osfamily 03:47:48 ++ tr '[:upper:]' '[:lower:]' 03:47:48 + OS_FAMILY=debian 03:47:48 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1134 03:47:48 + START_PACKAGES=/tmp/packages_start.txt 03:47:48 + END_PACKAGES=/tmp/packages_end.txt 03:47:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:47:48 + PACKAGES=/tmp/packages_start.txt 03:47:48 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1134 ']' 03:47:48 + PACKAGES=/tmp/packages_end.txt 03:47:48 + case "${OS_FAMILY}" in 03:47:48 + dpkg -l 03:47:48 + grep '^ii' 03:47:48 + '[' -f /tmp/packages_start.txt ']' 03:47:48 + '[' -f /tmp/packages_end.txt ']' 03:47:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:47:48 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1134 ']' 03:47:48 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1134/archives/ 03:47:48 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1134/archives/ [Pipeline] echo 03:47:48 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-1134/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:47:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:47:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:47:49 . [Pipeline] withDockerContainer 03:47:49 prd-ubuntu20.04-docker-8c-8g-20766 does not seem to be running inside a container 03:47:49 $ 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-1134/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-1134 -v /w/workspace/gexfoundry_device-sdk-go_PR-1134:/w/workspace/gexfoundry_device-sdk-go_PR-1134:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:47:50 $ docker top 368247174c08e37ae886300414ddfc7c120dd84c78e04d264f0efe3b5a445edd -eo pid,comm [Pipeline] { [Pipeline] sh 03:47:50 + touch /tmp/pre-build-complete [Pipeline] sh 03:47:50 + mkdir -p /var/log/sysstat [Pipeline] sh 03:47:51 + ls /var/log/sa-host 03:47:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:47:51 provisioning config files... 03:47:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1134@tmp/config2492087796987859729tmp [Pipeline] { [Pipeline] echo 03:47:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:47:51 ---> create-netrc.sh [Pipeline] } 03:47:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:47:52 ---> python-tools-install.sh [Pipeline] echo 03:47:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:47:52 ---> sudo-logs.sh 03:47:52 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:47:52 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:47:52 ---> job-cost.sh 03:47:52 lf-activate-venv: SKIPPING 03:47:52 DEBUG: total: 0.2199999988079071 03:47:52 INFO: Retrieving Stack Cost... 03:47:53 INFO: Retrieving Pricing Info for: v3-standard-8 03:47:53 INFO: Archiving Costs [Pipeline] echo 03:47:53 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:47:54 ---> logs-deploy.sh 03:47:54 lf-activate-venv: SKIPPING 03:47:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1134/1 03:47:54 INFO: archiving workspace using pattern(s): 03:47:55 Archives upload complete. 03:47:55 INFO: archiving logs to Nexus