Pull request #1127 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of jpwhitemn for edgexfoundry/device-sdk-go Obtained Jenkinsfile from b352cb3f3b31b6f79ad6b75d1187976244d6fdfd+71f09d1ab0705056f5c82f36890c48cdd3d80cce (e155fd322e228b439a4b675a4ee2068a58646d1f) 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-ssh12538365426327609.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-ssh18010882837600339849.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-1127/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-1127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1394534269196295319.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-1127/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18177358449370772762.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-ssh467011538045317103.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-1127/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-1127/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh16722557157990492799.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-11612 in /w/workspace/gexfoundry_device-sdk-go_PR-1127 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1127 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1127/head:refs/remotes/origin/PR-1127 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 71f09d1ab0705056f5c82f36890c48cdd3d80cce into PR head commit b352cb3f3b31b6f79ad6b75d1187976244d6fdfd Merge succeeded, producing b352cb3f3b31b6f79ad6b75d1187976244d6fdfd Checking out Revision b352cb3f3b31b6f79ad6b75d1187976244d6fdfd (PR-1127) > git config core.sparsecheckout # timeout=10 > git checkout -f b352cb3f3b31b6f79ad6b75d1187976244d6fdfd # 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 71f09d1ab0705056f5c82f36890c48cdd3d80cce # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b352cb3f3b31b6f79ad6b75d1187976244d6fdfd # timeout=10 Commit message: "feat: remove default github templates that are now provided in .github repo" 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 19:19:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:19:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:19:32 ========================================================= 19:19:32 EdgeX Global Pipelines Version Info 19:19:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:19:33 ------------------- 19:19:33 stable info: 19:19:33 ------------------- 19:19:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:19:33 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:19:33 Message: update stable to v1.0.221 19:19:33 ------------------- 19:19:33 experimental info: 19:19:33 ------------------- 19:19:33 Commited By: **** collab-it+edgex@linuxfoundation.org 19:19:33 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 19:19:33 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:19:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1127 [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1127 [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1127 [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b352cb3f3b31b6f79ad6b75d1187976244d6fdfd [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b352cb3 [Pipeline] echo 19:19:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:19:35 provisioning config files... 19:19:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/config7674815935004765039tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:35 ---> docker-login.sh 19:19:35 nexus3.edgexfoundry.org:10001 19:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:36 Configure a credential helper to remove this warning. See 19:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:36 19:19:36 Login Succeeded 19:19:36 nexus3.edgexfoundry.org:10002 19:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:36 Configure a credential helper to remove this warning. See 19:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:36 19:19:36 Login Succeeded 19:19:36 nexus3.edgexfoundry.org:10003 19:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:36 Configure a credential helper to remove this warning. See 19:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:36 19:19:36 Login Succeeded 19:19:36 nexus3.edgexfoundry.org:10004 19:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:36 Configure a credential helper to remove this warning. See 19:19:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:36 19:19:36 Login Succeeded 19:19:36 docker.io 19:19:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:37 Configure a credential helper to remove this warning. See 19:19:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:37 19:19:37 Login Succeeded 19:19:37 ---> docker-login.sh ends [Pipeline] } 19:19:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:19:37 + git rev-list -1 --merges b352cb3f3b31b6f79ad6b75d1187976244d6fdfd~1..b352cb3f3b31b6f79ad6b75d1187976244d6fdfd [Pipeline] echo 19:19:37 -----------> git rev-list -1 --merges b352cb3f3b31b6f79ad6b75d1187976244d6fdfd~1..b352cb3f3b31b6f79ad6b75d1187976244d6fdfd b352cb3f3b31b6f79ad6b75d1187976244d6fdfd [false] [Pipeline] sh 19:19:38 + git log --format=format:%s -1 b352cb3f3b31b6f79ad6b75d1187976244d6fdfd [Pipeline] echo 19:19:38 ========================================================= 19:19:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:19:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:38 + git log --format=format:%s -1 b352cb3f3b31b6f79ad6b75d1187976244d6fdfd [Pipeline] echo 19:19:38 [semverPrep] GIT_COMMIT: b352cb3f3b31b6f79ad6b75d1187976244d6fdfd, Commit Message: feat: remove default github templates that are now provided in .github repo [Pipeline] echo 19:19:38 [semverPrep] This is not a build commit. [Pipeline] sh 19:19:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:19:39 + grep -v github /etc/ssh/ssh_known_hosts 19:19:39 + [ -e /tmp/ssh_known_hosts ] 19:19:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:19:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:19:39 + sudo tee -a /etc/ssh/ssh_known_hosts 19:19:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 19:19:39 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:19:39 19:19:39 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 19:19:39 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:19:39 latest: Pulling from edgex-devops/git-semver 19:19:39 a0d0a0d46f8b: Pulling fs layer 19:19:39 3e5f54012d9b: Pulling fs layer 19:19:39 4c7163046ea9: Pulling fs layer 19:19:39 0c2d73faf560: Pulling fs layer 19:19:39 0c2d73faf560: Waiting 19:19:39 3e5f54012d9b: Verifying Checksum 19:19:39 3e5f54012d9b: Download complete 19:19:39 a0d0a0d46f8b: Download complete 19:19:39 0c2d73faf560: Verifying Checksum 19:19:39 4c7163046ea9: Verifying Checksum 19:19:39 4c7163046ea9: Download complete 19:19:40 a0d0a0d46f8b: Pull complete 19:19:40 3e5f54012d9b: Pull complete 19:19:40 4c7163046ea9: Pull complete 19:19:40 0c2d73faf560: Pull complete 19:19:40 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 19:19:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 19:19:40 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 19:19:40 prd-ubuntu20.04-docker-8c-8g-11612 does not seem to be running inside a container 19:19:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 19:19:41 $ docker top 54b09be30020abf832997dca82bb8db4ff19c74dea402cb217490faedeffa5ff -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:19:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:41 [ssh-agent] Looking for ssh-agent implementation... 19:19:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:41 $ docker exec 54b09be30020abf832997dca82bb8db4ff19c74dea402cb217490faedeffa5ff ssh-agent 19:19:42 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDOBeom/agent.13 19:19:42 SSH_AGENT_PID=21 19:19:42 Running ssh-add (command line suppressed) 19:19:42 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/private_key_4514843764695735560.key (/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/private_key_4514843764695735560.key) 19:19:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:42 + git tag --points-at HEAD [Pipeline] } 19:19:42 $ docker exec --env ******** --env ******** 54b09be30020abf832997dca82bb8db4ff19c74dea402cb217490faedeffa5ff ssh-agent -k 19:19:42 unset SSH_AUTH_SOCK; 19:19:42 unset SSH_AGENT_PID; 19:19:42 echo Agent pid 21 killed; 19:19:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:19:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:19:42 [ssh-agent] Looking for ssh-agent implementation... 19:19:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:19:42 $ docker exec 54b09be30020abf832997dca82bb8db4ff19c74dea402cb217490faedeffa5ff ssh-agent 19:19:43 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXaEijnk/agent.54 19:19:43 SSH_AGENT_PID=60 19:19:43 Running ssh-add (command line suppressed) 19:19:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/private_key_3658818098953101693.key (/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/private_key_3658818098953101693.key) 19:19:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:19:43 + git semver init 19:19:43 # -> Open(): unable to determine branch for HEAD 19:19:43 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1127/.git 19:19:43 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1127 19:19:43 # $SEMVER_REMOTE_NAME = origin 19:19:43 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 19:19:43 # $SEMVER_USER_NAME = edgex-jenkins 19:19:43 # $SEMVER_BRANCH = PR-1127 19:19:43 # $SEMVER_TEMP = /tmp/semver-399833845 19:19:43 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 19:19:44 # '/tmp/semver-399833845' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1127/.semver' 19:19:44 # -> Force: false 19:19:44 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1127/.semver [Pipeline] } 19:19:44 $ docker exec --env ******** --env ******** 54b09be30020abf832997dca82bb8db4ff19c74dea402cb217490faedeffa5ff ssh-agent -k 19:19:45 unset SSH_AUTH_SOCK; 19:19:45 unset SSH_AGENT_PID; 19:19:45 echo Agent pid 60 killed; 19:19:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:19:45 + git semver [Pipeline] } 19:19:45 $ docker stop --time=1 54b09be30020abf832997dca82bb8db4ff19c74dea402cb217490faedeffa5ff 19:19:46 $ docker rm -f 54b09be30020abf832997dca82bb8db4ff19c74dea402cb217490faedeffa5ff [Pipeline] // withDockerContainer [Pipeline] sh 19:19:47 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:19:47 Stashed 1 file(s) [Pipeline] echo 19:19:47 [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 19:19:48 provisioning config files... 19:19:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/config3448672754625568821tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:19:48 ---> docker-login.sh 19:19:48 nexus3.edgexfoundry.org:10001 19:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:48 Configure a credential helper to remove this warning. See 19:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:48 19:19:48 Login Succeeded 19:19:48 nexus3.edgexfoundry.org:10002 19:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:48 Configure a credential helper to remove this warning. See 19:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:48 19:19:48 Login Succeeded 19:19:48 nexus3.edgexfoundry.org:10003 19:19:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:48 Configure a credential helper to remove this warning. See 19:19:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:48 19:19:48 Login Succeeded 19:19:48 nexus3.edgexfoundry.org:10004 19:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:49 Configure a credential helper to remove this warning. See 19:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:49 19:19:49 Login Succeeded 19:19:49 docker.io 19:19:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:19:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:19:49 Configure a credential helper to remove this warning. See 19:19:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:19:49 19:19:49 Login Succeeded 19:19:49 ---> docker-login.sh ends [Pipeline] } 19:19:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:19:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:19:49 ========================================================= 19:19:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 19:19:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:19:50 + 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 . 19:19:50 Sending build context to Docker daemon 9.559MB 19:19:50 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 19:19:50 Step 2/11 : FROM ${BASE} AS builder 19:19:50 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 19:19:50 59bf1c3509f3: Pulling fs layer 19:19:50 666ba61612fd: Pulling fs layer 19:19:50 8ed8ca486205: Pulling fs layer 19:19:50 4fe6c5a15a65: Pulling fs layer 19:19:50 22a0e8bec74d: Pulling fs layer 19:19:50 640e595b4fbd: Pulling fs layer 19:19:50 763cafe07f6e: Pulling fs layer 19:19:50 0c0b528cf693: Pulling fs layer 19:19:50 10935f4eaf8b: Pulling fs layer 19:19:50 640e595b4fbd: Waiting 19:19:50 763cafe07f6e: Waiting 19:19:50 0c0b528cf693: Waiting 19:19:50 10935f4eaf8b: Waiting 19:19:50 4fe6c5a15a65: Waiting 19:19:50 22a0e8bec74d: Waiting 19:19:50 8ed8ca486205: Verifying Checksum 19:19:50 8ed8ca486205: Download complete 19:19:50 666ba61612fd: Verifying Checksum 19:19:50 666ba61612fd: Download complete 19:19:50 22a0e8bec74d: Verifying Checksum 19:19:50 22a0e8bec74d: Download complete 19:19:50 640e595b4fbd: Verifying Checksum 19:19:50 640e595b4fbd: Download complete 19:19:50 59bf1c3509f3: Verifying Checksum 19:19:50 59bf1c3509f3: Download complete 19:19:50 763cafe07f6e: Download complete 19:19:50 0c0b528cf693: Verifying Checksum 19:19:50 0c0b528cf693: Download complete 19:19:50 59bf1c3509f3: Pull complete 19:19:50 666ba61612fd: Pull complete 19:19:50 8ed8ca486205: Pull complete 19:19:50 10935f4eaf8b: Verifying Checksum 19:19:50 10935f4eaf8b: Download complete 19:19:51 4fe6c5a15a65: Verifying Checksum 19:19:51 4fe6c5a15a65: Download complete 19:19:55 4fe6c5a15a65: Pull complete 19:19:55 22a0e8bec74d: Pull complete 19:19:55 640e595b4fbd: Pull complete 19:19:55 763cafe07f6e: Pull complete 19:19:55 0c0b528cf693: Pull complete 19:19:58 10935f4eaf8b: Pull complete 19:19:58 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 19:19:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 19:19:58 ---> 99d49a6021b9 19:19:58 Step 3/11 : ARG MAKE=make build 19:19:59 ---> Running in 5971258a56b4 19:19:59 Removing intermediate container 5971258a56b4 19:19:59 ---> a7bb7c72d307 19:19:59 Step 4/11 : WORKDIR /device-sdk-go 19:19:59 ---> Running in aa627f35f8f1 19:19:59 Removing intermediate container aa627f35f8f1 19:19:59 ---> dcdf8e7cfd17 19:19:59 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:19:59 ---> Running in 5cd821275ada 19:19:59 Removing intermediate container 5cd821275ada 19:19:59 ---> 4069f7da65d0 19:19:59 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:19:59 ---> Running in abf965593535 19:20:00 Removing intermediate container abf965593535 19:20:00 ---> 2dc304a862b9 19:20:00 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:20:00 ---> Running in 383c01d8f349 19:20:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:20:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:20:01 OK: 221 MiB in 52 packages 19:20:02 Removing intermediate container 383c01d8f349 19:20:02 ---> 637c3d59e5af 19:20:02 Step 8/11 : COPY go.mod vendor* ./ 19:20:02 ---> 3f4e3f463c6a 19:20:02 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:20:02 ---> Running in e54b08c9bcf1 19:20:03 Still waiting to schedule task 19:20:03 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 19:20:17 Removing intermediate container e54b08c9bcf1 19:20:17 ---> 2477fea51745 19:20:17 Step 10/11 : COPY . . 19:20:17 ---> c20a49b236db 19:20:17 Step 11/11 : RUN ${MAKE} 19:20:17 ---> Running in d207dae93125 19:20:17 noop 19:20:17 Removing intermediate container d207dae93125 19:20:17 ---> 3959c1b6d204 19:20:17 Successfully built 3959c1b6d204 19:20:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 19:20:18 + docker inspect -f . ci-base-image-x86_64 19:20:18 . [Pipeline] withDockerContainer 19:20:18 prd-ubuntu20.04-docker-8c-8g-11612 does not seem to be running inside a container 19:20:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:20:18 $ docker top 3ae267fc625495a8742f4da12074e8d3fee6b96381b9890205a0aaae18794af9 -eo pid,comm [Pipeline] { [Pipeline] sh 19:20:18 + go version 19:20:18 go version go1.17.6 linux/amd64 [Pipeline] } 19:20:18 $ docker stop --time=1 3ae267fc625495a8742f4da12074e8d3fee6b96381b9890205a0aaae18794af9 19:20:20 $ docker rm -f 3ae267fc625495a8742f4da12074e8d3fee6b96381b9890205a0aaae18794af9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:20:20 + docker inspect -f . ci-base-image-x86_64 19:20:20 . [Pipeline] withDockerContainer 19:20:21 prd-ubuntu20.04-docker-8c-8g-11612 does not seem to be running inside a container 19:20:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:20:21 $ docker top e2081719d95ad4c133f686cfc4f83fd76237edd1ff2335841be60603f78d7f9f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:20:21 + make test 19:20:21 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:20:22 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 19:20:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.012s coverage: 23.3% of statements 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 19:20:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.014s coverage: 27.6% of statements 19:20:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.020s coverage: 78.9% of statements 19:20:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.009s coverage: 10.8% of statements 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 19:20:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.013s coverage: 33.2% of statements 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 19:20:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.021s coverage: 86.1% of statements 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 19:20:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.020s coverage: 57.4% of statements 19:20:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.034s coverage: 89.2% of statements 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 19:20:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.017s coverage: 4.8% of statements 19:20:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 19:20:39 GO111MODULE=on go vet ./... 19:20:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:20:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:20:43 ./bin/test-attribution-txt.sh [Pipeline] echo 19:20:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:20:43 $ docker stop --time=1 e2081719d95ad4c133f686cfc4f83fd76237edd1ff2335841be60603f78d7f9f 19:20:45 $ docker rm -f e2081719d95ad4c133f686cfc4f83fd76237edd1ff2335841be60603f78d7f9f [Pipeline] // withDockerContainer [Pipeline] sh 19:20:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:20:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 19:20:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:20:46 + ls -al . 19:20:46 total 296 19:20:46 drwxrwxr-x 11 jenkins jenkins 4096 Apr 8 19:20 . 19:20:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:19 .. 19:20:46 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 19:19 .dockerignore 19:20:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 19:19 .git 19:20:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:19 .github 19:20:46 -rw-rw-r-- 1 jenkins jenkins 131 Apr 8 19:19 .gitignore 19:20:46 -rw-rw-r-- 1 jenkins jenkins 42 Apr 8 19:19 .golangci.yml 19:20:46 drwx------ 3 jenkins jenkins 4096 Apr 8 19:19 .semver 19:20:46 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 8 19:19 CHANGELOG.md 19:20:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 19:19 GOVERNANCE.md 19:20:46 -rw-rw-r-- 1 jenkins jenkins 880 Apr 8 19:19 Jenkinsfile 19:20:46 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 19:19 LICENSE 19:20:46 -rw-rw-r-- 1 jenkins jenkins 1627 Apr 8 19:19 Makefile 19:20:46 -rw-rw-r-- 1 jenkins jenkins 619 Apr 8 19:19 OWNERS.md 19:20:46 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 8 19:19 README.md 19:20:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 19:19 VERSION 19:20:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:19 bin 19:20:46 -rw-r--r-- 1 jenkins jenkins 129001 Apr 8 19:20 coverage.out 19:20:46 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 19:19 example 19:20:46 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 8 19:19 go.mod 19:20:46 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 8 19:19 go.sum 19:20:46 drwxrwxr-x 15 jenkins jenkins 4096 Apr 8 19:19 internal 19:20:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 19:19 openapi 19:20:46 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 19:19 pkg 19:20:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:19 snap 19:20:46 -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 19:19 version.go [Pipeline] isUnix [Pipeline] sh 19:20:47 + 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=b352cb3f3b31b6f79ad6b75d1187976244d6fdfd --label arch=amd64 --label version=0.0.0 . 19:20:47 Sending build context to Docker daemon 9.689MB 19:20:47 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 19:20:47 Step 2/25 : FROM ${BASE} AS builder 19:20:47 ---> 3959c1b6d204 19:20:47 Step 3/25 : ARG MAKE=make build 19:20:47 ---> Running in f7f0e575c803 19:20:47 Removing intermediate container f7f0e575c803 19:20:47 ---> 776f15eca9e1 19:20:47 Step 4/25 : WORKDIR /device-sdk-go 19:20:47 ---> Running in abcaf0544c9a 19:20:47 Removing intermediate container abcaf0544c9a 19:20:47 ---> 3e569b05447f 19:20:47 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:20:47 ---> Running in ea3aadda381c 19:20:47 Removing intermediate container ea3aadda381c 19:20:47 ---> 06fc1c1a2a7c 19:20:47 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:20:47 ---> Running in 057a71fad875 19:20:48 Removing intermediate container 057a71fad875 19:20:48 ---> b12934c1a738 19:20:48 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:20:48 ---> Running in cf19c996d5b8 19:20:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 19:20:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 19:20:49 OK: 221 MiB in 52 packages 19:20:50 Removing intermediate container cf19c996d5b8 19:20:50 ---> d4bd338e7ee9 19:20:50 Step 8/25 : COPY go.mod vendor* ./ 19:20:50 ---> 06fb481c95b7 19:20:50 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:20:50 ---> Running in 440f02df3bfb 19:20:51 Removing intermediate container 440f02df3bfb 19:20:51 ---> 27c10566efbb 19:20:51 Step 10/25 : COPY . . 19:20:51 ---> d6f7627d484b 19:20:51 Step 11/25 : RUN ${MAKE} 19:20:51 ---> Running in 947ef309ed99 19:20:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:21:02 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 19:21:02 Removing intermediate container 947ef309ed99 19:21:02 ---> 70f3f1c2c962 19:21:02 Step 12/25 : FROM alpine:3.14 19:21:03 3.14: Pulling from library/alpine 19:21:03 8663204ce13b: Pulling fs layer 19:21:03 8663204ce13b: Verifying Checksum 19:21:03 8663204ce13b: Download complete 19:21:04 8663204ce13b: Pull complete 19:21:04 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:21:04 Status: Downloaded newer image for alpine:3.14 19:21:04 ---> e04c818066af 19:21:04 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:21:04 ---> Running in 455dbb925087 19:21:04 Removing intermediate container 455dbb925087 19:21:04 ---> d2e856757d41 19:21:04 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:21:04 ---> Running in a93838f32475 19:21:04 Removing intermediate container a93838f32475 19:21:04 ---> 872ad62bfc53 19:21:04 Step 15/25 : RUN apk add --update --no-cache zeromq 19:21:04 ---> Running in d1051e8be630 19:21:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 19:21:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 19:21:06 (1/5) Installing libgcc (10.3.1_git20210424-r2) 19:21:06 (2/5) Installing libsodium (1.0.18-r0) 19:21:06 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 19:21:06 (4/5) Installing libzmq (4.3.4-r0) 19:21:06 (5/5) Installing zeromq (4.3.4-r0) 19:21:06 Executing busybox-1.33.1-r7.trigger 19:21:06 OK: 8 MiB in 19 packages 19:21:06 Removing intermediate container d1051e8be630 19:21:06 ---> 4c563ca4c04c 19:21:06 Step 16/25 : WORKDIR / 19:21:07 ---> Running in 43efc078c16e 19:21:07 Removing intermediate container 43efc078c16e 19:21:07 ---> 846587cbad8f 19:21:07 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:21:07 ---> b5f4e681a589 19:21:07 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:21:07 ---> 8c100c14a884 19:21:07 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:21:07 ---> 9e8fe0254804 19:21:07 Step 20/25 : EXPOSE 59999 19:21:07 ---> Running in 4f7a18095095 19:21:07 Removing intermediate container 4f7a18095095 19:21:07 ---> 8e54e9285901 19:21:07 Step 21/25 : ENTRYPOINT ["/device-simple"] 19:21:07 ---> Running in ad0c22cb4bd0 19:21:08 Removing intermediate container ad0c22cb4bd0 19:21:08 ---> 885d3ba005c5 19:21:08 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:21:08 ---> Running in a16b2f1e946c 19:21:08 Removing intermediate container a16b2f1e946c 19:21:08 ---> f96247ca2b4e 19:21:08 Step 23/25 : LABEL arch=amd64 19:21:08 ---> Running in a1cffbe60310 19:21:08 Removing intermediate container a1cffbe60310 19:21:08 ---> f65f8b9de794 19:21:08 Step 24/25 : LABEL git_sha=b352cb3f3b31b6f79ad6b75d1187976244d6fdfd 19:21:08 ---> Running in fb040f67ee60 19:21:08 Removing intermediate container fb040f67ee60 19:21:08 ---> 0f88b75c4966 19:21:08 Step 25/25 : LABEL version=0.0.0 19:21:08 ---> Running in 29d0de397a79 19:21:08 Removing intermediate container 29d0de397a79 19:21:08 ---> cc15c0b16d07 19:21:08 [Warning] One or more build-args [ARCH] were not consumed 19:21:08 Successfully built cc15c0b16d07 19:21:08 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 19:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:09 19:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 19:21:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:09 latest: Pulling from edgex-lftools-log-publisher 19:21:09 5eb5b503b376: Pulling fs layer 19:21:09 5c69ac0246d0: Pulling fs layer 19:21:09 ec43610c2a17: Pulling fs layer 19:21:09 3a2ae6a8a46f: Pulling fs layer 19:21:09 33b1e0a273af: Pulling fs layer 19:21:09 5d3b04190fa2: Pulling fs layer 19:21:09 2f39f015ded8: Pulling fs layer 19:21:09 3a2ae6a8a46f: Waiting 19:21:09 33b1e0a273af: Waiting 19:21:09 5d3b04190fa2: Waiting 19:21:09 2f39f015ded8: Waiting 19:21:09 5c69ac0246d0: Verifying Checksum 19:21:09 5c69ac0246d0: Download complete 19:21:09 3a2ae6a8a46f: Verifying Checksum 19:21:09 3a2ae6a8a46f: Download complete 19:21:09 33b1e0a273af: Verifying Checksum 19:21:09 33b1e0a273af: Download complete 19:21:09 ec43610c2a17: Verifying Checksum 19:21:09 ec43610c2a17: Download complete 19:21:09 5d3b04190fa2: Download complete 19:21:10 5eb5b503b376: Verifying Checksum 19:21:10 5eb5b503b376: Download complete 19:21:10 2f39f015ded8: Verifying Checksum 19:21:10 2f39f015ded8: Download complete 19:21:11 5eb5b503b376: Pull complete 19:21:11 5c69ac0246d0: Pull complete 19:21:11 ec43610c2a17: Pull complete 19:21:11 3a2ae6a8a46f: Pull complete 19:21:12 33b1e0a273af: Pull complete 19:21:12 5d3b04190fa2: Pull complete 19:21:16 2f39f015ded8: Pull complete 19:21:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:21:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:21:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 19:21:16 prd-ubuntu20.04-docker-8c-8g-11612 does not seem to be running inside a container 19:21:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:21:17 $ docker top b5b9bf8fdff1697eafe58dec3facc88b8aed6633626ec81f0c08e282bdf5175a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:21:18 ---> job-cost.sh 19:21:18 lf-activate-venv: SKIPPING 19:21:18 INFO: No Stack... 19:21:18 INFO: Retrieving Pricing Info for: v3-standard-8 19:21:19 INFO: Archiving Costs [Pipeline] sh 19:21:19 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives/cost.csv 19:21:19 + cut -d, -f6 [Pipeline] lock 19:21:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1127-1-stack-cost] 19:21:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1127-1-stack-cost] did not exist. Created. 19:21:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1127-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:21:20 + echo total: 0.2199999988079071 [Pipeline] stash 19:21:20 Stashed 1 file(s) [Pipeline] } 19:21:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1127-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:21:20 $ docker stop --time=1 b5b9bf8fdff1697eafe58dec3facc88b8aed6633626ec81f0c08e282bdf5175a 19:21:21 $ docker rm -f b5b9bf8fdff1697eafe58dec3facc88b8aed6633626ec81f0c08e282bdf5175a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:24:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-11613 in /w/workspace/gexfoundry_device-sdk-go_PR-1127 [Pipeline] { [Pipeline] ws 19:24:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 19:24:45 The recommended git tool is: git 19:24:53 using credential edgex-jenkins-ssh 19:24:53 Cloning the remote Git repository 19:24:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:24:53 > git init /w/workspace/device-sdk-go/1 # timeout=10 19:24:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:24:53 > git --version # timeout=10 19:24:53 > git --version # 'git version 2.25.1' 19:24:53 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:24:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:24:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:24:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:24:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:24:55 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1127/head:refs/remotes/origin/PR-1127 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:24:56 Merging remotes/origin/main commit 71f09d1ab0705056f5c82f36890c48cdd3d80cce into PR head commit b352cb3f3b31b6f79ad6b75d1187976244d6fdfd 19:24:56 Merge succeeded, producing b352cb3f3b31b6f79ad6b75d1187976244d6fdfd 19:24:56 Checking out Revision b352cb3f3b31b6f79ad6b75d1187976244d6fdfd (PR-1127) 19:24:56 > git config core.sparsecheckout # timeout=10 19:24:56 > git checkout -f b352cb3f3b31b6f79ad6b75d1187976244d6fdfd # timeout=10 19:24:56 > git remote # timeout=10 19:24:56 > git config --get remote.origin.url # timeout=10 19:24:56 using GIT_SSH to set credentials SSH Credentials for GitHub 19:24:56 > git merge 71f09d1ab0705056f5c82f36890c48cdd3d80cce # timeout=10 19:24:56 > git rev-parse HEAD^{commit} # timeout=10 19:24:56 > git config core.sparsecheckout # timeout=10 19:24:56 > git checkout -f b352cb3f3b31b6f79ad6b75d1187976244d6fdfd # timeout=10 19:25:01 Commit message: "feat: remove default github templates that are now provided in .github repo" 19:25:01 > git --version # timeout=10 19:25:01 > git --version # 'git version 2.25.1' 19:25:01 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:25:02 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:25:02 % Total % Received % Xferd Average Speed Time Time Time Current 19:25:02 Dload Upload Total Spent Left Speed 19:25:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 42754 0 --:--:-- --:--:-- --:--:-- 42909 [Pipeline] sh 19:25:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:25:03 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:25:03 + sudo tee /etc/docker/daemon.new 19:25:03 { 19:25:03 "registry-mirrors": [ 19:25:03 "https://nexus3.edgexfoundry.org:10001" 19:25:03 ], 19:25:03 "bip": "10.250.0.254/24", 19:25:03 "hosts": [ 19:25:03 "tcp://0.0.0.0:5555", 19:25:03 "unix:///var/run/docker.sock" 19:25:03 ], 19:25:03 "mtu": 1458, 19:25:03 "selinux-enabled": true, 19:25:03 "seccomp-profile": "/etc/docker/seccomp.json" 19:25:03 } [Pipeline] sh 19:25:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:25:04 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:25:22 provisioning config files... 19:25:22 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2789148503693855390tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:25:23 ---> docker-login.sh 19:25:23 nexus3.edgexfoundry.org:10001 19:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:24 Configure a credential helper to remove this warning. See 19:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:24 19:25:24 Login Succeeded 19:25:24 nexus3.edgexfoundry.org:10002 19:25:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:24 Configure a credential helper to remove this warning. See 19:25:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:24 19:25:24 Login Succeeded 19:25:24 nexus3.edgexfoundry.org:10003 19:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:25 Configure a credential helper to remove this warning. See 19:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:25 19:25:25 Login Succeeded 19:25:25 nexus3.edgexfoundry.org:10004 19:25:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:25 Configure a credential helper to remove this warning. See 19:25:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:25 19:25:25 Login Succeeded 19:25:25 docker.io 19:25:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:25:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:25:26 Configure a credential helper to remove this warning. See 19:25:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:25:26 19:25:26 Login Succeeded 19:25:26 ---> docker-login.sh ends [Pipeline] } 19:25:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:25:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:25:27 ========================================================= 19:25:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 19:25:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 19:25:27 + 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 . 19:25:28 Sending build context to Docker daemon 5.162MB 19:25:28 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 19:25:28 Step 2/11 : FROM ${BASE} AS builder 19:25:28 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:25:28 9b3977197b4f: Pulling fs layer 19:25:28 1a89e8eeedd5: Pulling fs layer 19:25:28 94645a83ff95: Pulling fs layer 19:25:28 3f3a8bcf1eab: Pulling fs layer 19:25:28 0c92f367c5e7: Pulling fs layer 19:25:28 f7c0051592d6: Pulling fs layer 19:25:28 a227ed2f7395: Pulling fs layer 19:25:28 7b1c46037f91: Pulling fs layer 19:25:28 3f3a8bcf1eab: Waiting 19:25:28 0c92f367c5e7: Waiting 19:25:28 f7c0051592d6: Waiting 19:25:28 a227ed2f7395: Waiting 19:25:28 94645a83ff95: Verifying Checksum 19:25:28 94645a83ff95: Download complete 19:25:28 1a89e8eeedd5: Download complete 19:25:28 0c92f367c5e7: Verifying Checksum 19:25:28 0c92f367c5e7: Download complete 19:25:28 f7c0051592d6: Verifying Checksum 19:25:28 f7c0051592d6: Download complete 19:25:28 9b3977197b4f: Download complete 19:25:28 a227ed2f7395: Verifying Checksum 19:25:28 a227ed2f7395: Download complete 19:25:29 9b3977197b4f: Pull complete 19:25:29 1a89e8eeedd5: Pull complete 19:25:30 94645a83ff95: Pull complete 19:25:30 7b1c46037f91: Verifying Checksum 19:25:30 7b1c46037f91: Download complete 19:25:31 3f3a8bcf1eab: Verifying Checksum 19:25:31 3f3a8bcf1eab: Download complete 19:25:46 3f3a8bcf1eab: Pull complete 19:25:46 0c92f367c5e7: Pull complete 19:25:46 f7c0051592d6: Pull complete 19:25:46 a227ed2f7395: Pull complete 19:25:51 7b1c46037f91: Pull complete 19:25:51 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 19:25:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 19:25:51 ---> f79e39bc4007 19:25:51 Step 3/11 : ARG MAKE=make build 19:25:52 ---> Running in 5723ecace265 19:25:53 Removing intermediate container 5723ecace265 19:25:53 ---> f4c90b0f4ab5 19:25:53 Step 4/11 : WORKDIR /device-sdk-go 19:25:53 ---> Running in 1cc5cdf22ff3 19:25:53 Removing intermediate container 1cc5cdf22ff3 19:25:53 ---> f673871bdedf 19:25:53 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:25:53 ---> Running in 9d3d933fe78b 19:25:53 Removing intermediate container 9d3d933fe78b 19:25:53 ---> fc0783b142ed 19:25:53 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:25:53 ---> Running in 4add1a0fb59a 19:25:56 Removing intermediate container 4add1a0fb59a 19:25:56 ---> e6490c0a313e 19:25:56 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:25:56 ---> Running in b2f3dbd310d3 19:25:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:26:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:26:01 OK: 220 MiB in 52 packages 19:26:02 Removing intermediate container b2f3dbd310d3 19:26:02 ---> 50a13a3525aa 19:26:02 Step 8/11 : COPY go.mod vendor* ./ 19:26:02 ---> 1d42b9ef776a 19:26:02 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:26:02 ---> Running in 4985c59766a3 19:26:49 Removing intermediate container 4985c59766a3 19:26:49 ---> 2c7ba4897814 19:26:49 Step 10/11 : COPY . . 19:26:49 ---> 7a416c85e6bb 19:26:49 Step 11/11 : RUN ${MAKE} 19:26:50 ---> Running in fef2bec910ca 19:26:51 noop 19:26:51 Removing intermediate container fef2bec910ca 19:26:51 ---> e9461bf10c63 19:26:51 Successfully built e9461bf10c63 19:26:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 19:26:52 + docker inspect -f . ci-base-image-arm64 19:26:52 . [Pipeline] withDockerContainer 19:26:52 prd-ubuntu20.04-docker-arm64-4c-16g-11613 does not seem to be running inside a container 19:26:52 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:26:53 $ docker top ccb0c56d4ab7b8faf251cda65d6cab17ad783f3605e1c0bbabd56a93217e4f61 -eo pid,comm [Pipeline] { [Pipeline] sh 19:26:54 + go version 19:26:54 go version go1.17.6 linux/arm64 [Pipeline] } 19:26:54 $ docker stop --time=1 ccb0c56d4ab7b8faf251cda65d6cab17ad783f3605e1c0bbabd56a93217e4f61 19:26:56 $ docker rm -f ccb0c56d4ab7b8faf251cda65d6cab17ad783f3605e1c0bbabd56a93217e4f61 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 19:26:57 + docker inspect -f . ci-base-image-arm64 19:26:57 . [Pipeline] withDockerContainer 19:26:57 prd-ubuntu20.04-docker-arm64-4c-16g-11613 does not seem to be running inside a container 19:26:57 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:26:59 $ docker top b0cdcbe507397cb6cff9551179ee1fffe9d846e0aa3713c72a9ad65edfc054cc -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 19:27:00 + make test 19:27:00 GO111MODULE=on go test -coverprofile=coverage.out ./... 19:27:02 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 19:28:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.093s coverage: 23.3% of statements 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 19:28:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.067s coverage: 27.6% of statements 19:28:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.090s coverage: 78.9% of statements 19:28:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.158s coverage: 10.8% of statements 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 19:28:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.200s coverage: 33.2% of statements 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 19:28:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.080s coverage: 86.1% of statements 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 19:28:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 19:28:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 57.4% of statements 19:28:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.210s coverage: 89.2% of statements 19:28:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 19:28:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.069s coverage: 4.8% of statements 19:28:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 19:28:44 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:28:44 GO111MODULE=on go vet ./... 19:29:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:29:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:29:16 ./bin/test-attribution-txt.sh [Pipeline] echo 19:29:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:29:18 $ docker stop --time=1 b0cdcbe507397cb6cff9551179ee1fffe9d846e0aa3713c72a9ad65edfc054cc 19:29:20 $ docker rm -f b0cdcbe507397cb6cff9551179ee1fffe9d846e0aa3713c72a9ad65edfc054cc [Pipeline] // withDockerContainer [Pipeline] sh 19:29:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:29:21 Warning: overwriting stash ‘coverage-report’ 19:29:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:29:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:29:23 + ls -al . 19:29:23 total 292 19:29:23 drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 19:29 . 19:29:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:24 .. 19:29:23 -rw-rw-r-- 1 jenkins jenkins 140 Apr 8 19:24 .dockerignore 19:29:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 19:25 .git 19:29:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:24 .github 19:29:23 -rw-rw-r-- 1 jenkins jenkins 131 Apr 8 19:24 .gitignore 19:29:23 -rw-rw-r-- 1 jenkins jenkins 42 Apr 8 19:24 .golangci.yml 19:29:23 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 8 19:24 CHANGELOG.md 19:29:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 19:24 GOVERNANCE.md 19:29:23 -rw-rw-r-- 1 jenkins jenkins 880 Apr 8 19:24 Jenkinsfile 19:29:23 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 8 19:24 LICENSE 19:29:23 -rw-rw-r-- 1 jenkins jenkins 1627 Apr 8 19:24 Makefile 19:29:23 -rw-rw-r-- 1 jenkins jenkins 619 Apr 8 19:24 OWNERS.md 19:29:23 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 8 19:24 README.md 19:29:23 -rw-rw-r-- 1 jenkins jenkins 5 Apr 8 19:19 VERSION 19:29:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 19:24 bin 19:29:23 -rw-r--r-- 1 jenkins jenkins 129001 Apr 8 19:28 coverage.out 19:29:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 19:24 example 19:29:23 -rw-rw-r-- 1 jenkins jenkins 3105 Apr 8 19:24 go.mod 19:29:23 -rw-rw-r-- 1 jenkins jenkins 34435 Apr 8 19:24 go.sum 19:29:23 drwxrwxr-x 15 jenkins jenkins 4096 Apr 8 19:24 internal 19:29:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 19:24 openapi 19:29:23 drwxrwxr-x 5 jenkins jenkins 4096 Apr 8 19:24 pkg 19:29:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 19:24 snap 19:29:23 -rw-rw-r-- 1 jenkins jenkins 222 Apr 8 19:24 version.go [Pipeline] isUnix [Pipeline] sh 19:29:24 + 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=b352cb3f3b31b6f79ad6b75d1187976244d6fdfd --label arch=arm64 --label version=0.0.0 . 19:29:24 Sending build context to Docker daemon 5.292MB 19:29:24 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 19:29:24 Step 2/25 : FROM ${BASE} AS builder 19:29:24 ---> e9461bf10c63 19:29:24 Step 3/25 : ARG MAKE=make build 19:29:24 ---> Running in 4f5a851ec304 19:29:25 Removing intermediate container 4f5a851ec304 19:29:25 ---> b6ead8892449 19:29:25 Step 4/25 : WORKDIR /device-sdk-go 19:29:25 ---> Running in 70b7317e6ebf 19:29:25 Removing intermediate container 70b7317e6ebf 19:29:25 ---> ddc15b76e155 19:29:25 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:29:25 ---> Running in 3ebb8e04f06c 19:29:25 Removing intermediate container 3ebb8e04f06c 19:29:25 ---> 5306919aa689 19:29:25 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:29:26 ---> Running in 17b8d111cfe4 19:29:27 Removing intermediate container 17b8d111cfe4 19:29:27 ---> c8120ac3a638 19:29:27 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 19:29:27 ---> Running in 35b9e9743fb6 19:29:28 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 19:29:29 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 19:29:30 OK: 220 MiB in 52 packages 19:29:31 Removing intermediate container 35b9e9743fb6 19:29:31 ---> dcacb939692e 19:29:31 Step 8/25 : COPY go.mod vendor* ./ 19:29:31 ---> 0c8c70ebe942 19:29:31 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:29:31 ---> Running in eaa1ef50262c 19:29:33 Removing intermediate container eaa1ef50262c 19:29:33 ---> 77adcb9bcaf4 19:29:33 Step 10/25 : COPY . . 19:29:35 ---> 96bb05533ca6 19:29:35 Step 11/25 : RUN ${MAKE} 19:29:35 ---> Running in 3c479c47f60d 19:29:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:30:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 19:30:58 Removing intermediate container 3c479c47f60d 19:30:58 ---> c1ebe1bc7e1f 19:30:58 Step 12/25 : FROM alpine:3.14 19:30:58 3.14: Pulling from library/alpine 19:30:58 455c02918c45: Pulling fs layer 19:30:58 455c02918c45: Download complete 19:30:58 455c02918c45: Pull complete 19:30:58 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 19:30:58 Status: Downloaded newer image for alpine:3.14 19:30:58 ---> ac73e934f311 19:30:58 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 19:30:58 ---> Running in 141216a03a44 19:30:58 Removing intermediate container 141216a03a44 19:30:58 ---> 0ae916756be4 19:30:58 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 19:30:58 ---> Running in 8c1932bdadad 19:31:00 Removing intermediate container 8c1932bdadad 19:31:00 ---> 50f842dd0d58 19:31:00 Step 15/25 : RUN apk add --update --no-cache zeromq 19:31:00 ---> Running in 8eea599b99c4 19:31:01 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 19:31:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 19:31:03 (1/5) Installing libgcc (10.3.1_git20210424-r2) 19:31:03 (2/5) Installing libsodium (1.0.18-r0) 19:31:03 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 19:31:03 (4/5) Installing libzmq (4.3.4-r0) 19:31:03 (5/5) Installing zeromq (4.3.4-r0) 19:31:04 Executing busybox-1.33.1-r7.trigger 19:31:04 OK: 8 MiB in 19 packages 19:31:05 Removing intermediate container 8eea599b99c4 19:31:05 ---> 74b12aab5007 19:31:05 Step 16/25 : WORKDIR / 19:31:05 ---> Running in 26e7bad828c3 19:31:05 Removing intermediate container 26e7bad828c3 19:31:05 ---> bba3abc6ded6 19:31:05 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:31:05 ---> 0e4bc15098e8 19:31:05 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:31:07 ---> bf950c436df4 19:31:07 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:31:07 ---> ce98d1dda8de 19:31:07 Step 20/25 : EXPOSE 59999 19:31:07 ---> Running in 5c39a307f990 19:31:08 Removing intermediate container 5c39a307f990 19:31:08 ---> 6cbb5012c289 19:31:08 Step 21/25 : ENTRYPOINT ["/device-simple"] 19:31:08 ---> Running in afe97c12f3d3 19:31:08 Removing intermediate container afe97c12f3d3 19:31:08 ---> 277c8aa8b30b 19:31:08 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 19:31:08 ---> Running in 7e4e3142c860 19:31:09 Removing intermediate container 7e4e3142c860 19:31:09 ---> 9db7cc896685 19:31:09 Step 23/25 : LABEL arch=arm64 19:31:09 ---> Running in 8d75cad1e6d6 19:31:09 Removing intermediate container 8d75cad1e6d6 19:31:09 ---> 8c15dcaeeebe 19:31:09 Step 24/25 : LABEL git_sha=b352cb3f3b31b6f79ad6b75d1187976244d6fdfd 19:31:09 ---> Running in 6c3e3d6809e9 19:31:09 Removing intermediate container 6c3e3d6809e9 19:31:09 ---> 34a02e2da543 19:31:09 Step 25/25 : LABEL version=0.0.0 19:31:09 ---> Running in b2fb8fb33315 19:31:10 Removing intermediate container b2fb8fb33315 19:31:10 ---> 1f4722559492 19:31:10 [Warning] One or more build-args [ARCH] were not consumed 19:31:10 Successfully built 1f4722559492 19:31:10 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 19:31:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:31:10 19:31:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 19:31:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:31:11 arm64: Pulling from edgex-lftools-log-publisher 19:31:11 8998bd30e6a1: Pulling fs layer 19:31:11 04944245beec: Pulling fs layer 19:31:11 699f458cf7ca: Pulling fs layer 19:31:11 765212b225bb: Pulling fs layer 19:31:11 f23df028b6ca: Pulling fs layer 19:31:11 d65c8cfc05b1: Pulling fs layer 19:31:11 2437ff75d9bd: Pulling fs layer 19:31:11 765212b225bb: Waiting 19:31:11 f23df028b6ca: Waiting 19:31:11 2437ff75d9bd: Waiting 19:31:11 d65c8cfc05b1: Waiting 19:31:11 04944245beec: Verifying Checksum 19:31:11 04944245beec: Download complete 19:31:11 765212b225bb: Verifying Checksum 19:31:11 765212b225bb: Download complete 19:31:11 f23df028b6ca: Verifying Checksum 19:31:11 f23df028b6ca: Download complete 19:31:11 d65c8cfc05b1: Download complete 19:31:11 699f458cf7ca: Verifying Checksum 19:31:11 699f458cf7ca: Download complete 19:31:12 8998bd30e6a1: Verifying Checksum 19:31:12 8998bd30e6a1: Download complete 19:31:14 2437ff75d9bd: Verifying Checksum 19:31:14 2437ff75d9bd: Download complete 19:31:16 8998bd30e6a1: Pull complete 19:31:16 04944245beec: Pull complete 19:31:18 699f458cf7ca: Pull complete 19:31:18 765212b225bb: Pull complete 19:31:18 f23df028b6ca: Pull complete 19:31:19 d65c8cfc05b1: Pull complete 19:31:34 2437ff75d9bd: Pull complete 19:31:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:31:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:31:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 19:31:34 prd-ubuntu20.04-docker-arm64-4c-16g-11613 does not seem to be running inside a container 19:31: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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:31:37 $ docker top 8cad88f4ca6c0e901c9a7120163ebc5c082b834ac6409eaef2e7cfbd3c3835ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:31:38 ---> job-cost.sh 19:31:38 lf-activate-venv: SKIPPING 19:31:38 INFO: No Stack... 19:31:39 INFO: Retrieving Pricing Info for: v3-standard-4 19:31:40 INFO: Archiving Costs [Pipeline] sh 19:31:40 + + cat /w/workspace/device-sdk-go/1/archives/cost.csv 19:31:40 cut -d, -f6 [Pipeline] lock 19:31:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1127-1-stack-cost] 19:31:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1127-1-stack-cost] did not exist. Created. 19:31:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1127-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:31:41 /w/workspace/device-sdk-go/1@tmp/durable-4e95f015/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:31:42 + echo total: 0.10999999940395355 [Pipeline] stash 19:31:42 Warning: overwriting stash ‘stack-cost’ 19:31:42 Stashed 1 file(s) [Pipeline] } 19:31:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1127-1-stack-cost] [Pipeline] // lock [Pipeline] } 19:31:42 $ docker stop --time=1 8cad88f4ca6c0e901c9a7120163ebc5c082b834ac6409eaef2e7cfbd3c3835ad 19:31:44 $ docker rm -f 8cad88f4ca6c0e901c9a7120163ebc5c082b834ac6409eaef2e7cfbd3c3835ad [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 19:31:46 provisioning config files... 19:31:46 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/config7706550639360037802tmp [Pipeline] { [Pipeline] sh 19:31:46 + set +x 19:31:46 + curl -s https://codecov.io/bash 19:31:46 + bash -s -- 19:31:46 19:31:46 _____ _ 19:31:46 / ____| | | 19:31:46 | | ___ __| | ___ ___ _____ __ 19:31:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 19:31:46 | |___| (_) | (_| | __/ (_| (_) \ V / 19:31:46 \_____\___/ \__,_|\___|\___\___/ \_/ 19:31:46 Bash-1.0.6 19:31:46 19:31:46 19:31:46 ==> git version 2.25.1 found 19:31:46 ==> 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 19:31:46 Release-Date: 2020-01-08 19:31:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 19:31:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 19:31:46 ==> Jenkins CI detected. 19:31:46 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1127 19:31:46 project root: . 19:31:46 --> token set from env 19:31:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 19:31:46 ==> Running gcov in . (disable via -X gcov) 19:31:46 ==> Python coveragepy not found 19:31:46 ==> Searching for coverage reports in: 19:31:46 + . 19:31:46 -> Found 1 reports 19:31:46 ==> Detecting git/mercurial file structure 19:31:46 ==> Reading reports 19:31:46 + ./coverage.out bytes=129001 19:31:46 ==> Appending adjustments 19:31:46 https://docs.codecov.io/docs/fixing-reports 19:31:46 + Found adjustments 19:31:46 ==> Gzipping contents 19:31:46 16K /tmp/codecov.IlFQjh.gz 19:31:46 ==> Uploading reports 19:31:46 url: https://codecov.io 19:31:46 query: branch=PR-1127&commit=b352cb3f3b31b6f79ad6b75d1187976244d6fdfd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1127%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1127&job=&cmd_args= 19:31:46 -> Pinging Codecov 19:31:46 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1127&commit=b352cb3f3b31b6f79ad6b75d1187976244d6fdfd&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1127%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1127&job=&cmd_args= 19:31:47 -> Uploading to 19:31:47 https://storage.googleapis.com/codecov/v4/raw/2022-04-08/7E55EF52A471D76F132DFD9A03CDDE97/b352cb3f3b31b6f79ad6b75d1187976244d6fdfd/49b9bc27-972b-4ca9-b7e5-4e991b0c69a6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220408T193147Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=edb8f990d1297416128d7322e4ec05ad4f95d6097cf24b3772e91d3ef26e3c9c 19:31:47 % Total % Received % Xferd Average Speed Time Time Time Current 19:31:47 Dload Upload Total Spent Left Speed 19:31:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16200 0 0 100 16200 0 64031 --:--:-- --:--:-- --:--:-- 64031 19:31:47 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/b352cb3f3b31b6f79ad6b75d1187976244d6fdfd [Pipeline] } 19:31:47 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 19:31:54 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives ] 19:31:54 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives 19:31:54 total 16 19:31:54 drwxr-xr-x 3 root root 4096 Apr 8 19:21 . 19:31:54 drwxrwxr-x 12 jenkins jenkins 4096 Apr 8 19:21 .. 19:31:54 drwxr-xr-x 2 root root 4096 Apr 8 19:21 cost 19:31:54 -rw-r--r-- 1 root root 85 Apr 8 19:21 cost.csv 19:31:54 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives 19:31:54 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives 19:31:54 total 16 19:31:54 drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 19:21 . 19:31:54 drwxrwxr-x 12 jenkins jenkins 4096 Apr 8 19:21 .. 19:31:54 drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 19:21 cost 19:31:54 -rw-r--r-- 1 jenkins jenkins 85 Apr 8 19:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:31:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:31:56 ---> package-listing.sh 19:31:56 ++ facter osfamily 19:31:56 ++ tr '[:upper:]' '[:lower:]' 19:31:56 + OS_FAMILY=debian 19:31:56 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1127 19:31:56 + START_PACKAGES=/tmp/packages_start.txt 19:31:56 + END_PACKAGES=/tmp/packages_end.txt 19:31:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:31:56 + PACKAGES=/tmp/packages_start.txt 19:31:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1127 ']' 19:31:56 + PACKAGES=/tmp/packages_end.txt 19:31:56 + case "${OS_FAMILY}" in 19:31:56 + dpkg -l 19:31:56 + grep '^ii' 19:31:56 + '[' -f /tmp/packages_start.txt ']' 19:31:56 + '[' -f /tmp/packages_end.txt ']' 19:31:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:31:56 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1127 ']' 19:31:56 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives/ 19:31:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1127/archives/ [Pipeline] echo 19:31:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:31:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 19:31:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:31:57 . [Pipeline] withDockerContainer 19:31:58 prd-ubuntu20.04-docker-8c-8g-11612 does not seem to be running inside a container 19:31:58 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1127/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1127 -v /w/workspace/gexfoundry_device-sdk-go_PR-1127:/w/workspace/gexfoundry_device-sdk-go_PR-1127:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:31:58 $ docker top 334066b6c5824849d45a5545898ec559f9c77690126f2120d31b814129169ca7 -eo pid,comm [Pipeline] { [Pipeline] sh 19:31:58 + touch /tmp/pre-build-complete [Pipeline] sh 19:31:59 + mkdir -p /var/log/sysstat [Pipeline] sh 19:31:59 + ls /var/log/sa-host 19:31:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:32:00 provisioning config files... 19:32:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1127@tmp/config3449171381949878805tmp [Pipeline] { [Pipeline] echo 19:32:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:32:01 ---> create-netrc.sh [Pipeline] } 19:32:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:32:01 ---> python-tools-install.sh [Pipeline] echo 19:32:02 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:32:02 ---> sudo-logs.sh 19:32:02 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:32:02 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:32:03 ---> job-cost.sh 19:32:03 lf-activate-venv: SKIPPING 19:32:03 DEBUG: total: 0.2199999988079071 19:32:03 INFO: Retrieving Stack Cost... 19:32:03 INFO: Retrieving Pricing Info for: v3-standard-8 19:32:04 INFO: Archiving Costs [Pipeline] echo 19:32:04 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:32:04 ---> logs-deploy.sh 19:32:04 lf-activate-venv: SKIPPING 19:32:04 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1127/1 19:32:04 INFO: archiving workspace using pattern(s): 19:32:05 Archives upload complete. 19:32:05 INFO: archiving logs to Nexus