Pull request #1106 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from cdb80c6e63b0edc56b463ce5d2a9722185baa673+3d39a6b1d7806654871acffae4a42b12e3fa230c (acca24f34a3d37374d4510c73bf7abcac2b82813) 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-ssh10024323997516018786.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-ssh7743000292121397701.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-1106/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-1106/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh15277657232257886626.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-ssh2018931411922921159.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-1106/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-1106/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15790821270627040064.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7783 in /w/workspace/gexfoundry_device-sdk-go_PR-1106 [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-1106 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 3d39a6b1d7806654871acffae4a42b12e3fa230c into PR head commit cdb80c6e63b0edc56b463ce5d2a9722185baa673 Merge succeeded, producing cdb80c6e63b0edc56b463ce5d2a9722185baa673 Checking out Revision cdb80c6e63b0edc56b463ce5d2a9722185baa673 (PR-1106) > 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/1106/head:refs/remotes/origin/PR-1106 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdb80c6e63b0edc56b463ce5d2a9722185baa673 # 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 3d39a6b1d7806654871acffae4a42b12e3fa230c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cdb80c6e63b0edc56b463ce5d2a9722185baa673 # 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 05:02:43 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials > git rev-list --no-walk b8c64523077524e8dc3ba082e55284b6d78094c3 # timeout=10 05:02:43 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 05:02:43 ========================================================= 05:02:43 EdgeX Global Pipelines Version Info 05:02:43 ========================================================= [Pipeline] libraryResource [Pipeline] sh 05:02:44 ------------------- 05:02:44 stable info: 05:02:44 ------------------- 05:02:44 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 05:02:44 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:02:44 Message: update stable to v1.0.221 05:02:45 ------------------- 05:02:45 experimental info: 05:02:45 ------------------- 05:02:45 Commited By: **** collab-it+edgex@linuxfoundation.org 05:02:45 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 05:02:45 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1106 [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1106 [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1106 [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cdb80c6 [Pipeline] echo 05:02:45 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:02:45 provisioning config files... 05:02:45 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/config7834344105749302100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:46 ---> docker-login.sh 05:02:46 nexus3.edgexfoundry.org:10001 05:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:46 Configure a credential helper to remove this warning. See 05:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:46 05:02:46 Login Succeeded 05:02:46 nexus3.edgexfoundry.org:10002 05:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:46 Configure a credential helper to remove this warning. See 05:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:46 05:02:46 Login Succeeded 05:02:46 nexus3.edgexfoundry.org:10003 05:02:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:46 Configure a credential helper to remove this warning. See 05:02:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:46 05:02:46 Login Succeeded 05:02:46 nexus3.edgexfoundry.org:10004 05:02:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:47 Configure a credential helper to remove this warning. See 05:02:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:47 05:02:47 Login Succeeded 05:02:47 docker.io 05:02:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:47 Configure a credential helper to remove this warning. See 05:02:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:47 05:02:47 Login Succeeded 05:02:47 ---> docker-login.sh ends [Pipeline] } 05:02:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 05:02:48 + git rev-list -1 --merges cdb80c6e63b0edc56b463ce5d2a9722185baa673~1..cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] echo 05:02:48 -----------> git rev-list -1 --merges cdb80c6e63b0edc56b463ce5d2a9722185baa673~1..cdb80c6e63b0edc56b463ce5d2a9722185baa673 cdb80c6e63b0edc56b463ce5d2a9722185baa673 [false] [Pipeline] sh 05:02:48 + git log --format=format:%s -1 cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] echo 05:02:48 ========================================================= 05:02:48 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 05:02:48 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 05:02:48 + git log --format=format:%s -1 cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] echo 05:02:48 [semverPrep] GIT_COMMIT: cdb80c6e63b0edc56b463ce5d2a9722185baa673, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 05:02:48 [semverPrep] This is not a build commit. [Pipeline] sh 05:02:49 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 05:02:49 + grep -v github /etc/ssh/ssh_known_hosts 05:02:49 + [ -e /tmp/ssh_known_hosts ] 05:02:49 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 05:02:49 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 05:02:49 + sudo tee -a /etc/ssh/ssh_known_hosts 05:02:49 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 05:02:49 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:02:49 05:02:49 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 05:02:50 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:02:50 latest: Pulling from edgex-devops/git-semver 05:02:50 a0d0a0d46f8b: Pulling fs layer 05:02:50 3e5f54012d9b: Pulling fs layer 05:02:50 4c7163046ea9: Pulling fs layer 05:02:50 0c2d73faf560: Pulling fs layer 05:02:50 3e5f54012d9b: Download complete 05:02:50 a0d0a0d46f8b: Verifying Checksum 05:02:50 a0d0a0d46f8b: Download complete 05:02:50 0c2d73faf560: Verifying Checksum 05:02:50 0c2d73faf560: Download complete 05:02:50 4c7163046ea9: Download complete 05:02:50 a0d0a0d46f8b: Pull complete 05:02:50 3e5f54012d9b: Pull complete 05:02:50 4c7163046ea9: Pull complete 05:02:50 0c2d73faf560: Pull complete 05:02:50 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 05:02:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 05:02:50 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 05:02:50 prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container 05:02:51 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 05:02:51 $ docker top 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 05:02:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:51 [ssh-agent] Looking for ssh-agent implementation... 05:02:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:51 $ docker exec 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 ssh-agent 05:02:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXCgklEb/agent.13 05:02:52 SSH_AGENT_PID=19 05:02:52 Running ssh-add (command line suppressed) 05:02:52 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/private_key_4116984937820118009.key (/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/private_key_4116984937820118009.key) 05:02:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:52 + git tag --points-at HEAD [Pipeline] } 05:02:52 $ docker exec --env ******** --env ******** 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 ssh-agent -k 05:02:52 unset SSH_AUTH_SOCK; 05:02:52 unset SSH_AGENT_PID; 05:02:52 echo Agent pid 19 killed; 05:02:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 05:02:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 05:02:52 [ssh-agent] Looking for ssh-agent implementation... 05:02:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 05:02:52 $ docker exec 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 ssh-agent 05:02:52 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXHOlnPb/agent.52 05:02:52 SSH_AGENT_PID=59 05:02:52 Running ssh-add (command line suppressed) 05:02:53 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/private_key_6901392605384418784.key (/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/private_key_6901392605384418784.key) 05:02:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 05:02:53 + git semver init 05:02:53 # -> Open(): unable to determine branch for HEAD 05:02:53 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1106/.git 05:02:53 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1106 05:02:53 # $SEMVER_REMOTE_NAME = origin 05:02:53 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 05:02:53 # $SEMVER_USER_NAME = edgex-jenkins 05:02:53 # $SEMVER_BRANCH = PR-1106 05:02:53 # $SEMVER_TEMP = /tmp/semver-879777167 05:02:53 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 05:02:54 # '/tmp/semver-879777167' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1106/.semver' 05:02:54 # -> Force: false 05:02:54 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1106/.semver [Pipeline] } 05:02:54 $ docker exec --env ******** --env ******** 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 ssh-agent -k 05:02:54 unset SSH_AUTH_SOCK; 05:02:54 unset SSH_AGENT_PID; 05:02:54 echo Agent pid 59 killed; 05:02:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 05:02:54 + git semver [Pipeline] } 05:02:54 $ docker stop --time=1 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 05:02:56 $ docker rm -f 81305e8f0d2acddffafb8b9d49eabe92dd6f8e247cc136396df7db4d5a323479 [Pipeline] // withDockerContainer [Pipeline] sh 05:02:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 05:02:56 Stashed 1 file(s) [Pipeline] echo 05:02:56 [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 05:02:56 provisioning config files... 05:02:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/config4030537740132519682tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:02:57 ---> docker-login.sh 05:02:57 nexus3.edgexfoundry.org:10001 05:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:57 Configure a credential helper to remove this warning. See 05:02:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:57 05:02:57 Login Succeeded 05:02:57 nexus3.edgexfoundry.org:10002 05:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:57 Configure a credential helper to remove this warning. See 05:02:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:57 05:02:57 Login Succeeded 05:02:57 nexus3.edgexfoundry.org:10003 05:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:57 Configure a credential helper to remove this warning. See 05:02:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:57 05:02:57 Login Succeeded 05:02:57 nexus3.edgexfoundry.org:10004 05:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:57 Configure a credential helper to remove this warning. See 05:02:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:57 05:02:57 Login Succeeded 05:02:57 docker.io 05:02:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:02:58 Configure a credential helper to remove this warning. See 05:02:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:02:58 05:02:58 Login Succeeded 05:02:58 ---> docker-login.sh ends [Pipeline] } 05:02:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:02:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:02:58 ========================================================= 05:02:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 05:02:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:02:58 + 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 . 05:02:58 Sending build context to Docker daemon 9.518MB 05:02:58 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:02:58 Step 2/11 : FROM ${BASE} AS builder 05:02:58 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 05:02:58 59bf1c3509f3: Pulling fs layer 05:02:58 666ba61612fd: Pulling fs layer 05:02:58 8ed8ca486205: Pulling fs layer 05:02:58 4fe6c5a15a65: Pulling fs layer 05:02:58 22a0e8bec74d: Pulling fs layer 05:02:58 640e595b4fbd: Pulling fs layer 05:02:58 763cafe07f6e: Pulling fs layer 05:02:58 0c0b528cf693: Pulling fs layer 05:02:58 10935f4eaf8b: Pulling fs layer 05:02:58 640e595b4fbd: Waiting 05:02:58 763cafe07f6e: Waiting 05:02:58 0c0b528cf693: Waiting 05:02:58 10935f4eaf8b: Waiting 05:02:58 4fe6c5a15a65: Waiting 05:02:58 22a0e8bec74d: Waiting 05:02:58 8ed8ca486205: Verifying Checksum 05:02:58 8ed8ca486205: Download complete 05:02:58 666ba61612fd: Verifying Checksum 05:02:58 666ba61612fd: Download complete 05:02:58 22a0e8bec74d: Verifying Checksum 05:02:58 22a0e8bec74d: Download complete 05:02:58 640e595b4fbd: Verifying Checksum 05:02:58 640e595b4fbd: Download complete 05:02:58 59bf1c3509f3: Verifying Checksum 05:02:58 59bf1c3509f3: Download complete 05:02:58 763cafe07f6e: Verifying Checksum 05:02:58 763cafe07f6e: Download complete 05:02:58 0c0b528cf693: Verifying Checksum 05:02:58 0c0b528cf693: Download complete 05:02:58 59bf1c3509f3: Pull complete 05:02:59 666ba61612fd: Pull complete 05:02:59 8ed8ca486205: Pull complete 05:02:59 10935f4eaf8b: Verifying Checksum 05:02:59 10935f4eaf8b: Download complete 05:02:59 4fe6c5a15a65: Verifying Checksum 05:02:59 4fe6c5a15a65: Download complete 05:03:03 4fe6c5a15a65: Pull complete 05:03:03 22a0e8bec74d: Pull complete 05:03:03 640e595b4fbd: Pull complete 05:03:03 763cafe07f6e: Pull complete 05:03:03 0c0b528cf693: Pull complete 05:03:06 10935f4eaf8b: Pull complete 05:03:06 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 05:03:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 05:03:06 ---> 99d49a6021b9 05:03:06 Step 3/11 : ARG MAKE=make build 05:03:07 ---> Running in beb28c63e0ca 05:03:07 Removing intermediate container beb28c63e0ca 05:03:07 ---> 04bfe778b8a1 05:03:07 Step 4/11 : WORKDIR /device-sdk-go 05:03:07 ---> Running in 9ad9f47cb01a 05:03:07 Removing intermediate container 9ad9f47cb01a 05:03:07 ---> 74c82468d00b 05:03:07 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:03:07 ---> Running in 3dbd731e188e 05:03:07 Removing intermediate container 3dbd731e188e 05:03:07 ---> f2fd17dc9276 05:03:07 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:07 ---> Running in 81abd229db89 05:03:08 Removing intermediate container 81abd229db89 05:03:08 ---> 452c8dd3ec37 05:03:08 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:03:08 ---> Running in 6df48bd446c4 05:03:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:03:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:03:09 OK: 221 MiB in 52 packages 05:03:10 Removing intermediate container 6df48bd446c4 05:03:10 ---> a726914a1558 05:03:10 Step 8/11 : COPY go.mod vendor* ./ 05:03:10 ---> 23ad8d0b231b 05:03:10 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:03:10 ---> Running in 6e165c428d22 05:03:11 Still waiting to schedule task 05:03:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-7781’ 05:03:32 Removing intermediate container 6e165c428d22 05:03:32 ---> 0a10a248a509 05:03:32 Step 10/11 : COPY . . 05:03:32 ---> 18e56d50f4e7 05:03:32 Step 11/11 : RUN ${MAKE} 05:03:32 ---> Running in 0c25dd95666c 05:03:32 noop 05:03:32 Removing intermediate container 0c25dd95666c 05:03:32 ---> 522ad7d4b572 05:03:32 Successfully built 522ad7d4b572 05:03:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 05:03:33 + docker inspect -f . ci-base-image-x86_64 05:03:33 . [Pipeline] withDockerContainer 05:03:33 prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container 05:03:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:03:33 $ docker top a7a755b9b5d53f7206889d9357439f26dfbed2a5f99fd32862daf7a17f616f0a -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:34 + go version 05:03:34 go version go1.17.6 linux/amd64 [Pipeline] } 05:03:34 $ docker stop --time=1 a7a755b9b5d53f7206889d9357439f26dfbed2a5f99fd32862daf7a17f616f0a 05:03:35 $ docker rm -f a7a755b9b5d53f7206889d9357439f26dfbed2a5f99fd32862daf7a17f616f0a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:03:35 + docker inspect -f . ci-base-image-x86_64 05:03:35 . [Pipeline] withDockerContainer 05:03:35 prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container 05:03:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 05:03:36 $ docker top 75dfc8361db345913912811f564067f6ff3e099dabea6bed998c27b4ef2afbde -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:03:36 + make test 05:03:36 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:03:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:03:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.012s coverage: 23.3% of statements 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:03:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.014s coverage: 27.6% of statements 05:03:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.012s coverage: 78.9% of statements 05:03:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.017s coverage: 10.8% of statements 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:03:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.020s coverage: 33.2% of statements 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:03:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.015s coverage: 86.1% of statements 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:03:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.018s coverage: 57.4% of statements 05:03:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.045s coverage: 89.2% of statements 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:03:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.014s coverage: 4.8% of statements 05:03:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:03:51 GO111MODULE=on go vet ./... 05:03:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:03:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:03:54 ./bin/test-attribution-txt.sh [Pipeline] echo 05:03:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:03:54 $ docker stop --time=1 75dfc8361db345913912811f564067f6ff3e099dabea6bed998c27b4ef2afbde 05:03:56 $ docker rm -f 75dfc8361db345913912811f564067f6ff3e099dabea6bed998c27b4ef2afbde [Pipeline] // withDockerContainer [Pipeline] sh 05:03:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:03:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 05:03:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:03:58 + ls -al . 05:03:58 total 312 05:03:58 drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 05:03 . 05:03:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:02 .. 05:03:58 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 05:02 .dockerignore 05:03:58 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 05:02 .git 05:03:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:02 .github 05:03:58 -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 05:02 .gitignore 05:03:58 -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 05:02 .golangci.yml 05:03:58 drwx------ 3 jenkins jenkins 4096 Mar 17 05:02 .semver 05:03:58 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 05:02 CHANGELOG.md 05:03:58 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 05:02 GOVERNANCE.md 05:03:58 -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 05:02 Jenkinsfile 05:03:58 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 05:02 LICENSE 05:03:58 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 05:02 Makefile 05:03:58 -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 05:02 OWNERS.md 05:03:58 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 05:02 README.md 05:03:58 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 05:02 VERSION 05:03:58 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:02 bin 05:03:58 -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 05:03 coverage.out 05:03:58 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:02 example 05:03:58 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 05:02 go.mod 05:03:58 -rw-rw-r-- 1 jenkins jenkins 50080 Mar 17 05:02 go.sum 05:03:58 drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 05:02 internal 05:03:58 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:02 openapi 05:03:58 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:02 pkg 05:03:58 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:02 snap 05:03:58 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 05:02 version.go [Pipeline] isUnix [Pipeline] sh 05:03:58 + 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=cdb80c6e63b0edc56b463ce5d2a9722185baa673 --label arch=amd64 --label version=0.0.0 . 05:03:58 Sending build context to Docker daemon 9.648MB 05:03:58 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:03:58 Step 2/25 : FROM ${BASE} AS builder 05:03:58 ---> 522ad7d4b572 05:03:58 Step 3/25 : ARG MAKE=make build 05:03:58 ---> Running in 743abbb3622a 05:03:58 Removing intermediate container 743abbb3622a 05:03:58 ---> c2c2dc9be94b 05:03:58 Step 4/25 : WORKDIR /device-sdk-go 05:03:58 ---> Running in bdfa3b2a7831 05:03:58 Removing intermediate container bdfa3b2a7831 05:03:58 ---> 5917051980b9 05:03:58 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:03:58 ---> Running in 4b26846381c6 05:03:58 Removing intermediate container 4b26846381c6 05:03:58 ---> 4908e6bc1d3b 05:03:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:03:58 ---> Running in 05d5d9f04b34 05:03:59 Removing intermediate container 05d5d9f04b34 05:03:59 ---> edcb6c181683 05:03:59 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:03:59 ---> Running in 4f01372cd90b 05:04:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 05:04:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 05:04:01 OK: 221 MiB in 52 packages 05:04:01 Removing intermediate container 4f01372cd90b 05:04:01 ---> 7e3de2cd86c3 05:04:01 Step 8/25 : COPY go.mod vendor* ./ 05:04:01 ---> a50094c17fad 05:04:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:04:01 ---> Running in f38db14fe739 05:04:02 Removing intermediate container f38db14fe739 05:04:02 ---> 4fce2b27b7e3 05:04:02 Step 10/25 : COPY . . 05:04:02 ---> ee1dfabb7855 05:04:02 Step 11/25 : RUN ${MAKE} 05:04:02 ---> Running in c4d75dae9529 05:04:03 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:04:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:04:10 Removing intermediate container c4d75dae9529 05:04:10 ---> 742fec15ed35 05:04:10 Step 12/25 : FROM alpine:3.14 05:04:10 3.14: Pulling from library/alpine 05:04:11 97518928ae5f: Pulling fs layer 05:04:11 97518928ae5f: Verifying Checksum 05:04:11 97518928ae5f: Download complete 05:04:11 97518928ae5f: Pull complete 05:04:11 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 05:04:11 Status: Downloaded newer image for alpine:3.14 05:04:11 ---> 0a97eee8041e 05:04:11 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:04:11 ---> Running in dc5f33407ad4 05:04:11 Removing intermediate container dc5f33407ad4 05:04:11 ---> d63f91b01fd2 05:04:11 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:04:11 ---> Running in c6bbc5193d37 05:04:12 Removing intermediate container c6bbc5193d37 05:04:12 ---> c9c6ea27f6d9 05:04:12 Step 15/25 : RUN apk add --update --no-cache zeromq 05:04:12 ---> Running in 59e3518c9377 05:04:12 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 05:04:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 05:04:13 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:04:13 (2/5) Installing libsodium (1.0.18-r0) 05:04:13 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:04:14 (4/5) Installing libzmq (4.3.4-r0) 05:04:14 (5/5) Installing zeromq (4.3.4-r0) 05:04:14 Executing busybox-1.33.1-r6.trigger 05:04:14 OK: 8 MiB in 19 packages 05:04:14 Removing intermediate container 59e3518c9377 05:04:14 ---> 696e688ee891 05:04:14 Step 16/25 : WORKDIR / 05:04:14 ---> Running in ac8fe42a7e6f 05:04:14 Removing intermediate container ac8fe42a7e6f 05:04:14 ---> 5489781ce2f6 05:04:14 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:04:15 ---> 82b294ce3bf9 05:04:15 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:04:15 ---> 1f6ae9393351 05:04:15 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:04:15 ---> 492529fc4eea 05:04:15 Step 20/25 : EXPOSE 59999 05:04:15 ---> Running in b8910b3817f1 05:04:15 Removing intermediate container b8910b3817f1 05:04:15 ---> ace61b16ffb9 05:04:15 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:04:15 ---> Running in 04b6208219ea 05:04:15 Removing intermediate container 04b6208219ea 05:04:15 ---> f6665f32cd8e 05:04:15 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:04:15 ---> Running in ab0f27674a7e 05:04:15 Removing intermediate container ab0f27674a7e 05:04:15 ---> f228a1bbc2d0 05:04:15 Step 23/25 : LABEL arch=amd64 05:04:15 ---> Running in 238d2efe5ff2 05:04:16 Removing intermediate container 238d2efe5ff2 05:04:16 ---> 25e0aee10d4d 05:04:16 Step 24/25 : LABEL git_sha=cdb80c6e63b0edc56b463ce5d2a9722185baa673 05:04:16 ---> Running in 9c39f91722c9 05:04:16 Removing intermediate container 9c39f91722c9 05:04:16 ---> d57fb69cfe65 05:04:16 Step 25/25 : LABEL version=0.0.0 05:04:16 ---> Running in 0fb574222797 05:04:16 Removing intermediate container 0fb574222797 05:04:16 ---> 6280383ecafe 05:04:16 [Warning] One or more build-args [ARCH] were not consumed 05:04:16 Successfully built 6280383ecafe 05:04:16 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 05:04:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:16 05:04:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 05:04:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:17 latest: Pulling from edgex-lftools-log-publisher 05:04:17 5eb5b503b376: Pulling fs layer 05:04:17 5c69ac0246d0: Pulling fs layer 05:04:17 ec43610c2a17: Pulling fs layer 05:04:17 3a2ae6a8a46f: Pulling fs layer 05:04:17 33b1e0a273af: Pulling fs layer 05:04:17 5d3b04190fa2: Pulling fs layer 05:04:17 2f39f015ded8: Pulling fs layer 05:04:17 33b1e0a273af: Waiting 05:04:17 2f39f015ded8: Waiting 05:04:17 5d3b04190fa2: Waiting 05:04:17 5c69ac0246d0: Download complete 05:04:17 3a2ae6a8a46f: Verifying Checksum 05:04:17 3a2ae6a8a46f: Download complete 05:04:17 33b1e0a273af: Verifying Checksum 05:04:17 33b1e0a273af: Download complete 05:04:17 5d3b04190fa2: Verifying Checksum 05:04:17 5d3b04190fa2: Download complete 05:04:17 ec43610c2a17: Verifying Checksum 05:04:17 ec43610c2a17: Download complete 05:04:17 5eb5b503b376: Verifying Checksum 05:04:17 5eb5b503b376: Download complete 05:04:17 2f39f015ded8: Download complete 05:04:18 5eb5b503b376: Pull complete 05:04:18 5c69ac0246d0: Pull complete 05:04:18 ec43610c2a17: Pull complete 05:04:19 3a2ae6a8a46f: Pull complete 05:04:19 33b1e0a273af: Pull complete 05:04:19 5d3b04190fa2: Pull complete 05:04:23 2f39f015ded8: Pull complete 05:04:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 05:04:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:04:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 05:04:23 prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container 05:04:23 $ 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-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 05:04:25 $ docker top 99033973abd9543c20fec2b40a5bfbada267e5e71737c890e049a19bb157af04 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:04:25 ---> job-cost.sh 05:04:25 lf-activate-venv: SKIPPING 05:04:25 INFO: No Stack... 05:04:26 INFO: Retrieving Pricing Info for: v3-standard-8 05:04:26 INFO: Archiving Costs [Pipeline] sh 05:04:26 + cut -d, -f6 05:04:26 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives/cost.csv [Pipeline] lock 05:04:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] 05:04:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] did not exist. Created. 05:04:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:04:27 + echo total: 0.2199999988079071 [Pipeline] stash 05:04:27 Stashed 1 file(s) [Pipeline] } 05:04:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:04:27 $ docker stop --time=1 99033973abd9543c20fec2b40a5bfbada267e5e71737c890e049a19bb157af04 05:04:28 $ docker rm -f 99033973abd9543c20fec2b40a5bfbada267e5e71737c890e049a19bb157af04 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 05:06:38 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7786 in /w/workspace/gexfoundry_device-sdk-go_PR-1106 [Pipeline] { [Pipeline] ws 05:06:38 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 05:06:39 The recommended git tool is: git 05:06:46 using credential edgex-jenkins-ssh 05:06:46 Cloning the remote Git repository 05:06:46 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 05:06:46 > git init /w/workspace/device-sdk-go/4 # timeout=10 05:06:46 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:06:46 > git --version # timeout=10 05:06:46 > git --version # 'git version 2.25.1' 05:06:46 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:06:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 05:06:48 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 05:06:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 05:06:49 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:49 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1106/head:refs/remotes/origin/PR-1106 +refs/heads/main:refs/remotes/origin/main # timeout=10 05:06:49 Merging remotes/origin/main commit 3d39a6b1d7806654871acffae4a42b12e3fa230c into PR head commit cdb80c6e63b0edc56b463ce5d2a9722185baa673 05:06:50 Merge succeeded, producing cdb80c6e63b0edc56b463ce5d2a9722185baa673 05:06:50 Checking out Revision cdb80c6e63b0edc56b463ce5d2a9722185baa673 (PR-1106) 05:06:49 > git config core.sparsecheckout # timeout=10 05:06:49 > git checkout -f cdb80c6e63b0edc56b463ce5d2a9722185baa673 # timeout=10 05:06:50 > git remote # timeout=10 05:06:50 > git config --get remote.origin.url # timeout=10 05:06:50 using GIT_SSH to set credentials SSH Credentials for GitHub 05:06:50 > git merge 3d39a6b1d7806654871acffae4a42b12e3fa230c # timeout=10 05:06:50 > git rev-parse HEAD^{commit} # timeout=10 05:06:50 > git config core.sparsecheckout # timeout=10 05:06:50 > git checkout -f cdb80c6e63b0edc56b463ce5d2a9722185baa673 # timeout=10 05:06:54 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 05:06:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 05:06:55 % Total % Received % Xferd Average Speed Time Time Time Current 05:06:55 Dload Upload Total Spent Left Speed 05:06:56 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 42448 0 --:--:-- --:--:-- --:--:-- 42600 [Pipeline] sh 05:06:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 05:06:56 + sudo tee+ /etc/docker/daemon.new 05:06:56 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 05:06:56 { 05:06:56 "registry-mirrors": [ 05:06:56 "https://nexus3.edgexfoundry.org:10001" 05:06:56 ], 05:06:56 "bip": "10.250.0.254/24", 05:06:56 "hosts": [ 05:06:56 "tcp://0.0.0.0:5555", 05:06:56 "unix:///var/run/docker.sock" 05:06:56 ], 05:06:56 "mtu": 1458, 05:06:56 "selinux-enabled": true, 05:06:56 "seccomp-profile": "/etc/docker/seccomp.json" 05:06:56 } [Pipeline] sh 05:06:57 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 05:06:57 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:07:15 provisioning config files... 05:07:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config6063982770949837019tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:07:16 ---> docker-login.sh 05:07:16 nexus3.edgexfoundry.org:10001 05:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:17 Configure a credential helper to remove this warning. See 05:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:17 05:07:17 Login Succeeded 05:07:17 nexus3.edgexfoundry.org:10002 05:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:17 Configure a credential helper to remove this warning. See 05:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:17 05:07:17 Login Succeeded 05:07:17 nexus3.edgexfoundry.org:10003 05:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:18 Configure a credential helper to remove this warning. See 05:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:18 05:07:18 Login Succeeded 05:07:18 nexus3.edgexfoundry.org:10004 05:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:18 Configure a credential helper to remove this warning. See 05:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:18 05:07:18 Login Succeeded 05:07:18 docker.io 05:07:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 05:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 05:07:19 Configure a credential helper to remove this warning. See 05:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 05:07:19 05:07:19 Login Succeeded 05:07:19 ---> docker-login.sh ends [Pipeline] } 05:07:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 05:07:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 05:07:20 ========================================================= 05:07:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 05:07:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 05:07:20 + 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 . 05:07:20 Sending build context to Docker daemon 5.146MB 05:07:20 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 05:07:20 Step 2/11 : FROM ${BASE} AS builder 05:07:20 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 05:07:20 9b3977197b4f: Pulling fs layer 05:07:20 1a89e8eeedd5: Pulling fs layer 05:07:20 94645a83ff95: Pulling fs layer 05:07:20 3f3a8bcf1eab: Pulling fs layer 05:07:20 0c92f367c5e7: Pulling fs layer 05:07:20 f7c0051592d6: Pulling fs layer 05:07:20 a227ed2f7395: Pulling fs layer 05:07:20 7b1c46037f91: Pulling fs layer 05:07:20 3f3a8bcf1eab: Waiting 05:07:20 0c92f367c5e7: Waiting 05:07:20 f7c0051592d6: Waiting 05:07:20 a227ed2f7395: Waiting 05:07:20 7b1c46037f91: Waiting 05:07:20 94645a83ff95: Verifying Checksum 05:07:20 94645a83ff95: Download complete 05:07:20 1a89e8eeedd5: Verifying Checksum 05:07:20 1a89e8eeedd5: Download complete 05:07:20 0c92f367c5e7: Download complete 05:07:21 f7c0051592d6: Verifying Checksum 05:07:21 f7c0051592d6: Download complete 05:07:21 9b3977197b4f: Download complete 05:07:21 a227ed2f7395: Verifying Checksum 05:07:21 a227ed2f7395: Download complete 05:07:21 9b3977197b4f: Pull complete 05:07:22 1a89e8eeedd5: Pull complete 05:07:22 94645a83ff95: Pull complete 05:07:23 7b1c46037f91: Verifying Checksum 05:07:23 7b1c46037f91: Download complete 05:07:23 3f3a8bcf1eab: Verifying Checksum 05:07:23 3f3a8bcf1eab: Download complete 05:07:36 3f3a8bcf1eab: Pull complete 05:07:36 0c92f367c5e7: Pull complete 05:07:36 f7c0051592d6: Pull complete 05:07:36 a227ed2f7395: Pull complete 05:07:43 7b1c46037f91: Pull complete 05:07:43 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 05:07:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 05:07:43 ---> f79e39bc4007 05:07:43 Step 3/11 : ARG MAKE=make build 05:07:43 ---> Running in af864fda4968 05:07:43 Removing intermediate container af864fda4968 05:07:43 ---> aec7a364a123 05:07:43 Step 4/11 : WORKDIR /device-sdk-go 05:07:43 ---> Running in 8168f1f3e069 05:07:44 Removing intermediate container 8168f1f3e069 05:07:44 ---> 13d5710de51e 05:07:44 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:07:44 ---> Running in fe0b092c1146 05:07:44 Removing intermediate container fe0b092c1146 05:07:44 ---> ae5a1229864b 05:07:44 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:07:44 ---> Running in cb9eaef5967f 05:07:46 Removing intermediate container cb9eaef5967f 05:07:46 ---> bdf03b4e2941 05:07:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:07:46 ---> Running in 8b935e23603a 05:07:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:07:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:07:49 OK: 220 MiB in 52 packages 05:07:50 Removing intermediate container 8b935e23603a 05:07:50 ---> e03b36817557 05:07:50 Step 8/11 : COPY go.mod vendor* ./ 05:07:50 ---> 2c91d9b3a5b9 05:07:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:07:50 ---> Running in af31802bf3ab 05:09:12 Removing intermediate container af31802bf3ab 05:09:12 ---> b9f86b3a9bf0 05:09:12 Step 10/11 : COPY . . 05:09:12 ---> bf696af3f0cc 05:09:12 Step 11/11 : RUN ${MAKE} 05:09:12 ---> Running in 9e1ecb3f022f 05:09:12 noop 05:09:12 Removing intermediate container 9e1ecb3f022f 05:09:12 ---> 78ab133c8832 05:09:12 Successfully built 78ab133c8832 05:09:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 05:09:12 + docker inspect -f . ci-base-image-arm64 05:09:12 . [Pipeline] withDockerContainer 05:09:12 prd-ubuntu20.04-docker-arm64-4c-16g-7786 does not seem to be running inside a container 05:09:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:14 $ docker top 71d1a898aa229aa1b5828d9e4e50719aec52a3697140d80656e09cecb71d5268 -eo pid,comm [Pipeline] { [Pipeline] sh 05:09:15 + go version 05:09:15 go version go1.17.6 linux/arm64 [Pipeline] } 05:09:15 $ docker stop --time=1 71d1a898aa229aa1b5828d9e4e50719aec52a3697140d80656e09cecb71d5268 05:09:16 $ docker rm -f 71d1a898aa229aa1b5828d9e4e50719aec52a3697140d80656e09cecb71d5268 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 05:09:17 + docker inspect -f . ci-base-image-arm64 05:09:17 . [Pipeline] withDockerContainer 05:09:17 prd-ubuntu20.04-docker-arm64-4c-16g-7786 does not seem to be running inside a container 05:09:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 05:09:19 $ docker top b23e001d5f9388d2b1d915b7042816340fb3f9f434400fc210831f86f0c0cb7c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 05:09:20 + make test 05:09:20 GO111MODULE=on go test -coverprofile=coverage.out ./... 05:09:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 05:10:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 05:10:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 05:10:08 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 05:10:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.135s coverage: 23.3% of statements 05:10:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 05:10:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements 05:10:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.073s coverage: 78.9% of statements 05:10:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.096s coverage: 10.8% of statements 05:10:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 05:10:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 05:10:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 05:10:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.102s coverage: 33.2% of statements 05:10:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 05:10:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.152s coverage: 86.1% of statements 05:10:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 05:10:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 05:10:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.121s coverage: 57.4% of statements 05:10:19 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.184s coverage: 89.2% of statements 05:10:19 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 05:10:20 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.8% of statements 05:10:20 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 05:10:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 05:10:21 GO111MODULE=on go vet ./... 05:10:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 05:10:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 05:10:43 ./bin/test-attribution-txt.sh [Pipeline] echo 05:10:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 05:10:43 $ docker stop --time=1 b23e001d5f9388d2b1d915b7042816340fb3f9f434400fc210831f86f0c0cb7c 05:10:45 $ docker rm -f b23e001d5f9388d2b1d915b7042816340fb3f9f434400fc210831f86f0c0cb7c [Pipeline] // withDockerContainer [Pipeline] sh 05:10:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 05:10:46 Warning: overwriting stash ‘coverage-report’ 05:10:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 05:10:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 05:10:47 + ls -al . 05:10:47 total 308 05:10:47 drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 05:10 . 05:10:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:06 .. 05:10:47 -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 05:06 .dockerignore 05:10:47 drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 05:06 .git 05:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:06 .github 05:10:47 -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 05:06 .gitignore 05:10:47 -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 05:06 .golangci.yml 05:10:47 -rw-rw-r-- 1 jenkins jenkins 26321 Mar 17 05:06 CHANGELOG.md 05:10:47 -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 05:06 GOVERNANCE.md 05:10:47 -rw-rw-r-- 1 jenkins jenkins 880 Mar 17 05:06 Jenkinsfile 05:10:47 -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 05:06 LICENSE 05:10:47 -rw-rw-r-- 1 jenkins jenkins 1614 Mar 17 05:06 Makefile 05:10:47 -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 05:06 OWNERS.md 05:10:47 -rw-rw-r-- 1 jenkins jenkins 4881 Mar 17 05:06 README.md 05:10:47 -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 05:02 VERSION 05:10:47 drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 05:06 bin 05:10:47 -rw-r--r-- 1 jenkins jenkins 129001 Mar 17 05:10 coverage.out 05:10:47 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:06 example 05:10:47 -rw-rw-r-- 1 jenkins jenkins 2773 Mar 17 05:06 go.mod 05:10:47 -rw-rw-r-- 1 jenkins jenkins 50080 Mar 17 05:06 go.sum 05:10:47 drwxrwxr-x 15 jenkins jenkins 4096 Mar 17 05:06 internal 05:10:47 drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 05:06 openapi 05:10:47 drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 05:06 pkg 05:10:47 drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 05:06 snap 05:10:47 -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 05:06 version.go [Pipeline] isUnix [Pipeline] sh 05:10:48 + 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=cdb80c6e63b0edc56b463ce5d2a9722185baa673 --label arch=arm64 --label version=0.0.0 . 05:10:48 Sending build context to Docker daemon 5.276MB 05:10:48 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 05:10:48 Step 2/25 : FROM ${BASE} AS builder 05:10:48 ---> 78ab133c8832 05:10:48 Step 3/25 : ARG MAKE=make build 05:10:48 ---> Running in d7922edcf93a 05:10:49 Removing intermediate container d7922edcf93a 05:10:49 ---> 9d834f2d0ca8 05:10:49 Step 4/25 : WORKDIR /device-sdk-go 05:10:49 ---> Running in f8eaa9d1f936 05:10:49 Removing intermediate container f8eaa9d1f936 05:10:49 ---> 53d00fd60f20 05:10:49 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:10:49 ---> Running in 561f7e07ffe9 05:10:49 Removing intermediate container 561f7e07ffe9 05:10:49 ---> 6d6a8999b1bc 05:10:49 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:10:49 ---> Running in b67667f7de4a 05:10:51 Removing intermediate container b67667f7de4a 05:10:51 ---> f087971d7b06 05:10:51 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 05:10:51 ---> Running in 532d23bd49c9 05:10:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 05:10:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 05:10:54 OK: 220 MiB in 52 packages 05:10:55 Removing intermediate container 532d23bd49c9 05:10:55 ---> a0dde41fc6f0 05:10:55 Step 8/25 : COPY go.mod vendor* ./ 05:10:55 ---> bec01390fd28 05:10:55 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 05:10:55 ---> Running in d793d8e206c3 05:10:57 Removing intermediate container d793d8e206c3 05:10:57 ---> 3d104289ea0b 05:10:57 Step 10/25 : COPY . . 05:10:59 ---> 87debe61fee5 05:10:59 Step 11/25 : RUN ${MAKE} 05:10:59 ---> Running in a656c77083a7 05:11:00 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:11:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:11:39 Removing intermediate container a656c77083a7 05:11:39 ---> face4d376793 05:11:39 Step 12/25 : FROM alpine:3.14 05:11:39 3.14: Pulling from library/alpine 05:11:40 be307f383ecc: Pulling fs layer 05:11:40 be307f383ecc: Verifying Checksum 05:11:40 be307f383ecc: Download complete 05:11:41 be307f383ecc: Pull complete 05:11:41 Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 05:11:41 Status: Downloaded newer image for alpine:3.14 05:11:41 ---> 5b8b7b635229 05:11:41 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 05:11:41 ---> Running in 5b19ddc3772e 05:11:41 Removing intermediate container 5b19ddc3772e 05:11:41 ---> 28a89196bb19 05:11:41 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 05:11:41 ---> Running in d4b4b2b4ae05 05:11:43 Removing intermediate container d4b4b2b4ae05 05:11:43 ---> 2f8177e578ec 05:11:43 Step 15/25 : RUN apk add --update --no-cache zeromq 05:11:43 ---> Running in 815cf9e013f4 05:11:44 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 05:11:45 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 05:11:46 (1/5) Installing libgcc (10.3.1_git20210424-r2) 05:11:46 (2/5) Installing libsodium (1.0.18-r0) 05:11:46 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 05:11:46 (4/5) Installing libzmq (4.3.4-r0) 05:11:46 (5/5) Installing zeromq (4.3.4-r0) 05:11:46 Executing busybox-1.33.1-r6.trigger 05:11:46 OK: 8 MiB in 19 packages 05:11:47 Removing intermediate container 815cf9e013f4 05:11:47 ---> 7b81842b85ea 05:11:47 Step 16/25 : WORKDIR / 05:11:47 ---> Running in bc5fe10a5078 05:11:47 Removing intermediate container bc5fe10a5078 05:11:47 ---> d68d8d3c3bef 05:11:47 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:11:48 ---> 4368799e6e93 05:11:48 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:11:49 ---> 91bac253feec 05:11:49 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:11:50 ---> 7a07e39936ab 05:11:50 Step 20/25 : EXPOSE 59999 05:11:50 ---> Running in e6eb9699a9a5 05:11:50 Removing intermediate container e6eb9699a9a5 05:11:50 ---> 9ba6107083b3 05:11:50 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:11:50 ---> Running in cbaf9e69a395 05:11:50 Removing intermediate container cbaf9e69a395 05:11:50 ---> 1f2530967ab3 05:11:50 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:11:50 ---> Running in f43a761de651 05:11:51 Removing intermediate container f43a761de651 05:11:51 ---> bdbd3540f3f1 05:11:51 Step 23/25 : LABEL arch=arm64 05:11:51 ---> Running in 93acf67e7c1c 05:11:51 Removing intermediate container 93acf67e7c1c 05:11:51 ---> d57c1261728e 05:11:51 Step 24/25 : LABEL git_sha=cdb80c6e63b0edc56b463ce5d2a9722185baa673 05:11:51 ---> Running in ca89fd2edc11 05:11:52 Removing intermediate container ca89fd2edc11 05:11:52 ---> 3b9ca6c19023 05:11:52 Step 25/25 : LABEL version=0.0.0 05:11:52 ---> Running in 1a47fcd7ef3d 05:11:52 Removing intermediate container 1a47fcd7ef3d 05:11:52 ---> ed972c29bc59 05:11:52 [Warning] One or more build-args [ARCH] were not consumed 05:11:52 Successfully built ed972c29bc59 05:11:52 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 05:11:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:52 05:11:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 05:11:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:11:53 arm64: Pulling from edgex-lftools-log-publisher 05:11:53 8998bd30e6a1: Pulling fs layer 05:11:53 04944245beec: Pulling fs layer 05:11:53 699f458cf7ca: Pulling fs layer 05:11:53 765212b225bb: Pulling fs layer 05:11:53 f23df028b6ca: Pulling fs layer 05:11:53 d65c8cfc05b1: Pulling fs layer 05:11:53 2437ff75d9bd: Pulling fs layer 05:11:53 765212b225bb: Waiting 05:11:53 f23df028b6ca: Waiting 05:11:53 d65c8cfc05b1: Waiting 05:11:53 2437ff75d9bd: Waiting 05:11:53 04944245beec: Verifying Checksum 05:11:53 04944245beec: Download complete 05:11:53 765212b225bb: Verifying Checksum 05:11:53 765212b225bb: Download complete 05:11:53 f23df028b6ca: Verifying Checksum 05:11:53 f23df028b6ca: Download complete 05:11:53 d65c8cfc05b1: Verifying Checksum 05:11:53 d65c8cfc05b1: Download complete 05:11:53 699f458cf7ca: Verifying Checksum 05:11:53 699f458cf7ca: Download complete 05:11:53 8998bd30e6a1: Verifying Checksum 05:11:53 8998bd30e6a1: Download complete 05:11:56 2437ff75d9bd: Verifying Checksum 05:11:56 2437ff75d9bd: Download complete 05:11:58 8998bd30e6a1: Pull complete 05:11:58 04944245beec: Pull complete 05:12:00 699f458cf7ca: Pull complete 05:12:00 765212b225bb: Pull complete 05:12:01 f23df028b6ca: Pull complete 05:12:01 d65c8cfc05b1: Pull complete 05:12:16 2437ff75d9bd: Pull complete 05:12:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:12:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:12:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 05:12:16 prd-ubuntu20.04-docker-arm64-4c-16g-7786 does not seem to be running inside a container 05:12:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 05:12:19 $ docker top af12bb08d593d09da09d310e8a73a1b89c7c02d365ed9656ac264fd93e4c2490 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:12:20 ---> job-cost.sh 05:12:20 lf-activate-venv: SKIPPING 05:12:20 INFO: No Stack... 05:12:20 INFO: Retrieving Pricing Info for: v3-standard-4 05:12:21 INFO: Archiving Costs [Pipeline] sh 05:12:22 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 05:12:22 + cut -d, -f6 [Pipeline] lock 05:12:22 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] 05:12:22 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] did not exist. Created. 05:12:22 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:12:22 /w/workspace/device-sdk-go/4@tmp/durable-dcfa4dcc/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:12:23 + echo total: 0.10999999940395355 [Pipeline] stash 05:12:23 Warning: overwriting stash ‘stack-cost’ 05:12:23 Stashed 1 file(s) [Pipeline] } 05:12:23 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1106-4-stack-cost] [Pipeline] // lock [Pipeline] } 05:12:23 $ docker stop --time=1 af12bb08d593d09da09d310e8a73a1b89c7c02d365ed9656ac264fd93e4c2490 05:12:25 $ docker rm -f af12bb08d593d09da09d310e8a73a1b89c7c02d365ed9656ac264fd93e4c2490 [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 05:12:25 provisioning config files... 05:12:25 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/config6183259337448157351tmp [Pipeline] { [Pipeline] sh 05:12:26 + set +x 05:12:26 + curl -s https://codecov.io/bash 05:12:26 + bash -s -- 05:12:26 05:12:26 _____ _ 05:12:26 / ____| | | 05:12:26 | | ___ __| | ___ ___ _____ __ 05:12:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:12:26 | |___| (_) | (_| | __/ (_| (_) \ V / 05:12:26 \_____\___/ \__,_|\___|\___\___/ \_/ 05:12:26 Bash-1.0.6 05:12:26 05:12:26 05:12:26 ==> git version 2.25.1 found 05:12:26 ==> 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 05:12:26 Release-Date: 2020-01-08 05:12:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:12:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:12:26 ==> Jenkins CI detected. 05:12:26 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1106 05:12:26 project root: . 05:12:26 --> token set from env 05:12:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:12:26 ==> Running gcov in . (disable via -X gcov) 05:12:26 ==> Python coveragepy not found 05:12:26 ==> Searching for coverage reports in: 05:12:26 + . 05:12:26 -> Found 1 reports 05:12:26 ==> Detecting git/mercurial file structure 05:12:26 ==> Reading reports 05:12:26 + ./coverage.out bytes=129001 05:12:26 ==> Appending adjustments 05:12:26 https://docs.codecov.io/docs/fixing-reports 05:12:26 + Found adjustments 05:12:26 ==> Gzipping contents 05:12:26 16K /tmp/codecov.08Uk1B.gz 05:12:26 ==> Uploading reports 05:12:26 url: https://codecov.io 05:12:26 query: branch=PR-1106&commit=cdb80c6e63b0edc56b463ce5d2a9722185baa673&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1106%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1106&job=&cmd_args= 05:12:26 -> Pinging Codecov 05:12:26 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1106&commit=cdb80c6e63b0edc56b463ce5d2a9722185baa673&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1106%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1106&job=&cmd_args= 05:12:26 -> Uploading to 05:12:26 https://storage.googleapis.com/codecov/v4/raw/2022-03-17/7E55EF52A471D76F132DFD9A03CDDE97/cdb80c6e63b0edc56b463ce5d2a9722185baa673/70b450c0-0f99-4ce4-a026-92aff4e422ee.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220317T051226Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=20f54294078857394e5bb91774387d7ea049f85dd7644ec18019d480f748877c 05:12:26 % Total % Received % Xferd Average Speed Time Time Time Current 05:12:26 Dload Upload Total Spent Left Speed 05:12:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16254 0 0 100 16254 0 58258 --:--:-- --:--:-- --:--:-- 58258 05:12:27 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/cdb80c6e63b0edc56b463ce5d2a9722185baa673 [Pipeline] } 05:12:27 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 05:12:27 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives ] 05:12:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives 05:12:27 total 16 05:12:27 drwxr-xr-x 3 root root 4096 Mar 17 05:04 . 05:12:27 drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:04 .. 05:12:27 drwxr-xr-x 2 root root 4096 Mar 17 05:04 cost 05:12:27 -rw-r--r-- 1 root root 85 Mar 17 05:04 cost.csv 05:12:27 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives 05:12:27 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives 05:12:27 total 16 05:12:27 drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 05:04 . 05:12:27 drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 05:04 .. 05:12:27 drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 05:04 cost 05:12:27 -rw-r--r-- 1 jenkins jenkins 85 Mar 17 05:04 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:12:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:12:29 ---> package-listing.sh 05:12:29 ++ tr '[:upper:]' '[:lower:]' 05:12:29 ++ facter osfamily 05:12:29 + OS_FAMILY=debian 05:12:29 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1106 05:12:29 + START_PACKAGES=/tmp/packages_start.txt 05:12:29 + END_PACKAGES=/tmp/packages_end.txt 05:12:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:12:29 + PACKAGES=/tmp/packages_start.txt 05:12:29 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1106 ']' 05:12:29 + PACKAGES=/tmp/packages_end.txt 05:12:29 + case "${OS_FAMILY}" in 05:12:29 + grep '^ii' 05:12:29 + dpkg -l 05:12:29 + '[' -f /tmp/packages_start.txt ']' 05:12:29 + '[' -f /tmp/packages_end.txt ']' 05:12:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:12:29 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1106 ']' 05:12:29 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives/ 05:12:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1106/archives/ [Pipeline] echo 05:12:29 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-1106/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:12:29 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 05:12:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:12:30 . [Pipeline] withDockerContainer 05:12:30 prd-ubuntu20.04-docker-8c-8g-7783 does not seem to be running inside a container 05:12:30 $ 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-1106/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-1106 -v /w/workspace/gexfoundry_device-sdk-go_PR-1106:/w/workspace/gexfoundry_device-sdk-go_PR-1106:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1106@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 05:12:30 $ docker top c44dfb516f6c3d59ae321a6651244b44dd8e1909f8c272f074d6a4d2c62721da -eo pid,comm [Pipeline] { [Pipeline] sh 05:12:30 + touch /tmp/pre-build-complete [Pipeline] sh 05:12:31 + mkdir -p /var/log/sysstat [Pipeline] sh 05:12:31 + ls /var/log/sa-host 05:12:31 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:12:31 provisioning config files... 05:12:31 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1106@tmp/config4296142913064390768tmp [Pipeline] { [Pipeline] echo 05:12:31 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:12:31 ---> create-netrc.sh [Pipeline] } 05:12:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:12:32 ---> python-tools-install.sh [Pipeline] echo 05:12:32 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:12:32 ---> sudo-logs.sh 05:12:32 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:12:32 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:12:32 ---> job-cost.sh 05:12:32 lf-activate-venv: SKIPPING 05:12:32 DEBUG: total: 0.2199999988079071 05:12:32 INFO: Retrieving Stack Cost... 05:12:33 INFO: Retrieving Pricing Info for: v3-standard-8 05:12:33 INFO: Archiving Costs [Pipeline] echo 05:12:33 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:12:33 ---> logs-deploy.sh 05:12:33 lf-activate-venv: SKIPPING 05:12:33 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1106/4 05:12:33 INFO: archiving workspace using pattern(s): 05:12:34 Archives upload complete. 05:12:34 INFO: archiving logs to Nexus