Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 394fc05ea4364c0913f6dcfc9df39709a995a7f5+f8b8abfef3f0264dda75330ad33f104d8ec6ed98 (d497e4b74b52d5d8b7430882fec9831389029886) 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-ssh12118720419362632855.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-ssh12977877703522058808.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-1144/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-1144/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh16884206491599012202.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-ssh16253670449981754082.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-1144/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-1144/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh168718416000434823.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-23572 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [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-1144 # 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 f8b8abfef3f0264dda75330ad33f104d8ec6ed98 into PR head commit 394fc05ea4364c0913f6dcfc9df39709a995a7f5 Merge succeeded, producing 394fc05ea4364c0913f6dcfc9df39709a995a7f5 Checking out Revision 394fc05ea4364c0913f6dcfc9df39709a995a7f5 (PR-1144) > 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/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # 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 f8b8abfef3f0264dda75330ad33f104d8ec6ed98 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:22:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:22:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:22:07 ========================================================= 04:22:07 EdgeX Global Pipelines Version Info 04:22:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # timeout=10 04:22:08 ------------------- 04:22:08 stable info: 04:22:08 ------------------- 04:22:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:22:08 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:22:08 Message: update stable to v1.0.221 04:22:09 ------------------- 04:22:09 experimental info: 04:22:09 ------------------- 04:22:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:22:09 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 04:22:09 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 394fc05 [Pipeline] echo 04:22:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:09 provisioning config files... 04:22:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4873597509087853353tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:10 ---> docker-login.sh 04:22:10 nexus3.edgexfoundry.org:10001 04:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:10 Configure a credential helper to remove this warning. See 04:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:10 04:22:10 Login Succeeded 04:22:10 nexus3.edgexfoundry.org:10002 04:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:10 Configure a credential helper to remove this warning. See 04:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:10 04:22:10 Login Succeeded 04:22:10 nexus3.edgexfoundry.org:10003 04:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:10 Configure a credential helper to remove this warning. See 04:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:10 04:22:10 Login Succeeded 04:22:10 nexus3.edgexfoundry.org:10004 04:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:10 Configure a credential helper to remove this warning. See 04:22:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:10 04:22:10 Login Succeeded 04:22:10 docker.io 04:22:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:11 Configure a credential helper to remove this warning. See 04:22:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:11 04:22:11 Login Succeeded 04:22:11 ---> docker-login.sh ends [Pipeline] } 04:22:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:22:11 + git rev-list -1 --merges 394fc05ea4364c0913f6dcfc9df39709a995a7f5~1..394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] echo 04:22:11 -----------> git rev-list -1 --merges 394fc05ea4364c0913f6dcfc9df39709a995a7f5~1..394fc05ea4364c0913f6dcfc9df39709a995a7f5 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [false] [Pipeline] sh 04:22:12 + git log --format=format:%s -1 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] echo 04:22:12 ========================================================= 04:22:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:22:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:22:12 + git log --format=format:%s -1 394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] echo 04:22:12 [semverPrep] GIT_COMMIT: 394fc05ea4364c0913f6dcfc9df39709a995a7f5, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo 04:22:12 [semverPrep] This is not a build commit. [Pipeline] sh 04:22:12 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:22:12 + grep -v github /etc/ssh/ssh_known_hosts 04:22:12 + [ -e /tmp/ssh_known_hosts ] 04:22:12 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:22:12 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:22:12 + sudo tee -a /etc/ssh/ssh_known_hosts 04:22:12 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:22:13 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:13 04:22:13 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:22:13 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:13 latest: Pulling from edgex-devops/git-semver 04:22:13 a0d0a0d46f8b: Pulling fs layer 04:22:13 3e5f54012d9b: Pulling fs layer 04:22:13 4c7163046ea9: Pulling fs layer 04:22:13 0c2d73faf560: Pulling fs layer 04:22:13 0c2d73faf560: Waiting 04:22:13 3e5f54012d9b: Verifying Checksum 04:22:13 3e5f54012d9b: Download complete 04:22:14 a0d0a0d46f8b: Verifying Checksum 04:22:14 4c7163046ea9: Verifying Checksum 04:22:14 4c7163046ea9: Download complete 04:22:14 0c2d73faf560: Verifying Checksum 04:22:14 0c2d73faf560: Download complete 04:22:14 a0d0a0d46f8b: Pull complete 04:22:14 3e5f54012d9b: Pull complete 04:22:14 4c7163046ea9: Pull complete 04:22:14 0c2d73faf560: Pull complete 04:22:14 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:22:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:22:14 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:22:14 prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container 04:22:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 04:22:15 $ docker top 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:22:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:15 [ssh-agent] Looking for ssh-agent implementation... 04:22:15 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:15 $ docker exec 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a ssh-agent 04:22:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXnmAilH/agent.13 04:22:16 SSH_AGENT_PID=19 04:22:16 Running ssh-add (command line suppressed) 04:22:16 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5591563846646034839.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5591563846646034839.key) 04:22:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:16 + git tag --points-at HEAD [Pipeline] } 04:22:16 $ docker exec --env ******** --env ******** 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a ssh-agent -k 04:22:16 unset SSH_AUTH_SOCK; 04:22:16 unset SSH_AGENT_PID; 04:22:16 echo Agent pid 19 killed; 04:22:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:22:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:22:16 [ssh-agent] Looking for ssh-agent implementation... 04:22:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:22:16 $ docker exec 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a ssh-agent 04:22:16 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBAEoCc/agent.53 04:22:16 SSH_AGENT_PID=59 04:22:16 Running ssh-add (command line suppressed) 04:22:16 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_184211081691854527.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_184211081691854527.key) 04:22:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:22:17 + git semver init 04:22:17 # -> Open(): unable to determine branch for HEAD 04:22:17 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.git 04:22:17 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1144 04:22:17 # $SEMVER_REMOTE_NAME = origin 04:22:17 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:22:17 # $SEMVER_USER_NAME = edgex-jenkins 04:22:17 # $SEMVER_BRANCH = PR-1144 04:22:17 # $SEMVER_TEMP = /tmp/semver-151640012 04:22:17 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:22:18 # '/tmp/semver-151640012' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver' 04:22:18 # -> Force: false 04:22:18 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [Pipeline] } 04:22:18 $ docker exec --env ******** --env ******** 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a ssh-agent -k 04:22:18 unset SSH_AUTH_SOCK; 04:22:18 unset SSH_AGENT_PID; 04:22:18 echo Agent pid 59 killed; 04:22:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:22:18 + git semver [Pipeline] } 04:22:18 $ docker stop --time=1 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a 04:22:20 $ docker rm -f 9e03ea94f2314fba3eb9641f276ca41df77a1887afbe1fb3eb857c9509bd310a [Pipeline] // withDockerContainer [Pipeline] sh 04:22:20 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:22:20 Stashed 1 file(s) [Pipeline] echo 04:22:20 [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 04:22:20 provisioning config files... 04:22:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config7893038737305115100tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:21 ---> docker-login.sh 04:22:21 nexus3.edgexfoundry.org:10001 04:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:21 Configure a credential helper to remove this warning. See 04:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:21 04:22:21 Login Succeeded 04:22:21 nexus3.edgexfoundry.org:10002 04:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:21 Configure a credential helper to remove this warning. See 04:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:21 04:22:21 Login Succeeded 04:22:21 nexus3.edgexfoundry.org:10003 04:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:21 Configure a credential helper to remove this warning. See 04:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:21 04:22:21 Login Succeeded 04:22:21 nexus3.edgexfoundry.org:10004 04:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:21 Configure a credential helper to remove this warning. See 04:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:21 04:22:21 Login Succeeded 04:22:21 docker.io 04:22:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:22:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:22:21 Configure a credential helper to remove this warning. See 04:22:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:22:21 04:22:21 Login Succeeded 04:22:21 ---> docker-login.sh ends [Pipeline] } 04:22:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:22:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:22:21 ========================================================= 04:22:21 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:22:21 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:22:22 + 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 . 04:22:22 Sending build context to Docker daemon 9.617MB 04:22:22 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:22:22 Step 2/11 : FROM ${BASE} AS builder 04:22:22 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:22:22 59bf1c3509f3: Pulling fs layer 04:22:22 666ba61612fd: Pulling fs layer 04:22:22 8ed8ca486205: Pulling fs layer 04:22:22 4fe6c5a15a65: Pulling fs layer 04:22:22 22a0e8bec74d: Pulling fs layer 04:22:22 ca2b28591e48: Pulling fs layer 04:22:22 a51346096db8: Pulling fs layer 04:22:22 daebc70d1ce1: Pulling fs layer 04:22:22 0e18a0eac166: Pulling fs layer 04:22:22 22a0e8bec74d: Waiting 04:22:22 ca2b28591e48: Waiting 04:22:22 a51346096db8: Waiting 04:22:22 0e18a0eac166: Waiting 04:22:22 4fe6c5a15a65: Waiting 04:22:22 8ed8ca486205: Verifying Checksum 04:22:22 8ed8ca486205: Download complete 04:22:22 666ba61612fd: Verifying Checksum 04:22:22 666ba61612fd: Download complete 04:22:22 22a0e8bec74d: Verifying Checksum 04:22:22 22a0e8bec74d: Download complete 04:22:22 ca2b28591e48: Verifying Checksum 04:22:22 ca2b28591e48: Download complete 04:22:22 59bf1c3509f3: Verifying Checksum 04:22:22 a51346096db8: Download complete 04:22:22 daebc70d1ce1: Verifying Checksum 04:22:22 daebc70d1ce1: Download complete 04:22:22 59bf1c3509f3: Pull complete 04:22:22 666ba61612fd: Pull complete 04:22:22 8ed8ca486205: Pull complete 04:22:23 0e18a0eac166: Verifying Checksum 04:22:23 0e18a0eac166: Download complete 04:22:23 4fe6c5a15a65: Verifying Checksum 04:22:23 4fe6c5a15a65: Download complete 04:22:26 4fe6c5a15a65: Pull complete 04:22:26 22a0e8bec74d: Pull complete 04:22:26 ca2b28591e48: Pull complete 04:22:26 a51346096db8: Pull complete 04:22:27 daebc70d1ce1: Pull complete 04:22:29 0e18a0eac166: Pull complete 04:22:29 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 04:22:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:22:29 ---> f018257e8ee9 04:22:29 Step 3/11 : ARG MAKE=make build 04:22:31 ---> Running in aa0d8684e178 04:22:31 Removing intermediate container aa0d8684e178 04:22:31 ---> ff5a09f2df02 04:22:31 Step 4/11 : WORKDIR /device-sdk-go 04:22:31 ---> Running in cb096f56a9ed 04:22:31 Removing intermediate container cb096f56a9ed 04:22:31 ---> a440d003cf55 04:22:31 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:22:31 ---> Running in 02e9ecd3aca2 04:22:31 Removing intermediate container 02e9ecd3aca2 04:22:31 ---> 304a409aa0f4 04:22:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:22:31 ---> Running in d82819fb299a 04:22:32 Removing intermediate container d82819fb299a 04:22:32 ---> 231dd7948480 04:22:32 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:22:32 ---> Running in 683c03905bd8 04:22:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:22:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:22:33 OK: 221 MiB in 52 packages 04:22:33 Removing intermediate container 683c03905bd8 04:22:33 ---> 8dad549183ef 04:22:33 Step 8/11 : COPY go.mod vendor* ./ 04:22:33 ---> 16725af13934 04:22:33 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:22:33 ---> Running in 0143bec82c65 04:22:35 Still waiting to schedule task 04:22:35 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:22:48 Removing intermediate container 0143bec82c65 04:22:48 ---> 12b8ea5eb069 04:22:48 Step 10/11 : COPY . . 04:22:48 ---> 73af692c4bcb 04:22:48 Step 11/11 : RUN ${MAKE} 04:22:48 ---> Running in 0c3f27c0e875 04:22:48 noop 04:22:48 Removing intermediate container 0c3f27c0e875 04:22:48 ---> 0d409514c99c 04:22:48 Successfully built 0d409514c99c 04:22:48 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:22:49 + docker inspect -f . ci-base-image-x86_64 04:22:49 . [Pipeline] withDockerContainer 04:22:49 prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container 04:22:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 04:22:49 $ docker top f4a82463129d6a6a985d97f7e6951b4c2779686785f315e091968e586c95f52c -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:50 + go version 04:22:50 go version go1.17.6 linux/amd64 [Pipeline] } 04:22:50 $ docker stop --time=1 f4a82463129d6a6a985d97f7e6951b4c2779686785f315e091968e586c95f52c 04:22:51 $ docker rm -f f4a82463129d6a6a985d97f7e6951b4c2779686785f315e091968e586c95f52c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:22:51 + docker inspect -f . ci-base-image-x86_64 04:22:51 . [Pipeline] withDockerContainer 04:22:52 prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container 04:22:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 04:22:52 $ docker top de1fae8687933255ba2737ef130f547522d00a3ccffad413ee63c7b2040110ad -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:22:52 + make test 04:22:52 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:22:58 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:23:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:23:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:23:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:23:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.059s coverage: 23.3% of statements 04:23:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:23:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.078s coverage: 27.6% of statements 04:23:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.083s coverage: 78.9% of statements 04:23:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.081s coverage: 10.8% of statements 04:23:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.083s coverage: 60.0% of statements 04:23:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:23:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:23:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.087s coverage: 34.8% of statements 04:23:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:23:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.074s coverage: 86.1% of statements 04:23:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:23:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:23:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 65.1% of statements 04:23:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.842s coverage: 89.2% of statements 04:23:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:23:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 04:23:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:23:26 GO111MODULE=on go vet ./... 04:23:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:23:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:23:28 ./bin/test-attribution-txt.sh [Pipeline] echo 04:23:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:23:29 $ docker stop --time=1 de1fae8687933255ba2737ef130f547522d00a3ccffad413ee63c7b2040110ad 04:23:32 $ docker rm -f de1fae8687933255ba2737ef130f547522d00a3ccffad413ee63c7b2040110ad [Pipeline] // withDockerContainer [Pipeline] sh 04:23:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:23:33 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:23:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:23:34 + ls -al . 04:23:34 total 316 04:23:34 drwxrwxr-x 11 jenkins jenkins 4096 Apr 26 04:23 . 04:23:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:22 .. 04:23:34 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 04:22 .dockerignore 04:23:34 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 04:22 .git 04:23:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:22 .github 04:23:34 -rw-rw-r-- 1 jenkins jenkins 131 Apr 26 04:22 .gitignore 04:23:34 -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 04:22 .golangci.yml 04:23:34 drwx------ 3 jenkins jenkins 4096 Apr 26 04:22 .semver 04:23:34 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 26 04:22 CHANGELOG.md 04:23:34 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 04:22 GOVERNANCE.md 04:23:34 -rw-rw-r-- 1 jenkins jenkins 880 Apr 26 04:22 Jenkinsfile 04:23:34 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 04:22 LICENSE 04:23:34 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 26 04:22 Makefile 04:23:34 -rw-rw-r-- 1 jenkins jenkins 619 Apr 26 04:22 OWNERS.md 04:23:34 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 26 04:22 README.md 04:23:34 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 04:22 VERSION 04:23:34 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:22 bin 04:23:34 -rw-r--r-- 1 jenkins jenkins 130819 Apr 26 04:23 coverage.out 04:23:34 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 04:22 example 04:23:34 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 26 04:22 go.mod 04:23:34 -rw-rw-r-- 1 jenkins jenkins 53849 Apr 26 04:22 go.sum 04:23:34 drwxrwxr-x 15 jenkins jenkins 4096 Apr 26 04:22 internal 04:23:34 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:22 openapi 04:23:34 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 04:22 pkg 04:23:34 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:22 snap 04:23:34 -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 04:22 version.go [Pipeline] isUnix [Pipeline] sh 04:23:34 + 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=394fc05ea4364c0913f6dcfc9df39709a995a7f5 --label arch=amd64 --label version=0.0.0 . 04:23:34 Sending build context to Docker daemon 9.749MB 04:23:34 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:23:34 Step 2/25 : FROM ${BASE} AS builder 04:23:34 ---> 0d409514c99c 04:23:34 Step 3/25 : ARG MAKE=make build 04:23:35 ---> Running in d3f812ac9825 04:23:35 Removing intermediate container d3f812ac9825 04:23:35 ---> ac7710ff58bc 04:23:35 Step 4/25 : WORKDIR /device-sdk-go 04:23:35 ---> Running in 447db9adcb65 04:23:35 Removing intermediate container 447db9adcb65 04:23:35 ---> a35864c996e4 04:23:35 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:23:35 ---> Running in b77aec385406 04:23:35 Removing intermediate container b77aec385406 04:23:35 ---> a81357e522a1 04:23:35 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:23:35 ---> Running in 716d626a1b44 04:23:36 Removing intermediate container 716d626a1b44 04:23:36 ---> 912eb404b01a 04:23:36 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:23:36 ---> Running in a4eb49835deb 04:23:36 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:23:37 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:23:37 OK: 221 MiB in 52 packages 04:23:38 Removing intermediate container a4eb49835deb 04:23:38 ---> bc194530fdb1 04:23:38 Step 8/25 : COPY go.mod vendor* ./ 04:23:38 ---> 75b17c2c1176 04:23:38 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:23:38 ---> Running in f7b8d42c677d 04:23:38 Removing intermediate container f7b8d42c677d 04:23:38 ---> 54e43761beb4 04:23:38 Step 10/25 : COPY . . 04:23:39 ---> b0685869a953 04:23:39 Step 11/25 : RUN ${MAKE} 04:23:39 ---> Running in 095e4d9b2009 04:23:39 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:23:57 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:24:00 Removing intermediate container 095e4d9b2009 04:24:00 ---> 04c443714e2e 04:24:00 Step 12/25 : FROM alpine:3.14 04:24:00 3.14: Pulling from library/alpine 04:24:00 8663204ce13b: Pulling fs layer 04:24:01 8663204ce13b: Verifying Checksum 04:24:01 8663204ce13b: Download complete 04:24:01 8663204ce13b: Pull complete 04:24:01 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:24:01 Status: Downloaded newer image for alpine:3.14 04:24:01 ---> e04c818066af 04:24:01 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:24:01 ---> Running in 654301da246b 04:24:01 Removing intermediate container 654301da246b 04:24:01 ---> d822204df39e 04:24:01 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:24:01 ---> Running in 644f70d93a01 04:24:02 Removing intermediate container 644f70d93a01 04:24:02 ---> 7d61b112ccba 04:24:02 Step 15/25 : RUN apk add --update --no-cache zeromq 04:24:02 ---> Running in 56cece907dae 04:24:02 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:24:03 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:24:03 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:24:03 (2/5) Installing libsodium (1.0.18-r0) 04:24:03 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:24:03 (4/5) Installing libzmq (4.3.4-r0) 04:24:03 (5/5) Installing zeromq (4.3.4-r0) 04:24:03 Executing busybox-1.33.1-r7.trigger 04:24:03 OK: 8 MiB in 19 packages 04:24:04 Removing intermediate container 56cece907dae 04:24:04 ---> b9981b7d7258 04:24:04 Step 16/25 : WORKDIR / 04:24:04 ---> Running in e70f605d7bf2 04:24:05 Removing intermediate container e70f605d7bf2 04:24:05 ---> 2053022b7b2f 04:24:05 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:24:05 ---> 4438d23f18b6 04:24:05 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:24:06 ---> f9a6882d4342 04:24:06 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:24:06 ---> 41c68d14cf1d 04:24:06 Step 20/25 : EXPOSE 59999 04:24:06 ---> Running in 953dc22323f8 04:24:06 Removing intermediate container 953dc22323f8 04:24:06 ---> 471d2e9f638e 04:24:06 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:24:06 ---> Running in 5dc2539ad892 04:24:06 Removing intermediate container 5dc2539ad892 04:24:06 ---> 2a6ca9fcd2b7 04:24:06 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:24:06 ---> Running in 62fa5075c2f6 04:24:06 Removing intermediate container 62fa5075c2f6 04:24:06 ---> c3d456ad71a7 04:24:06 Step 23/25 : LABEL arch=amd64 04:24:06 ---> Running in f57e67bccb7f 04:24:06 Removing intermediate container f57e67bccb7f 04:24:06 ---> 0ebc7cc544ee 04:24:06 Step 24/25 : LABEL git_sha=394fc05ea4364c0913f6dcfc9df39709a995a7f5 04:24:07 ---> Running in ffe3caf76e30 04:24:07 Removing intermediate container ffe3caf76e30 04:24:07 ---> cb8ac0e45c5a 04:24:07 Step 25/25 : LABEL version=0.0.0 04:24:07 ---> Running in c3891c67db65 04:24:07 Removing intermediate container c3891c67db65 04:24:07 ---> 99f169b454c3 04:24:07 [Warning] One or more build-args [ARCH] were not consumed 04:24:07 Successfully built 99f169b454c3 04:24:07 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 04:24:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:07 04:24:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:24:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:08 latest: Pulling from edgex-lftools-log-publisher 04:24:08 5eb5b503b376: Pulling fs layer 04:24:08 5c69ac0246d0: Pulling fs layer 04:24:08 ec43610c2a17: Pulling fs layer 04:24:08 3a2ae6a8a46f: Pulling fs layer 04:24:08 33b1e0a273af: Pulling fs layer 04:24:08 5d3b04190fa2: Pulling fs layer 04:24:08 2f39f015ded8: Pulling fs layer 04:24:08 3a2ae6a8a46f: Waiting 04:24:08 33b1e0a273af: Waiting 04:24:08 5d3b04190fa2: Waiting 04:24:08 2f39f015ded8: Waiting 04:24:08 5c69ac0246d0: Verifying Checksum 04:24:08 5c69ac0246d0: Download complete 04:24:08 3a2ae6a8a46f: Verifying Checksum 04:24:08 3a2ae6a8a46f: Download complete 04:24:08 33b1e0a273af: Verifying Checksum 04:24:08 33b1e0a273af: Download complete 04:24:08 5d3b04190fa2: Verifying Checksum 04:24:08 5d3b04190fa2: Download complete 04:24:08 ec43610c2a17: Download complete 04:24:08 5eb5b503b376: Download complete 04:24:08 2f39f015ded8: Download complete 04:24:09 5eb5b503b376: Pull complete 04:24:09 5c69ac0246d0: Pull complete 04:24:10 ec43610c2a17: Pull complete 04:24:10 3a2ae6a8a46f: Pull complete 04:24:10 33b1e0a273af: Pull complete 04:24:10 5d3b04190fa2: Pull complete 04:24:14 2f39f015ded8: Pull complete 04:24:14 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:24:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:24:14 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:24:14 prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container 04:24:14 $ 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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 04:24:17 $ docker top 13a647221b93037c3a9877a81aff9e04340b07e9e9eb871a4638361b6415cd3f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:24:17 ---> job-cost.sh 04:24:17 lf-activate-venv: SKIPPING 04:24:17 INFO: No Stack... 04:24:17 INFO: Retrieving Pricing Info for: v3-standard-8 04:24:18 INFO: Archiving Costs [Pipeline] sh 04:24:18 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv 04:24:18 + cut -d, -f6 [Pipeline] lock 04:24:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] 04:24:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] did not exist. Created. 04:24:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:24:19 + echo total: 0.2199999988079071 [Pipeline] stash 04:24:19 Stashed 1 file(s) [Pipeline] } 04:24:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:24:19 $ docker stop --time=1 13a647221b93037c3a9877a81aff9e04340b07e9e9eb871a4638361b6415cd3f 04:24:20 $ docker rm -f 13a647221b93037c3a9877a81aff9e04340b07e9e9eb871a4638361b6415cd3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:25:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-23573 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws 04:25:45 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 04:25:46 The recommended git tool is: git 04:25:52 using credential edgex-jenkins-ssh 04:25:52 Cloning the remote Git repository 04:25:52 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:25:52 > git init /w/workspace/device-sdk-go/3 # timeout=10 04:25:52 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:25:52 > git --version # timeout=10 04:25:52 > git --version # 'git version 2.25.1' 04:25:52 using GIT_SSH to set credentials SSH Credentials for GitHub 04:25:52 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:25:54 Merging remotes/origin/main commit f8b8abfef3f0264dda75330ad33f104d8ec6ed98 into PR head commit 394fc05ea4364c0913f6dcfc9df39709a995a7f5 04:25:55 Merge succeeded, producing 394fc05ea4364c0913f6dcfc9df39709a995a7f5 04:25:55 Checking out Revision 394fc05ea4364c0913f6dcfc9df39709a995a7f5 (PR-1144) 04:25:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:25:54 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:25:54 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:25:54 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:25:54 using GIT_SSH to set credentials SSH Credentials for GitHub 04:25:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1144/head:refs/remotes/origin/PR-1144 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:25:55 > git config core.sparsecheckout # timeout=10 04:25:55 > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 04:25:55 > git remote # timeout=10 04:25:55 > git config --get remote.origin.url # timeout=10 04:25:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:25:55 > git merge f8b8abfef3f0264dda75330ad33f104d8ec6ed98 # timeout=10 04:25:55 > git rev-parse HEAD^{commit} # timeout=10 04:25:55 > git config core.sparsecheckout # timeout=10 04:25:55 > git checkout -f 394fc05ea4364c0913f6dcfc9df39709a995a7f5 # timeout=10 04:25:59 Commit message: "build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:26:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:26:00 % Total % Received % Xferd Average Speed Time Time Time Current 04:26:00 Dload Upload Total Spent Left Speed 04:26:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 04:26:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:26:01 + sudo tee /etc/docker/daemon.new 04:26:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:26:01 { 04:26:01 "registry-mirrors": [ 04:26:01 "https://nexus3.edgexfoundry.org:10001" 04:26:01 ], 04:26:01 "bip": "10.250.0.254/24", 04:26:01 "hosts": [ 04:26:01 "tcp://0.0.0.0:5555", 04:26:01 "unix:///var/run/docker.sock" 04:26:01 ], 04:26:01 "mtu": 1458, 04:26:01 "selinux-enabled": true, 04:26:01 "seccomp-profile": "/etc/docker/seccomp.json" 04:26:01 } [Pipeline] sh 04:26:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:26:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:26:20 provisioning config files... 04:26:20 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config3838330031427251154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:26:20 ---> docker-login.sh 04:26:20 nexus3.edgexfoundry.org:10001 04:26:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:21 Configure a credential helper to remove this warning. See 04:26:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:21 04:26:21 Login Succeeded 04:26:21 nexus3.edgexfoundry.org:10002 04:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:22 Configure a credential helper to remove this warning. See 04:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:22 04:26:22 Login Succeeded 04:26:22 nexus3.edgexfoundry.org:10003 04:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:22 Configure a credential helper to remove this warning. See 04:26:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:22 04:26:22 Login Succeeded 04:26:22 nexus3.edgexfoundry.org:10004 04:26:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:23 Configure a credential helper to remove this warning. See 04:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:23 04:26:23 Login Succeeded 04:26:23 docker.io 04:26:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:26:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:26:23 Configure a credential helper to remove this warning. See 04:26:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:26:23 04:26:23 Login Succeeded 04:26:23 ---> docker-login.sh ends [Pipeline] } 04:26:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:26:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:26:24 ========================================================= 04:26:24 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:26:24 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:26:24 + 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 . 04:26:24 Sending build context to Docker daemon 5.199MB 04:26:25 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:26:25 Step 2/11 : FROM ${BASE} AS builder 04:26:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:26:25 9b3977197b4f: Pulling fs layer 04:26:25 1a89e8eeedd5: Pulling fs layer 04:26:25 94645a83ff95: Pulling fs layer 04:26:25 3f3a8bcf1eab: Pulling fs layer 04:26:25 0c92f367c5e7: Pulling fs layer 04:26:25 3096ccb668a1: Pulling fs layer 04:26:25 e8cf19c19ddd: Pulling fs layer 04:26:25 a4caa8a26152: Pulling fs layer 04:26:25 3096ccb668a1: Waiting 04:26:25 e8cf19c19ddd: Waiting 04:26:25 3f3a8bcf1eab: Waiting 04:26:25 a4caa8a26152: Waiting 04:26:25 0c92f367c5e7: Waiting 04:26:25 94645a83ff95: Verifying Checksum 04:26:25 94645a83ff95: Download complete 04:26:25 1a89e8eeedd5: Verifying Checksum 04:26:25 1a89e8eeedd5: Download complete 04:26:25 0c92f367c5e7: Verifying Checksum 04:26:25 0c92f367c5e7: Download complete 04:26:25 3096ccb668a1: Verifying Checksum 04:26:25 3096ccb668a1: Download complete 04:26:25 9b3977197b4f: Verifying Checksum 04:26:25 9b3977197b4f: Download complete 04:26:25 e8cf19c19ddd: Verifying Checksum 04:26:25 e8cf19c19ddd: Download complete 04:26:26 9b3977197b4f: Pull complete 04:26:26 1a89e8eeedd5: Pull complete 04:26:26 94645a83ff95: Pull complete 04:26:27 a4caa8a26152: Verifying Checksum 04:26:27 a4caa8a26152: Download complete 04:26:27 3f3a8bcf1eab: Verifying Checksum 04:26:27 3f3a8bcf1eab: Download complete 04:26:40 3f3a8bcf1eab: Pull complete 04:26:40 0c92f367c5e7: Pull complete 04:26:40 3096ccb668a1: Pull complete 04:26:40 e8cf19c19ddd: Pull complete 04:26:46 a4caa8a26152: Pull complete 04:26:46 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:26:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:26:46 ---> 725f1c02e7f9 04:26:46 Step 3/11 : ARG MAKE=make build 04:26:47 ---> Running in 56090259c56e 04:26:48 Removing intermediate container 56090259c56e 04:26:48 ---> 8fb55927a92f 04:26:48 Step 4/11 : WORKDIR /device-sdk-go 04:26:48 ---> Running in 626b9014f47b 04:26:48 Removing intermediate container 626b9014f47b 04:26:48 ---> 752d2d16ef47 04:26:48 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:26:48 ---> Running in 91110b8693a4 04:26:48 Removing intermediate container 91110b8693a4 04:26:48 ---> db3efe0d5720 04:26:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:26:48 ---> Running in 42633be9d959 04:26:50 Removing intermediate container 42633be9d959 04:26:50 ---> f8a73753f464 04:26:50 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:26:50 ---> Running in eb0e0be1fb7d 04:26:52 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:26:53 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:26:54 OK: 220 MiB in 52 packages 04:26:55 Removing intermediate container eb0e0be1fb7d 04:26:55 ---> cb264fb12365 04:26:55 Step 8/11 : COPY go.mod vendor* ./ 04:26:55 ---> af0f92ba933f 04:26:55 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:26:55 ---> Running in ed8cae5eae48 04:27:52 Removing intermediate container ed8cae5eae48 04:27:52 ---> 0f89000ebd55 04:27:52 Step 10/11 : COPY . . 04:27:52 ---> 699912f61fe8 04:27:52 Step 11/11 : RUN ${MAKE} 04:27:52 ---> Running in db2ff0a7e4b0 04:27:52 noop 04:27:52 Removing intermediate container db2ff0a7e4b0 04:27:52 ---> e706ddb2639e 04:27:52 Successfully built e706ddb2639e 04:27:52 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:27:52 + docker inspect -f . ci-base-image-arm64 04:27:52 . [Pipeline] withDockerContainer 04:27:52 prd-ubuntu20.04-docker-arm64-4c-16g-23573 does not seem to be running inside a container 04:27:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 04:27:54 $ docker top b933f609e608f7c001e0d9176687c36fc8e17d8ac3a9f20ca446a0651dfcd22d -eo pid,comm [Pipeline] { [Pipeline] sh 04:27:55 + go version 04:27:55 go version go1.17.6 linux/arm64 [Pipeline] } 04:27:55 $ docker stop --time=1 b933f609e608f7c001e0d9176687c36fc8e17d8ac3a9f20ca446a0651dfcd22d 04:27:56 $ docker rm -f b933f609e608f7c001e0d9176687c36fc8e17d8ac3a9f20ca446a0651dfcd22d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:27:57 + docker inspect -f . ci-base-image-arm64 04:27:57 . [Pipeline] withDockerContainer 04:27:57 prd-ubuntu20.04-docker-arm64-4c-16g-23573 does not seem to be running inside a container 04:27:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 04:27:59 $ docker top d552ed3ee383d918b6e848fcc5da108e26a2b3c8a36d1cc06a9a479902a0c9ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:28:00 + make test 04:28:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:28:32 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:30:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:30:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:30:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:30:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.500s coverage: 23.3% of statements 04:30:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:30:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.492s coverage: 27.6% of statements 04:30:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.402s coverage: 78.9% of statements 04:30:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.289s coverage: 10.8% of statements 04:30:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.636s coverage: 60.0% of statements 04:30:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:30:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:30:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.496s coverage: 34.8% of statements 04:30:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:30:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.350s coverage: 86.1% of statements 04:30:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:30:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:30:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.521s coverage: 65.1% of statements 04:30:32 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.186s coverage: 89.2% of statements 04:30:32 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:30:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.231s coverage: 4.7% of statements 04:30:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:30:36 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:30:36 GO111MODULE=on go vet ./... 04:31:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:31:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:31:58 ./bin/test-attribution-txt.sh [Pipeline] echo 04:31:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:31:59 $ docker stop --time=1 d552ed3ee383d918b6e848fcc5da108e26a2b3c8a36d1cc06a9a479902a0c9ed 04:32:01 $ docker rm -f d552ed3ee383d918b6e848fcc5da108e26a2b3c8a36d1cc06a9a479902a0c9ed [Pipeline] // withDockerContainer [Pipeline] sh 04:32:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:32:02 Warning: overwriting stash ‘coverage-report’ 04:32:03 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:03 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:32:04 + ls -al . 04:32:04 total 312 04:32:04 drwxrwxr-x 10 jenkins jenkins 4096 Apr 26 04:31 . 04:32:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:25 .. 04:32:04 -rw-rw-r-- 1 jenkins jenkins 140 Apr 26 04:25 .dockerignore 04:32:04 drwxrwxr-x 8 jenkins jenkins 4096 Apr 26 04:25 .git 04:32:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:25 .github 04:32:04 -rw-rw-r-- 1 jenkins jenkins 131 Apr 26 04:25 .gitignore 04:32:04 -rw-rw-r-- 1 jenkins jenkins 42 Apr 26 04:25 .golangci.yml 04:32:04 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 26 04:25 CHANGELOG.md 04:32:04 -rw-rw-r-- 1 jenkins jenkins 677 Apr 26 04:25 GOVERNANCE.md 04:32:04 -rw-rw-r-- 1 jenkins jenkins 880 Apr 26 04:25 Jenkinsfile 04:32:04 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 26 04:25 LICENSE 04:32:04 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 26 04:25 Makefile 04:32:04 -rw-rw-r-- 1 jenkins jenkins 619 Apr 26 04:25 OWNERS.md 04:32:04 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 26 04:25 README.md 04:32:04 -rw-rw-r-- 1 jenkins jenkins 5 Apr 26 04:22 VERSION 04:32:04 drwxrwxr-x 2 jenkins jenkins 4096 Apr 26 04:25 bin 04:32:04 -rw-r--r-- 1 jenkins jenkins 130819 Apr 26 04:30 coverage.out 04:32:04 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 04:25 example 04:32:04 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 26 04:25 go.mod 04:32:04 -rw-rw-r-- 1 jenkins jenkins 53849 Apr 26 04:25 go.sum 04:32:04 drwxrwxr-x 15 jenkins jenkins 4096 Apr 26 04:25 internal 04:32:04 drwxrwxr-x 3 jenkins jenkins 4096 Apr 26 04:25 openapi 04:32:04 drwxrwxr-x 5 jenkins jenkins 4096 Apr 26 04:25 pkg 04:32:04 drwxrwxr-x 4 jenkins jenkins 4096 Apr 26 04:25 snap 04:32:04 -rw-rw-r-- 1 jenkins jenkins 222 Apr 26 04:25 version.go [Pipeline] isUnix [Pipeline] sh 04:32:04 + 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=394fc05ea4364c0913f6dcfc9df39709a995a7f5 --label arch=arm64 --label version=0.0.0 . 04:32:05 Sending build context to Docker daemon 5.331MB 04:32:05 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:32:05 Step 2/25 : FROM ${BASE} AS builder 04:32:05 ---> e706ddb2639e 04:32:05 Step 3/25 : ARG MAKE=make build 04:32:05 ---> Running in 0b3015c52909 04:32:05 Removing intermediate container 0b3015c52909 04:32:05 ---> 635d88861cd7 04:32:05 Step 4/25 : WORKDIR /device-sdk-go 04:32:05 ---> Running in 15aabb4b95a1 04:32:06 Removing intermediate container 15aabb4b95a1 04:32:06 ---> f6fde3ff093a 04:32:06 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:32:06 ---> Running in 572ddb429cfb 04:32:06 Removing intermediate container 572ddb429cfb 04:32:06 ---> 777b6257c6ee 04:32:06 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:32:06 ---> Running in ba3c91b46dbe 04:32:08 Removing intermediate container ba3c91b46dbe 04:32:08 ---> adb79a87505e 04:32:08 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:32:08 ---> Running in e1cbb376240e 04:32:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:32:10 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:32:10 OK: 220 MiB in 52 packages 04:32:11 Removing intermediate container e1cbb376240e 04:32:11 ---> 9b50e2fdab26 04:32:11 Step 8/25 : COPY go.mod vendor* ./ 04:32:12 ---> a1261eebe37e 04:32:12 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:32:12 ---> Running in 7b7eed85c12f 04:32:14 Removing intermediate container 7b7eed85c12f 04:32:14 ---> 0cbd2fa53ff1 04:32:14 Step 10/25 : COPY . . 04:32:15 ---> f32eefa6d4cd 04:32:15 Step 11/25 : RUN ${MAKE} 04:32:15 ---> Running in 0cf32a9e3ba7 04:32:16 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:34:08 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:34:10 Removing intermediate container 0cf32a9e3ba7 04:34:10 ---> 3c7719caacda 04:34:10 Step 12/25 : FROM alpine:3.14 04:34:11 3.14: Pulling from library/alpine 04:34:11 455c02918c45: Pulling fs layer 04:34:11 455c02918c45: Download complete 04:34:12 455c02918c45: Pull complete 04:34:12 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:34:12 Status: Downloaded newer image for alpine:3.14 04:34:12 ---> ac73e934f311 04:34:12 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:34:12 ---> Running in 44843e77dd8f 04:34:12 Removing intermediate container 44843e77dd8f 04:34:12 ---> 139497703088 04:34:12 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:34:12 ---> Running in f1c3cd2a1309 04:34:14 Removing intermediate container f1c3cd2a1309 04:34:14 ---> be40c77b9161 04:34:14 Step 15/25 : RUN apk add --update --no-cache zeromq 04:34:14 ---> Running in e943da08466b 04:34:15 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:34:16 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:34:17 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:34:17 (2/5) Installing libsodium (1.0.18-r0) 04:34:17 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:34:17 (4/5) Installing libzmq (4.3.4-r0) 04:34:17 (5/5) Installing zeromq (4.3.4-r0) 04:34:17 Executing busybox-1.33.1-r7.trigger 04:34:17 OK: 8 MiB in 19 packages 04:34:18 Removing intermediate container e943da08466b 04:34:18 ---> 947f3b6c5808 04:34:18 Step 16/25 : WORKDIR / 04:34:18 ---> Running in 87c36521f471 04:34:18 Removing intermediate container 87c36521f471 04:34:18 ---> 982bb7fb9017 04:34:18 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:34:19 ---> 1eaae3007aab 04:34:19 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:34:20 ---> edfda9fdbf00 04:34:20 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:34:21 ---> 61bc033219cf 04:34:21 Step 20/25 : EXPOSE 59999 04:34:21 ---> Running in 4934a42104c5 04:34:21 Removing intermediate container 4934a42104c5 04:34:21 ---> ff06859306dd 04:34:21 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:34:21 ---> Running in 35fc809a10ca 04:34:22 Removing intermediate container 35fc809a10ca 04:34:22 ---> e57425e825c1 04:34:22 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:34:22 ---> Running in f34306d80352 04:34:22 Removing intermediate container f34306d80352 04:34:22 ---> f5f2c1f23509 04:34:22 Step 23/25 : LABEL arch=arm64 04:34:22 ---> Running in 0a3a25176451 04:34:22 Removing intermediate container 0a3a25176451 04:34:22 ---> a1879cf127b7 04:34:22 Step 24/25 : LABEL git_sha=394fc05ea4364c0913f6dcfc9df39709a995a7f5 04:34:23 ---> Running in 77405956799f 04:34:23 Removing intermediate container 77405956799f 04:34:23 ---> eeffcc0360d6 04:34:23 Step 25/25 : LABEL version=0.0.0 04:34:23 ---> Running in c96aafbd2aeb 04:34:23 Removing intermediate container c96aafbd2aeb 04:34:23 ---> f5c595ed037b 04:34:23 [Warning] One or more build-args [ARCH] were not consumed 04:34:23 Successfully built f5c595ed037b 04:34:23 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 04:34:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:24 04:34:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:34:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:24 arm64: Pulling from edgex-lftools-log-publisher 04:34:24 8998bd30e6a1: Pulling fs layer 04:34:24 04944245beec: Pulling fs layer 04:34:24 699f458cf7ca: Pulling fs layer 04:34:24 765212b225bb: Pulling fs layer 04:34:24 f23df028b6ca: Pulling fs layer 04:34:24 d65c8cfc05b1: Pulling fs layer 04:34:24 2437ff75d9bd: Pulling fs layer 04:34:24 765212b225bb: Waiting 04:34:24 f23df028b6ca: Waiting 04:34:24 d65c8cfc05b1: Waiting 04:34:24 2437ff75d9bd: Waiting 04:34:24 04944245beec: Verifying Checksum 04:34:24 04944245beec: Download complete 04:34:24 765212b225bb: Verifying Checksum 04:34:24 765212b225bb: Download complete 04:34:24 f23df028b6ca: Verifying Checksum 04:34:24 f23df028b6ca: Download complete 04:34:24 d65c8cfc05b1: Verifying Checksum 04:34:24 d65c8cfc05b1: Download complete 04:34:24 699f458cf7ca: Verifying Checksum 04:34:24 699f458cf7ca: Download complete 04:34:25 8998bd30e6a1: Download complete 04:34:27 2437ff75d9bd: Verifying Checksum 04:34:27 2437ff75d9bd: Download complete 04:34:29 8998bd30e6a1: Pull complete 04:34:29 04944245beec: Pull complete 04:34:31 699f458cf7ca: Pull complete 04:34:31 765212b225bb: Pull complete 04:34:32 f23df028b6ca: Pull complete 04:34:32 d65c8cfc05b1: Pull complete 04:34:47 2437ff75d9bd: Pull complete 04:34:47 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:34:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:34:47 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:34:48 prd-ubuntu20.04-docker-arm64-4c-16g-23573 does not seem to be running inside a container 04:34:48 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@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 04:34:50 $ docker top 5b03546f8c9c27514cb67b80c77e9a066b90c1ff75766bc0f42e64fca1b318ea -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:51 ---> job-cost.sh 04:34:51 lf-activate-venv: SKIPPING 04:34:51 INFO: No Stack... 04:34:52 INFO: Retrieving Pricing Info for: v3-standard-4 04:34:53 INFO: Archiving Costs [Pipeline] sh 04:34:53 + cat /w/workspace/device-sdk-go/3/archives/cost.csv 04:34:53 + cut -d, -f6 [Pipeline] lock 04:34:53 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] 04:34:53 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] did not exist. Created. 04:34:53 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:34:54 /w/workspace/device-sdk-go/3@tmp/durable-d9b54114/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:34:55 + echo total: 0.10999999940395355 [Pipeline] stash 04:34:55 Warning: overwriting stash ‘stack-cost’ 04:34:55 Stashed 1 file(s) [Pipeline] } 04:34:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-3-stack-cost] [Pipeline] // lock [Pipeline] } 04:34:55 $ docker stop --time=1 5b03546f8c9c27514cb67b80c77e9a066b90c1ff75766bc0f42e64fca1b318ea 04:34:56 $ docker rm -f 5b03546f8c9c27514cb67b80c77e9a066b90c1ff75766bc0f42e64fca1b318ea [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 04:34:57 provisioning config files... 04:34:57 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config2267735863603563712tmp [Pipeline] { [Pipeline] sh 04:34:57 + set +x 04:34:57 + + curl -s https://codecov.io/bash 04:34:57 bash -s -- 04:34:57 04:34:57 _____ _ 04:34:57 / ____| | | 04:34:57 | | ___ __| | ___ ___ _____ __ 04:34:57 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:34:57 | |___| (_) | (_| | __/ (_| (_) \ V / 04:34:57 \_____\___/ \__,_|\___|\___\___/ \_/ 04:34:57 Bash-1.0.6 04:34:57 04:34:57 04:34:57 ==> git version 2.25.1 found 04:34:57 ==> 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 04:34:57 Release-Date: 2020-01-08 04:34:57 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:34:57 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:34:57 ==> Jenkins CI detected. 04:34:57 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 04:34:57 project root: . 04:34:57 --> token set from env 04:34:57 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:34:57 ==> Running gcov in . (disable via -X gcov) 04:34:57 ==> Python coveragepy not found 04:34:57 ==> Searching for coverage reports in: 04:34:57 + . 04:34:57 -> Found 1 reports 04:34:57 ==> Detecting git/mercurial file structure 04:34:57 ==> Reading reports 04:34:57 + ./coverage.out bytes=130819 04:34:57 ==> Appending adjustments 04:34:57 https://docs.codecov.io/docs/fixing-reports 04:34:57 + Found adjustments 04:34:57 ==> Gzipping contents 04:34:58 20K /tmp/codecov.2BScZD.gz 04:34:58 ==> Uploading reports 04:34:58 url: https://codecov.io 04:34:58 query: branch=PR-1144&commit=394fc05ea4364c0913f6dcfc9df39709a995a7f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= 04:34:58 -> Pinging Codecov 04:34:58 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1144&commit=394fc05ea4364c0913f6dcfc9df39709a995a7f5&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= 04:34:58 -> Uploading to 04:34:58 https://storage.googleapis.com/codecov/v4/raw/2022-04-26/7E55EF52A471D76F132DFD9A03CDDE97/394fc05ea4364c0913f6dcfc9df39709a995a7f5/832d585e-2478-4a5d-8f7f-f030a2dca8cb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220426%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220426T043458Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8d9966ae3f0b826759cc4e267a6856b8da2775bf9decbb16b684a89e7343c262 04:34:58 % Total % Received % Xferd Average Speed Time Time Time Current 04:34:58 Dload Upload Total Spent Left Speed 04:34:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16826 0 0 100 16826 0 67846 --:--:-- --:--:-- --:--:-- 68121 04:34:58 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/394fc05ea4364c0913f6dcfc9df39709a995a7f5 [Pipeline] } 04:34:58 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 04:34:59 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] 04:34:59 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 04:34:59 total 16 04:34:59 drwxr-xr-x 3 root root 4096 Apr 26 04:24 . 04:34:59 drwxrwxr-x 12 jenkins jenkins 4096 Apr 26 04:24 .. 04:34:59 drwxr-xr-x 2 root root 4096 Apr 26 04:24 cost 04:34:59 -rw-r--r-- 1 root root 85 Apr 26 04:24 cost.csv 04:34:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 04:34:59 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 04:34:59 total 16 04:34:59 drwxr-xr-x 3 jenkins jenkins 4096 Apr 26 04:24 . 04:34:59 drwxrwxr-x 12 jenkins jenkins 4096 Apr 26 04:24 .. 04:34:59 drwxr-xr-x 2 jenkins jenkins 4096 Apr 26 04:24 cost 04:34:59 -rw-r--r-- 1 jenkins jenkins 85 Apr 26 04:24 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:34:59 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:35:00 ---> package-listing.sh 04:35:00 ++ facter osfamily 04:35:00 ++ tr '[:upper:]' '[:lower:]' 04:35:01 + OS_FAMILY=debian 04:35:01 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 04:35:01 + START_PACKAGES=/tmp/packages_start.txt 04:35:01 + END_PACKAGES=/tmp/packages_end.txt 04:35:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:35:01 + PACKAGES=/tmp/packages_start.txt 04:35:01 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 04:35:01 + PACKAGES=/tmp/packages_end.txt 04:35:01 + case "${OS_FAMILY}" in 04:35:01 + dpkg -l 04:35:01 + grep '^ii' 04:35:01 + '[' -f /tmp/packages_start.txt ']' 04:35:01 + '[' -f /tmp/packages_end.txt ']' 04:35:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:35:01 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 04:35:01 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ 04:35:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ [Pipeline] echo 04:35:01 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-1144/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:35:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:35:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:01 . [Pipeline] withDockerContainer 04:35:01 prd-ubuntu20.04-docker-8c-8g-23572 does not seem to be running inside a container 04:35:01 $ 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-1144/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-1144 -v /w/workspace/gexfoundry_device-sdk-go_PR-1144:/w/workspace/gexfoundry_device-sdk-go_PR-1144:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1144@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 04:35:02 $ docker top e732413bb04e7c90118db25a2ccbd13a446364103e73baef2c35ac1f6059740c -eo pid,comm [Pipeline] { [Pipeline] sh 04:35:02 + touch /tmp/pre-build-complete [Pipeline] sh 04:35:02 + mkdir -p /var/log/sysstat [Pipeline] sh 04:35:03 + ls /var/log/sa-host 04:35:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:35:03 provisioning config files... 04:35:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4887351306344469286tmp [Pipeline] { [Pipeline] echo 04:35:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:35:03 ---> create-netrc.sh [Pipeline] } 04:35:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:35:03 ---> python-tools-install.sh [Pipeline] echo 04:35:03 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:35:04 ---> sudo-logs.sh 04:35:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:35:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:35:04 ---> job-cost.sh 04:35:04 lf-activate-venv: SKIPPING 04:35:04 DEBUG: total: 0.2199999988079071 04:35:04 INFO: Retrieving Stack Cost... 04:35:04 INFO: Retrieving Pricing Info for: v3-standard-8 04:35:05 INFO: Archiving Costs [Pipeline] echo 04:35:05 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:35:05 ---> logs-deploy.sh 04:35:05 lf-activate-venv: SKIPPING 04:35:05 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/3 04:35:05 INFO: archiving workspace using pattern(s): 04:35:06 Archives upload complete. 04:35:06 INFO: archiving logs to Nexus