Pull request #1144 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5+0ad629fb126a20093fbb85ee62bd441bcf21fc4e (29723418736e55889a5a2726932f80b8e5436f22) 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-ssh12477466818088374768.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-ssh8243915156595867830.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-ssh10958141194860293036.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-ssh5011326360186079768.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-ssh16927890199689182410.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-21801’ Running on prd-ubuntu20.04-docker-8c-8g-21803 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 0ad629fb126a20093fbb85ee62bd441bcf21fc4e into PR head commit 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 > 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 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # timeout=10 Merge succeeded, producing 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 Checking out Revision 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 (PR-1144) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 0ad629fb126a20093fbb85ee62bd441bcf21fc4e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # 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. > git rev-list --no-walk f48a0afc7bbbb2ffc5b8f0f74775da9a4fd15e2e # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:19:16 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:19:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:19:16 ========================================================= 16:19:16 EdgeX Global Pipelines Version Info 16:19:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:19:17 ------------------- 16:19:17 stable info: 16:19:17 ------------------- 16:19:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:19:17 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 16:19:17 Message: update stable to v1.0.221 16:19:17 ------------------- 16:19:17 experimental info: 16:19:17 ------------------- 16:19:17 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:19:17 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 16:19:17 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:19:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1144 [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1144 [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1144 [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5e296d6 [Pipeline] echo 16:19:18 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:19:18 provisioning config files... 16:19:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config5592059589666138911tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:18 ---> docker-login.sh 16:19:18 nexus3.edgexfoundry.org:10001 16:19:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:18 Configure a credential helper to remove this warning. See 16:19:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:18 16:19:18 Login Succeeded 16:19:18 nexus3.edgexfoundry.org:10002 16:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:19 Configure a credential helper to remove this warning. See 16:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:19 16:19:19 Login Succeeded 16:19:19 nexus3.edgexfoundry.org:10003 16:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:19 Configure a credential helper to remove this warning. See 16:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:19 16:19:19 Login Succeeded 16:19:19 nexus3.edgexfoundry.org:10004 16:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:19 Configure a credential helper to remove this warning. See 16:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:19 16:19:19 Login Succeeded 16:19:19 docker.io 16:19:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:19 Configure a credential helper to remove this warning. See 16:19:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:19 16:19:19 Login Succeeded 16:19:19 ---> docker-login.sh ends [Pipeline] } 16:19:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:19:20 + git rev-list -1 --merges 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5~1..5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] echo 16:19:20 -----------> git rev-list -1 --merges 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5~1..5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [false] [Pipeline] sh 16:19:20 + git log --format=format:%s -1 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] echo 16:19:20 ========================================================= 16:19:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:19:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:19:20 + git log --format=format:%s -1 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] echo 16:19:20 [semverPrep] GIT_COMMIT: 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5, Commit Message: build(deps): bump github.com/pelletier/go-toml from 1.9.4 to 1.9.5 [Pipeline] echo 16:19:20 [semverPrep] This is not a build commit. [Pipeline] sh 16:19:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:19:21 + grep -v github /etc/ssh/ssh_known_hosts 16:19:21 + [ -e /tmp/ssh_known_hosts ] 16:19:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:19:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:19:21 + sudo tee -a /etc/ssh/ssh_known_hosts 16:19:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 16:19:21 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:19:21 16:19:21 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 16:19:21 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:19:21 latest: Pulling from edgex-devops/git-semver 16:19:21 a0d0a0d46f8b: Pulling fs layer 16:19:21 3e5f54012d9b: Pulling fs layer 16:19:21 4c7163046ea9: Pulling fs layer 16:19:21 0c2d73faf560: Pulling fs layer 16:19:21 3e5f54012d9b: Download complete 16:19:21 a0d0a0d46f8b: Download complete 16:19:21 0c2d73faf560: Verifying Checksum 16:19:21 0c2d73faf560: Download complete 16:19:21 4c7163046ea9: Verifying Checksum 16:19:21 4c7163046ea9: Download complete 16:19:22 a0d0a0d46f8b: Pull complete 16:19:22 3e5f54012d9b: Pull complete 16:19:22 4c7163046ea9: Pull complete 16:19:22 0c2d73faf560: Pull complete 16:19:22 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 16:19:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 16:19:22 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 16:19:22 prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container 16:19:22 $ 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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 16:19:23 $ docker top c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:19:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:23 [ssh-agent] Looking for ssh-agent implementation... 16:19:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:23 $ docker exec c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 ssh-agent 16:19:23 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXEfGfkE/agent.13 16:19:23 SSH_AGENT_PID=19 16:19:23 Running ssh-add (command line suppressed) 16:19:24 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8505813606419191958.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_8505813606419191958.key) 16:19:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:24 + git tag --points-at HEAD [Pipeline] } 16:19:24 $ docker exec --env ******** --env ******** c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 ssh-agent -k 16:19:24 unset SSH_AUTH_SOCK; 16:19:24 unset SSH_AGENT_PID; 16:19:24 echo Agent pid 19 killed; 16:19:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:19:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:24 [ssh-agent] Looking for ssh-agent implementation... 16:19:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:24 $ docker exec c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 ssh-agent 16:19:24 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfnOOHg/agent.53 16:19:24 SSH_AGENT_PID=59 16:19:24 Running ssh-add (command line suppressed) 16:19:24 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5139096269614903158.key (/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/private_key_5139096269614903158.key) 16:19:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:25 + git semver init 16:19:25 # -> Open(): unable to determine branch for HEAD 16:19:25 # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.git 16:19:25 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1144 16:19:25 # $SEMVER_REMOTE_NAME = origin 16:19:25 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 16:19:25 # $SEMVER_USER_NAME = edgex-jenkins 16:19:25 # $SEMVER_BRANCH = PR-1144 16:19:25 # $SEMVER_TEMP = /tmp/semver-023015293 16:19:25 # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP 16:19:26 # '/tmp/semver-023015293' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver' 16:19:26 # -> Force: false 16:19:26 # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1144/.semver [Pipeline] } 16:19:26 $ docker exec --env ******** --env ******** c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 ssh-agent -k 16:19:26 unset SSH_AUTH_SOCK; 16:19:26 unset SSH_AGENT_PID; 16:19:26 echo Agent pid 59 killed; 16:19:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:19:26 + git semver [Pipeline] } 16:19:26 $ docker stop --time=1 c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 16:19:28 $ docker rm -f c18c4036d70d64608fdc323edf12d4d28c114cd9247243948eab4d589e52dc58 [Pipeline] // withDockerContainer [Pipeline] sh 16:19:28 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:19:28 Stashed 1 file(s) [Pipeline] echo 16:19:28 [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 16:19:28 provisioning config files... 16:19:28 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config1650924582931236941tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:19:29 ---> docker-login.sh 16:19:29 nexus3.edgexfoundry.org:10001 16:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:29 Configure a credential helper to remove this warning. See 16:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:29 16:19:29 Login Succeeded 16:19:29 nexus3.edgexfoundry.org:10002 16:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:29 Configure a credential helper to remove this warning. See 16:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:29 16:19:29 Login Succeeded 16:19:29 nexus3.edgexfoundry.org:10003 16:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:29 Configure a credential helper to remove this warning. See 16:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:29 16:19:29 Login Succeeded 16:19:29 nexus3.edgexfoundry.org:10004 16:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:29 Configure a credential helper to remove this warning. See 16:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:29 16:19:29 Login Succeeded 16:19:29 docker.io 16:19:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:19:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:19:29 Configure a credential helper to remove this warning. See 16:19:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:19:29 16:19:29 Login Succeeded 16:19:29 ---> docker-login.sh ends [Pipeline] } 16:19:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:19:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:19:29 ========================================================= 16:19:29 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 16:19:29 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:19:30 + 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 . 16:19:30 Sending build context to Docker daemon 9.585MB 16:19:30 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:19:30 Step 2/11 : FROM ${BASE} AS builder 16:19:30 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 16:19:30 59bf1c3509f3: Pulling fs layer 16:19:30 666ba61612fd: Pulling fs layer 16:19:30 8ed8ca486205: Pulling fs layer 16:19:30 4fe6c5a15a65: Pulling fs layer 16:19:30 22a0e8bec74d: Pulling fs layer 16:19:30 ca2b28591e48: Pulling fs layer 16:19:30 a51346096db8: Pulling fs layer 16:19:30 daebc70d1ce1: Pulling fs layer 16:19:30 0e18a0eac166: Pulling fs layer 16:19:30 4fe6c5a15a65: Waiting 16:19:30 a51346096db8: Waiting 16:19:30 daebc70d1ce1: Waiting 16:19:30 0e18a0eac166: Waiting 16:19:30 22a0e8bec74d: Waiting 16:19:30 ca2b28591e48: Waiting 16:19:30 8ed8ca486205: Verifying Checksum 16:19:30 8ed8ca486205: Download complete 16:19:30 666ba61612fd: Download complete 16:19:30 22a0e8bec74d: Verifying Checksum 16:19:30 22a0e8bec74d: Download complete 16:19:30 ca2b28591e48: Download complete 16:19:30 59bf1c3509f3: Verifying Checksum 16:19:30 a51346096db8: Verifying Checksum 16:19:30 a51346096db8: Download complete 16:19:30 daebc70d1ce1: Verifying Checksum 16:19:30 daebc70d1ce1: Download complete 16:19:30 59bf1c3509f3: Pull complete 16:19:30 666ba61612fd: Pull complete 16:19:30 8ed8ca486205: Pull complete 16:19:31 0e18a0eac166: Verifying Checksum 16:19:31 0e18a0eac166: Download complete 16:19:31 4fe6c5a15a65: Download complete 16:19:34 4fe6c5a15a65: Pull complete 16:19:34 22a0e8bec74d: Pull complete 16:19:34 ca2b28591e48: Pull complete 16:19:34 a51346096db8: Pull complete 16:19:34 daebc70d1ce1: Pull complete 16:19:37 0e18a0eac166: Pull complete 16:19:37 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 16:19:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 16:19:37 ---> f018257e8ee9 16:19:37 Step 3/11 : ARG MAKE=make build 16:19:38 ---> Running in 4a0fdd6951d2 16:19:38 Removing intermediate container 4a0fdd6951d2 16:19:38 ---> 96244ec27dbe 16:19:38 Step 4/11 : WORKDIR /device-sdk-go 16:19:38 ---> Running in f6d4904e51a2 16:19:38 Removing intermediate container f6d4904e51a2 16:19:38 ---> a92223679905 16:19:38 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:19:39 ---> Running in d6dbb2f90359 16:19:39 Removing intermediate container d6dbb2f90359 16:19:39 ---> 61afbbaaba10 16:19:39 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:19:39 ---> Running in 7320eb21189c 16:19:39 Removing intermediate container 7320eb21189c 16:19:39 ---> 27b86016f36c 16:19:39 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:19:39 ---> Running in 2de652b3ddea 16:19:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:19:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:19:41 OK: 221 MiB in 52 packages 16:19:41 Removing intermediate container 2de652b3ddea 16:19:41 ---> e82b8c8ad69f 16:19:41 Step 8/11 : COPY go.mod vendor* ./ 16:19:41 ---> 907f897072d1 16:19:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:19:41 ---> Running in e9d13daf1b5b 16:19:43 Still waiting to schedule task 16:19:43 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-21802’ 16:19:56 Removing intermediate container e9d13daf1b5b 16:19:56 ---> 5d62143f130d 16:19:56 Step 10/11 : COPY . . 16:19:56 ---> 9e769a108a0d 16:19:56 Step 11/11 : RUN ${MAKE} 16:19:56 ---> Running in 923fd785e7ed 16:19:56 noop 16:19:56 Removing intermediate container 923fd785e7ed 16:19:56 ---> 69768d5e108d 16:19:56 Successfully built 69768d5e108d 16:19:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 16:19:56 + docker inspect -f . ci-base-image-x86_64 16:19:56 . [Pipeline] withDockerContainer 16:19:56 prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container 16:19:56 $ 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 ******** ci-base-image-x86_64 cat 16:19:57 $ docker top 455062a35fdccc3e1333e41b964bd321d95088219cd3a29925eaa0ebe95f7ef7 -eo pid,comm [Pipeline] { [Pipeline] sh 16:19:57 + go version 16:19:57 go version go1.17.6 linux/amd64 [Pipeline] } 16:19:57 $ docker stop --time=1 455062a35fdccc3e1333e41b964bd321d95088219cd3a29925eaa0ebe95f7ef7 16:19:59 $ docker rm -f 455062a35fdccc3e1333e41b964bd321d95088219cd3a29925eaa0ebe95f7ef7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:19:59 + docker inspect -f . ci-base-image-x86_64 16:19:59 . [Pipeline] withDockerContainer 16:19:59 prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container 16:19:59 $ 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 ******** ci-base-image-x86_64 cat 16:19:59 $ docker top 0488f653103836c79ccda1b8c863c791f4864b36e5f312c7efb65d241c09129a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:20:00 + make test 16:20:00 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:20:05 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:20:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.079s coverage: 23.3% of statements 16:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:20:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.070s coverage: 27.6% of statements 16:20:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.072s coverage: 78.9% of statements 16:20:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.056s coverage: 10.8% of statements 16:20:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.084s coverage: 60.0% of statements 16:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:20:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.094s coverage: 34.8% of statements 16:20:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:20:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.061s coverage: 86.1% of statements 16:20:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:20:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:20:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.086s coverage: 65.1% of statements 16:20:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.725s coverage: 89.2% of statements 16:20:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:20:18 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.058s coverage: 4.7% of statements 16:20:18 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:20:33 GO111MODULE=on go vet ./... 16:20:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:20:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:20:35 ./bin/test-attribution-txt.sh [Pipeline] echo 16:20:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:20:36 $ docker stop --time=1 0488f653103836c79ccda1b8c863c791f4864b36e5f312c7efb65d241c09129a 16:20:38 $ docker rm -f 0488f653103836c79ccda1b8c863c791f4864b36e5f312c7efb65d241c09129a [Pipeline] // withDockerContainer [Pipeline] sh 16:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:40 + ls -al . 16:20:40 total 316 16:20:40 drwxrwxr-x 11 jenkins jenkins 4096 Apr 22 16:20 . 16:20:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:19 .. 16:20:40 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 16:19 .dockerignore 16:20:40 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 16:19 .git 16:20:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:19 .github 16:20:40 -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 16:19 .gitignore 16:20:40 -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 16:19 .golangci.yml 16:20:40 drwx------ 3 jenkins jenkins 4096 Apr 22 16:19 .semver 16:20:40 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 16:19 CHANGELOG.md 16:20:40 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 16:19 GOVERNANCE.md 16:20:40 -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 16:19 Jenkinsfile 16:20:40 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 16:19 LICENSE 16:20:40 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 16:19 Makefile 16:20:40 -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 16:19 OWNERS.md 16:20:40 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 16:19 README.md 16:20:40 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 16:19 VERSION 16:20:40 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:19 bin 16:20:40 -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 16:20 coverage.out 16:20:40 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:19 example 16:20:40 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 16:19 go.mod 16:20:40 -rw-rw-r-- 1 jenkins jenkins 53967 Apr 22 16:19 go.sum 16:20:40 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 16:19 internal 16:20:40 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 16:19 openapi 16:20:40 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:19 pkg 16:20:40 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:19 snap 16:20:40 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 16:19 version.go [Pipeline] isUnix [Pipeline] sh 16:20:40 + 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=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 --label arch=amd64 --label version=0.0.0 . 16:20:40 Sending build context to Docker daemon 9.717MB 16:20:40 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:20:40 Step 2/25 : FROM ${BASE} AS builder 16:20:40 ---> 69768d5e108d 16:20:40 Step 3/25 : ARG MAKE=make build 16:20:40 ---> Running in bc9350f83644 16:20:40 Removing intermediate container bc9350f83644 16:20:40 ---> 69b63e3474a9 16:20:40 Step 4/25 : WORKDIR /device-sdk-go 16:20:40 ---> Running in 0e4573416bd2 16:20:40 Removing intermediate container 0e4573416bd2 16:20:40 ---> 5b3b4d0e60e6 16:20:40 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:20:41 ---> Running in ced3601e7023 16:20:41 Removing intermediate container ced3601e7023 16:20:41 ---> 53a962b61c07 16:20:41 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:20:41 ---> Running in 09b2124a94ef 16:20:41 Removing intermediate container 09b2124a94ef 16:20:41 ---> 4da1eb08c29a 16:20:41 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:20:41 ---> Running in b3ac13d310c9 16:20:41 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 16:20:42 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 16:20:43 OK: 221 MiB in 52 packages 16:20:43 Removing intermediate container b3ac13d310c9 16:20:43 ---> 67355e92663b 16:20:43 Step 8/25 : COPY go.mod vendor* ./ 16:20:43 ---> 0c41bc8358c2 16:20:43 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:43 ---> Running in e3dd1a867f58 16:20:44 Removing intermediate container e3dd1a867f58 16:20:44 ---> 1ae28a443366 16:20:44 Step 10/25 : COPY . . 16:20:44 ---> 099a2733f6e1 16:20:44 Step 11/25 : RUN ${MAKE} 16:20:44 ---> Running in 1f5306f0ccbf 16:20:44 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 16:21:03 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:21:03 Removing intermediate container 1f5306f0ccbf 16:21:03 ---> 66187aed662f 16:21:03 Step 12/25 : FROM alpine:3.14 16:21:03 3.14: Pulling from library/alpine 16:21:03 8663204ce13b: Pulling fs layer 16:21:04 8663204ce13b: Verifying Checksum 16:21:04 8663204ce13b: Download complete 16:21:04 8663204ce13b: Pull complete 16:21:04 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:21:04 Status: Downloaded newer image for alpine:3.14 16:21:04 ---> e04c818066af 16:21:04 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:21:04 ---> Running in f2489bd93dea 16:21:04 Removing intermediate container f2489bd93dea 16:21:04 ---> 5d9c5c835b4b 16:21:04 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:21:04 ---> Running in a5c8d8a78b8c 16:21:05 Removing intermediate container a5c8d8a78b8c 16:21:05 ---> 4900be094fd8 16:21:05 Step 15/25 : RUN apk add --update --no-cache zeromq 16:21:05 ---> Running in 51ce76a1ee22 16:21:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 16:21:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 16:21:06 (1/5) Installing libgcc (10.3.1_git20210424-r2) 16:21:06 (2/5) Installing libsodium (1.0.18-r0) 16:21:06 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 16:21:06 (4/5) Installing libzmq (4.3.4-r0) 16:21:06 (5/5) Installing zeromq (4.3.4-r0) 16:21:06 Executing busybox-1.33.1-r7.trigger 16:21:06 OK: 8 MiB in 19 packages 16:21:07 Removing intermediate container 51ce76a1ee22 16:21:07 ---> 26324611251b 16:21:07 Step 16/25 : WORKDIR / 16:21:07 ---> Running in c71b9ea1d9c8 16:21:07 Removing intermediate container c71b9ea1d9c8 16:21:07 ---> ada30f6b7514 16:21:07 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:21:07 ---> e1624c8b9de3 16:21:07 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:21:08 ---> 8529c342fd8f 16:21:08 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:21:08 ---> e7fb53259970 16:21:08 Step 20/25 : EXPOSE 59999 16:21:08 ---> Running in 0c3bb43af0c8 16:21:08 Removing intermediate container 0c3bb43af0c8 16:21:08 ---> 7f98915a4019 16:21:08 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:21:08 ---> Running in 53cab395a476 16:21:08 Removing intermediate container 53cab395a476 16:21:08 ---> 896e6e51ad54 16:21:08 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:21:08 ---> Running in 37ae8dd05b82 16:21:08 Removing intermediate container 37ae8dd05b82 16:21:08 ---> 0eb412cf0dcf 16:21:08 Step 23/25 : LABEL arch=amd64 16:21:08 ---> Running in b90fa0e7f769 16:21:08 Removing intermediate container b90fa0e7f769 16:21:08 ---> 18b50f0793ca 16:21:08 Step 24/25 : LABEL git_sha=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 16:21:09 ---> Running in ff1f5fa39951 16:21:09 Removing intermediate container ff1f5fa39951 16:21:09 ---> ac0411cf8dcb 16:21:09 Step 25/25 : LABEL version=0.0.0 16:21:09 ---> Running in 13a0071f6b0c 16:21:09 Removing intermediate container 13a0071f6b0c 16:21:09 ---> 37e36015a84d 16:21:09 [Warning] One or more build-args [ARCH] were not consumed 16:21:09 Successfully built 37e36015a84d 16:21:09 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 16:21:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:09 16:21:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 16:21:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:09 latest: Pulling from edgex-lftools-log-publisher 16:21:09 5eb5b503b376: Pulling fs layer 16:21:09 5c69ac0246d0: Pulling fs layer 16:21:09 ec43610c2a17: Pulling fs layer 16:21:09 3a2ae6a8a46f: Pulling fs layer 16:21:09 33b1e0a273af: Pulling fs layer 16:21:09 5d3b04190fa2: Pulling fs layer 16:21:09 2f39f015ded8: Pulling fs layer 16:21:09 3a2ae6a8a46f: Waiting 16:21:09 33b1e0a273af: Waiting 16:21:09 5d3b04190fa2: Waiting 16:21:09 2f39f015ded8: Waiting 16:21:09 5c69ac0246d0: Verifying Checksum 16:21:09 5c69ac0246d0: Download complete 16:21:09 3a2ae6a8a46f: Verifying Checksum 16:21:09 3a2ae6a8a46f: Download complete 16:21:09 33b1e0a273af: Verifying Checksum 16:21:09 33b1e0a273af: Download complete 16:21:09 5d3b04190fa2: Verifying Checksum 16:21:09 5d3b04190fa2: Download complete 16:21:09 ec43610c2a17: Verifying Checksum 16:21:09 ec43610c2a17: Download complete 16:21:10 5eb5b503b376: Verifying Checksum 16:21:10 5eb5b503b376: Download complete 16:21:10 2f39f015ded8: Download complete 16:21:11 5eb5b503b376: Pull complete 16:21:11 5c69ac0246d0: Pull complete 16:21:11 ec43610c2a17: Pull complete 16:21:11 3a2ae6a8a46f: Pull complete 16:21:12 33b1e0a273af: Pull complete 16:21:12 5d3b04190fa2: Pull complete 16:21:16 2f39f015ded8: Pull complete 16:21:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:21:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:21:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 16:21:16 prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container 16:21:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 16:21:18 $ docker top 33ce93556ac742483b27a8c615bc6b28eedc73f4f59eab273b1667c2bc2c3dd0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:21:18 ---> job-cost.sh 16:21:18 lf-activate-venv: SKIPPING 16:21:18 INFO: No Stack... 16:21:19 INFO: Retrieving Pricing Info for: v3-standard-8 16:21:19 INFO: Archiving Costs [Pipeline] sh 16:21:19 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/cost.csv 16:21:19 + cut -d, -f6 [Pipeline] lock 16:21:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] 16:21:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] did not exist. Created. 16:21:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:21:19 + echo total: 0.2199999988079071 [Pipeline] stash 16:21:19 Stashed 1 file(s) [Pipeline] } 16:21:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:21:20 $ docker stop --time=1 33ce93556ac742483b27a8c615bc6b28eedc73f4f59eab273b1667c2bc2c3dd0 16:21:21 $ docker rm -f 33ce93556ac742483b27a8c615bc6b28eedc73f4f59eab273b1667c2bc2c3dd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:22:42 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21804 in /w/workspace/gexfoundry_device-sdk-go_PR-1144 [Pipeline] { [Pipeline] ws 16:22:42 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 16:22:42 The recommended git tool is: git 16:22:49 using credential edgex-jenkins-ssh 16:22:49 Cloning the remote Git repository 16:22:49 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:22:49 > git init /w/workspace/device-sdk-go/2 # timeout=10 16:22:49 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:22:49 > git --version # timeout=10 16:22:50 > git --version # 'git version 2.25.1' 16:22:50 using GIT_SSH to set credentials SSH Credentials for GitHub 16:22:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:22:52 Merging remotes/origin/main commit 0ad629fb126a20093fbb85ee62bd441bcf21fc4e into PR head commit 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 16:22:52 Merge succeeded, producing 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 16:22:52 Checking out Revision 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 (PR-1144) 16:22:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:22:51 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:22:51 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:22:51 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:22:51 using GIT_SSH to set credentials SSH Credentials for GitHub 16:22:51 > 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 16:22:52 > git config core.sparsecheckout # timeout=10 16:22:52 > git checkout -f 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # timeout=10 16:22:52 > git remote # timeout=10 16:22:52 > git config --get remote.origin.url # timeout=10 16:22:52 using GIT_SSH to set credentials SSH Credentials for GitHub 16:22:52 > git merge 0ad629fb126a20093fbb85ee62bd441bcf21fc4e # timeout=10 16:22:52 > git rev-parse HEAD^{commit} # timeout=10 16:22:52 > git config core.sparsecheckout # timeout=10 16:22:52 > git checkout -f 5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 # timeout=10 16:22:57 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 16:22:58 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:22:58 % Total % Received % Xferd Average Speed Time Time Time Current 16:22:58 Dload Upload Total Spent Left Speed 16:22:58 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 206k 0 --:--:-- --:--:-- --:--:-- 206k [Pipeline] sh 16:22:58 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:22:58 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:22:58 + sudo tee /etc/docker/daemon.new 16:22:58 { 16:22:58 "registry-mirrors": [ 16:22:58 "https://nexus3.edgexfoundry.org:10001" 16:22:58 ], 16:22:58 "bip": "10.250.0.254/24", 16:22:58 "hosts": [ 16:22:58 "tcp://0.0.0.0:5555", 16:22:58 "unix:///var/run/docker.sock" 16:22:58 ], 16:22:58 "mtu": 1458, 16:22:58 "selinux-enabled": true, 16:22:58 "seccomp-profile": "/etc/docker/seccomp.json" 16:22:58 } [Pipeline] sh 16:22:59 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:22:59 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:23:18 provisioning config files... 16:23:18 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config336596059270452863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:18 ---> docker-login.sh 16:23:18 nexus3.edgexfoundry.org:10001 16:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:19 Configure a credential helper to remove this warning. See 16:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:19 16:23:19 Login Succeeded 16:23:19 nexus3.edgexfoundry.org:10002 16:23:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:19 Configure a credential helper to remove this warning. See 16:23:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:19 16:23:19 Login Succeeded 16:23:19 nexus3.edgexfoundry.org:10003 16:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:20 Configure a credential helper to remove this warning. See 16:23:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:20 16:23:20 Login Succeeded 16:23:20 nexus3.edgexfoundry.org:10004 16:23:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:21 Configure a credential helper to remove this warning. See 16:23:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:21 16:23:21 Login Succeeded 16:23:21 docker.io 16:23:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:22 Configure a credential helper to remove this warning. See 16:23:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:22 16:23:22 Login Succeeded 16:23:22 ---> docker-login.sh ends [Pipeline] } 16:23:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:23:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:23:22 ========================================================= 16:23:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 16:23:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 16:23:22 + 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 . 16:23:23 Sending build context to Docker daemon 5.197MB 16:23:23 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 16:23:23 Step 2/11 : FROM ${BASE} AS builder 16:23:23 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:23:23 9b3977197b4f: Pulling fs layer 16:23:23 1a89e8eeedd5: Pulling fs layer 16:23:23 94645a83ff95: Pulling fs layer 16:23:23 3f3a8bcf1eab: Pulling fs layer 16:23:23 0c92f367c5e7: Pulling fs layer 16:23:23 3096ccb668a1: Pulling fs layer 16:23:23 e8cf19c19ddd: Pulling fs layer 16:23:23 a4caa8a26152: Pulling fs layer 16:23:23 3f3a8bcf1eab: Waiting 16:23:23 0c92f367c5e7: Waiting 16:23:23 3096ccb668a1: Waiting 16:23:23 e8cf19c19ddd: Waiting 16:23:23 a4caa8a26152: Waiting 16:23:23 94645a83ff95: Verifying Checksum 16:23:23 1a89e8eeedd5: Verifying Checksum 16:23:23 94645a83ff95: Download complete 16:23:23 1a89e8eeedd5: Download complete 16:23:23 0c92f367c5e7: Verifying Checksum 16:23:23 0c92f367c5e7: Download complete 16:23:23 3096ccb668a1: Verifying Checksum 16:23:23 3096ccb668a1: Download complete 16:23:23 9b3977197b4f: Verifying Checksum 16:23:23 9b3977197b4f: Download complete 16:23:23 e8cf19c19ddd: Verifying Checksum 16:23:23 e8cf19c19ddd: Download complete 16:23:24 9b3977197b4f: Pull complete 16:23:25 1a89e8eeedd5: Pull complete 16:23:25 94645a83ff95: Pull complete 16:23:25 a4caa8a26152: Verifying Checksum 16:23:25 a4caa8a26152: Download complete 16:23:26 3f3a8bcf1eab: Verifying Checksum 16:23:26 3f3a8bcf1eab: Download complete 16:23:38 3f3a8bcf1eab: Pull complete 16:23:38 0c92f367c5e7: Pull complete 16:23:38 3096ccb668a1: Pull complete 16:23:39 e8cf19c19ddd: Pull complete 16:23:45 a4caa8a26152: Pull complete 16:23:45 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 16:23:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 16:23:45 ---> 725f1c02e7f9 16:23:45 Step 3/11 : ARG MAKE=make build 16:23:46 ---> Running in f2e582b1b60f 16:23:46 Removing intermediate container f2e582b1b60f 16:23:46 ---> 9a027d27a373 16:23:46 Step 4/11 : WORKDIR /device-sdk-go 16:23:46 ---> Running in 66a6cf5c1f5b 16:23:47 Removing intermediate container 66a6cf5c1f5b 16:23:47 ---> 56cfe127ad28 16:23:47 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:23:47 ---> Running in 2176d9feae75 16:23:47 Removing intermediate container 2176d9feae75 16:23:47 ---> c5beb3b7bfa1 16:23:47 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:23:47 ---> Running in 382e4dbfb3b9 16:23:49 Removing intermediate container 382e4dbfb3b9 16:23:49 ---> f338425c5758 16:23:49 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:23:49 ---> Running in 6adc332dd401 16:23:50 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:23:51 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:23:52 OK: 220 MiB in 52 packages 16:23:53 Removing intermediate container 6adc332dd401 16:23:53 ---> 14734e1bb3be 16:23:53 Step 8/11 : COPY go.mod vendor* ./ 16:23:53 ---> c6274257767a 16:23:53 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:23:54 ---> Running in ca95d24d2de0 16:24:41 Removing intermediate container ca95d24d2de0 16:24:41 ---> cb5dc8aa4975 16:24:41 Step 10/11 : COPY . . 16:24:41 ---> 487d7f6f1066 16:24:41 Step 11/11 : RUN ${MAKE} 16:24:41 ---> Running in b05336d2896c 16:24:41 noop 16:24:41 Removing intermediate container b05336d2896c 16:24:41 ---> 49ab7599fba0 16:24:41 Successfully built 49ab7599fba0 16:24:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 16:24:42 + docker inspect -f . ci-base-image-arm64 16:24:42 . [Pipeline] withDockerContainer 16:24:42 prd-ubuntu20.04-docker-arm64-4c-16g-21804 does not seem to be running inside a container 16:24:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:24:43 $ docker top df0d1eda7efa80d545473b131abaa1907e82e8c730c6b34be09bcce557b8f449 -eo pid,comm [Pipeline] { [Pipeline] sh 16:24:44 + go version 16:24:44 go version go1.17.6 linux/arm64 [Pipeline] } 16:24:44 $ docker stop --time=1 df0d1eda7efa80d545473b131abaa1907e82e8c730c6b34be09bcce557b8f449 16:24:46 $ docker rm -f df0d1eda7efa80d545473b131abaa1907e82e8c730c6b34be09bcce557b8f449 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 16:24:46 + docker inspect -f . ci-base-image-arm64 16:24:46 . [Pipeline] withDockerContainer 16:24:47 prd-ubuntu20.04-docker-arm64-4c-16g-21804 does not seem to be running inside a container 16:24:47 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:24:48 $ docker top 6b7be2408262a0a6718b1d94fbf6e65b5deb9fdf07e42e345efc37d77202cb2d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 16:24:49 + make test 16:24:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 16:25:21 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 16:27:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 16:27:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 16:27:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 16:27:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.372s coverage: 23.3% of statements 16:27:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 16:27:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.275s coverage: 27.6% of statements 16:27:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.335s coverage: 78.9% of statements 16:27:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.303s coverage: 10.8% of statements 16:27:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.399s coverage: 60.0% of statements 16:27:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 16:27:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 16:27:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.438s coverage: 34.8% of statements 16:27:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 16:27:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.266s coverage: 86.1% of statements 16:27:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 16:27:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 16:27:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.525s coverage: 65.1% of statements 16:27:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.292s coverage: 89.2% of statements 16:27:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 16:27:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.239s coverage: 4.7% of statements 16:27:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 16:27:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:27:24 GO111MODULE=on go vet ./... 16:29:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:29:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:29:01 ./bin/test-attribution-txt.sh [Pipeline] echo 16:29:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:29:01 $ docker stop --time=1 6b7be2408262a0a6718b1d94fbf6e65b5deb9fdf07e42e345efc37d77202cb2d 16:29:03 $ docker rm -f 6b7be2408262a0a6718b1d94fbf6e65b5deb9fdf07e42e345efc37d77202cb2d [Pipeline] // withDockerContainer [Pipeline] sh 16:29:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:29:04 Warning: overwriting stash ‘coverage-report’ 16:29:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:29:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:29:06 + ls -al . 16:29:06 total 312 16:29:06 drwxrwxr-x 10 jenkins jenkins 4096 Apr 22 16:28 . 16:29:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:22 .. 16:29:06 -rw-rw-r-- 1 jenkins jenkins 140 Apr 22 16:22 .dockerignore 16:29:06 drwxrwxr-x 8 jenkins jenkins 4096 Apr 22 16:22 .git 16:29:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:22 .github 16:29:06 -rw-rw-r-- 1 jenkins jenkins 131 Apr 22 16:22 .gitignore 16:29:06 -rw-rw-r-- 1 jenkins jenkins 42 Apr 22 16:22 .golangci.yml 16:29:06 -rw-rw-r-- 1 jenkins jenkins 26321 Apr 22 16:22 CHANGELOG.md 16:29:06 -rw-rw-r-- 1 jenkins jenkins 677 Apr 22 16:22 GOVERNANCE.md 16:29:06 -rw-rw-r-- 1 jenkins jenkins 880 Apr 22 16:22 Jenkinsfile 16:29:06 -rw-rw-r-- 1 jenkins jenkins 11341 Apr 22 16:22 LICENSE 16:29:06 -rw-rw-r-- 1 jenkins jenkins 2015 Apr 22 16:22 Makefile 16:29:06 -rw-rw-r-- 1 jenkins jenkins 619 Apr 22 16:22 OWNERS.md 16:29:06 -rw-rw-r-- 1 jenkins jenkins 4881 Apr 22 16:22 README.md 16:29:06 -rw-rw-r-- 1 jenkins jenkins 5 Apr 22 16:19 VERSION 16:29:06 drwxrwxr-x 2 jenkins jenkins 4096 Apr 22 16:22 bin 16:29:06 -rw-r--r-- 1 jenkins jenkins 130819 Apr 22 16:27 coverage.out 16:29:06 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:22 example 16:29:06 -rw-rw-r-- 1 jenkins jenkins 3198 Apr 22 16:22 go.mod 16:29:06 -rw-rw-r-- 1 jenkins jenkins 53967 Apr 22 16:22 go.sum 16:29:06 drwxrwxr-x 15 jenkins jenkins 4096 Apr 22 16:22 internal 16:29:06 drwxrwxr-x 3 jenkins jenkins 4096 Apr 22 16:22 openapi 16:29:06 drwxrwxr-x 5 jenkins jenkins 4096 Apr 22 16:22 pkg 16:29:06 drwxrwxr-x 4 jenkins jenkins 4096 Apr 22 16:22 snap 16:29:06 -rw-rw-r-- 1 jenkins jenkins 222 Apr 22 16:22 version.go [Pipeline] isUnix [Pipeline] sh 16:29:06 + 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=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 --label arch=arm64 --label version=0.0.0 . 16:29:07 Sending build context to Docker daemon 5.328MB 16:29:07 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 16:29:07 Step 2/25 : FROM ${BASE} AS builder 16:29:07 ---> 49ab7599fba0 16:29:07 Step 3/25 : ARG MAKE=make build 16:29:07 ---> Running in 0e9abc8b5e0f 16:29:07 Removing intermediate container 0e9abc8b5e0f 16:29:07 ---> 0cacd922deb4 16:29:07 Step 4/25 : WORKDIR /device-sdk-go 16:29:07 ---> Running in 45f7319078bc 16:29:07 Removing intermediate container 45f7319078bc 16:29:07 ---> a1a3ff594b5e 16:29:07 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:29:07 ---> Running in c294f3496e59 16:29:08 Removing intermediate container c294f3496e59 16:29:08 ---> 457de9fcdcad 16:29:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:29:08 ---> Running in ee8125e2b041 16:29:10 Removing intermediate container ee8125e2b041 16:29:10 ---> 8324e5dc4096 16:29:10 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 16:29:10 ---> Running in 514bf7eeb9a3 16:29:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 16:29:11 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 16:29:12 OK: 220 MiB in 52 packages 16:29:13 Removing intermediate container 514bf7eeb9a3 16:29:13 ---> cb777a13608f 16:29:13 Step 8/25 : COPY go.mod vendor* ./ 16:29:13 ---> 18df9e19d572 16:29:13 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:29:13 ---> Running in 03b434df7ce3 16:29:15 Removing intermediate container 03b434df7ce3 16:29:15 ---> 3752563f4161 16:29:15 Step 10/25 : COPY . . 16:29:17 ---> 55d9ac1f7c4d 16:29:17 Step 11/25 : RUN ${MAKE} 16:29:17 ---> Running in b31687ee417c 16:29:18 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 16:31:10 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 16:31:12 Removing intermediate container b31687ee417c 16:31:12 ---> a58d956ef768 16:31:12 Step 12/25 : FROM alpine:3.14 16:31:12 3.14: Pulling from library/alpine 16:31:13 455c02918c45: Pulling fs layer 16:31:13 455c02918c45: Verifying Checksum 16:31:13 455c02918c45: Download complete 16:31:13 455c02918c45: Pull complete 16:31:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 16:31:13 Status: Downloaded newer image for alpine:3.14 16:31:13 ---> ac73e934f311 16:31:13 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 16:31:13 ---> Running in f3beb728a4b2 16:31:14 Removing intermediate container f3beb728a4b2 16:31:14 ---> b522816e6457 16:31:14 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 16:31:14 ---> Running in 90fc4c782fca 16:31:15 Removing intermediate container 90fc4c782fca 16:31:15 ---> d6cb7bd8b8a4 16:31:15 Step 15/25 : RUN apk add --update --no-cache zeromq 16:31:15 ---> Running in 2306112c23fc 16:31:16 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 16:31:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 16:31:18 (1/5) Installing libgcc (10.3.1_git20210424-r2) 16:31:18 (2/5) Installing libsodium (1.0.18-r0) 16:31:18 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 16:31:19 (4/5) Installing libzmq (4.3.4-r0) 16:31:19 (5/5) Installing zeromq (4.3.4-r0) 16:31:19 Executing busybox-1.33.1-r7.trigger 16:31:19 OK: 8 MiB in 19 packages 16:31:20 Removing intermediate container 2306112c23fc 16:31:20 ---> f0c8b5056e5b 16:31:20 Step 16/25 : WORKDIR / 16:31:20 ---> Running in 59a3c10f9a99 16:31:20 Removing intermediate container 59a3c10f9a99 16:31:20 ---> 9527679f0e84 16:31:20 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:31:20 ---> b1aab7918b15 16:31:20 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:31:22 ---> 1cd3bf9c9b45 16:31:22 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:31:23 ---> ff07713a2ca8 16:31:23 Step 20/25 : EXPOSE 59999 16:31:23 ---> Running in 2b8f49d4193f 16:31:23 Removing intermediate container 2b8f49d4193f 16:31:23 ---> e6c518bf5fc8 16:31:23 Step 21/25 : ENTRYPOINT ["/device-simple"] 16:31:23 ---> Running in 4034929d96fc 16:31:24 Removing intermediate container 4034929d96fc 16:31:24 ---> c57b04726b35 16:31:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 16:31:24 ---> Running in 972b4da6b1c6 16:31:24 Removing intermediate container 972b4da6b1c6 16:31:24 ---> 942b4324ed35 16:31:24 Step 23/25 : LABEL arch=arm64 16:31:24 ---> Running in 06cff0039c69 16:31:24 Removing intermediate container 06cff0039c69 16:31:24 ---> d4ee40b9d0c8 16:31:24 Step 24/25 : LABEL git_sha=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 16:31:24 ---> Running in 6b02e362497e 16:31:24 Removing intermediate container 6b02e362497e 16:31:24 ---> 6abcec64272d 16:31:24 Step 25/25 : LABEL version=0.0.0 16:31:25 ---> Running in dae3d1542d62 16:31:25 Removing intermediate container dae3d1542d62 16:31:25 ---> 6a43620ceb74 16:31:25 [Warning] One or more build-args [ARCH] were not consumed 16:31:25 Successfully built 6a43620ceb74 16:31:25 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 16:31:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:25 16:31:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 16:31:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:26 arm64: Pulling from edgex-lftools-log-publisher 16:31:26 8998bd30e6a1: Pulling fs layer 16:31:26 04944245beec: Pulling fs layer 16:31:26 699f458cf7ca: Pulling fs layer 16:31:26 765212b225bb: Pulling fs layer 16:31:26 f23df028b6ca: Pulling fs layer 16:31:26 d65c8cfc05b1: Pulling fs layer 16:31:26 2437ff75d9bd: Pulling fs layer 16:31:26 765212b225bb: Waiting 16:31:26 f23df028b6ca: Waiting 16:31:26 d65c8cfc05b1: Waiting 16:31:26 2437ff75d9bd: Waiting 16:31:26 04944245beec: Download complete 16:31:26 765212b225bb: Download complete 16:31:26 f23df028b6ca: Download complete 16:31:26 d65c8cfc05b1: Verifying Checksum 16:31:26 d65c8cfc05b1: Download complete 16:31:26 699f458cf7ca: Verifying Checksum 16:31:26 699f458cf7ca: Download complete 16:31:27 8998bd30e6a1: Verifying Checksum 16:31:27 8998bd30e6a1: Download complete 16:31:29 2437ff75d9bd: Verifying Checksum 16:31:29 2437ff75d9bd: Download complete 16:31:31 8998bd30e6a1: Pull complete 16:31:31 04944245beec: Pull complete 16:31:33 699f458cf7ca: Pull complete 16:31:33 765212b225bb: Pull complete 16:31:34 f23df028b6ca: Pull complete 16:31:34 d65c8cfc05b1: Pull complete 16:31:49 2437ff75d9bd: Pull complete 16:31:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:31:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:31:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 16:31:50 prd-ubuntu20.04-docker-arm64-4c-16g-21804 does not seem to be running inside a container 16:31:50 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:31:52 $ docker top 8b3a88b5ac50e970b5b871d2685addea02bf2b8af7994e67507fe8b28c669edf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:31:53 ---> job-cost.sh 16:31:53 lf-activate-venv: SKIPPING 16:31:53 INFO: No Stack... 16:31:54 INFO: Retrieving Pricing Info for: v3-standard-4 16:31:55 INFO: Archiving Costs [Pipeline] sh 16:31:55 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 16:31:55 + cut -d, -f6 [Pipeline] lock 16:31:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] 16:31:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] did not exist. Created. 16:31:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:31:56 /w/workspace/device-sdk-go/2@tmp/durable-c3d0abab/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:31:57 + echo total: 0.10999999940395355 [Pipeline] stash 16:31:57 Warning: overwriting stash ‘stack-cost’ 16:31:57 Stashed 1 file(s) [Pipeline] } 16:31:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1144-2-stack-cost] [Pipeline] // lock [Pipeline] } 16:31:57 $ docker stop --time=1 8b3a88b5ac50e970b5b871d2685addea02bf2b8af7994e67507fe8b28c669edf 16:31:58 $ docker rm -f 8b3a88b5ac50e970b5b871d2685addea02bf2b8af7994e67507fe8b28c669edf [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 16:31:59 provisioning config files... 16:31:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config9006693587668167921tmp [Pipeline] { [Pipeline] sh 16:31:59 + set +x 16:31:59 + curl -s https://codecov.io/bash 16:31:59 + bash -s -- 16:31:59 16:31:59 _____ _ 16:31:59 / ____| | | 16:31:59 | | ___ __| | ___ ___ _____ __ 16:31:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:31:59 | |___| (_) | (_| | __/ (_| (_) \ V / 16:31:59 \_____\___/ \__,_|\___|\___\___/ \_/ 16:31:59 Bash-1.0.6 16:31:59 16:31:59 16:31:59 ==> git version 2.25.1 found 16:31:59 ==> 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 16:31:59 Release-Date: 2020-01-08 16:31:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:31:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:31:59 ==> Jenkins CI detected. 16:31:59 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1144 16:31:59 project root: . 16:31:59 --> token set from env 16:31:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:31:59 ==> Running gcov in . (disable via -X gcov) 16:31:59 ==> Python coveragepy not found 16:31:59 ==> Searching for coverage reports in: 16:31:59 + . 16:31:59 -> Found 1 reports 16:31:59 ==> Detecting git/mercurial file structure 16:31:59 ==> Reading reports 16:31:59 + ./coverage.out bytes=130819 16:31:59 ==> Appending adjustments 16:31:59 https://docs.codecov.io/docs/fixing-reports 16:32:00 + Found adjustments 16:32:00 ==> Gzipping contents 16:32:00 20K /tmp/codecov.SQikeo.gz 16:32:00 ==> Uploading reports 16:32:00 url: https://codecov.io 16:32:00 query: branch=PR-1144&commit=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= 16:32:00 -> Pinging Codecov 16:32:00 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=5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1144%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1144&job=&cmd_args= 16:32:00 -> Uploading to 16:32:00 https://storage.googleapis.com/codecov/v4/raw/2022-04-22/7E55EF52A471D76F132DFD9A03CDDE97/5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5/3782750e-36d1-4009-a081-d838888d0dad.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220422%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220422T163200Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ecf7604955d3b1fc7d1aa663a72948f4dd0b3d6c53d9423466ac2516dd21377a 16:32:00 % Total % Received % Xferd Average Speed Time Time Time Current 16:32:00 Dload Upload Total Spent Left Speed 16:32:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16804 0 0 100 16804 0 74353 --:--:-- --:--:-- --:--:-- 74684 16:32:00 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/5e296d66d2ce57adbef0f8cc5f24a8b4caa869f5 [Pipeline] } 16:32:00 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 16:32:01 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives ] 16:32:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 16:32:01 total 16 16:32:01 drwxr-xr-x 3 root root 4096 Apr 22 16:21 . 16:32:01 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 16:21 .. 16:32:01 drwxr-xr-x 2 root root 4096 Apr 22 16:21 cost 16:32:01 -rw-r--r-- 1 root root 85 Apr 22 16:21 cost.csv 16:32:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 16:32:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives 16:32:01 total 16 16:32:01 drwxr-xr-x 3 jenkins jenkins 4096 Apr 22 16:21 . 16:32:01 drwxrwxr-x 12 jenkins jenkins 4096 Apr 22 16:21 .. 16:32:01 drwxr-xr-x 2 jenkins jenkins 4096 Apr 22 16:21 cost 16:32:01 -rw-r--r-- 1 jenkins jenkins 85 Apr 22 16:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:32:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:32:02 ---> package-listing.sh 16:32:02 ++ facter osfamily 16:32:02 ++ tr '[:upper:]' '[:lower:]' 16:32:02 + OS_FAMILY=debian 16:32:02 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1144 16:32:02 + START_PACKAGES=/tmp/packages_start.txt 16:32:02 + END_PACKAGES=/tmp/packages_end.txt 16:32:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:32:02 + PACKAGES=/tmp/packages_start.txt 16:32:02 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 16:32:02 + PACKAGES=/tmp/packages_end.txt 16:32:02 + case "${OS_FAMILY}" in 16:32:02 + dpkg -l 16:32:02 + grep '^ii' 16:32:03 + '[' -f /tmp/packages_start.txt ']' 16:32:03 + '[' -f /tmp/packages_end.txt ']' 16:32:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:32:03 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1144 ']' 16:32:03 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1144/archives/ 16:32:03 + 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 16:32:03 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 16:32:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 16:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:32:03 . [Pipeline] withDockerContainer 16:32:03 prd-ubuntu20.04-docker-8c-8g-21803 does not seem to be running inside a container 16:32:03 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:32:04 $ docker top 3a7978defeec343ae772cc2dfc0913e19d3a6c902006f345ddb910978cedd19a -eo pid,comm [Pipeline] { [Pipeline] sh 16:32:04 + touch /tmp/pre-build-complete [Pipeline] sh 16:32:04 + mkdir -p /var/log/sysstat [Pipeline] sh 16:32:04 + ls /var/log/sa-host 16:32:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:32:05 provisioning config files... 16:32:05 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1144@tmp/config4968415055617426645tmp [Pipeline] { [Pipeline] echo 16:32:05 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:32:05 ---> create-netrc.sh [Pipeline] } 16:32:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:32:05 ---> python-tools-install.sh [Pipeline] echo 16:32:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:32:05 ---> sudo-logs.sh 16:32:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:32:06 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:32:06 ---> job-cost.sh 16:32:06 lf-activate-venv: SKIPPING 16:32:06 DEBUG: total: 0.2199999988079071 16:32:06 INFO: Retrieving Stack Cost... 16:32:06 INFO: Retrieving Pricing Info for: v3-standard-8 16:32:07 INFO: Archiving Costs [Pipeline] echo 16:32:07 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:32:07 ---> logs-deploy.sh 16:32:07 lf-activate-venv: SKIPPING 16:32:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1144/2 16:32:07 INFO: archiving workspace using pattern(s): 16:32:08 Archives upload complete. 16:32:08 INFO: archiving logs to Nexus