Pull request #1140 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4d74de5021f692274428b5aff4c6b8ccd612cc20+5f3ddcf8acb855a32ed46a26f751dc40ab556708 (6e3ca91cff8f2bbc8bb8e2d2b920563977f0f46a) 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-ssh1618210704167633853.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-ssh9094180538518218741.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1140/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1140/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16284734334317247776.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 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-ssh16075256045338174777.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1140/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1140/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh8712952491872449440.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21721’ Running on prd-ubuntu20.04-docker-8c-8g-21724 in /w/workspace/gexfoundry_device-sdk-go_PR-1140 [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-1140 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1140/head:refs/remotes/origin/PR-1140 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5f3ddcf8acb855a32ed46a26f751dc40ab556708 into PR head commit 4d74de5021f692274428b5aff4c6b8ccd612cc20 Merge succeeded, producing 4d74de5021f692274428b5aff4c6b8ccd612cc20 Checking out Revision 4d74de5021f692274428b5aff4c6b8ccd612cc20 (PR-1140) > git config core.sparsecheckout # timeout=10 > git checkout -f 4d74de5021f692274428b5aff4c6b8ccd612cc20 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5f3ddcf8acb855a32ed46a26f751dc40ab556708 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4d74de5021f692274428b5aff4c6b8ccd612cc20 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 02:35:22 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 02:35:22 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 02:35:22 ========================================================= 02:35:22 EdgeX Global Pipelines Version Info 02:35:22 ========================================================= [Pipeline] libraryResource [Pipeline] sh 02:35:23 ------------------- 02:35:23 stable info: 02:35:23 ------------------- 02:35:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:35:23 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 02:35:23 Message: update stable to v1.0.221 > git rev-list --no-walk 84c4a4a4ea32f6c227d81b26f5a3a96be19c7cc6 # timeout=10 02:35:23 ------------------- 02:35:23 experimental info: 02:35:23 ------------------- 02:35:23 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 02:35:23 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 02:35:23 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 02:35:23 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1140 [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1140 [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1140 [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4d74de5 [Pipeline] echo 02:35:24 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:35:24 provisioning config files... 02:35:24 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config8168886128629468101tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:24 ---> docker-login.sh 02:35:24 nexus3.edgexfoundry.org:10001 02:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:25 Configure a credential helper to remove this warning. See 02:35:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:25 02:35:25 Login Succeeded 02:35:25 nexus3.edgexfoundry.org:10002 02:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:25 Configure a credential helper to remove this warning. See 02:35:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:25 02:35:25 Login Succeeded 02:35:25 nexus3.edgexfoundry.org:10003 02:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:25 Configure a credential helper to remove this warning. See 02:35:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:25 02:35:25 Login Succeeded 02:35:25 nexus3.edgexfoundry.org:10004 02:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:25 Configure a credential helper to remove this warning. See 02:35:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:25 02:35:25 Login Succeeded 02:35:25 docker.io 02:35:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:26 Configure a credential helper to remove this warning. See 02:35:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:26 02:35:26 Login Succeeded 02:35:26 ---> docker-login.sh ends [Pipeline] } 02:35:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 02:35:26 + git rev-list -1 --merges 4d74de5021f692274428b5aff4c6b8ccd612cc20~1..4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] echo 02:35:26 -----------> git rev-list -1 --merges 4d74de5021f692274428b5aff4c6b8ccd612cc20~1..4d74de5021f692274428b5aff4c6b8ccd612cc20 4d74de5021f692274428b5aff4c6b8ccd612cc20 [false] [Pipeline] sh 02:35:27 + git log --format=format:%s -1 4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] echo 02:35:27 ========================================================= 02:35:27 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 02:35:27 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:35:27 + git log --format=format:%s -1 4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] echo 02:35:27 [semverPrep] GIT_COMMIT: 4d74de5021f692274428b5aff4c6b8ccd612cc20, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 02:35:27 [semverPrep] This is not a build commit. [Pipeline] sh 02:35:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 02:35:27 + grep -v github /etc/ssh/ssh_known_hosts 02:35:27 + [ -e /tmp/ssh_known_hosts ] 02:35:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 02:35:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 02:35:27 + sudo tee -a /etc/ssh/ssh_known_hosts 02:35:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 02:35:28 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:35:28 02:35:28 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 02:35:28 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:35:28 latest: Pulling from edgex-devops/git-semver 02:35:28 a0d0a0d46f8b: Pulling fs layer 02:35:28 3e5f54012d9b: Pulling fs layer 02:35:28 4c7163046ea9: Pulling fs layer 02:35:28 0c2d73faf560: Pulling fs layer 02:35:28 0c2d73faf560: Waiting 02:35:28 3e5f54012d9b: Verifying Checksum 02:35:28 3e5f54012d9b: Download complete 02:35:28 a0d0a0d46f8b: Verifying Checksum 02:35:28 a0d0a0d46f8b: Download complete 02:35:28 0c2d73faf560: Verifying Checksum 02:35:28 0c2d73faf560: Download complete 02:35:28 4c7163046ea9: Verifying Checksum 02:35:28 4c7163046ea9: Download complete 02:35:28 a0d0a0d46f8b: Pull complete 02:35:28 3e5f54012d9b: Pull complete 02:35:28 4c7163046ea9: Pull complete 02:35:29 0c2d73faf560: Pull complete 02:35:29 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 02:35:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 02:35:29 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 02:35:29 prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container 02:35:29 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 02:35:30 $ docker top e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 02:35:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:30 [ssh-agent] Looking for ssh-agent implementation... 02:35:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:30 $ docker exec e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b ssh-agent 02:35:30 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNjiPkh/agent.16 02:35:30 SSH_AGENT_PID=22 02:35:30 Running ssh-add (command line suppressed) 02:35:30 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_6638007655038691115.key (/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_6638007655038691115.key) 02:35:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:30 + git tag --points-at HEAD [Pipeline] } 02:35:30 $ docker exec --env ******** --env ******** e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b ssh-agent -k 02:35:31 unset SSH_AUTH_SOCK; 02:35:31 unset SSH_AGENT_PID; 02:35:31 echo Agent pid 22 killed; 02:35:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 02:35:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 02:35:31 [ssh-agent] Looking for ssh-agent implementation... 02:35:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 02:35:31 $ docker exec e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b ssh-agent 02:35:31 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHopFOO/agent.55 02:35:31 SSH_AGENT_PID=62 02:35:31 Running ssh-add (command line suppressed) 02:35:31 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_7708485350436317588.key (/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/private_key_7708485350436317588.key) 02:35:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 02:35:31 + git semver init 02:35:31 # -> Open(): unable to determine branch for HEAD 02:35:31 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1140/.git 02:35:31 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1140 02:35:31 # $SEMVER_REMOTE_NAME = origin 02:35:31 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 02:35:31 # $SEMVER_USER_NAME = edgex-jenkins 02:35:31 # $SEMVER_BRANCH = PR-1140 02:35:31 # $SEMVER_TEMP = /tmp/semver-327592756 02:35:31 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 02:35:32 # '/tmp/semver-327592756' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1140/.semver' 02:35:32 # -> Force: false 02:35:32 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1140/.semver [Pipeline] } 02:35:32 $ docker exec --env ******** --env ******** e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b ssh-agent -k 02:35:32 unset SSH_AUTH_SOCK; 02:35:32 unset SSH_AGENT_PID; 02:35:32 echo Agent pid 62 killed; 02:35:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 02:35:33 + git semver [Pipeline] } 02:35:33 $ docker stop --time=1 e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b 02:35:34 $ docker rm -f e2cd5c062474a9fbf02229471065f485abc1ba507012501427218841c1cea25b [Pipeline] // withDockerContainer [Pipeline] sh 02:35:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 02:35:35 Stashed 1 file(s) [Pipeline] echo 02:35:35 [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 02:35:35 provisioning config files... 02:35:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config7570033721182613100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:35:35 ---> docker-login.sh 02:35:35 nexus3.edgexfoundry.org:10001 02:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:35 Configure a credential helper to remove this warning. See 02:35:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:35 02:35:35 Login Succeeded 02:35:35 nexus3.edgexfoundry.org:10002 02:35:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:36 Configure a credential helper to remove this warning. See 02:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:36 02:35:36 Login Succeeded 02:35:36 nexus3.edgexfoundry.org:10003 02:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:36 Configure a credential helper to remove this warning. See 02:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:36 02:35:36 Login Succeeded 02:35:36 nexus3.edgexfoundry.org:10004 02:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:36 Configure a credential helper to remove this warning. See 02:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:36 02:35:36 Login Succeeded 02:35:36 docker.io 02:35:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:35:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:35:36 Configure a credential helper to remove this warning. See 02:35:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:35:36 02:35:36 Login Succeeded 02:35:36 ---> docker-login.sh ends [Pipeline] } 02:35:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:35:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:35:36 ========================================================= 02:35:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 02:35:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:35:36 + 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 . 02:35:36 Sending build context to Docker daemon 9.508MB 02:35:36 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 02:35:36 Step 2/11 : FROM ${BASE} AS builder 02:35:36 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 02:35:36 59bf1c3509f3: Pulling fs layer 02:35:36 666ba61612fd: Pulling fs layer 02:35:36 8ed8ca486205: Pulling fs layer 02:35:36 4fe6c5a15a65: Pulling fs layer 02:35:36 22a0e8bec74d: Pulling fs layer 02:35:36 640e595b4fbd: Pulling fs layer 02:35:36 763cafe07f6e: Pulling fs layer 02:35:36 0c0b528cf693: Pulling fs layer 02:35:36 10935f4eaf8b: Pulling fs layer 02:35:36 22a0e8bec74d: Waiting 02:35:36 640e595b4fbd: Waiting 02:35:36 763cafe07f6e: Waiting 02:35:36 0c0b528cf693: Waiting 02:35:36 10935f4eaf8b: Waiting 02:35:36 4fe6c5a15a65: Waiting 02:35:37 8ed8ca486205: Download complete 02:35:37 666ba61612fd: Download complete 02:35:37 22a0e8bec74d: Verifying Checksum 02:35:37 22a0e8bec74d: Download complete 02:35:37 640e595b4fbd: Verifying Checksum 02:35:37 640e595b4fbd: Download complete 02:35:37 59bf1c3509f3: Verifying Checksum 02:35:37 59bf1c3509f3: Download complete 02:35:37 763cafe07f6e: Verifying Checksum 02:35:37 763cafe07f6e: Download complete 02:35:37 0c0b528cf693: Verifying Checksum 02:35:37 0c0b528cf693: Download complete 02:35:37 59bf1c3509f3: Pull complete 02:35:37 666ba61612fd: Pull complete 02:35:37 8ed8ca486205: Pull complete 02:35:37 10935f4eaf8b: Verifying Checksum 02:35:37 10935f4eaf8b: Download complete 02:35:38 4fe6c5a15a65: Verifying Checksum 02:35:38 4fe6c5a15a65: Download complete 02:35:42 4fe6c5a15a65: Pull complete 02:35:42 22a0e8bec74d: Pull complete 02:35:42 640e595b4fbd: Pull complete 02:35:42 763cafe07f6e: Pull complete 02:35:42 0c0b528cf693: Pull complete 02:35:44 10935f4eaf8b: Pull complete 02:35:44 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 02:35:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 02:35:44 ---> 99d49a6021b9 02:35:44 Step 3/11 : ARG MAKE=make build 02:35:46 ---> Running in 10e26a216990 02:35:46 Removing intermediate container 10e26a216990 02:35:46 ---> 9eb4b2a39fef 02:35:46 Step 4/11 : WORKDIR /device-sdk-go 02:35:46 ---> Running in 87edff03f151 02:35:46 Removing intermediate container 87edff03f151 02:35:46 ---> ce23745a31b8 02:35:46 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:35:46 ---> Running in ef032ef75c73 02:35:46 Removing intermediate container ef032ef75c73 02:35:46 ---> ea4e36f099d8 02:35:46 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:35:46 ---> Running in ba70d270bcd1 02:35:47 Removing intermediate container ba70d270bcd1 02:35:47 ---> 92f92258865e 02:35:47 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:35:47 ---> Running in cce3e1e7b0ac 02:35:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:35:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:35:48 OK: 221 MiB in 52 packages 02:35:49 Removing intermediate container cce3e1e7b0ac 02:35:49 ---> 7a3301316a0b 02:35:49 Step 8/11 : COPY go.mod vendor* ./ 02:35:49 ---> 68ef1980662a 02:35:49 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:35:49 ---> Running in e12b02ad5a29 02:35:50 Still waiting to schedule task 02:35:50 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21722’ 02:36:04 Removing intermediate container e12b02ad5a29 02:36:04 ---> 7651a541c5d4 02:36:04 Step 10/11 : COPY . . 02:36:04 ---> e0995220b367 02:36:04 Step 11/11 : RUN ${MAKE} 02:36:04 ---> Running in d22d3123c060 02:36:04 noop 02:36:04 Removing intermediate container d22d3123c060 02:36:04 ---> 860499160f31 02:36:04 Successfully built 860499160f31 02:36:04 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 02:36:04 + docker inspect -f . ci-base-image-x86_64 02:36:04 . [Pipeline] withDockerContainer 02:36:04 prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container 02:36:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:05 $ docker top 6221bac9712f62275d0b4808217ea6e07b8e3b4d5ebeae4b8695414742db84fa -eo pid,comm [Pipeline] { [Pipeline] sh 02:36:05 + go version 02:36:05 go version go1.17.6 linux/amd64 [Pipeline] } 02:36:05 $ docker stop --time=1 6221bac9712f62275d0b4808217ea6e07b8e3b4d5ebeae4b8695414742db84fa 02:36:06 $ docker rm -f 6221bac9712f62275d0b4808217ea6e07b8e3b4d5ebeae4b8695414742db84fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:36:07 + docker inspect -f . ci-base-image-x86_64 02:36:07 . [Pipeline] withDockerContainer 02:36:07 prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container 02:36:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 02:36:07 $ docker top cce29e815dcc04cd08b914b281b10116a6cf5795e540f0f20830ab1b09310db0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:36:08 + make test 02:36:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:36:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:36:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:36:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:36:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:36:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.102s coverage: 23.3% of statements 02:36:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:36:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements 02:36:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.116s coverage: 78.9% of statements 02:36:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.068s coverage: 10.8% of statements 02:36:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.071s coverage: 60.0% of statements 02:36:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:36:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:36:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.079s coverage: 34.7% of statements 02:36:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:36:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.067s coverage: 86.1% of statements 02:36:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:36:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:36:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.119s coverage: 65.1% of statements 02:36:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.863s coverage: 89.2% of statements 02:36:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:36:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 02:36:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:36:41 GO111MODULE=on go vet ./... 02:36:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:36:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:36:45 ./bin/test-attribution-txt.sh [Pipeline] echo 02:36:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:36:45 $ docker stop --time=1 cce29e815dcc04cd08b914b281b10116a6cf5795e540f0f20830ab1b09310db0 02:36:48 $ docker rm -f cce29e815dcc04cd08b914b281b10116a6cf5795e540f0f20830ab1b09310db0 [Pipeline] // withDockerContainer [Pipeline] sh 02:36:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:36:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 02:36:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:36:49 + ls -al . 02:36:49 total 316 02:36:49 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 02:36 . 02:36:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:35 .. 02:36:49 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:35 .dockerignore 02:36:49 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:35 .git 02:36:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:35 .github 02:36:49 -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 02:35 .gitignore 02:36:49 -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 02:35 .golangci.yml 02:36:49 drwx------ 3 jenkins jenkins 4096 Apr 22 02:35 .semver 02:36:49 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 02:35 CHANGELOG.md 02:36:49 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 02:35 GOVERNANCE.md 02:36:49 -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 02:35 Jenkinsfile 02:36:49 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:35 LICENSE 02:36:49 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 02:35 Makefile 02:36:49 -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 02:35 OWNERS.md 02:36:49 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 02:35 README.md 02:36:49 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 02:35 VERSION 02:36:49 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:35 bin 02:36:49 -rw-r--r-- 1 jenkins jenkins 131008 Apr 22 02:36 coverage.out 02:36:49 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:35 example 02:36:49 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 02:35 go.mod 02:36:49 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 22 02:35 go.sum 02:36:49 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:35 internal 02:36:49 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:35 openapi 02:36:49 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:35 pkg 02:36:49 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:35 snap 02:36:49 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:35 version.go [Pipeline] isUnix [Pipeline] sh 02:36:50 + 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=4d74de5021f692274428b5aff4c6b8ccd612cc20 --label arch=amd64 --label version=0.0.0 . 02:36:50 Sending build context to Docker daemon 9.639MB 02:36:50 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 02:36:50 Step 2/25 : FROM ${BASE} AS builder 02:36:50 ---> 860499160f31 02:36:50 Step 3/25 : ARG MAKE=make build 02:36:50 ---> Running in 39c3f94acd57 02:36:50 Removing intermediate container 39c3f94acd57 02:36:50 ---> 88a762be806a 02:36:50 Step 4/25 : WORKDIR /device-sdk-go 02:36:50 ---> Running in cfb87e5d9e4f 02:36:50 Removing intermediate container cfb87e5d9e4f 02:36:50 ---> 5bf9dd881ddd 02:36:50 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:36:50 ---> Running in 9fc1d8f628de 02:36:50 Removing intermediate container 9fc1d8f628de 02:36:50 ---> 74227a044c83 02:36:50 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:36:50 ---> Running in e3be53b1b398 02:36:51 Removing intermediate container e3be53b1b398 02:36:51 ---> 528bc747a998 02:36:51 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:36:51 ---> Running in 8976d6bf7705 02:36:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 02:36:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 02:36:52 OK: 221 MiB in 52 packages 02:36:52 Removing intermediate container 8976d6bf7705 02:36:52 ---> 5668f81776bd 02:36:52 Step 8/25 : COPY go.mod vendor* ./ 02:36:53 ---> 54d098270072 02:36:53 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:36:53 ---> Running in 58831869037a 02:36:53 Removing intermediate container 58831869037a 02:36:53 ---> 4efb0eff3f9d 02:36:53 Step 10/25 : COPY . . 02:36:54 ---> bd3cbdd80cf6 02:36:54 Step 11/25 : RUN ${MAKE} 02:36:54 ---> Running in ab8e0a97c064 02:36:54 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 02:37:12 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:37:14 Removing intermediate container ab8e0a97c064 02:37:14 ---> 32e51d0b2336 02:37:14 Step 12/25 : FROM alpine:3.14 02:37:15 3.14: Pulling from library/alpine 02:37:15 8663204ce13b: Pulling fs layer 02:37:15 8663204ce13b: Verifying Checksum 02:37:15 8663204ce13b: Pull complete 02:37:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:37:15 Status: Downloaded newer image for alpine:3.14 02:37:15 ---> e04c818066af 02:37:15 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:37:15 ---> Running in 84c44534a76b 02:37:15 Removing intermediate container 84c44534a76b 02:37:15 ---> 051d54a269f4 02:37:15 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:37:15 ---> Running in 1a67257278b7 02:37:16 Removing intermediate container 1a67257278b7 02:37:16 ---> 86e21c8cc06f 02:37:16 Step 15/25 : RUN apk add --update --no-cache zeromq 02:37:16 ---> Running in e676388743b1 02:37:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 02:37:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 02:37:17 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:37:17 (2/5) Installing libsodium (1.0.18-r0) 02:37:18 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:37:18 (4/5) Installing libzmq (4.3.4-r0) 02:37:18 (5/5) Installing zeromq (4.3.4-r0) 02:37:18 Executing busybox-1.33.1-r7.trigger 02:37:18 OK: 8 MiB in 19 packages 02:37:18 Removing intermediate container e676388743b1 02:37:18 ---> 66cff941419b 02:37:18 Step 16/25 : WORKDIR / 02:37:18 ---> Running in 62bfab32886f 02:37:19 Removing intermediate container 62bfab32886f 02:37:19 ---> c3249766143c 02:37:19 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:37:19 ---> 1058d137bd52 02:37:19 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:37:19 ---> 650e33a2c873 02:37:19 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:37:19 ---> ff41a6733912 02:37:19 Step 20/25 : EXPOSE 59999 02:37:19 ---> Running in 0f1b90c89aaa 02:37:19 Removing intermediate container 0f1b90c89aaa 02:37:19 ---> 19bd4a50c28a 02:37:19 Step 21/25 : ENTRYPOINT ["/device-simple"] 02:37:20 ---> Running in 12151d6b7482 02:37:20 Removing intermediate container 12151d6b7482 02:37:20 ---> b80e75b52b48 02:37:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:37:20 ---> Running in 513e9f9b489e 02:37:20 Removing intermediate container 513e9f9b489e 02:37:20 ---> d487b17e3ad4 02:37:20 Step 23/25 : LABEL arch=amd64 02:37:20 ---> Running in 0ca8c2b8a442 02:37:20 Removing intermediate container 0ca8c2b8a442 02:37:20 ---> 8c27ba07fc45 02:37:20 Step 24/25 : LABEL git_sha=4d74de5021f692274428b5aff4c6b8ccd612cc20 02:37:20 ---> Running in fa5b5053f9d1 02:37:20 Removing intermediate container fa5b5053f9d1 02:37:20 ---> eb7d6f01f679 02:37:20 Step 25/25 : LABEL version=0.0.0 02:37:20 ---> Running in 15353aaff443 02:37:20 Removing intermediate container 15353aaff443 02:37:20 ---> e1d46e110e7c 02:37:20 [Warning] One or more build-args [ARCH] were not consumed 02:37:20 Successfully built e1d46e110e7c 02:37:20 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 02:37:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:21 02:37:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 02:37:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:21 latest: Pulling from edgex-lftools-log-publisher 02:37:21 5eb5b503b376: Pulling fs layer 02:37:21 5c69ac0246d0: Pulling fs layer 02:37:21 ec43610c2a17: Pulling fs layer 02:37:21 3a2ae6a8a46f: Pulling fs layer 02:37:21 33b1e0a273af: Pulling fs layer 02:37:21 5d3b04190fa2: Pulling fs layer 02:37:21 2f39f015ded8: Pulling fs layer 02:37:21 3a2ae6a8a46f: Waiting 02:37:21 33b1e0a273af: Waiting 02:37:21 5d3b04190fa2: Waiting 02:37:21 2f39f015ded8: Waiting 02:37:21 5c69ac0246d0: Download complete 02:37:21 3a2ae6a8a46f: Verifying Checksum 02:37:21 3a2ae6a8a46f: Download complete 02:37:21 33b1e0a273af: Verifying Checksum 02:37:21 33b1e0a273af: Download complete 02:37:21 5d3b04190fa2: Verifying Checksum 02:37:21 5d3b04190fa2: Download complete 02:37:21 ec43610c2a17: Verifying Checksum 02:37:21 5eb5b503b376: Verifying Checksum 02:37:21 5eb5b503b376: Download complete 02:37:22 2f39f015ded8: Download complete 02:37:23 5eb5b503b376: Pull complete 02:37:23 5c69ac0246d0: Pull complete 02:37:23 ec43610c2a17: Pull complete 02:37:23 3a2ae6a8a46f: Pull complete 02:37:23 33b1e0a273af: Pull complete 02:37:23 5d3b04190fa2: Pull complete 02:37:29 2f39f015ded8: Pull complete 02:37:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 02:37:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:37:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 02:37:29 prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container 02:37:29 $ 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-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:37:31 $ docker top b1930931e9f290738443fa09bdbab31f097b0a682220572636510c77077747c3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:37:32 ---> job-cost.sh 02:37:32 lf-activate-venv: SKIPPING 02:37:32 INFO: No Stack... 02:37:32 INFO: Retrieving Pricing Info for: v3-standard-8 02:37:32 INFO: Archiving Costs [Pipeline] sh 02:37:33 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives/cost.csv 02:37:33 + cut -d, -f6 [Pipeline] lock 02:37:33 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] 02:37:33 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] did not exist. Created. 02:37:33 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:37:33 + echo total: 0.2199999988079071 [Pipeline] stash 02:37:33 Stashed 1 file(s) [Pipeline] } 02:37:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:37:33 $ docker stop --time=1 b1930931e9f290738443fa09bdbab31f097b0a682220572636510c77077747c3 02:37:34 $ docker rm -f b1930931e9f290738443fa09bdbab31f097b0a682220572636510c77077747c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 02:39:15 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21727 in /w/workspace/gexfoundry_device-sdk-go_PR-1140 [Pipeline] { [Pipeline] ws 02:39:15 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 02:39:16 The recommended git tool is: git 02:39:22 using credential edgex-jenkins-ssh 02:39:22 Cloning the remote Git repository 02:39:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 02:39:22 > git init /w/workspace/device-sdk-go/2 # timeout=10 02:39:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:39:23 > git --version # timeout=10 02:39:23 > git --version # 'git version 2.25.1' 02:39:23 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 02:39:25 Merging remotes/origin/main commit 5f3ddcf8acb855a32ed46a26f751dc40ab556708 into PR head commit 4d74de5021f692274428b5aff4c6b8ccd612cc20 02:39:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:39:24 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 02:39:24 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 02:39:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 02:39:24 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1140/head:refs/remotes/origin/PR-1140 +refs/heads/main:refs/remotes/origin/main # timeout=10 02:39:25 > git config core.sparsecheckout # timeout=10 02:39:25 > git checkout -f 4d74de5021f692274428b5aff4c6b8ccd612cc20 # timeout=10 02:39:25 > git remote # timeout=10 02:39:25 > git config --get remote.origin.url # timeout=10 02:39:25 using GIT_SSH to set credentials SSH Credentials for GitHub 02:39:25 > git merge 5f3ddcf8acb855a32ed46a26f751dc40ab556708 # timeout=10 02:39:25 > git rev-parse HEAD^{commit} # timeout=10 02:39:25 Merge succeeded, producing 4d74de5021f692274428b5aff4c6b8ccd612cc20 02:39:25 Checking out Revision 4d74de5021f692274428b5aff4c6b8ccd612cc20 (PR-1140) 02:39:25 > git config core.sparsecheckout # timeout=10 02:39:25 > git checkout -f 4d74de5021f692274428b5aff4c6b8ccd612cc20 # timeout=10 02:39:30 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 02:39:31 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 02:39:31 % Total % Received % Xferd Average Speed Time Time Time Current 02:39:31 Dload Upload Total Spent Left Speed 02:39:31 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 02:39:32 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 02:39:32 + sudo tee /etc/docker/daemon.new 02:39:32 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 02:39:32 { 02:39:32 "registry-mirrors": [ 02:39:32 "https://nexus3.edgexfoundry.org:10001" 02:39:32 ], 02:39:32 "bip": "10.250.0.254/24", 02:39:32 "hosts": [ 02:39:32 "tcp://0.0.0.0:5555", 02:39:32 "unix:///var/run/docker.sock" 02:39:32 ], 02:39:32 "mtu": 1458, 02:39:32 "selinux-enabled": true, 02:39:32 "seccomp-profile": "/etc/docker/seccomp.json" 02:39:32 } [Pipeline] sh 02:39:32 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 02:39:33 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:39:51 provisioning config files... 02:39:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config1558087060991439113tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:39:51 ---> docker-login.sh 02:39:51 nexus3.edgexfoundry.org:10001 02:39:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:52 Configure a credential helper to remove this warning. See 02:39:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:52 02:39:52 Login Succeeded 02:39:52 nexus3.edgexfoundry.org:10002 02:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:53 Configure a credential helper to remove this warning. See 02:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:53 02:39:53 Login Succeeded 02:39:53 nexus3.edgexfoundry.org:10003 02:39:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:53 Configure a credential helper to remove this warning. See 02:39:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:53 02:39:53 Login Succeeded 02:39:53 nexus3.edgexfoundry.org:10004 02:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:54 Configure a credential helper to remove this warning. See 02:39:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:54 02:39:54 Login Succeeded 02:39:54 docker.io 02:39:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 02:39:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 02:39:55 Configure a credential helper to remove this warning. See 02:39:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 02:39:55 02:39:55 Login Succeeded 02:39:55 ---> docker-login.sh ends [Pipeline] } 02:39:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 02:39:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 02:39:55 ========================================================= 02:39:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 02:39:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 02:39:55 + 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 . 02:39:56 Sending build context to Docker daemon 5.148MB 02:39:56 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 02:39:56 Step 2/11 : FROM ${BASE} AS builder 02:39:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 02:39:56 9b3977197b4f: Pulling fs layer 02:39:56 1a89e8eeedd5: Pulling fs layer 02:39:56 94645a83ff95: Pulling fs layer 02:39:56 3f3a8bcf1eab: Pulling fs layer 02:39:56 0c92f367c5e7: Pulling fs layer 02:39:56 f7c0051592d6: Pulling fs layer 02:39:56 a227ed2f7395: Pulling fs layer 02:39:56 7b1c46037f91: Pulling fs layer 02:39:56 3f3a8bcf1eab: Waiting 02:39:56 0c92f367c5e7: Waiting 02:39:56 f7c0051592d6: Waiting 02:39:56 a227ed2f7395: Waiting 02:39:56 7b1c46037f91: Waiting 02:39:56 94645a83ff95: Verifying Checksum 02:39:56 94645a83ff95: Download complete 02:39:56 1a89e8eeedd5: Verifying Checksum 02:39:56 1a89e8eeedd5: Download complete 02:39:56 0c92f367c5e7: Verifying Checksum 02:39:56 0c92f367c5e7: Download complete 02:39:56 f7c0051592d6: Verifying Checksum 02:39:56 f7c0051592d6: Download complete 02:39:56 9b3977197b4f: Verifying Checksum 02:39:56 9b3977197b4f: Download complete 02:39:56 a227ed2f7395: Verifying Checksum 02:39:56 a227ed2f7395: Download complete 02:39:57 9b3977197b4f: Pull complete 02:39:58 1a89e8eeedd5: Pull complete 02:39:58 94645a83ff95: Pull complete 02:39:58 7b1c46037f91: Verifying Checksum 02:39:58 7b1c46037f91: Download complete 02:39:59 3f3a8bcf1eab: Verifying Checksum 02:39:59 3f3a8bcf1eab: Download complete 02:40:11 3f3a8bcf1eab: Pull complete 02:40:11 0c92f367c5e7: Pull complete 02:40:12 f7c0051592d6: Pull complete 02:40:12 a227ed2f7395: Pull complete 02:40:19 7b1c46037f91: Pull complete 02:40:19 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 02:40:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 02:40:19 ---> f79e39bc4007 02:40:19 Step 3/11 : ARG MAKE=make build 02:40:19 ---> Running in c34667ab4f3c 02:40:20 Removing intermediate container c34667ab4f3c 02:40:20 ---> 7128f202836d 02:40:20 Step 4/11 : WORKDIR /device-sdk-go 02:40:20 ---> Running in 16a5804fbbb7 02:40:21 Removing intermediate container 16a5804fbbb7 02:40:21 ---> 9ce9abba16d0 02:40:21 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:40:21 ---> Running in 0cc81354aede 02:40:22 Removing intermediate container 0cc81354aede 02:40:22 ---> 2a17eedfac8f 02:40:22 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:40:22 ---> Running in 3a7dd28bf4e1 02:40:24 Removing intermediate container 3a7dd28bf4e1 02:40:24 ---> 32054820dd7e 02:40:24 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:40:24 ---> Running in 00041b4022d8 02:40:25 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:40:26 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:40:27 OK: 220 MiB in 52 packages 02:40:28 Removing intermediate container 00041b4022d8 02:40:28 ---> 69ee34f29580 02:40:28 Step 8/11 : COPY go.mod vendor* ./ 02:40:29 ---> 83ed34518033 02:40:29 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:40:29 ---> Running in cbcc3d25cd75 02:41:25 Removing intermediate container cbcc3d25cd75 02:41:25 ---> 7db94fa3daf1 02:41:25 Step 10/11 : COPY . . 02:41:25 ---> 7fe1ac2e6da3 02:41:25 Step 11/11 : RUN ${MAKE} 02:41:25 ---> Running in f9e772dd600a 02:41:25 noop 02:41:25 Removing intermediate container f9e772dd600a 02:41:25 ---> 39161dfc0a5b 02:41:25 Successfully built 39161dfc0a5b 02:41:25 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 02:41:26 + docker inspect -f . ci-base-image-arm64 02:41:26 . [Pipeline] withDockerContainer 02:41:26 prd-ubuntu20.04-docker-arm64-4c-16g-21727 does not seem to be running inside a container 02:41:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:41:27 $ docker top d2363dc36cc5dc1ef235bd2902bd68b369f9e4518dc6667b265296ed5a9c24d1 -eo pid,comm [Pipeline] { [Pipeline] sh 02:41:28 + go version 02:41:28 go version go1.17.6 linux/arm64 [Pipeline] } 02:41:28 $ docker stop --time=1 d2363dc36cc5dc1ef235bd2902bd68b369f9e4518dc6667b265296ed5a9c24d1 02:41:30 $ docker rm -f d2363dc36cc5dc1ef235bd2902bd68b369f9e4518dc6667b265296ed5a9c24d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 02:41:31 + docker inspect -f . ci-base-image-arm64 02:41:31 . [Pipeline] withDockerContainer 02:41:31 prd-ubuntu20.04-docker-arm64-4c-16g-21727 does not seem to be running inside a container 02:41:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 02:41:33 $ docker top aa8cb117c866fa61aa4d90ba812a8a01d6e02fc9d3ac7e59c0e8c3865a66e09b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 02:41:34 + make test 02:41:34 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 02:42:13 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 02:44:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 02:44:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 02:44:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 02:44:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.598s coverage: 23.3% of statements 02:44:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 02:44:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.268s coverage: 27.6% of statements 02:44:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.330s coverage: 78.9% of statements 02:44:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.320s coverage: 10.8% of statements 02:44:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.495s coverage: 60.0% of statements 02:44:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 02:44:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 02:44:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.468s coverage: 34.7% of statements 02:44:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 02:44:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.324s coverage: 86.1% of statements 02:44:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 02:44:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 02:44:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.528s coverage: 65.1% of statements 02:44:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.815s coverage: 89.2% of statements 02:44:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 02:44:33 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.285s coverage: 4.7% of statements 02:44:33 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 02:44:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 02:44:33 GO111MODULE=on go vet ./... 02:46:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 02:46:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 02:46:10 ./bin/test-attribution-txt.sh [Pipeline] echo 02:46:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 02:46:10 $ docker stop --time=1 aa8cb117c866fa61aa4d90ba812a8a01d6e02fc9d3ac7e59c0e8c3865a66e09b 02:46:12 $ docker rm -f aa8cb117c866fa61aa4d90ba812a8a01d6e02fc9d3ac7e59c0e8c3865a66e09b [Pipeline] // withDockerContainer [Pipeline] sh 02:46:13 + sudo chown -R jenkins:jenkins . [Pipeline] stash 02:46:13 Warning: overwriting stash ‘coverage-report’ 02:46:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 02:46:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 02:46:15 + ls -al . 02:46:15 total 312 02:46:15 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 02:46 . 02:46:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:39 .. 02:46:15 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 02:39 .dockerignore 02:46:15 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 02:39 .git 02:46:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:39 .github 02:46:15 -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 02:39 .gitignore 02:46:15 -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 02:39 .golangci.yml 02:46:15 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 02:39 CHANGELOG.md 02:46:15 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 02:39 GOVERNANCE.md 02:46:15 -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 02:39 Jenkinsfile 02:46:15 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 02:39 LICENSE 02:46:15 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 02:39 Makefile 02:46:15 -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 02:39 OWNERS.md 02:46:15 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 02:39 README.md 02:46:15 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 02:35 VERSION 02:46:15 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 02:39 bin 02:46:15 -rw-r--r-- 1 jenkins jenkins 131008 Apr 22 02:44 coverage.out 02:46:15 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:39 example 02:46:15 -rw-rw-r-- 1 jenkins jenkins 3106 Apr 22 02:39 go.mod 02:46:15 -rw-rw-r-- 1 jenkins jenkins 53786 Apr 22 02:39 go.sum 02:46:15 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 02:39 internal 02:46:15 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 02:39 openapi 02:46:15 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 02:39 pkg 02:46:15 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 02:39 snap 02:46:15 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 02:39 version.go [Pipeline] isUnix [Pipeline] sh 02:46:15 + 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=4d74de5021f692274428b5aff4c6b8ccd612cc20 --label arch=arm64 --label version=0.0.0 . 02:46:16 Sending build context to Docker daemon 5.279MB 02:46:16 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 02:46:16 Step 2/25 : FROM ${BASE} AS builder 02:46:16 ---> 39161dfc0a5b 02:46:16 Step 3/25 : ARG MAKE=make build 02:46:16 ---> Running in e089aa0f906e 02:46:16 Removing intermediate container e089aa0f906e 02:46:16 ---> 18b6ba228f8a 02:46:16 Step 4/25 : WORKDIR /device-sdk-go 02:46:16 ---> Running in f885fd60dc96 02:46:17 Removing intermediate container f885fd60dc96 02:46:17 ---> 125db1b0a71c 02:46:17 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:46:17 ---> Running in 9a1d43368cbe 02:46:17 Removing intermediate container 9a1d43368cbe 02:46:17 ---> 445f3890153b 02:46:17 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:46:17 ---> Running in d8736843966c 02:46:19 Removing intermediate container d8736843966c 02:46:19 ---> bd0364696052 02:46:19 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 02:46:19 ---> Running in 6c1966661b56 02:46:20 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 02:46:21 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 02:46:22 OK: 220 MiB in 52 packages 02:46:23 Removing intermediate container 6c1966661b56 02:46:23 ---> d4420a291660 02:46:23 Step 8/25 : COPY go.mod vendor* ./ 02:46:24 ---> 7a4ee1ea47ad 02:46:24 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 02:46:24 ---> Running in bdb47ce5c95f 02:46:26 Removing intermediate container bdb47ce5c95f 02:46:26 ---> 8a804e45976b 02:46:26 Step 10/25 : COPY . . 02:46:27 ---> c01b4818cefe 02:46:27 Step 11/25 : RUN ${MAKE} 02:46:27 ---> Running in 3f0d21b85202 02:46:28 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 02:48:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 02:48:36 Removing intermediate container 3f0d21b85202 02:48:36 ---> fcccc59a4cee 02:48:36 Step 12/25 : FROM alpine:3.14 02:48:37 3.14: Pulling from library/alpine 02:48:37 455c02918c45: Pulling fs layer 02:48:37 455c02918c45: Verifying Checksum 02:48:37 455c02918c45: Download complete 02:48:38 455c02918c45: Pull complete 02:48:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 02:48:38 Status: Downloaded newer image for alpine:3.14 02:48:38 ---> ac73e934f311 02:48:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 02:48:38 ---> Running in cfcbdcaeb2ce 02:48:38 Removing intermediate container cfcbdcaeb2ce 02:48:38 ---> a5d3692d12ae 02:48:38 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 02:48:38 ---> Running in 3312bc719333 02:48:40 Removing intermediate container 3312bc719333 02:48:40 ---> d5e6f056a485 02:48:40 Step 15/25 : RUN apk add --update --no-cache zeromq 02:48:40 ---> Running in c3c04dae2400 02:48:41 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 02:48:42 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 02:48:43 (1/5) Installing libgcc (10.3.1_git20210424-r2) 02:48:43 (2/5) Installing libsodium (1.0.18-r0) 02:48:43 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 02:48:43 (4/5) Installing libzmq (4.3.4-r0) 02:48:43 (5/5) Installing zeromq (4.3.4-r0) 02:48:43 Executing busybox-1.33.1-r7.trigger 02:48:43 OK: 8 MiB in 19 packages 02:48:44 Removing intermediate container c3c04dae2400 02:48:44 ---> e75efbd95cf7 02:48:44 Step 16/25 : WORKDIR / 02:48:44 ---> Running in 7d2f34f610f7 02:48:44 Removing intermediate container 7d2f34f610f7 02:48:44 ---> a394cdc46b82 02:48:44 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 02:48:45 ---> 3064b62fd3a9 02:48:45 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 02:48:46 ---> 76d2d7666446 02:48:46 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 02:48:47 ---> b7238f30c794 02:48:47 Step 20/25 : EXPOSE 59999 02:48:47 ---> Running in 3939ac27420b 02:48:48 Removing intermediate container 3939ac27420b 02:48:48 ---> 7f5d6d7803e2 02:48:48 Step 21/25 : ENTRYPOINT ["/device-simple"] 02:48:48 ---> Running in aa497635b5f1 02:48:48 Removing intermediate container aa497635b5f1 02:48:48 ---> b8b4a8b567fc 02:48:48 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 02:48:48 ---> Running in 9692234b36c5 02:48:48 Removing intermediate container 9692234b36c5 02:48:48 ---> 04c7642e4b32 02:48:48 Step 23/25 : LABEL arch=arm64 02:48:48 ---> Running in f153a46668a0 02:48:49 Removing intermediate container f153a46668a0 02:48:49 ---> 6f654e56a29b 02:48:49 Step 24/25 : LABEL git_sha=4d74de5021f692274428b5aff4c6b8ccd612cc20 02:48:49 ---> Running in 2986777fc43c 02:48:49 Removing intermediate container 2986777fc43c 02:48:49 ---> 119251b70d92 02:48:49 Step 25/25 : LABEL version=0.0.0 02:48:49 ---> Running in d9b5fc7fe69e 02:48:50 Removing intermediate container d9b5fc7fe69e 02:48:50 ---> e970f8ad4aff 02:48:50 [Warning] One or more build-args [ARCH] were not consumed 02:48:50 Successfully built e970f8ad4aff 02:48:50 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 02:48:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:50 02:48:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 02:48:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:48:51 arm64: Pulling from edgex-lftools-log-publisher 02:48:51 8998bd30e6a1: Pulling fs layer 02:48:51 04944245beec: Pulling fs layer 02:48:51 699f458cf7ca: Pulling fs layer 02:48:51 765212b225bb: Pulling fs layer 02:48:51 f23df028b6ca: Pulling fs layer 02:48:51 d65c8cfc05b1: Pulling fs layer 02:48:51 2437ff75d9bd: Pulling fs layer 02:48:51 f23df028b6ca: Waiting 02:48:51 d65c8cfc05b1: Waiting 02:48:51 2437ff75d9bd: Waiting 02:48:51 765212b225bb: Waiting 02:48:51 04944245beec: Verifying Checksum 02:48:51 04944245beec: Download complete 02:48:51 765212b225bb: Verifying Checksum 02:48:51 765212b225bb: Download complete 02:48:51 f23df028b6ca: Verifying Checksum 02:48:51 f23df028b6ca: Download complete 02:48:51 d65c8cfc05b1: Verifying Checksum 02:48:51 d65c8cfc05b1: Download complete 02:48:51 699f458cf7ca: Download complete 02:48:51 8998bd30e6a1: Verifying Checksum 02:48:51 8998bd30e6a1: Download complete 02:48:54 2437ff75d9bd: Verifying Checksum 02:48:54 2437ff75d9bd: Download complete 02:48:57 8998bd30e6a1: Pull complete 02:48:57 04944245beec: Pull complete 02:48:58 699f458cf7ca: Pull complete 02:48:59 765212b225bb: Pull complete 02:48:59 f23df028b6ca: Pull complete 02:48:59 d65c8cfc05b1: Pull complete 02:49:14 2437ff75d9bd: Pull complete 02:49:14 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 02:49:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 02:49:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 02:49:15 prd-ubuntu20.04-docker-arm64-4c-16g-21727 does not seem to be running inside a container 02:49:15 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 02:49:18 $ docker top 514aa9671296aa7008c4e3bedb08256ad5aed50bede95df3e2fcededb495463c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 02:49:18 ---> job-cost.sh 02:49:18 lf-activate-venv: SKIPPING 02:49:18 INFO: No Stack... 02:49:19 INFO: Retrieving Pricing Info for: v3-standard-4 02:49:20 INFO: Archiving Costs [Pipeline] sh 02:49:21 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 02:49:21 + cut -d, -f6 [Pipeline] lock 02:49:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] 02:49:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] did not exist. Created. 02:49:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 02:49:22 /w/workspace/device-sdk-go/2@tmp/durable-4130e27a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 02:49:22 + echo total: 0.10999999940395355 [Pipeline] stash 02:49:22 Warning: overwriting stash ‘stack-cost’ 02:49:23 Stashed 1 file(s) [Pipeline] } 02:49:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1140-2-stack-cost] [Pipeline] // lock [Pipeline] } 02:49:23 $ docker stop --time=1 514aa9671296aa7008c4e3bedb08256ad5aed50bede95df3e2fcededb495463c 02:49:24 $ docker rm -f 514aa9671296aa7008c4e3bedb08256ad5aed50bede95df3e2fcededb495463c [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 02:49:24 provisioning config files... 02:49:24 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config3884367961063063850tmp [Pipeline] { [Pipeline] sh 02:49:25 + set +x 02:49:25 + curl -s https://codecov.io/bash 02:49:25 + bash -s -- 02:49:25 02:49:25 _____ _ 02:49:25 / ____| | | 02:49:25 | | ___ __| | ___ ___ _____ __ 02:49:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 02:49:25 | |___| (_) | (_| | __/ (_| (_) \ V / 02:49:25 \_____\___/ \__,_|\___|\___\___/ \_/ 02:49:25 Bash-1.0.6 02:49:25 02:49:25 02:49:25 ==> git version 2.25.1 found 02:49:25 ==> 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 02:49:25 Release-Date: 2020-01-08 02:49:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 02:49:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 02:49:25 ==> Jenkins CI detected. 02:49:25 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1140 02:49:25 project root: . 02:49:25 --> token set from env 02:49:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 02:49:25 ==> Running gcov in . (disable via -X gcov) 02:49:25 ==> Python coveragepy not found 02:49:25 ==> Searching for coverage reports in: 02:49:25 + . 02:49:25 -> Found 1 reports 02:49:25 ==> Detecting git/mercurial file structure 02:49:25 ==> Reading reports 02:49:25 + ./coverage.out bytes=131008 02:49:25 ==> Appending adjustments 02:49:25 https://docs.codecov.io/docs/fixing-reports 02:49:25 + Found adjustments 02:49:25 ==> Gzipping contents 02:49:25 20K /tmp/codecov.kbr0I6.gz 02:49:25 ==> Uploading reports 02:49:25 url: https://codecov.io 02:49:25 query: branch=PR-1140&commit=4d74de5021f692274428b5aff4c6b8ccd612cc20&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1140%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1140&job=&cmd_args= 02:49:25 -> Pinging Codecov 02:49:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1140&commit=4d74de5021f692274428b5aff4c6b8ccd612cc20&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1140%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1140&job=&cmd_args= 02:49:26 -> Uploading to 02:49:26 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/4d74de5021f692274428b5aff4c6b8ccd612cc20/bb2bca56-5623-4dca-a41c-2bafd511bfb8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T024925Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5facd672b7e13221ccf985ba50fc0bdbdb844d5eab9269bf6838582e1358fc22 02:49:26 % Total % Received % Xferd Average Speed Time Time Time Current 02:49:26 Dload Upload Total Spent Left Speed 02:49:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16843 0 0 100 16843 0 72913 --:--:-- --:--:-- --:--:-- 72913 02:49:26 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/4d74de5021f692274428b5aff4c6b8ccd612cc20 [Pipeline] } 02:49:26 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 02:49:26 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives ] 02:49:26 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives 02:49:26 total 16 02:49:26 drwxr-xr-x 3 root root 4096 Apr 22 02:37 . 02:49:26 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 02:37 .. 02:49:26 drwxr-xr-x 2 root root 4096 Apr 22 02:37 cost 02:49:26 -rw-r--r-- 1 root root 85 Apr 22 02:37 cost.csv 02:49:26 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives 02:49:26 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives 02:49:26 total 16 02:49:26 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 02:37 . 02:49:26 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 02:37 .. 02:49:26 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 02:37 cost 02:49:26 -rw-r--r-- 1 jenkins jenkins 85 Apr 22 02:37 cost.csv [Pipeline] libraryResource [Pipeline] sh 02:49:27 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 02:49:27 ---> package-listing.sh 02:49:27 ++ facter osfamily 02:49:27 ++ tr '[:upper:]' '[:lower:]' 02:49:28 + OS_FAMILY=debian 02:49:28 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1140 02:49:28 + START_PACKAGES=/tmp/packages_start.txt 02:49:28 + END_PACKAGES=/tmp/packages_end.txt 02:49:28 + DIFF_PACKAGES=/tmp/packages_diff.txt 02:49:28 + PACKAGES=/tmp/packages_start.txt 02:49:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1140 ']' 02:49:28 + PACKAGES=/tmp/packages_end.txt 02:49:28 + case "${OS_FAMILY}" in 02:49:28 + dpkg -l 02:49:28 + grep '^ii' 02:49:28 + '[' -f /tmp/packages_start.txt ']' 02:49:28 + '[' -f /tmp/packages_end.txt ']' 02:49:28 + diff /tmp/packages_start.txt /tmp/packages_end.txt 02:49:28 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1140 ']' 02:49:28 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives/ 02:49:28 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1140/archives/ [Pipeline] echo 02:49:28 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-1140/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 02:49:28 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 02:49:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 02:49:28 . [Pipeline] withDockerContainer 02:49:28 prd-ubuntu20.04-docker-8c-8g-21724 does not seem to be running inside a container 02:49:28 $ 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-1140/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-1140 -v /w/workspace/gexfoundry_device-sdk-go_PR-1140:/w/workspace/gexfoundry_device-sdk-go_PR-1140:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 02:49:29 $ docker top 05dd8d96f1a862fdc0c6e602e53f178dd0de148c0282c71fbda383b9449337db -eo pid,comm [Pipeline] { [Pipeline] sh 02:49:29 + touch /tmp/pre-build-complete [Pipeline] sh 02:49:29 + mkdir -p /var/log/sysstat [Pipeline] sh 02:49:30 + ls /var/log/sa-host 02:49:30 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 02:49:30 provisioning config files... 02:49:30 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1140@tmp/config8244403856642769275tmp [Pipeline] { [Pipeline] echo 02:49:30 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 02:49:30 ---> create-netrc.sh [Pipeline] } 02:49:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 02:49:30 ---> python-tools-install.sh [Pipeline] echo 02:49:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 02:49:31 ---> sudo-logs.sh 02:49:31 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 02:49:31 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 02:49:31 ---> job-cost.sh 02:49:31 lf-activate-venv: SKIPPING 02:49:31 DEBUG: total: 0.2199999988079071 02:49:31 INFO: Retrieving Stack Cost... 02:49:31 INFO: Retrieving Pricing Info for: v3-standard-8 02:49:32 INFO: Archiving Costs [Pipeline] echo 02:49:32 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 02:49:32 ---> logs-deploy.sh 02:49:32 lf-activate-venv: SKIPPING 02:49:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1140/2 02:49:32 INFO: archiving workspace using pattern(s): 02:49:33 Archives upload complete. 02:49:33 INFO: archiving logs to Nexus