Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 267ff576d04d099c801cb5d53fb1f6359d04b69e+99a726dbba9fddcd6b6c26c7337937a12db69607 (c9933e60d8e83e3c6b5d1607c06790934250f8fc) 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-ssh8805799794752481911.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-ssh17854157250942564952.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-ssh2359492290852319068.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-ssh10453601603342810385.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-ssh5604256020430732321.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-33433 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 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 267ff576d04d099c801cb5d53fb1f6359d04b69e Merge succeeded, producing 267ff576d04d099c801cb5d53fb1f6359d04b69e Checking out Revision 267ff576d04d099c801cb5d53fb1f6359d04b69e (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 267ff576d04d099c801cb5d53fb1f6359d04b69e # 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 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 267ff576d04d099c801cb5d53fb1f6359d04b69e # 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] } > git rev-list --no-walk b949c5b5d18b47b2532be4ec7d7551934fd4f10c # timeout=10 [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:32:42 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:32:42 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:32:42 ========================================================= 04:32:42 EdgeX Global Pipelines Version Info 04:32:42 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:32:43 ------------------- 04:32:43 stable info: 04:32:43 ------------------- 04:32:43 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:32:43 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 04:32:43 Message: update stable to v1.0.221 04:32:43 ------------------- 04:32:43 experimental info: 04:32:43 ------------------- 04:32:43 Commited By: **** collab-it+edgex@linuxfoundation.org 04:32:43 Commit SHA: 47c9b3891b578ce509e33c5bc61a4c29aa566c02 04:32:43 Message: update experimental to v1.0.226 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 267ff57 [Pipeline] echo 04:32:44 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:32:44 provisioning config files... 04:32:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config2113388033960800751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:44 ---> docker-login.sh 04:32:44 nexus3.edgexfoundry.org:10001 04:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:45 Configure a credential helper to remove this warning. See 04:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:45 04:32:45 Login Succeeded 04:32:45 nexus3.edgexfoundry.org:10002 04:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:45 Configure a credential helper to remove this warning. See 04:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:45 04:32:45 Login Succeeded 04:32:45 nexus3.edgexfoundry.org:10003 04:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:45 Configure a credential helper to remove this warning. See 04:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:45 04:32:45 Login Succeeded 04:32:45 nexus3.edgexfoundry.org:10004 04:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:45 Configure a credential helper to remove this warning. See 04:32:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:45 04:32:45 Login Succeeded 04:32:45 docker.io 04:32:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:46 Configure a credential helper to remove this warning. See 04:32:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:46 04:32:46 Login Succeeded 04:32:46 ---> docker-login.sh ends [Pipeline] } 04:32:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:32:46 + git rev-list -1 --merges 267ff576d04d099c801cb5d53fb1f6359d04b69e~1..267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] echo 04:32:46 -----------> git rev-list -1 --merges 267ff576d04d099c801cb5d53fb1f6359d04b69e~1..267ff576d04d099c801cb5d53fb1f6359d04b69e 267ff576d04d099c801cb5d53fb1f6359d04b69e [false] [Pipeline] sh 04:32:46 + git log --format=format:%s -1 267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] echo 04:32:46 ========================================================= 04:32:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:32:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:32:47 + git log --format=format:%s -1 267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] echo 04:32:47 [semverPrep] GIT_COMMIT: 267ff576d04d099c801cb5d53fb1f6359d04b69e, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo 04:32:47 [semverPrep] This is not a build commit. [Pipeline] sh 04:32:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:32:47 + grep -v github /etc/ssh/ssh_known_hosts 04:32:47 + [ -e /tmp/ssh_known_hosts ] 04:32:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:32:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:32:47 + sudo tee -a /etc/ssh/ssh_known_hosts 04:32:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 04:32:48 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:32:48 04:32:48 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 04:32:48 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:32:48 latest: Pulling from edgex-devops/git-semver 04:32:48 a0d0a0d46f8b: Pulling fs layer 04:32:48 3e5f54012d9b: Pulling fs layer 04:32:48 4c7163046ea9: Pulling fs layer 04:32:48 0c2d73faf560: Pulling fs layer 04:32:48 0c2d73faf560: Waiting 04:32:48 3e5f54012d9b: Verifying Checksum 04:32:48 3e5f54012d9b: Download complete 04:32:48 a0d0a0d46f8b: Verifying Checksum 04:32:48 a0d0a0d46f8b: Download complete 04:32:48 0c2d73faf560: Verifying Checksum 04:32:48 0c2d73faf560: Download complete 04:32:48 4c7163046ea9: Verifying Checksum 04:32:48 4c7163046ea9: Download complete 04:32:48 a0d0a0d46f8b: Pull complete 04:32:48 3e5f54012d9b: Pull complete 04:32:49 4c7163046ea9: Pull complete 04:32:49 0c2d73faf560: Pull complete 04:32:49 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 04:32:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 04:32:49 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 04:32:49 prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container 04:32:49 $ 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:32:50 $ docker top 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:32:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:50 [ssh-agent] Looking for ssh-agent implementation... 04:32:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:50 $ docker exec 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 ssh-agent 04:32:50 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXghDOcl/agent.14 04:32:50 SSH_AGENT_PID=21 04:32:50 Running ssh-add (command line suppressed) 04:32:50 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1250190489071702123.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_1250190489071702123.key) 04:32:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:50 + git tag --points-at HEAD [Pipeline] } 04:32:51 $ docker exec --env ******** --env ******** 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 ssh-agent -k 04:32:51 unset SSH_AUTH_SOCK; 04:32:51 unset SSH_AGENT_PID; 04:32:51 echo Agent pid 21 killed; 04:32:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:32:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:32:51 [ssh-agent] Looking for ssh-agent implementation... 04:32:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:32:51 $ docker exec 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 ssh-agent 04:32:51 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKgJHmn/agent.53 04:32:51 SSH_AGENT_PID=59 04:32:51 Running ssh-add (command line suppressed) 04:32:51 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5683839132948222275.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5683839132948222275.key) 04:32:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:32:51 + git semver init 04:32:51 # -> Open(): unable to determine branch for HEAD 04:32:51 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.git 04:32:51 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1144 04:32:51 # $SEMVER_REMOTE_NAME = origin 04:32:51 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 04:32:51 # $SEMVER_USER_NAME = edgex-jenkins 04:32:51 # $SEMVER_BRANCH = PR-1144 04:32:51 # $SEMVER_TEMP = /tmp/semver-688176699 04:32:51 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 04:32:52 # '/tmp/semver-688176699' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver' 04:32:52 # -> Force: false 04:32:52 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [Pipeline] } 04:32:52 $ docker exec --env ******** --env ******** 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 ssh-agent -k 04:32:52 unset SSH_AUTH_SOCK; 04:32:52 unset SSH_AGENT_PID; 04:32:52 echo Agent pid 59 killed; 04:32:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:32:53 + git semver [Pipeline] } 04:32:53 $ docker stop --time=1 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 04:32:54 $ docker rm -f 6bda69a54cc74cb90837c490b9122f425cfc4de159d87186551981243067f1d4 [Pipeline] // withDockerContainer [Pipeline] sh 04:32:54 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:32:55 Stashed 1 file(s) [Pipeline] echo 04:32:55 [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:32:55 provisioning config files... 04:32:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4223508816543308864tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:32:55 ---> docker-login.sh 04:32:55 nexus3.edgexfoundry.org:10001 04:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:55 Configure a credential helper to remove this warning. See 04:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:55 04:32:55 Login Succeeded 04:32:55 nexus3.edgexfoundry.org:10002 04:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:55 Configure a credential helper to remove this warning. See 04:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:55 04:32:55 Login Succeeded 04:32:55 nexus3.edgexfoundry.org:10003 04:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:55 Configure a credential helper to remove this warning. See 04:32:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:55 04:32:55 Login Succeeded 04:32:55 nexus3.edgexfoundry.org:10004 04:32:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:56 Configure a credential helper to remove this warning. See 04:32:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:56 04:32:56 Login Succeeded 04:32:56 docker.io 04:32:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:32:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:32:56 Configure a credential helper to remove this warning. See 04:32:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:32:56 04:32:56 Login Succeeded 04:32:56 ---> docker-login.sh ends [Pipeline] } 04:32:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:32:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:32:56 ========================================================= 04:32:56 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:32:56 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:32:56 + 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:32:56 Sending build context to Docker daemon 9.625MB 04:32:56 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:32:56 Step 2/11 : FROM ${BASE} AS builder 04:32:56 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:32:56 59bf1c3509f3: Pulling fs layer 04:32:56 666ba61612fd: Pulling fs layer 04:32:56 8ed8ca486205: Pulling fs layer 04:32:56 4fe6c5a15a65: Pulling fs layer 04:32:56 22a0e8bec74d: Pulling fs layer 04:32:56 ca2b28591e48: Pulling fs layer 04:32:56 a51346096db8: Pulling fs layer 04:32:56 daebc70d1ce1: Pulling fs layer 04:32:56 0e18a0eac166: Pulling fs layer 04:32:56 a51346096db8: Waiting 04:32:56 4fe6c5a15a65: Waiting 04:32:56 daebc70d1ce1: Waiting 04:32:57 8ed8ca486205: Verifying Checksum 04:32:57 8ed8ca486205: Download complete 04:32:57 666ba61612fd: Download complete 04:32:57 22a0e8bec74d: Verifying Checksum 04:32:57 22a0e8bec74d: Download complete 04:32:57 ca2b28591e48: Download complete 04:32:57 59bf1c3509f3: Verifying Checksum 04:32:57 59bf1c3509f3: Download complete 04:32:57 a51346096db8: Verifying Checksum 04:32:57 a51346096db8: Download complete 04:32:57 daebc70d1ce1: Verifying Checksum 04:32:57 daebc70d1ce1: Download complete 04:32:57 59bf1c3509f3: Pull complete 04:32:57 666ba61612fd: Pull complete 04:32:57 8ed8ca486205: Pull complete 04:32:57 0e18a0eac166: Verifying Checksum 04:32:57 0e18a0eac166: Download complete 04:32:57 4fe6c5a15a65: Verifying Checksum 04:32:57 4fe6c5a15a65: Download complete 04:33:02 4fe6c5a15a65: Pull complete 04:33:02 22a0e8bec74d: Pull complete 04:33:02 ca2b28591e48: Pull complete 04:33:02 a51346096db8: Pull complete 04:33:02 daebc70d1ce1: Pull complete 04:33:04 0e18a0eac166: Pull complete 04:33:04 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 04:33:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:33:04 ---> f018257e8ee9 04:33:04 Step 3/11 : ARG MAKE=make build 04:33:06 ---> Running in 2f4aeba3d624 04:33:06 Removing intermediate container 2f4aeba3d624 04:33:06 ---> 469dc3f6aefb 04:33:06 Step 4/11 : WORKDIR /device-sdk-go 04:33:06 ---> Running in 90337acf445a 04:33:06 Removing intermediate container 90337acf445a 04:33:06 ---> 942b34decaf2 04:33:06 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:33:06 ---> Running in 3837d0bc2425 04:33:06 Removing intermediate container 3837d0bc2425 04:33:06 ---> 02c094034dd7 04:33:06 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:33:06 ---> Running in 139b097eb862 04:33:06 Removing intermediate container 139b097eb862 04:33:06 ---> 03b86a618b6f 04:33:06 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:33:06 ---> Running in 72ee0efaddb0 04:33:07 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:33:08 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:33:08 OK: 221 MiB in 52 packages 04:33:08 Removing intermediate container 72ee0efaddb0 04:33:08 ---> 657f67815d9f 04:33:08 Step 8/11 : COPY go.mod vendor* ./ 04:33:08 ---> ecddd9cf5ac8 04:33:08 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:33:08 ---> Running in 21ae9e3db828 04:33:10 Still waiting to schedule task 04:33:10 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 04:33:23 Removing intermediate container 21ae9e3db828 04:33:23 ---> 6e58af2230ce 04:33:23 Step 10/11 : COPY . . 04:33:23 ---> fd5ada6f4598 04:33:23 Step 11/11 : RUN ${MAKE} 04:33:23 ---> Running in 1ff3dde2768b 04:33:23 noop 04:33:23 Removing intermediate container 1ff3dde2768b 04:33:23 ---> ac4b08a60d8e 04:33:23 Successfully built ac4b08a60d8e 04:33:23 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 04:33:24 + docker inspect -f . ci-base-image-x86_64 04:33:24 . [Pipeline] withDockerContainer 04:33:24 prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container 04:33:24 $ 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:33:24 $ docker top ce69333bceb9a1a68edcbcd6724d03d7483b5d46a6ea9956b23c7d970cce50a6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:33:24 + go version 04:33:24 go version go1.17.6 linux/amd64 [Pipeline] } 04:33:25 $ docker stop --time=1 ce69333bceb9a1a68edcbcd6724d03d7483b5d46a6ea9956b23c7d970cce50a6 04:33:26 $ docker rm -f ce69333bceb9a1a68edcbcd6724d03d7483b5d46a6ea9956b23c7d970cce50a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:33:26 + docker inspect -f . ci-base-image-x86_64 04:33:26 . [Pipeline] withDockerContainer 04:33:26 prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container 04:33:26 $ 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:33:27 $ docker top 4b7cd40ce2d309d1774286ab0fb84569f5768e4090fb786e4e4a8f1b532a9d3c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:33:27 + make test 04:33:27 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:33:34 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:33:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:33:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:33:46 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:33:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.102s coverage: 23.3% of statements 04:33:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:33:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.061s coverage: 27.6% of statements 04:33:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.078s coverage: 78.9% of statements 04:33:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.059s coverage: 10.8% of statements 04:33:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.090s coverage: 60.0% of statements 04:33:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:33:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:33:46 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.105s coverage: 34.8% of statements 04:33:46 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:33:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.050s coverage: 86.1% of statements 04:33:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:33:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:33:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 65.1% of statements 04:33:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.913s coverage: 89.2% of statements 04:33:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:33:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 04:33:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:34:05 GO111MODULE=on go vet ./... 04:34:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:34:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:34:08 ./bin/test-attribution-txt.sh [Pipeline] echo 04:34:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:34:08 $ docker stop --time=1 4b7cd40ce2d309d1774286ab0fb84569f5768e4090fb786e4e4a8f1b532a9d3c 04:34:10 $ docker rm -f 4b7cd40ce2d309d1774286ab0fb84569f5768e4090fb786e4e4a8f1b532a9d3c [Pipeline] // withDockerContainer [Pipeline] sh 04:34:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:34:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:34:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:34:12 + ls -al . 04:34:12 total 316 04:34:12 drwxrwxr-x 11 jenkins jenkins 4096 Apr 27 04:34 . 04:34:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:32 .. 04:34:12 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:32 .dockerignore 04:34:12 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:32 .git 04:34:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:32 .github 04:34:12 -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:32 .gitignore 04:34:12 -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:32 .golangci.yml 04:34:12 drwx------ 3 jenkins jenkins 4096 Apr 27 04:32 .semver 04:34:12 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:32 CHANGELOG.md 04:34:12 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:32 GOVERNANCE.md 04:34:12 -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:32 Jenkinsfile 04:34:12 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:32 LICENSE 04:34:12 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:32 Makefile 04:34:12 -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:32 OWNERS.md 04:34:12 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:32 README.md 04:34:12 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:32 VERSION 04:34:12 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:32 bin 04:34:12 -rw-r--r-- 1 jenkins jenkins 130819 Apr 27 04:33 coverage.out 04:34:12 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:32 example 04:34:12 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:32 go.mod 04:34:12 -rw-rw-r-- 1 jenkins jenkins 53849 Apr 27 04:32 go.sum 04:34:12 drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:32 internal 04:34:12 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:32 openapi 04:34:12 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:32 pkg 04:34:12 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:32 snap 04:34:12 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:32 version.go [Pipeline] isUnix [Pipeline] sh 04:34:12 + 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=267ff576d04d099c801cb5d53fb1f6359d04b69e --label arch=amd64 --label version=0.0.0 . 04:34:12 Sending build context to Docker daemon 9.757MB 04:34:12 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:34:12 Step 2/25 : FROM ${BASE} AS builder 04:34:12 ---> ac4b08a60d8e 04:34:12 Step 3/25 : ARG MAKE=make build 04:34:12 ---> Running in 3111203390c2 04:34:12 Removing intermediate container 3111203390c2 04:34:12 ---> 2117d10e6e52 04:34:12 Step 4/25 : WORKDIR /device-sdk-go 04:34:12 ---> Running in 5a17c0f04118 04:34:13 Removing intermediate container 5a17c0f04118 04:34:13 ---> a5e40307f3d8 04:34:13 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:34:13 ---> Running in cb2e138f8f5b 04:34:13 Removing intermediate container cb2e138f8f5b 04:34:13 ---> dccf1643e5c7 04:34:13 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:34:13 ---> Running in dcf3defc881f 04:34:14 Removing intermediate container dcf3defc881f 04:34:14 ---> 11f27d7f20f7 04:34:14 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:34:14 ---> Running in 2d4bd2e25992 04:34:14 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:34:15 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:34:15 OK: 221 MiB in 52 packages 04:34:15 Removing intermediate container 2d4bd2e25992 04:34:15 ---> 7e52c5986897 04:34:15 Step 8/25 : COPY go.mod vendor* ./ 04:34:15 ---> fac738e57c67 04:34:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:15 ---> Running in eac2b1f243b8 04:34:16 Removing intermediate container eac2b1f243b8 04:34:16 ---> f4cd293f75ae 04:34:16 Step 10/25 : COPY . . 04:34:17 ---> a11e94b7afed 04:34:17 Step 11/25 : RUN ${MAKE} 04:34:17 ---> Running in 43878ec6ce1d 04:34:17 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:35 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:34:37 Removing intermediate container 43878ec6ce1d 04:34:37 ---> e982c97c8634 04:34:37 Step 12/25 : FROM alpine:3.14 04:34:37 3.14: Pulling from library/alpine 04:34:37 8663204ce13b: Pulling fs layer 04:34:38 8663204ce13b: Verifying Checksum 04:34:38 8663204ce13b: Download complete 04:34:38 8663204ce13b: Pull complete 04:34:38 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:34:38 Status: Downloaded newer image for alpine:3.14 04:34:38 ---> e04c818066af 04:34:38 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:34:38 ---> Running in 3d0d408d6a7b 04:34:38 Removing intermediate container 3d0d408d6a7b 04:34:38 ---> cc37d727df4e 04:34:38 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:34:38 ---> Running in d1f88f05fc48 04:34:39 Removing intermediate container d1f88f05fc48 04:34:39 ---> 96e06f2f6671 04:34:39 Step 15/25 : RUN apk add --update --no-cache zeromq 04:34:39 ---> Running in 30da9a3372bc 04:34:39 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:34:40 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:34:40 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:34:40 (2/5) Installing libsodium (1.0.18-r0) 04:34:40 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:34:40 (4/5) Installing libzmq (4.3.4-r0) 04:34:40 (5/5) Installing zeromq (4.3.4-r0) 04:34:40 Executing busybox-1.33.1-r7.trigger 04:34:40 OK: 8 MiB in 19 packages 04:34:41 Removing intermediate container 30da9a3372bc 04:34:41 ---> 95622ec5cbda 04:34:41 Step 16/25 : WORKDIR / 04:34:41 ---> Running in a506d60f459c 04:34:41 Removing intermediate container a506d60f459c 04:34:41 ---> ef529ce24732 04:34:41 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:34:41 ---> 4b357f08000b 04:34:41 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:34:42 ---> b94890bc966f 04:34:42 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:34:42 ---> ca13a4bb1f9c 04:34:42 Step 20/25 : EXPOSE 59999 04:34:42 ---> Running in 261f568fcf1a 04:34:42 Removing intermediate container 261f568fcf1a 04:34:42 ---> 37f9ac86954f 04:34:42 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:34:42 ---> Running in 93f07bc8e5c8 04:34:42 Removing intermediate container 93f07bc8e5c8 04:34:42 ---> f34bcb2fbcee 04:34:42 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:34:42 ---> Running in dfd70d67ab8a 04:34:42 Removing intermediate container dfd70d67ab8a 04:34:42 ---> 77be3dc9f481 04:34:42 Step 23/25 : LABEL arch=amd64 04:34:42 ---> Running in 79571d6518ae 04:34:42 Removing intermediate container 79571d6518ae 04:34:42 ---> ff38946b75d5 04:34:42 Step 24/25 : LABEL git_sha=267ff576d04d099c801cb5d53fb1f6359d04b69e 04:34:42 ---> Running in c6e771c2206a 04:34:42 Removing intermediate container c6e771c2206a 04:34:42 ---> f04ac8f0d3c7 04:34:42 Step 25/25 : LABEL version=0.0.0 04:34:43 ---> Running in d7bb2fc24711 04:34:43 Removing intermediate container d7bb2fc24711 04:34:43 ---> 61abf436bb64 04:34:43 [Warning] One or more build-args [ARCH] were not consumed 04:34:43 Successfully built 61abf436bb64 04:34:43 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:34:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:43 04:34:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 04:34:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:43 latest: Pulling from edgex-lftools-log-publisher 04:34:43 5eb5b503b376: Pulling fs layer 04:34:43 5c69ac0246d0: Pulling fs layer 04:34:43 ec43610c2a17: Pulling fs layer 04:34:43 3a2ae6a8a46f: Pulling fs layer 04:34:43 33b1e0a273af: Pulling fs layer 04:34:43 5d3b04190fa2: Pulling fs layer 04:34:43 2f39f015ded8: Pulling fs layer 04:34:43 3a2ae6a8a46f: Waiting 04:34:43 33b1e0a273af: Waiting 04:34:43 2f39f015ded8: Waiting 04:34:43 5d3b04190fa2: Waiting 04:34:43 5c69ac0246d0: Verifying Checksum 04:34:43 5c69ac0246d0: Download complete 04:34:43 3a2ae6a8a46f: Verifying Checksum 04:34:43 3a2ae6a8a46f: Download complete 04:34:43 33b1e0a273af: Download complete 04:34:43 5d3b04190fa2: Verifying Checksum 04:34:43 5d3b04190fa2: Download complete 04:34:43 ec43610c2a17: Verifying Checksum 04:34:43 ec43610c2a17: Download complete 04:34:44 5eb5b503b376: Verifying Checksum 04:34:44 5eb5b503b376: Download complete 04:34:44 2f39f015ded8: Download complete 04:34:45 5eb5b503b376: Pull complete 04:34:45 5c69ac0246d0: Pull complete 04:34:46 ec43610c2a17: Pull complete 04:34:46 3a2ae6a8a46f: Pull complete 04:34:46 33b1e0a273af: Pull complete 04:34:46 5d3b04190fa2: Pull complete 04:34:51 2f39f015ded8: Pull complete 04:34:51 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:34:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:34:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 04:34:51 prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container 04:34:51 $ 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:34:53 $ docker top a6f6dbbcca6cb1740cf6d7e89fe7075e9d821d7296afb2b499c33854260c4754 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:34:53 ---> job-cost.sh 04:34:53 lf-activate-venv: SKIPPING 04:34:53 INFO: No Stack... 04:34:54 INFO: Retrieving Pricing Info for: v3-standard-8 04:34:54 INFO: Archiving Costs [Pipeline] sh 04:34:54 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv 04:34:54 + cut -d, -f6 [Pipeline] lock 04:34:54 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] 04:34:54 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] did not exist. Created. 04:34:54 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:34:55 + echo total: 0.2199999988079071 [Pipeline] stash 04:34:55 Stashed 1 file(s) [Pipeline] } 04:34:55 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [Pipeline] // lock [Pipeline] } 04:34:55 $ docker stop --time=1 a6f6dbbcca6cb1740cf6d7e89fe7075e9d821d7296afb2b499c33854260c4754 04:34:56 $ docker rm -f a6f6dbbcca6cb1740cf6d7e89fe7075e9d821d7296afb2b499c33854260c4754 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:37:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-33434 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws 04:37:45 Running in /w/workspace/device-sdk-go/5 [Pipeline] { [Pipeline] checkout 04:37:46 The recommended git tool is: git 04:37:53 using credential edgex-jenkins-ssh 04:37:53 Cloning the remote Git repository 04:37:53 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:37:53 > git init /w/workspace/device-sdk-go/5 # timeout=10 04:37:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:37:53 > git --version # timeout=10 04:37:53 > git --version # 'git version 2.25.1' 04:37:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:37:55 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:37:55 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:37:55 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:37:55 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:55 > 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:37:56 Merging remotes/origin/main commit 99a726dbba9fddcd6b6c26c7337937a12db69607 into PR head commit 267ff576d04d099c801cb5d53fb1f6359d04b69e 04:37:56 Merge succeeded, producing 267ff576d04d099c801cb5d53fb1f6359d04b69e 04:37:56 Checking out Revision 267ff576d04d099c801cb5d53fb1f6359d04b69e (PR-1144) 04:37:56 > git config core.sparsecheckout # timeout=10 04:37:56 > git checkout -f 267ff576d04d099c801cb5d53fb1f6359d04b69e # timeout=10 04:37:56 > git remote # timeout=10 04:37:56 > git config --get remote.origin.url # timeout=10 04:37:56 using GIT_SSH to set credentials SSH Credentials for GitHub 04:37:56 > git merge 99a726dbba9fddcd6b6c26c7337937a12db69607 # timeout=10 04:37:56 > git rev-parse HEAD^{commit} # timeout=10 04:37:56 > git config core.sparsecheckout # timeout=10 04:37:56 > git checkout -f 267ff576d04d099c801cb5d53fb1f6359d04b69e # timeout=10 04:38:00 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:38:01 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:38:01 % Total % Received % Xferd Average Speed Time Time Time Current 04:38:01 Dload Upload Total Spent Left Speed 04:38:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 68063 0 --:--:-- --:--:-- --:--:-- 67674 100 11843 100 11843 0 0 67289 0 --:--:-- --:--:-- --:--:-- 67289 [Pipeline] sh 04:38:02 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:38:02 + sudo tee /etc/docker/daemon.new 04:38:02 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:38:02 { 04:38:02 "registry-mirrors": [ 04:38:02 "https://nexus3.edgexfoundry.org:10001" 04:38:02 ], 04:38:02 "bip": "10.250.0.254/24", 04:38:02 "hosts": [ 04:38:02 "tcp://0.0.0.0:5555", 04:38:02 "unix:///var/run/docker.sock" 04:38:02 ], 04:38:02 "mtu": 1458, 04:38:02 "selinux-enabled": true, 04:38:02 "seccomp-profile": "/etc/docker/seccomp.json" 04:38:02 } [Pipeline] sh 04:38:03 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:38:03 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:38:21 provisioning config files... 04:38:21 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/5@tmp/config2176466689585244251tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:38:22 ---> docker-login.sh 04:38:22 nexus3.edgexfoundry.org:10001 04:38:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:23 Configure a credential helper to remove this warning. See 04:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:23 04:38:23 Login Succeeded 04:38:23 nexus3.edgexfoundry.org:10002 04:38:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:23 Configure a credential helper to remove this warning. See 04:38:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:23 04:38:23 Login Succeeded 04:38:23 nexus3.edgexfoundry.org:10003 04:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:24 Configure a credential helper to remove this warning. See 04:38:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:24 04:38:24 Login Succeeded 04:38:24 nexus3.edgexfoundry.org:10004 04:38:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:24 Configure a credential helper to remove this warning. See 04:38:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:24 04:38:24 Login Succeeded 04:38:24 docker.io 04:38:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:38:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:38:25 Configure a credential helper to remove this warning. See 04:38:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:38:25 04:38:25 Login Succeeded 04:38:25 ---> docker-login.sh ends [Pipeline] } 04:38:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:38:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:38:26 ========================================================= 04:38:26 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:38:26 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 04:38:26 + 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:38:27 Sending build context to Docker daemon 5.199MB 04:38:27 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:38:27 Step 2/11 : FROM ${BASE} AS builder 04:38:27 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:38:27 9b3977197b4f: Pulling fs layer 04:38:27 1a89e8eeedd5: Pulling fs layer 04:38:27 94645a83ff95: Pulling fs layer 04:38:27 3f3a8bcf1eab: Pulling fs layer 04:38:27 0c92f367c5e7: Pulling fs layer 04:38:27 3096ccb668a1: Pulling fs layer 04:38:27 e8cf19c19ddd: Pulling fs layer 04:38:27 a4caa8a26152: Pulling fs layer 04:38:27 0c92f367c5e7: Waiting 04:38:27 3096ccb668a1: Waiting 04:38:27 a4caa8a26152: Waiting 04:38:27 e8cf19c19ddd: Waiting 04:38:27 3f3a8bcf1eab: Waiting 04:38:27 94645a83ff95: Verifying Checksum 04:38:27 94645a83ff95: Download complete 04:38:27 1a89e8eeedd5: Download complete 04:38:27 0c92f367c5e7: Verifying Checksum 04:38:27 0c92f367c5e7: Download complete 04:38:27 3096ccb668a1: Download complete 04:38:27 9b3977197b4f: Verifying Checksum 04:38:27 9b3977197b4f: Download complete 04:38:27 e8cf19c19ddd: Verifying Checksum 04:38:27 e8cf19c19ddd: Download complete 04:38:28 9b3977197b4f: Pull complete 04:38:29 1a89e8eeedd5: Pull complete 04:38:29 94645a83ff95: Pull complete 04:38:29 a4caa8a26152: Verifying Checksum 04:38:29 a4caa8a26152: Download complete 04:38:30 3f3a8bcf1eab: Verifying Checksum 04:38:30 3f3a8bcf1eab: Download complete 04:38:42 3f3a8bcf1eab: Pull complete 04:38:42 0c92f367c5e7: Pull complete 04:38:43 3096ccb668a1: Pull complete 04:38:43 e8cf19c19ddd: Pull complete 04:38:50 a4caa8a26152: Pull complete 04:38:50 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 04:38:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:38:50 ---> 725f1c02e7f9 04:38:50 Step 3/11 : ARG MAKE=make build 04:38:50 ---> Running in 2c7921846bc8 04:38:51 Removing intermediate container 2c7921846bc8 04:38:51 ---> 0efe970c719c 04:38:51 Step 4/11 : WORKDIR /device-sdk-go 04:38:51 ---> Running in 5ee9ee0c6c1a 04:38:51 Removing intermediate container 5ee9ee0c6c1a 04:38:51 ---> 77ce1f820d6e 04:38:51 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:38:51 ---> Running in 0dadff25168d 04:38:51 Removing intermediate container 0dadff25168d 04:38:51 ---> 62d95b304863 04:38:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:38:52 ---> Running in 7c7e8ae9d9d9 04:38:54 Removing intermediate container 7c7e8ae9d9d9 04:38:54 ---> a578859e8c9c 04:38:54 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:38:54 ---> Running in b5ba74a8dbe2 04:38:56 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:38:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:38:58 OK: 220 MiB in 52 packages 04:38:58 Removing intermediate container b5ba74a8dbe2 04:38:58 ---> 2e415041b092 04:38:58 Step 8/11 : COPY go.mod vendor* ./ 04:38:59 ---> e864222754b7 04:38:59 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:38:59 ---> Running in 97211d4f50ab 04:39:55 Removing intermediate container 97211d4f50ab 04:39:55 ---> 99773b00886b 04:39:55 Step 10/11 : COPY . . 04:39:55 ---> 39e6a547d428 04:39:55 Step 11/11 : RUN ${MAKE} 04:39:55 ---> Running in a70d01f75c39 04:39:55 noop 04:39:55 Removing intermediate container a70d01f75c39 04:39:55 ---> 7cb919de6aed 04:39:55 Successfully built 7cb919de6aed 04:39:55 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 04:39:56 + docker inspect -f . ci-base-image-arm64 04:39:56 . [Pipeline] withDockerContainer 04:39:56 prd-ubuntu20.04-docker-arm64-4c-16g-33434 does not seem to be running inside a container 04:39:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:39:58 $ docker top 3c6102c37e3817fcea6286f2c79170ae560b764259d2cd5a84cc6e6e81c573c4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:39:58 + go version 04:39:58 go version go1.17.6 linux/arm64 [Pipeline] } 04:39:59 $ docker stop --time=1 3c6102c37e3817fcea6286f2c79170ae560b764259d2cd5a84cc6e6e81c573c4 04:40:00 $ docker rm -f 3c6102c37e3817fcea6286f2c79170ae560b764259d2cd5a84cc6e6e81c573c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 04:40:01 + docker inspect -f . ci-base-image-arm64 04:40:01 . [Pipeline] withDockerContainer 04:40:01 prd-ubuntu20.04-docker-arm64-4c-16g-33434 does not seem to be running inside a container 04:40:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:40:02 $ docker top 4f0b840b21093d9c722a533e4c7206e85ec878e5caca8f1d80f44dd5e23f375c -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:40:03 + make test 04:40:03 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:40:36 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:42:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.385s coverage: 23.3% of statements 04:42:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:42:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.258s coverage: 27.6% of statements 04:42:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.292s coverage: 78.9% of statements 04:42:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.257s coverage: 10.8% of statements 04:42:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.372s coverage: 60.0% of statements 04:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:42:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:42:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.389s coverage: 34.8% of statements 04:42:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.287s coverage: 86.1% of statements 04:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:42:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:42:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.473s coverage: 65.1% of statements 04:42:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.206s coverage: 89.2% of statements 04:42:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:42:47 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.250s coverage: 4.7% of statements 04:42:47 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:42:48 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:42:48 GO111MODULE=on go vet ./... 04:44:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:44:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:44:25 ./bin/test-attribution-txt.sh [Pipeline] echo 04:44:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:44:25 $ docker stop --time=1 4f0b840b21093d9c722a533e4c7206e85ec878e5caca8f1d80f44dd5e23f375c 04:44:26 $ docker rm -f 4f0b840b21093d9c722a533e4c7206e85ec878e5caca8f1d80f44dd5e23f375c [Pipeline] // withDockerContainer [Pipeline] sh 04:44:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:44:28 Warning: overwriting stash ‘coverage-report’ 04:44:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:44:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:44:29 + ls -al . 04:44:29 total 312 04:44:29 drwxrwxr-x 10 jenkins jenkins 4096 Apr 27 04:44 . 04:44:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:37 .. 04:44:29 -rw-rw-r-- 1 jenkins jenkins 140 Apr 27 04:37 .dockerignore 04:44:29 drwxrwxr-x 8 jenkins jenkins 4096 Apr 27 04:38 .git 04:44:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:37 .github 04:44:29 -rw-rw-r-- 1 jenkins jenkins 131 Apr 27 04:37 .gitignore 04:44:29 -rw-rw-r-- 1 jenkins jenkins 42 Apr 27 04:37 .golangci.yml 04:44:29 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 27 04:37 CHANGELOG.md 04:44:29 -rw-rw-r-- 1 jenkins jenkins 677 Apr 27 04:37 GOVERNANCE.md 04:44:29 -rw-rw-r-- 1 jenkins jenkins 880 Apr 27 04:37 Jenkinsfile 04:44:29 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 27 04:37 LICENSE 04:44:29 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 27 04:37 Makefile 04:44:29 -rw-rw-r-- 1 jenkins jenkins 619 Apr 27 04:37 OWNERS.md 04:44:29 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 27 04:37 README.md 04:44:29 -rw-rw-r-- 1 jenkins jenkins 5 Apr 27 04:32 VERSION 04:44:29 drwxrwxr-x 2 jenkins jenkins 4096 Apr 27 04:37 bin 04:44:29 -rw-r--r-- 1 jenkins jenkins 130819 Apr 27 04:42 coverage.out 04:44:29 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:37 example 04:44:29 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 27 04:37 go.mod 04:44:29 -rw-rw-r-- 1 jenkins jenkins 53849 Apr 27 04:37 go.sum 04:44:29 drwxrwxr-x 15 jenkins jenkins 4096 Apr 27 04:37 internal 04:44:29 drwxrwxr-x 3 jenkins jenkins 4096 Apr 27 04:37 openapi 04:44:29 drwxrwxr-x 5 jenkins jenkins 4096 Apr 27 04:37 pkg 04:44:29 drwxrwxr-x 4 jenkins jenkins 4096 Apr 27 04:37 snap 04:44:29 -rw-rw-r-- 1 jenkins jenkins 222 Apr 27 04:37 version.go [Pipeline] isUnix [Pipeline] sh 04:44:29 + 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=267ff576d04d099c801cb5d53fb1f6359d04b69e --label arch=arm64 --label version=0.0.0 . 04:44:30 Sending build context to Docker daemon 5.33MB 04:44:30 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:44:30 Step 2/25 : FROM ${BASE} AS builder 04:44:30 ---> 7cb919de6aed 04:44:30 Step 3/25 : ARG MAKE=make build 04:44:30 ---> Running in 676c7dcac059 04:44:30 Removing intermediate container 676c7dcac059 04:44:30 ---> 2aa33f322855 04:44:30 Step 4/25 : WORKDIR /device-sdk-go 04:44:31 ---> Running in 5314ce2d5259 04:44:31 Removing intermediate container 5314ce2d5259 04:44:31 ---> 8c1f07f95790 04:44:31 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:44:31 ---> Running in be2d2befbd8e 04:44:31 Removing intermediate container be2d2befbd8e 04:44:31 ---> 309e94a0bc9c 04:44:31 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:44:31 ---> Running in 99c05daa4c53 04:44:33 Removing intermediate container 99c05daa4c53 04:44:33 ---> cce1c6685716 04:44:33 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:44:33 ---> Running in d746d34dae0b 04:44:34 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:44:35 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:44:36 OK: 220 MiB in 52 packages 04:44:37 Removing intermediate container d746d34dae0b 04:44:37 ---> 6090a8650db0 04:44:37 Step 8/25 : COPY go.mod vendor* ./ 04:44:37 ---> 140f7b394a87 04:44:37 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:44:37 ---> Running in a45bc8cb0239 04:44:39 Removing intermediate container a45bc8cb0239 04:44:39 ---> 2787ab999233 04:44:39 Step 10/25 : COPY . . 04:44:40 ---> 06e7f4a1fad3 04:44:40 Step 11/25 : RUN ${MAKE} 04:44:41 ---> Running in 671dad914171 04:44:42 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:46:48 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:46:48 Removing intermediate container 671dad914171 04:46:48 ---> ed6c2e0f4200 04:46:48 Step 12/25 : FROM alpine:3.14 04:46:48 3.14: Pulling from library/alpine 04:46:48 455c02918c45: Pulling fs layer 04:46:48 455c02918c45: Verifying Checksum 04:46:48 455c02918c45: Download complete 04:46:48 455c02918c45: Pull complete 04:46:48 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:46:48 Status: Downloaded newer image for alpine:3.14 04:46:48 ---> ac73e934f311 04:46:48 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:46:49 ---> Running in effd8043d423 04:46:49 Removing intermediate container effd8043d423 04:46:49 ---> aee8d9495c78 04:46:49 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:46:49 ---> Running in 0d4d5cd5a01e 04:46:51 Removing intermediate container 0d4d5cd5a01e 04:46:51 ---> 06e180f23a76 04:46:51 Step 15/25 : RUN apk add --update --no-cache zeromq 04:46:51 ---> Running in 041d386e5aa0 04:46:52 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:46:53 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:46:53 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:46:54 (2/5) Installing libsodium (1.0.18-r0) 04:46:54 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:46:54 (4/5) Installing libzmq (4.3.4-r0) 04:46:54 (5/5) Installing zeromq (4.3.4-r0) 04:46:54 Executing busybox-1.33.1-r7.trigger 04:46:54 OK: 8 MiB in 19 packages 04:46:55 Removing intermediate container 041d386e5aa0 04:46:55 ---> 7b42412d67b1 04:46:55 Step 16/25 : WORKDIR / 04:46:55 ---> Running in 2ad428dcfc0a 04:46:55 Removing intermediate container 2ad428dcfc0a 04:46:55 ---> 93a718907331 04:46:55 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:46:56 ---> d8e4256ec8fb 04:46:56 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:46:57 ---> 2abb2f80e5fb 04:46:57 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:46:58 ---> f025080bd2f1 04:46:58 Step 20/25 : EXPOSE 59999 04:46:58 ---> Running in f937622ceb81 04:46:58 Removing intermediate container f937622ceb81 04:46:58 ---> 05d59c02f497 04:46:58 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:46:58 ---> Running in a4c38cea4162 04:46:59 Removing intermediate container a4c38cea4162 04:46:59 ---> 92f894f7ea7e 04:46:59 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:46:59 ---> Running in 6e15cb4f4912 04:46:59 Removing intermediate container 6e15cb4f4912 04:46:59 ---> bde71e5e4875 04:46:59 Step 23/25 : LABEL arch=arm64 04:46:59 ---> Running in 0040481327ad 04:47:00 Removing intermediate container 0040481327ad 04:47:00 ---> ed8b13cf6a07 04:47:00 Step 24/25 : LABEL git_sha=267ff576d04d099c801cb5d53fb1f6359d04b69e 04:47:00 ---> Running in 5a84a951a0de 04:47:00 Removing intermediate container 5a84a951a0de 04:47:00 ---> c2526e593ea3 04:47:00 Step 25/25 : LABEL version=0.0.0 04:47:00 ---> Running in 420dfd4070cd 04:47:00 Removing intermediate container 420dfd4070cd 04:47:00 ---> 1187840a48d2 04:47:00 [Warning] One or more build-args [ARCH] were not consumed 04:47:00 Successfully built 1187840a48d2 04:47:00 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:47:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:47:01 04:47:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 04:47:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:47:02 arm64: Pulling from edgex-lftools-log-publisher 04:47:02 8998bd30e6a1: Pulling fs layer 04:47:02 04944245beec: Pulling fs layer 04:47:02 699f458cf7ca: Pulling fs layer 04:47:02 765212b225bb: Pulling fs layer 04:47:02 f23df028b6ca: Pulling fs layer 04:47:02 d65c8cfc05b1: Pulling fs layer 04:47:02 2437ff75d9bd: Pulling fs layer 04:47:02 f23df028b6ca: Waiting 04:47:02 d65c8cfc05b1: Waiting 04:47:02 765212b225bb: Waiting 04:47:02 2437ff75d9bd: Waiting 04:47:02 04944245beec: Download complete 04:47:02 765212b225bb: Verifying Checksum 04:47:02 765212b225bb: Download complete 04:47:02 f23df028b6ca: Verifying Checksum 04:47:02 f23df028b6ca: Download complete 04:47:02 d65c8cfc05b1: Verifying Checksum 04:47:02 d65c8cfc05b1: Download complete 04:47:02 699f458cf7ca: Verifying Checksum 04:47:02 699f458cf7ca: Download complete 04:47:02 8998bd30e6a1: Download complete 04:47:05 2437ff75d9bd: Verifying Checksum 04:47:05 2437ff75d9bd: Download complete 04:47:07 8998bd30e6a1: Pull complete 04:47:07 04944245beec: Pull complete 04:47:09 699f458cf7ca: Pull complete 04:47:09 765212b225bb: Pull complete 04:47:10 f23df028b6ca: Pull complete 04:47:10 d65c8cfc05b1: Pull complete 04:47:25 2437ff75d9bd: Pull complete 04:47:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:47:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:47:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 04:47:25 prd-ubuntu20.04-docker-arm64-4c-16g-33434 does not seem to be running inside a container 04:47:25 $ 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/5 -v /w/workspace/device-sdk-go/5:/w/workspace/device-sdk-go/5:rw,z -v /w/workspace/device-sdk-go/5@tmp:/w/workspace/device-sdk-go/5@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:47:28 $ docker top 587c3ec3910506e876e0b771968e34fe2a0544ea043332d678e1fa0ea14b7df4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:47:29 ---> job-cost.sh 04:47:29 lf-activate-venv: SKIPPING 04:47:29 INFO: No Stack... 04:47:30 INFO: Retrieving Pricing Info for: v3-standard-4 04:47:31 INFO: Archiving Costs [Pipeline] sh 04:47:32 + + catcut /w/workspace/device-sdk-go/5/archives/cost.csv -d, 04:47:32 -f6 [Pipeline] lock 04:47:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] 04:47:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] did not exist. Created. 04:47:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:47:32 /w/workspace/device-sdk-go/5@tmp/durable-7b0a9cfb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:47:33 + echo total: 0.10999999940395355 [Pipeline] stash 04:47:33 Warning: overwriting stash ‘stack-cost’ 04:47:33 Stashed 1 file(s) [Pipeline] } 04:47:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-5-stack-cost] [Pipeline] // lock [Pipeline] } 04:47:33 $ docker stop --time=1 587c3ec3910506e876e0b771968e34fe2a0544ea043332d678e1fa0ea14b7df4 04:47:35 $ docker rm -f 587c3ec3910506e876e0b771968e34fe2a0544ea043332d678e1fa0ea14b7df4 [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:47:35 provisioning config files... 04:47:35 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6637820738659439466tmp [Pipeline] { [Pipeline] sh 04:47:35 + set +x 04:47:35 + + curl -s https://codecov.io/bash 04:47:35 bash -s -- 04:47:35 04:47:35 _____ _ 04:47:35 / ____| | | 04:47:35 | | ___ __| | ___ ___ _____ __ 04:47:35 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:47:35 | |___| (_) | (_| | __/ (_| (_) \ V / 04:47:35 \_____\___/ \__,_|\___|\___\___/ \_/ 04:47:35 Bash-1.0.6 04:47:35 04:47:35 04:47:35 ==> git version 2.25.1 found 04:47:35 ==> 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:47:35 Release-Date: 2020-01-08 04:47:35 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:47:35 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:47:35 ==> Jenkins CI detected. 04:47:35 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 04:47:35 project root: . 04:47:35 --> token set from env 04:47:35 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:47:35 ==> Running gcov in . (disable via -X gcov) 04:47:35 ==> Python coveragepy not found 04:47:35 ==> Searching for coverage reports in: 04:47:35 + . 04:47:35 -> Found 1 reports 04:47:35 ==> Detecting git/mercurial file structure 04:47:35 ==> Reading reports 04:47:35 + ./coverage.out bytes=130819 04:47:36 ==> Appending adjustments 04:47:36 https://docs.codecov.io/docs/fixing-reports 04:47:36 + Found adjustments 04:47:36 ==> Gzipping contents 04:47:36 20K /tmp/codecov.xRWxap.gz 04:47:36 ==> Uploading reports 04:47:36 url: https://codecov.io 04:47:36 query: branch=PR-1144&commit=267ff576d04d099c801cb5d53fb1f6359d04b69e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= 04:47:36 -> Pinging Codecov 04:47:36 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=267ff576d04d099c801cb5d53fb1f6359d04b69e&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= 04:47:36 -> Uploading to 04:47:36 https://storage.googleapis.com/codecov/v4/raw/2022-04-27/7E55EF52A471D76F132DFD9A03CDDE97/267ff576d04d099c801cb5d53fb1f6359d04b69e/369a61a1-ae18-4407-944a-03dbc64b1a5d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220427%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220427T044736Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9cbc54e280185ff0af94deef1b2cbf64001282b9511c54bc4fc7a92e23800b57 04:47:36 % Total % Received % Xferd Average Speed Time Time Time Current 04:47:36 Dload Upload Total Spent Left Speed 04:47:36 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16823 0 0 100 16823 0 80492 --:--:-- --:--:-- --:--:-- 80492 04:47:36 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/267ff576d04d099c801cb5d53fb1f6359d04b69e [Pipeline] } 04:47:36 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:47:37 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] 04:47:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 04:47:37 total 16 04:47:37 drwxr-xr-x 3 root root 4096 Apr 27 04:34 . 04:47:37 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:34 .. 04:47:37 drwxr-xr-x 2 root root 4096 Apr 27 04:34 cost 04:47:37 -rw-r--r-- 1 root root 85 Apr 27 04:34 cost.csv 04:47:37 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 04:47:37 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 04:47:37 total 16 04:47:37 drwxr-xr-x 3 jenkins jenkins 4096 Apr 27 04:34 . 04:47:37 drwxrwxr-x 12 jenkins jenkins 4096 Apr 27 04:34 .. 04:47:37 drwxr-xr-x 2 jenkins jenkins 4096 Apr 27 04:34 cost 04:47:37 -rw-r--r-- 1 jenkins jenkins 85 Apr 27 04:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:47:37 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:47:38 ---> package-listing.sh 04:47:38 ++ facter osfamily 04:47:38 ++ tr '[:upper:]' '[:lower:]' 04:47:39 + OS_FAMILY=debian 04:47:39 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 04:47:39 + START_PACKAGES=/tmp/packages_start.txt 04:47:39 + END_PACKAGES=/tmp/packages_end.txt 04:47:39 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:47:39 + PACKAGES=/tmp/packages_start.txt 04:47:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 04:47:39 + PACKAGES=/tmp/packages_end.txt 04:47:39 + case "${OS_FAMILY}" in 04:47:39 + dpkg -l 04:47:39 + grep '^ii' 04:47:39 + '[' -f /tmp/packages_start.txt ']' 04:47:39 + '[' -f /tmp/packages_end.txt ']' 04:47:39 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:47:39 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 04:47:39 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ 04:47:39 + 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:47:39 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:47:39 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 04:47:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:47:39 . [Pipeline] withDockerContainer 04:47:40 prd-ubuntu20.04-docker-8c-8g-33433 does not seem to be running inside a container 04:47:40 $ 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:47:40 $ docker top 5d1c45882d18000119f2ac2e2dcfd3d150a883c74fdc004b866fd6a6ab32daaf -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:40 + touch /tmp/pre-build-complete [Pipeline] sh 04:47:40 + mkdir -p /var/log/sysstat [Pipeline] sh 04:47:41 + ls /var/log/sa-host 04:47:41 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:47:41 provisioning config files... 04:47:41 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config6482785817086491049tmp [Pipeline] { [Pipeline] echo 04:47:41 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:47:41 ---> create-netrc.sh [Pipeline] } 04:47:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:47:42 ---> python-tools-install.sh [Pipeline] echo 04:47:42 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:47:42 ---> sudo-logs.sh 04:47:42 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:47:42 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:47:42 ---> job-cost.sh 04:47:42 lf-activate-venv: SKIPPING 04:47:42 DEBUG: total: 0.2199999988079071 04:47:42 INFO: Retrieving Stack Cost... 04:47:43 INFO: Retrieving Pricing Info for: v3-standard-8 04:47:43 INFO: Archiving Costs [Pipeline] echo 04:47:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:47:43 ---> logs-deploy.sh 04:47:43 lf-activate-venv: SKIPPING 04:47:43 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/5 04:47:43 INFO: archiving workspace using pattern(s): 04:47:44 Archives upload complete. 04:47:44 INFO: archiving logs to Nexus