Pull request #1138 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e2315f66138f948906b99415fa54277ed1bedb14+dd514f718fd528170d25c4d96999316fe43c7c62 (9dde02260b5d8635f0f5f490d9a57173c6a3b02d) 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-ssh15989076984849578723.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-ssh12931201082251875174.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-1138/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-1138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh2498906662384048549.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-1138/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh18292909234011574844.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-ssh1275678976526465800.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-1138/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-1138/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7781249363361912535.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-21050 in /w/workspace/gexfoundry_device-sdk-go_PR-1138 [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-1138 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit e2315f66138f948906b99415fa54277ed1bedb14 > 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/1138/head:refs/remotes/origin/PR-1138 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2315f66138f948906b99415fa54277ed1bedb14 # timeout=10 Merge succeeded, producing e2315f66138f948906b99415fa54277ed1bedb14 Checking out Revision e2315f66138f948906b99415fa54277ed1bedb14 (PR-1138) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e2315f66138f948906b99415fa54277ed1bedb14 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 07:50:35 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 07:50:35 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 07:50:35 ========================================================= 07:50:35 EdgeX Global Pipelines Version Info 07:50:35 ========================================================= [Pipeline] libraryResource [Pipeline] sh 07:50:36 ------------------- 07:50:36 stable info: 07:50:36 ------------------- 07:50:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:50:36 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 07:50:36 Message: update stable to v1.0.221 07:50:36 ------------------- 07:50:36 experimental info: 07:50:36 ------------------- 07:50:36 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 07:50:36 Commit SHA: 2d41b7a85c8a62c0c33f5e39ad1462a101ac531d 07:50:36 Message: update experimental to v1.0.222 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 07:50:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 07:50:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 07:50:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1138 [Pipeline] echo 07:50:38 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1138 [Pipeline] echo 07:50:38 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1138 [Pipeline] echo 07:50:38 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e2315f66138f948906b99415fa54277ed1bedb14 [Pipeline] echo 07:50:38 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e2315f6 [Pipeline] echo 07:50:38 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:50:38 provisioning config files... 07:50:38 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp/config7154101059841787595tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:38 ---> docker-login.sh 07:50:38 nexus3.edgexfoundry.org:10001 07:50:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:38 Configure a credential helper to remove this warning. See 07:50:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:38 07:50:38 Login Succeeded 07:50:38 nexus3.edgexfoundry.org:10002 07:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:39 Configure a credential helper to remove this warning. See 07:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:39 07:50:39 Login Succeeded 07:50:39 nexus3.edgexfoundry.org:10003 07:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:39 Configure a credential helper to remove this warning. See 07:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:39 07:50:39 Login Succeeded 07:50:39 nexus3.edgexfoundry.org:10004 07:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:39 Configure a credential helper to remove this warning. See 07:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:39 07:50:39 Login Succeeded 07:50:39 docker.io 07:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:40 Configure a credential helper to remove this warning. See 07:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:40 07:50:40 Login Succeeded 07:50:40 ---> docker-login.sh ends [Pipeline] } 07:50:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 07:50:40 + git rev-list -1 --merges e2315f66138f948906b99415fa54277ed1bedb14~1..e2315f66138f948906b99415fa54277ed1bedb14 [Pipeline] echo 07:50:40 -----------> git rev-list -1 --merges e2315f66138f948906b99415fa54277ed1bedb14~1..e2315f66138f948906b99415fa54277ed1bedb14 e2315f66138f948906b99415fa54277ed1bedb14 [false] [Pipeline] sh 07:50:41 + git log --format=format:%s -1 e2315f66138f948906b99415fa54277ed1bedb14 [Pipeline] echo 07:50:41 ========================================================= 07:50:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 07:50:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:50:41 + git log --format=format:%s -1 e2315f66138f948906b99415fa54277ed1bedb14 [Pipeline] echo 07:50:41 [semverPrep] GIT_COMMIT: e2315f66138f948906b99415fa54277ed1bedb14, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 07:50:41 [semverPrep] This is not a build commit. [Pipeline] sh 07:50:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 07:50:42 + grep -v github /etc/ssh/ssh_known_hosts 07:50:42 + [ -e /tmp/ssh_known_hosts ] 07:50:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 07:50:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 07:50:42 + sudo tee -a /etc/ssh/ssh_known_hosts 07:50:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 07:50:42 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:50:42 07:50:42 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 07:50:42 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:50:42 latest: Pulling from edgex-devops/git-semver 07:50:42 a0d0a0d46f8b: Pulling fs layer 07:50:42 3e5f54012d9b: Pulling fs layer 07:50:42 4c7163046ea9: Pulling fs layer 07:50:42 0c2d73faf560: Pulling fs layer 07:50:42 0c2d73faf560: Waiting 07:50:42 3e5f54012d9b: Verifying Checksum 07:50:42 3e5f54012d9b: Download complete 07:50:42 a0d0a0d46f8b: Download complete 07:50:42 0c2d73faf560: Verifying Checksum 07:50:42 0c2d73faf560: Download complete 07:50:42 4c7163046ea9: Verifying Checksum 07:50:42 4c7163046ea9: Download complete 07:50:43 a0d0a0d46f8b: Pull complete 07:50:43 3e5f54012d9b: Pull complete 07:50:43 4c7163046ea9: Pull complete 07:50:43 0c2d73faf560: Pull complete 07:50:43 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 07:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 07:50:43 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 07:50:44 prd-ubuntu20.04-docker-8c-8g-21050 does not seem to be running inside a container 07:50:44 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1138 -v /w/workspace/gexfoundry_device-sdk-go_PR-1138:/w/workspace/gexfoundry_device-sdk-go_PR-1138:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 07:50:45 $ docker top ada30b5014c1fd1e3a265e641249cab0f9b131c527a1c5023eadbc0d0f56c356 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 07:50:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:45 [ssh-agent] Looking for ssh-agent implementation... 07:50:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:45 $ docker exec ada30b5014c1fd1e3a265e641249cab0f9b131c527a1c5023eadbc0d0f56c356 ssh-agent 07:50:45 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXApgpcM/agent.14 07:50:45 SSH_AGENT_PID=21 07:50:45 Running ssh-add (command line suppressed) 07:50:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp/private_key_1981642278114340625.key (/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp/private_key_1981642278114340625.key) 07:50:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:46 + git tag --points-at HEAD [Pipeline] } 07:50:46 $ docker exec --env ******** --env ******** ada30b5014c1fd1e3a265e641249cab0f9b131c527a1c5023eadbc0d0f56c356 ssh-agent -k 07:50:46 unset SSH_AUTH_SOCK; 07:50:46 unset SSH_AGENT_PID; 07:50:46 echo Agent pid 21 killed; 07:50:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 07:50:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 07:50:46 [ssh-agent] Looking for ssh-agent implementation... 07:50:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 07:50:46 $ docker exec ada30b5014c1fd1e3a265e641249cab0f9b131c527a1c5023eadbc0d0f56c356 ssh-agent 07:50:46 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXGLoDIh/agent.54 07:50:46 SSH_AGENT_PID=60 07:50:46 Running ssh-add (command line suppressed) 07:50:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp/private_key_6365585446966860398.key (/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp/private_key_6365585446966860398.key) 07:50:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 07:50:47 + git semver init 07:50:47 # -> Open(): unable to determine branch for HEAD 07:50:47 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1138/.git 07:50:47 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1138 07:50:47 # $SEMVER_REMOTE_NAME = origin 07:50:47 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 07:50:47 # $SEMVER_USER_NAME = edgex-jenkins 07:50:47 # $SEMVER_BRANCH = PR-1138 07:50:47 # $SEMVER_TEMP = /tmp/semver-474993301 07:50:47 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 07:50:48 # '/tmp/semver-474993301' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1138/.semver' 07:50:48 # -> Force: false 07:50:48 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1138/.semver [Pipeline] } 07:50:48 $ docker exec --env ******** --env ******** ada30b5014c1fd1e3a265e641249cab0f9b131c527a1c5023eadbc0d0f56c356 ssh-agent -k 07:50:48 unset SSH_AUTH_SOCK; 07:50:48 unset SSH_AGENT_PID; 07:50:48 echo Agent pid 60 killed; 07:50:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 07:50:49 + git semver [Pipeline] } 07:50:49 $ docker stop --time=1 ada30b5014c1fd1e3a265e641249cab0f9b131c527a1c5023eadbc0d0f56c356 07:50:50 $ docker rm -f ada30b5014c1fd1e3a265e641249cab0f9b131c527a1c5023eadbc0d0f56c356 [Pipeline] // withDockerContainer [Pipeline] sh 07:50:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 07:50:51 Stashed 1 file(s) [Pipeline] echo 07:50:51 [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 07:50:51 provisioning config files... 07:50:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp/config6350997472076262374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:50:52 ---> docker-login.sh 07:50:52 nexus3.edgexfoundry.org:10001 07:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:52 Configure a credential helper to remove this warning. See 07:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:52 07:50:52 Login Succeeded 07:50:52 nexus3.edgexfoundry.org:10002 07:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:52 Configure a credential helper to remove this warning. See 07:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:52 07:50:52 Login Succeeded 07:50:52 nexus3.edgexfoundry.org:10003 07:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:52 Configure a credential helper to remove this warning. See 07:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:52 07:50:52 Login Succeeded 07:50:52 nexus3.edgexfoundry.org:10004 07:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:52 Configure a credential helper to remove this warning. See 07:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:52 07:50:52 Login Succeeded 07:50:52 docker.io 07:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:50:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:50:53 Configure a credential helper to remove this warning. See 07:50:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:50:53 07:50:53 Login Succeeded 07:50:53 ---> docker-login.sh ends [Pipeline] } 07:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:50:53 ========================================================= 07:50:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 07:50:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:50:53 + 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 . 07:50:53 Sending build context to Docker daemon 9.631MB 07:50:53 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 07:50:53 Step 2/11 : FROM ${BASE} AS builder 07:50:53 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 07:50:53 59bf1c3509f3: Pulling fs layer 07:50:53 666ba61612fd: Pulling fs layer 07:50:53 8ed8ca486205: Pulling fs layer 07:50:53 4fe6c5a15a65: Pulling fs layer 07:50:53 22a0e8bec74d: Pulling fs layer 07:50:53 640e595b4fbd: Pulling fs layer 07:50:53 763cafe07f6e: Pulling fs layer 07:50:53 0c0b528cf693: Pulling fs layer 07:50:53 10935f4eaf8b: Pulling fs layer 07:50:53 640e595b4fbd: Waiting 07:50:53 763cafe07f6e: Waiting 07:50:53 4fe6c5a15a65: Waiting 07:50:53 22a0e8bec74d: Waiting 07:50:53 10935f4eaf8b: Waiting 07:50:54 8ed8ca486205: Verifying Checksum 07:50:54 8ed8ca486205: Download complete 07:50:54 666ba61612fd: Download complete 07:50:54 22a0e8bec74d: Verifying Checksum 07:50:54 22a0e8bec74d: Download complete 07:50:54 640e595b4fbd: Verifying Checksum 07:50:54 640e595b4fbd: Download complete 07:50:54 59bf1c3509f3: Verifying Checksum 07:50:54 59bf1c3509f3: Download complete 07:50:54 763cafe07f6e: Download complete 07:50:54 0c0b528cf693: Verifying Checksum 07:50:54 0c0b528cf693: Download complete 07:50:54 59bf1c3509f3: Pull complete 07:50:54 666ba61612fd: Pull complete 07:50:54 8ed8ca486205: Pull complete 07:50:54 10935f4eaf8b: Verifying Checksum 07:50:54 10935f4eaf8b: Download complete 07:50:54 4fe6c5a15a65: Verifying Checksum 07:50:54 4fe6c5a15a65: Download complete 07:50:58 4fe6c5a15a65: Pull complete 07:50:58 22a0e8bec74d: Pull complete 07:50:58 640e595b4fbd: Pull complete 07:50:58 763cafe07f6e: Pull complete 07:50:58 0c0b528cf693: Pull complete 07:51:01 10935f4eaf8b: Pull complete 07:51:01 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 07:51:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 07:51:01 ---> 99d49a6021b9 07:51:01 Step 3/11 : ARG MAKE=make build 07:51:02 ---> Running in 74679ba5f4b4 07:51:02 Removing intermediate container 74679ba5f4b4 07:51:02 ---> f1003560ea65 07:51:02 Step 4/11 : WORKDIR /device-sdk-go 07:51:02 ---> Running in 42ebd2bc9ab4 07:51:02 Removing intermediate container 42ebd2bc9ab4 07:51:02 ---> 61f6b16d516f 07:51:02 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:51:02 ---> Running in 51b485b3c91f 07:51:02 Removing intermediate container 51b485b3c91f 07:51:02 ---> b0271d2fc1e3 07:51:02 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:51:03 ---> Running in a200385073bb 07:51:03 Removing intermediate container a200385073bb 07:51:03 ---> 0972bdd6c63e 07:51:03 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:51:03 ---> Running in 2a20b3185336 07:51:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:51:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:51:05 OK: 221 MiB in 52 packages 07:51:05 Removing intermediate container 2a20b3185336 07:51:05 ---> b68771eeda43 07:51:05 Step 8/11 : COPY go.mod vendor* ./ 07:51:05 ---> 7119c5f98590 07:51:05 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:51:05 ---> Running in 440e32b1d031 07:51:06 Still waiting to schedule task 07:51:06 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 07:51:17 Removing intermediate container 440e32b1d031 07:51:17 ---> 78f9af46360e 07:51:17 Step 10/11 : COPY . . 07:51:17 ---> 5a0ff4ff34ab 07:51:17 Step 11/11 : RUN ${MAKE} 07:51:17 ---> Running in 81868e653075 07:51:18 noop 07:51:18 Removing intermediate container 81868e653075 07:51:18 ---> 5c58a02b8e2c 07:51:18 Successfully built 5c58a02b8e2c 07:51:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 07:51:18 + docker inspect -f . ci-base-image-x86_64 07:51:18 . [Pipeline] withDockerContainer 07:51:18 prd-ubuntu20.04-docker-8c-8g-21050 does not seem to be running inside a container 07:51:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1138 -v /w/workspace/gexfoundry_device-sdk-go_PR-1138:/w/workspace/gexfoundry_device-sdk-go_PR-1138:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:51:19 $ docker top 600051ce6587c2b437a47b227a33d1bb0c2944ad35ecf4c251c2611e742f21bc -eo pid,comm [Pipeline] { [Pipeline] sh 07:51:19 + go version 07:51:19 go version go1.17.6 linux/amd64 [Pipeline] } 07:51:19 $ docker stop --time=1 600051ce6587c2b437a47b227a33d1bb0c2944ad35ecf4c251c2611e742f21bc 07:51:21 $ docker rm -f 600051ce6587c2b437a47b227a33d1bb0c2944ad35ecf4c251c2611e742f21bc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:51:21 + docker inspect -f . ci-base-image-x86_64 07:51:21 . [Pipeline] withDockerContainer 07:51:21 prd-ubuntu20.04-docker-8c-8g-21050 does not seem to be running inside a container 07:51:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1138 -v /w/workspace/gexfoundry_device-sdk-go_PR-1138:/w/workspace/gexfoundry_device-sdk-go_PR-1138:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 07:51:22 $ docker top 78bc2d44e83d8d866c828fe3ce1fc0894df308126b0be1da76494d707573da33 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:51:22 + make test 07:51:22 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:51:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:51:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.070s coverage: 23.3% of statements 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:51:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 07:51:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.075s coverage: 78.9% of statements 07:51:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 10.8% of statements 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:51:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 34.7% of statements 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:51:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.081s coverage: 86.1% of statements 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:51:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.114s coverage: 65.1% of statements 07:51:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.896s coverage: 89.2% of statements 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:51:40 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 07:51:40 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:51:55 GO111MODULE=on go vet ./... 07:51:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 07:51:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 07:51:57 ./bin/test-attribution-txt.sh [Pipeline] echo 07:51:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 07:51:58 $ docker stop --time=1 78bc2d44e83d8d866c828fe3ce1fc0894df308126b0be1da76494d707573da33 07:52:00 $ docker rm -f 78bc2d44e83d8d866c828fe3ce1fc0894df308126b0be1da76494d707573da33 [Pipeline] // withDockerContainer [Pipeline] sh 07:52:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 07:52:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 07:52:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 07:52:01 + ls -al . 07:52:01 total 316 07:52:01 drwxrwxr-x 11 jenkins jenkins 4096 Apr 15 07:51 . 07:52:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 07:50 .. 07:52:01 -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 07:50 .dockerignore 07:52:01 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 07:50 .git 07:52:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 07:50 .github 07:52:01 -rw-rw-r-- 1 jenkins jenkins 131 Apr 15 07:50 .gitignore 07:52:01 -rw-rw-r-- 1 jenkins jenkins 42 Apr 15 07:50 .golangci.yml 07:52:01 drwx------ 3 jenkins jenkins 4096 Apr 15 07:50 .semver 07:52:01 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 15 07:50 CHANGELOG.md 07:52:01 -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 07:50 GOVERNANCE.md 07:52:01 -rw-rw-r-- 1 jenkins jenkins 880 Apr 15 07:50 Jenkinsfile 07:52:01 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 15 07:50 LICENSE 07:52:01 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 15 07:50 Makefile 07:52:01 -rw-rw-r-- 1 jenkins jenkins 619 Apr 15 07:50 OWNERS.md 07:52:01 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 15 07:50 README.md 07:52:01 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 07:50 VERSION 07:52:01 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 07:50 bin 07:52:01 -rw-r--r-- 1 jenkins jenkins 129788 Apr 15 07:51 coverage.out 07:52:01 drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 07:50 example 07:52:01 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 15 07:50 go.mod 07:52:01 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 15 07:50 go.sum 07:52:01 drwxrwxr-x 15 jenkins jenkins 4096 Apr 15 07:50 internal 07:52:01 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 07:50 openapi 07:52:01 drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 07:50 pkg 07:52:01 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 07:50 snap 07:52:01 -rw-rw-r-- 1 jenkins jenkins 222 Apr 15 07:50 version.go [Pipeline] isUnix [Pipeline] sh 07:52:02 + 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=e2315f66138f948906b99415fa54277ed1bedb14 --label arch=amd64 --label version=0.0.0 . 07:52:02 Sending build context to Docker daemon 9.761MB 07:52:02 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 07:52:02 Step 2/25 : FROM ${BASE} AS builder 07:52:02 ---> 5c58a02b8e2c 07:52:02 Step 3/25 : ARG MAKE=make build 07:52:02 ---> Running in 7b5b65ac2ed6 07:52:02 Removing intermediate container 7b5b65ac2ed6 07:52:02 ---> 14dbde278958 07:52:02 Step 4/25 : WORKDIR /device-sdk-go 07:52:02 ---> Running in f97d9844b4c6 07:52:02 Removing intermediate container f97d9844b4c6 07:52:02 ---> 1e3d140a841d 07:52:02 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:52:02 ---> Running in a7465c4172b4 07:52:02 Removing intermediate container a7465c4172b4 07:52:02 ---> f52ec410aa2e 07:52:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:52:02 ---> Running in 788394f3b07a 07:52:03 Removing intermediate container 788394f3b07a 07:52:03 ---> 22be92583098 07:52:03 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:52:03 ---> Running in 6f37ab09ec0f 07:52:03 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 07:52:04 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 07:52:04 OK: 221 MiB in 52 packages 07:52:04 Removing intermediate container 6f37ab09ec0f 07:52:04 ---> 2c4ac71b03f1 07:52:04 Step 8/25 : COPY go.mod vendor* ./ 07:52:04 ---> 8440fbf903f7 07:52:04 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:52:04 ---> Running in 2aefc8d785ac 07:52:05 Removing intermediate container 2aefc8d785ac 07:52:05 ---> 80ec7bf4587a 07:52:05 Step 10/25 : COPY . . 07:52:06 ---> 38730117c367 07:52:06 Step 11/25 : RUN ${MAKE} 07:52:06 ---> Running in c395a404a58a 07:52:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 07:52:24 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 07:52:24 Removing intermediate container c395a404a58a 07:52:24 ---> 6ca8412c6554 07:52:24 Step 12/25 : FROM alpine:3.14 07:52:24 3.14: Pulling from library/alpine 07:52:25 8663204ce13b: Pulling fs layer 07:52:25 8663204ce13b: Verifying Checksum 07:52:25 8663204ce13b: Download complete 07:52:25 8663204ce13b: Pull complete 07:52:25 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 07:52:25 Status: Downloaded newer image for alpine:3.14 07:52:25 ---> e04c818066af 07:52:25 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:52:25 ---> Running in 2586a0d4bfe2 07:52:25 Removing intermediate container 2586a0d4bfe2 07:52:25 ---> 870054610eb7 07:52:25 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:52:25 ---> Running in f89b7b3ca325 07:52:26 Removing intermediate container f89b7b3ca325 07:52:26 ---> c651c9cad633 07:52:26 Step 15/25 : RUN apk add --update --no-cache zeromq 07:52:26 ---> Running in d1384c915916 07:52:26 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 07:52:27 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 07:52:27 (1/5) Installing libgcc (10.3.1_git20210424-r2) 07:52:27 (2/5) Installing libsodium (1.0.18-r0) 07:52:27 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 07:52:28 (4/5) Installing libzmq (4.3.4-r0) 07:52:28 (5/5) Installing zeromq (4.3.4-r0) 07:52:28 Executing busybox-1.33.1-r7.trigger 07:52:28 OK: 8 MiB in 19 packages 07:52:28 Removing intermediate container d1384c915916 07:52:28 ---> 2f11bc54d295 07:52:28 Step 16/25 : WORKDIR / 07:52:28 ---> Running in 7d6568b09390 07:52:28 Removing intermediate container 7d6568b09390 07:52:28 ---> b2b88b011ce2 07:52:28 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 07:52:28 ---> 9f1ee8bb4eab 07:52:28 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 07:52:29 ---> 45696f80467a 07:52:29 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 07:52:29 ---> 5388ce22c9cc 07:52:29 Step 20/25 : EXPOSE 59999 07:52:29 ---> Running in 9725c3f019ef 07:52:29 Removing intermediate container 9725c3f019ef 07:52:29 ---> 7792022a49f4 07:52:29 Step 21/25 : ENTRYPOINT ["/device-simple"] 07:52:29 ---> Running in 8857094ac588 07:52:29 Removing intermediate container 8857094ac588 07:52:29 ---> 37f8e4544833 07:52:29 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 07:52:29 ---> Running in f7f73062a623 07:52:29 Removing intermediate container f7f73062a623 07:52:29 ---> 18b6c1861c54 07:52:29 Step 23/25 : LABEL arch=amd64 07:52:29 ---> Running in eed78137db9c 07:52:29 Removing intermediate container eed78137db9c 07:52:29 ---> d6758c23a82b 07:52:29 Step 24/25 : LABEL git_sha=e2315f66138f948906b99415fa54277ed1bedb14 07:52:29 ---> Running in 64add4d69433 07:52:29 Removing intermediate container 64add4d69433 07:52:29 ---> cd9fc4d04445 07:52:29 Step 25/25 : LABEL version=0.0.0 07:52:29 ---> Running in 0a30c986d551 07:52:30 Removing intermediate container 0a30c986d551 07:52:30 ---> 26682612a476 07:52:30 [Warning] One or more build-args [ARCH] were not consumed 07:52:30 Successfully built 26682612a476 07:52:30 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 07:52:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:52:30 07:52:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 07:52:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:52:31 latest: Pulling from edgex-lftools-log-publisher 07:52:31 5eb5b503b376: Pulling fs layer 07:52:31 5c69ac0246d0: Pulling fs layer 07:52:31 ec43610c2a17: Pulling fs layer 07:52:31 3a2ae6a8a46f: Pulling fs layer 07:52:31 33b1e0a273af: Pulling fs layer 07:52:31 5d3b04190fa2: Pulling fs layer 07:52:31 2f39f015ded8: Pulling fs layer 07:52:31 3a2ae6a8a46f: Waiting 07:52:31 33b1e0a273af: Waiting 07:52:31 5d3b04190fa2: Waiting 07:52:31 2f39f015ded8: Waiting 07:52:31 5c69ac0246d0: Verifying Checksum 07:52:31 5c69ac0246d0: Download complete 07:52:31 3a2ae6a8a46f: Verifying Checksum 07:52:31 3a2ae6a8a46f: Download complete 07:52:31 33b1e0a273af: Verifying Checksum 07:52:31 33b1e0a273af: Download complete 07:52:31 ec43610c2a17: Verifying Checksum 07:52:31 ec43610c2a17: Download complete 07:52:31 5d3b04190fa2: Download complete 07:52:31 5eb5b503b376: Download complete 07:52:32 2f39f015ded8: Download complete 07:52:32 5eb5b503b376: Pull complete 07:52:32 5c69ac0246d0: Pull complete 07:52:33 ec43610c2a17: Pull complete 07:52:33 3a2ae6a8a46f: Pull complete 07:52:33 33b1e0a273af: Pull complete 07:52:33 5d3b04190fa2: Pull complete 07:52:37 2f39f015ded8: Pull complete 07:52:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 07:52:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 07:52:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 07:52:37 prd-ubuntu20.04-docker-8c-8g-21050 does not seem to be running inside a container 07:52:37 $ 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-1138 -v /w/workspace/gexfoundry_device-sdk-go_PR-1138:/w/workspace/gexfoundry_device-sdk-go_PR-1138:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 07:52:39 $ docker top 1ba355459e15468ef2b9070c4046b39c41a264cce2a5193bfb2b10b426d34f83 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:52:39 ---> job-cost.sh 07:52:39 lf-activate-venv: SKIPPING 07:52:39 INFO: No Stack... 07:52:39 INFO: Retrieving Pricing Info for: v3-standard-8 07:52:40 INFO: Archiving Costs [Pipeline] sh 07:52:40 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1138/archives/cost.csv 07:52:40 + cut -d, -f6 [Pipeline] lock 07:52:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1138-1-stack-cost] 07:52:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1138-1-stack-cost] did not exist. Created. 07:52:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 07:52:41 + echo total: 0.2199999988079071 [Pipeline] stash 07:52:41 Stashed 1 file(s) [Pipeline] } 07:52:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1138-1-stack-cost] [Pipeline] // lock [Pipeline] } 07:52:41 $ docker stop --time=1 1ba355459e15468ef2b9070c4046b39c41a264cce2a5193bfb2b10b426d34f83 07:52:42 $ docker rm -f 1ba355459e15468ef2b9070c4046b39c41a264cce2a5193bfb2b10b426d34f83 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 07:54:52 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21053 in /w/workspace/gexfoundry_device-sdk-go_PR-1138 [Pipeline] { [Pipeline] ws 07:54:52 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 07:54:53 The recommended git tool is: git 07:54:58 using credential edgex-jenkins-ssh 07:54:58 Cloning the remote Git repository 07:54:58 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 07:54:58 > git init /w/workspace/device-sdk-go/1 # timeout=10 07:54:59 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:54:59 > git --version # timeout=10 07:54:59 > git --version # 'git version 2.25.1' 07:54:59 using GIT_SSH to set credentials SSH Credentials for GitHub 07:54:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 07:55:00 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:55:00 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 07:55:01 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 07:55:01 Merging remotes/origin/main commit dd514f718fd528170d25c4d96999316fe43c7c62 into PR head commit e2315f66138f948906b99415fa54277ed1bedb14 07:55:02 Merge succeeded, producing e2315f66138f948906b99415fa54277ed1bedb14 07:55:02 Checking out Revision e2315f66138f948906b99415fa54277ed1bedb14 (PR-1138) 07:55:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 07:55:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1138/head:refs/remotes/origin/PR-1138 +refs/heads/main:refs/remotes/origin/main # timeout=10 07:55:01 > git config core.sparsecheckout # timeout=10 07:55:01 > git checkout -f e2315f66138f948906b99415fa54277ed1bedb14 # timeout=10 07:55:01 > git remote # timeout=10 07:55:01 > git config --get remote.origin.url # timeout=10 07:55:01 using GIT_SSH to set credentials SSH Credentials for GitHub 07:55:01 > git merge dd514f718fd528170d25c4d96999316fe43c7c62 # timeout=10 07:55:02 > git rev-parse HEAD^{commit} # timeout=10 07:55:02 > git config core.sparsecheckout # timeout=10 07:55:02 > git checkout -f e2315f66138f948906b99415fa54277ed1bedb14 # timeout=10 07:55:06 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 07:55:06 > git --version # timeout=10 07:55:06 > git --version # 'git version 2.25.1' 07:55:06 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 07:55:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 07:55:07 % Total % Received % Xferd Average Speed Time Time Time Current 07:55:07 Dload Upload Total Spent Left Speed 07:55:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 199k 0 --:--:-- --:--:-- --:--:-- 199k [Pipeline] sh 07:55:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 07:55:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 07:55:08 + sudo tee /etc/docker/daemon.new 07:55:08 { 07:55:08 "registry-mirrors": [ 07:55:08 "https://nexus3.edgexfoundry.org:10001" 07:55:08 ], 07:55:08 "bip": "10.250.0.254/24", 07:55:08 "hosts": [ 07:55:08 "tcp://0.0.0.0:5555", 07:55:08 "unix:///var/run/docker.sock" 07:55:08 ], 07:55:08 "mtu": 1458, 07:55:08 "selinux-enabled": true, 07:55:08 "seccomp-profile": "/etc/docker/seccomp.json" 07:55:08 } [Pipeline] sh 07:55:09 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 07:55:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 07:55:27 provisioning config files... 07:55:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7654820280522792966tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 07:55:28 ---> docker-login.sh 07:55:28 nexus3.edgexfoundry.org:10001 07:55:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:29 Configure a credential helper to remove this warning. See 07:55:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:29 07:55:29 Login Succeeded 07:55:29 nexus3.edgexfoundry.org:10002 07:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:30 Configure a credential helper to remove this warning. See 07:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:30 07:55:30 Login Succeeded 07:55:30 nexus3.edgexfoundry.org:10003 07:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:30 Configure a credential helper to remove this warning. See 07:55:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:30 07:55:30 Login Succeeded 07:55:30 nexus3.edgexfoundry.org:10004 07:55:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:31 Configure a credential helper to remove this warning. See 07:55:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:31 07:55:31 Login Succeeded 07:55:31 docker.io 07:55:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 07:55:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 07:55:32 Configure a credential helper to remove this warning. See 07:55:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 07:55:32 07:55:32 Login Succeeded 07:55:32 ---> docker-login.sh ends [Pipeline] } 07:55:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 07:55:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 07:55:32 ========================================================= 07:55:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 07:55:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 07:55:33 + 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 . 07:55:33 Sending build context to Docker daemon 5.194MB 07:55:33 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 07:55:33 Step 2/11 : FROM ${BASE} AS builder 07:55:33 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 07:55:33 9b3977197b4f: Pulling fs layer 07:55:33 1a89e8eeedd5: Pulling fs layer 07:55:33 94645a83ff95: Pulling fs layer 07:55:33 3f3a8bcf1eab: Pulling fs layer 07:55:33 0c92f367c5e7: Pulling fs layer 07:55:33 f7c0051592d6: Pulling fs layer 07:55:33 a227ed2f7395: Pulling fs layer 07:55:33 7b1c46037f91: Pulling fs layer 07:55:33 3f3a8bcf1eab: Waiting 07:55:33 f7c0051592d6: Waiting 07:55:33 a227ed2f7395: Waiting 07:55:33 7b1c46037f91: Waiting 07:55:33 94645a83ff95: Verifying Checksum 07:55:33 94645a83ff95: Download complete 07:55:33 1a89e8eeedd5: Download complete 07:55:33 0c92f367c5e7: Verifying Checksum 07:55:33 0c92f367c5e7: Download complete 07:55:33 f7c0051592d6: Verifying Checksum 07:55:33 f7c0051592d6: Download complete 07:55:33 9b3977197b4f: Verifying Checksum 07:55:33 9b3977197b4f: Download complete 07:55:33 a227ed2f7395: Verifying Checksum 07:55:33 a227ed2f7395: Download complete 07:55:34 9b3977197b4f: Pull complete 07:55:35 1a89e8eeedd5: Pull complete 07:55:35 94645a83ff95: Pull complete 07:55:36 7b1c46037f91: Verifying Checksum 07:55:36 7b1c46037f91: Download complete 07:55:36 3f3a8bcf1eab: Verifying Checksum 07:55:36 3f3a8bcf1eab: Download complete 07:55:49 3f3a8bcf1eab: Pull complete 07:55:49 0c92f367c5e7: Pull complete 07:55:49 f7c0051592d6: Pull complete 07:55:49 a227ed2f7395: Pull complete 07:55:54 7b1c46037f91: Pull complete 07:55:54 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 07:55:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 07:55:54 ---> f79e39bc4007 07:55:54 Step 3/11 : ARG MAKE=make build 07:55:56 ---> Running in 234852e0e254 07:55:56 Removing intermediate container 234852e0e254 07:55:56 ---> 3876c32b5220 07:55:56 Step 4/11 : WORKDIR /device-sdk-go 07:55:56 ---> Running in 033f17b2b139 07:55:56 Removing intermediate container 033f17b2b139 07:55:56 ---> 294a35fcdb7d 07:55:56 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 07:55:56 ---> Running in 6486f4574cdd 07:55:57 Removing intermediate container 6486f4574cdd 07:55:57 ---> 657ca5a239f7 07:55:57 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 07:55:57 ---> Running in 40e0b8c92604 07:55:59 Removing intermediate container 40e0b8c92604 07:55:59 ---> 91a71613ed33 07:55:59 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 07:55:59 ---> Running in c02fa82a28cd 07:56:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 07:56:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 07:56:02 OK: 220 MiB in 52 packages 07:56:03 Removing intermediate container c02fa82a28cd 07:56:03 ---> 2d38de26ceff 07:56:03 Step 8/11 : COPY go.mod vendor* ./ 07:56:03 ---> dfeaa15da926 07:56:03 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 07:56:03 ---> Running in e493014dab6a 07:56:51 Removing intermediate container e493014dab6a 07:56:51 ---> 5120c0f883a9 07:56:51 Step 10/11 : COPY . . 07:56:51 ---> 5033e8345059 07:56:51 Step 11/11 : RUN ${MAKE} 07:56:51 ---> Running in cd6d3a2ca439 07:56:52 noop 07:56:52 Removing intermediate container cd6d3a2ca439 07:56:52 ---> ba4fd5556bd7 07:56:52 Successfully built ba4fd5556bd7 07:56:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 07:56:53 + docker inspect -f . ci-base-image-arm64 07:56:53 . [Pipeline] withDockerContainer 07:56:53 prd-ubuntu20.04-docker-arm64-4c-16g-21053 does not seem to be running inside a container 07:56:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:56:54 $ docker top 459c30ee05bdda3ef429af9a847042d7183ab47f44f2629d724b4599ee458ec6 -eo pid,comm [Pipeline] { [Pipeline] sh 07:56:55 + go version 07:56:55 go version go1.17.6 linux/arm64 [Pipeline] } 07:56:55 $ docker stop --time=1 459c30ee05bdda3ef429af9a847042d7183ab47f44f2629d724b4599ee458ec6 07:56:57 $ docker rm -f 459c30ee05bdda3ef429af9a847042d7183ab47f44f2629d724b4599ee458ec6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 07:56:58 + docker inspect -f . ci-base-image-arm64 07:56:58 . [Pipeline] withDockerContainer 07:56:58 prd-ubuntu20.04-docker-arm64-4c-16g-21053 does not seem to be running inside a container 07:56:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 07:57:00 $ docker top 39eb2fa42628c607e20d7f067981950c072b912ae27cf27bf3dc2a68f2ae95cb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 07:57:01 + make test 07:57:01 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 07:57:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 07:59:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 07:59:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 07:59:32 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 07:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.379s coverage: 23.3% of statements 07:59:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 07:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.297s coverage: 27.6% of statements 07:59:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.325s coverage: 78.9% of statements 07:59:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.317s coverage: 10.8% of statements 07:59:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 07:59:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 07:59:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 07:59:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.439s coverage: 34.7% of statements 07:59:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 07:59:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.338s coverage: 86.1% of statements 07:59:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 07:59:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 07:59:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.454s coverage: 65.1% of statements 07:59:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.384s coverage: 89.2% of statements 07:59:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 07:59:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.247s coverage: 4.7% of statements 07:59:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 07:59:52 WARNING: Linting skipped (not on x86_64 or linter not installed) 07:59:52 GO111MODULE=on go vet ./... 08:01:29 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 08:01:29 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 08:01:29 ./bin/test-attribution-txt.sh [Pipeline] echo 08:01:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 08:01:29 $ docker stop --time=1 39eb2fa42628c607e20d7f067981950c072b912ae27cf27bf3dc2a68f2ae95cb 08:01:31 $ docker rm -f 39eb2fa42628c607e20d7f067981950c072b912ae27cf27bf3dc2a68f2ae95cb [Pipeline] // withDockerContainer [Pipeline] sh 08:01:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 08:01:33 Warning: overwriting stash ‘coverage-report’ 08:01:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 08:01:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 08:01:34 + ls -al . 08:01:34 total 312 08:01:34 drwxrwxr-x 10 jenkins jenkins 4096 Apr 15 08:01 . 08:01:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 07:54 .. 08:01:34 -rw-rw-r-- 1 jenkins jenkins 140 Apr 15 07:55 .dockerignore 08:01:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 15 07:55 .git 08:01:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 07:55 .github 08:01:34 -rw-rw-r-- 1 jenkins jenkins 131 Apr 15 07:55 .gitignore 08:01:34 -rw-rw-r-- 1 jenkins jenkins 42 Apr 15 07:55 .golangci.yml 08:01:34 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 15 07:55 CHANGELOG.md 08:01:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 15 07:55 GOVERNANCE.md 08:01:34 -rw-rw-r-- 1 jenkins jenkins 880 Apr 15 07:55 Jenkinsfile 08:01:34 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 15 07:55 LICENSE 08:01:34 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 15 07:55 Makefile 08:01:34 -rw-rw-r-- 1 jenkins jenkins 619 Apr 15 07:55 OWNERS.md 08:01:34 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 15 07:55 README.md 08:01:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 15 07:50 VERSION 08:01:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 15 07:55 bin 08:01:34 -rw-r--r-- 1 jenkins jenkins 129788 Apr 15 07:59 coverage.out 08:01:34 drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 07:55 example 08:01:34 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 15 07:55 go.mod 08:01:34 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 15 07:55 go.sum 08:01:34 drwxrwxr-x 15 jenkins jenkins 4096 Apr 15 07:55 internal 08:01:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 15 07:55 openapi 08:01:34 drwxrwxr-x 5 jenkins jenkins 4096 Apr 15 07:55 pkg 08:01:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 15 07:55 snap 08:01:34 -rw-rw-r-- 1 jenkins jenkins 222 Apr 15 07:55 version.go [Pipeline] isUnix [Pipeline] sh 08:01:35 + 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=e2315f66138f948906b99415fa54277ed1bedb14 --label arch=arm64 --label version=0.0.0 . 08:01:35 Sending build context to Docker daemon 5.325MB 08:01:35 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 08:01:35 Step 2/25 : FROM ${BASE} AS builder 08:01:35 ---> ba4fd5556bd7 08:01:35 Step 3/25 : ARG MAKE=make build 08:01:35 ---> Running in 6b9718d85e60 08:01:35 Removing intermediate container 6b9718d85e60 08:01:35 ---> 0d619d525ffd 08:01:35 Step 4/25 : WORKDIR /device-sdk-go 08:01:36 ---> Running in 5a9419dd80c3 08:01:36 Removing intermediate container 5a9419dd80c3 08:01:36 ---> b13be8d49812 08:01:36 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:01:36 ---> Running in 03e679ab67d1 08:01:37 Removing intermediate container 03e679ab67d1 08:01:37 ---> 0173a19bdc00 08:01:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:01:37 ---> Running in 7706f1de5a13 08:01:38 Removing intermediate container 7706f1de5a13 08:01:38 ---> 66a31861e37e 08:01:38 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 08:01:38 ---> Running in b6db85b29b01 08:01:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 08:01:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 08:01:41 OK: 220 MiB in 52 packages 08:01:42 Removing intermediate container b6db85b29b01 08:01:42 ---> 2e647d02e9e8 08:01:42 Step 8/25 : COPY go.mod vendor* ./ 08:01:43 ---> f9b460660017 08:01:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 08:01:43 ---> Running in bdb591e738c4 08:01:45 Removing intermediate container bdb591e738c4 08:01:45 ---> 3aedcff7205c 08:01:45 Step 10/25 : COPY . . 08:01:46 ---> 3f17fa6174af 08:01:46 Step 11/25 : RUN ${MAKE} 08:01:46 ---> Running in 0f1fd390e5c9 08:01:47 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 08:03:54 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 08:04:01 Removing intermediate container 0f1fd390e5c9 08:04:01 ---> ae6644018e0c 08:04:01 Step 12/25 : FROM alpine:3.14 08:04:01 3.14: Pulling from library/alpine 08:04:01 455c02918c45: Pulling fs layer 08:04:01 455c02918c45: Verifying Checksum 08:04:02 455c02918c45: Pull complete 08:04:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 08:04:02 Status: Downloaded newer image for alpine:3.14 08:04:02 ---> ac73e934f311 08:04:02 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 08:04:02 ---> Running in a14d58bb442a 08:04:02 Removing intermediate container a14d58bb442a 08:04:02 ---> 2807fc271f56 08:04:02 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 08:04:02 ---> Running in 689277b7d9c7 08:04:04 Removing intermediate container 689277b7d9c7 08:04:04 ---> b2da4fbcf3f2 08:04:04 Step 15/25 : RUN apk add --update --no-cache zeromq 08:04:04 ---> Running in 352ae4fd629a 08:04:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 08:04:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 08:04:07 (1/5) Installing libgcc (10.3.1_git20210424-r2) 08:04:07 (2/5) Installing libsodium (1.0.18-r0) 08:04:07 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 08:04:07 (4/5) Installing libzmq (4.3.4-r0) 08:04:07 (5/5) Installing zeromq (4.3.4-r0) 08:04:07 Executing busybox-1.33.1-r7.trigger 08:04:07 OK: 8 MiB in 19 packages 08:04:08 Removing intermediate container 352ae4fd629a 08:04:08 ---> 3e0dc24ea67d 08:04:08 Step 16/25 : WORKDIR / 08:04:08 ---> Running in 4b6324349531 08:04:09 Removing intermediate container 4b6324349531 08:04:09 ---> fe3fe4235c73 08:04:09 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 08:04:09 ---> e4e7b16fdba5 08:04:09 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 08:04:11 ---> e883f568e5e2 08:04:11 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 08:04:12 ---> 196bb8da4a2f 08:04:12 Step 20/25 : EXPOSE 59999 08:04:12 ---> Running in 67db06ed5797 08:04:12 Removing intermediate container 67db06ed5797 08:04:12 ---> 5f0ad262b689 08:04:12 Step 21/25 : ENTRYPOINT ["/device-simple"] 08:04:12 ---> Running in bfee0955cc6e 08:04:12 Removing intermediate container bfee0955cc6e 08:04:12 ---> 568aed13ff63 08:04:12 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 08:04:12 ---> Running in 9708b883b639 08:04:13 Removing intermediate container 9708b883b639 08:04:13 ---> 1ebe4ae40a05 08:04:13 Step 23/25 : LABEL arch=arm64 08:04:13 ---> Running in bbf74be0e47d 08:04:13 Removing intermediate container bbf74be0e47d 08:04:13 ---> 8ba0ae97c4d6 08:04:13 Step 24/25 : LABEL git_sha=e2315f66138f948906b99415fa54277ed1bedb14 08:04:13 ---> Running in b2703e537345 08:04:14 Removing intermediate container b2703e537345 08:04:14 ---> 246628188be2 08:04:14 Step 25/25 : LABEL version=0.0.0 08:04:14 ---> Running in 12818a5717c0 08:04:14 Removing intermediate container 12818a5717c0 08:04:14 ---> 47256efa83ca 08:04:14 [Warning] One or more build-args [ARCH] were not consumed 08:04:14 Successfully built 47256efa83ca 08:04:14 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 08:04:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:04:15 08:04:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 08:04:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:04:15 arm64: Pulling from edgex-lftools-log-publisher 08:04:15 8998bd30e6a1: Pulling fs layer 08:04:15 04944245beec: Pulling fs layer 08:04:15 699f458cf7ca: Pulling fs layer 08:04:15 765212b225bb: Pulling fs layer 08:04:15 f23df028b6ca: Pulling fs layer 08:04:15 d65c8cfc05b1: Pulling fs layer 08:04:15 2437ff75d9bd: Pulling fs layer 08:04:15 f23df028b6ca: Waiting 08:04:15 d65c8cfc05b1: Waiting 08:04:15 2437ff75d9bd: Waiting 08:04:15 765212b225bb: Waiting 08:04:15 04944245beec: Verifying Checksum 08:04:15 04944245beec: Download complete 08:04:15 765212b225bb: Verifying Checksum 08:04:15 765212b225bb: Download complete 08:04:15 f23df028b6ca: Verifying Checksum 08:04:15 f23df028b6ca: Download complete 08:04:16 d65c8cfc05b1: Verifying Checksum 08:04:16 d65c8cfc05b1: Download complete 08:04:16 699f458cf7ca: Verifying Checksum 08:04:16 699f458cf7ca: Download complete 08:04:16 8998bd30e6a1: Verifying Checksum 08:04:16 8998bd30e6a1: Download complete 08:04:19 2437ff75d9bd: Download complete 08:04:21 8998bd30e6a1: Pull complete 08:04:21 04944245beec: Pull complete 08:04:23 699f458cf7ca: Pull complete 08:04:23 765212b225bb: Pull complete 08:04:24 f23df028b6ca: Pull complete 08:04:24 d65c8cfc05b1: Pull complete 08:04:39 2437ff75d9bd: Pull complete 08:04:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 08:04:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 08:04:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 08:04:39 prd-ubuntu20.04-docker-arm64-4c-16g-21053 does not seem to be running inside a container 08:04:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 08:04:42 $ docker top 149511c3d73787d0e1adb03278d3eb23f0a3792a94ad869c41ac464f6388ecfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 08:04:43 ---> job-cost.sh 08:04:43 lf-activate-venv: SKIPPING 08:04:43 INFO: No Stack... 08:04:44 INFO: Retrieving Pricing Info for: v3-standard-4 08:04:44 INFO: Archiving Costs [Pipeline] sh 08:04:45 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 08:04:45 + cut -d, -f6 [Pipeline] lock 08:04:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1138-1-stack-cost] 08:04:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1138-1-stack-cost] did not exist. Created. 08:04:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1138-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 08:04:46 /w/workspace/device-sdk-go/1@tmp/durable-945f8d0f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 08:04:47 + echo total: 0.10999999940395355 [Pipeline] stash 08:04:47 Warning: overwriting stash ‘stack-cost’ 08:04:47 Stashed 1 file(s) [Pipeline] } 08:04:47 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1138-1-stack-cost] [Pipeline] // lock [Pipeline] } 08:04:47 $ docker stop --time=1 149511c3d73787d0e1adb03278d3eb23f0a3792a94ad869c41ac464f6388ecfb 08:04:48 $ docker rm -f 149511c3d73787d0e1adb03278d3eb23f0a3792a94ad869c41ac464f6388ecfb [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 08:04:49 provisioning config files... 08:04:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp/config1706446715130519831tmp [Pipeline] { [Pipeline] sh 08:04:50 + set +x 08:04:50 + curl -s https://codecov.io/bash 08:04:50 + bash -s -- 08:04:50 08:04:50 _____ _ 08:04:50 / ____| | | 08:04:50 | | ___ __| | ___ ___ _____ __ 08:04:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 08:04:50 | |___| (_) | (_| | __/ (_| (_) \ V / 08:04:50 \_____\___/ \__,_|\___|\___\___/ \_/ 08:04:50 Bash-1.0.6 08:04:50 08:04:50 08:04:50 ==> git version 2.25.1 found 08:04:50 ==> 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 08:04:50 Release-Date: 2020-01-08 08:04:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 08:04:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 08:04:50 ==> Jenkins CI detected. 08:04:50 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1138 08:04:50 project root: . 08:04:50 --> token set from env 08:04:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 08:04:50 ==> Running gcov in . (disable via -X gcov) 08:04:50 ==> Python coveragepy not found 08:04:50 ==> Searching for coverage reports in: 08:04:50 + . 08:04:50 -> Found 1 reports 08:04:50 ==> Detecting git/mercurial file structure 08:04:50 ==> Reading reports 08:04:50 + ./coverage.out bytes=129788 08:04:50 ==> Appending adjustments 08:04:50 https://docs.codecov.io/docs/fixing-reports 08:04:50 + Found adjustments 08:04:50 ==> Gzipping contents 08:04:50 20K /tmp/codecov.XBz4oV.gz 08:04:50 ==> Uploading reports 08:04:50 url: https://codecov.io 08:04:50 query: branch=PR-1138&commit=e2315f66138f948906b99415fa54277ed1bedb14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1138%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1138&job=&cmd_args= 08:04:50 -> Pinging Codecov 08:04:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1138&commit=e2315f66138f948906b99415fa54277ed1bedb14&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1138%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1138&job=&cmd_args= 08:04:51 -> Uploading to 08:04:51 https://storage.googleapis.com/codecov/v4/raw/2022-04-15/7E55EF52A471D76F132DFD9A03CDDE97/e2315f66138f948906b99415fa54277ed1bedb14/9ab789b1-2296-418e-b0d3-5681224ea3cc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220415%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220415T080450Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=bd9cf699569b5070caecb6d2d0941909f7f99681cefe00651cdc225d543c2d02 08:04:51 % Total % Received % Xferd Average Speed Time Time Time Current 08:04:51 Dload Upload Total Spent Left Speed 08:04:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16638 0 0 100 16638 0 78112 --:--:-- --:--:-- --:--:-- 78481 08:04:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/e2315f66138f948906b99415fa54277ed1bedb14 [Pipeline] } 08:04:51 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 08:04:52 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1138/archives ] 08:04:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1138/archives 08:04:52 total 16 08:04:52 drwxr-xr-x 3 root root 4096 Apr 15 07:52 . 08:04:52 drwxrwxr-x 12 jenkins jenkins 4096 Apr 15 07:52 .. 08:04:52 drwxr-xr-x 2 root root 4096 Apr 15 07:52 cost 08:04:52 -rw-r--r-- 1 root root 85 Apr 15 07:52 cost.csv 08:04:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1138/archives 08:04:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1138/archives 08:04:52 total 16 08:04:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 15 07:52 . 08:04:52 drwxrwxr-x 12 jenkins jenkins 4096 Apr 15 07:52 .. 08:04:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 15 07:52 cost 08:04:52 -rw-r--r-- 1 jenkins jenkins 85 Apr 15 07:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 08:04:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 08:04:54 ---> package-listing.sh 08:04:54 ++ facter osfamily 08:04:54 ++ tr '[:upper:]' '[:lower:]' 08:04:54 + OS_FAMILY=debian 08:04:54 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1138 08:04:54 + START_PACKAGES=/tmp/packages_start.txt 08:04:54 + END_PACKAGES=/tmp/packages_end.txt 08:04:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 08:04:54 + PACKAGES=/tmp/packages_start.txt 08:04:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1138 ']' 08:04:54 + PACKAGES=/tmp/packages_end.txt 08:04:54 + case "${OS_FAMILY}" in 08:04:54 + dpkg -l 08:04:54 + grep '^ii' 08:04:54 + '[' -f /tmp/packages_start.txt ']' 08:04:54 + '[' -f /tmp/packages_end.txt ']' 08:04:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 08:04:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1138 ']' 08:04:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1138/archives/ 08:04:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1138/archives/ [Pipeline] echo 08:04:54 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-1138/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 08:04:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 08:04:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 08:04:55 . [Pipeline] withDockerContainer 08:04:55 prd-ubuntu20.04-docker-8c-8g-21050 does not seem to be running inside a container 08:04:55 $ 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-1138/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-1138 -v /w/workspace/gexfoundry_device-sdk-go_PR-1138:/w/workspace/gexfoundry_device-sdk-go_PR-1138:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 08:04:55 $ docker top a9c8828b7cc56067eccb1a72c30ae29ec9e7577fc315ee644afd13a73c0027d9 -eo pid,comm [Pipeline] { [Pipeline] sh 08:04:56 + touch /tmp/pre-build-complete [Pipeline] sh 08:04:56 + mkdir -p /var/log/sysstat [Pipeline] sh 08:04:56 + ls /var/log/sa-host 08:04:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 08:04:56 provisioning config files... 08:04:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1138@tmp/config3252217262216898461tmp [Pipeline] { [Pipeline] echo 08:04:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 08:04:57 ---> create-netrc.sh [Pipeline] } 08:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 08:04:57 ---> python-tools-install.sh [Pipeline] echo 08:04:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 08:04:58 ---> sudo-logs.sh 08:04:58 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 08:04:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 08:04:58 ---> job-cost.sh 08:04:58 lf-activate-venv: SKIPPING 08:04:58 DEBUG: total: 0.2199999988079071 08:04:58 INFO: Retrieving Stack Cost... 08:04:59 INFO: Retrieving Pricing Info for: v3-standard-8 08:04:59 INFO: Archiving Costs [Pipeline] echo 08:04:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 08:04:59 ---> logs-deploy.sh 08:04:59 lf-activate-venv: SKIPPING 08:04:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1138/1 08:04:59 INFO: archiving workspace using pattern(s): 08:05:00 Archives upload complete. 08:05:00 INFO: archiving logs to Nexus