Pull request #1439 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4f0436376279373e84a7986f4e96c2bc3759ed1f+3be20837214f17c91cd4eb1e0390870d8b3897f2 (5e5248aed34d712d0ba93fc09c0b4403c3789e3c) 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-ssh9028145452363830511.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh4326764186053692926.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.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-1439/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7172413678399857475.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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 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-ssh3142677168007212344.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.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-1439/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6615532550227074384.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 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/v3]] ========================================================= [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.20 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/v3 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-12073’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-12074’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-12175’ is offline ‘prd-ubuntu20.04-docker-8c-8g-12177’ is offline Running on prd-ubuntu20.04-docker-8c-8g-12178 in /w/workspace/gexfoundry_device-sdk-go_PR-1439 [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-1439 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1439/head:refs/remotes/origin/PR-1439 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3be20837214f17c91cd4eb1e0390870d8b3897f2 into PR head commit 4f0436376279373e84a7986f4e96c2bc3759ed1f Merge succeeded, producing 4f0436376279373e84a7986f4e96c2bc3759ed1f Checking out Revision 4f0436376279373e84a7986f4e96c2bc3759ed1f (PR-1439) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:20:00 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:20:00 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:20:00 ========================================================= 16:20:00 EdgeX Global Pipelines Version Info 16:20:00 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f 4f0436376279373e84a7986f4e96c2bc3759ed1f # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 3be20837214f17c91cd4eb1e0390870d8b3897f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4f0436376279373e84a7986f4e96c2bc3759ed1f # timeout=10 > git rev-list --no-walk 4bb31c679f83b7b1c2d8baca883e9dc3baba52d9 # timeout=10 16:20:01 ------------------- 16:20:01 stable info: 16:20:01 ------------------- 16:20:01 Commited By: Bill Mahoney bill.mahoney@intel.com 16:20:01 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 16:20:01 Message: update stable to v1.0.248 16:20:01 ------------------- 16:20:01 experimental info: 16:20:01 ------------------- 16:20:01 Commited By: **** collab-it+edgex@linuxfoundation.org 16:20:01 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 16:20:01 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1439 [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1439 [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1439 [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4f0436376279373e84a7986f4e96c2bc3759ed1f [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4f04363 [Pipeline] echo 16:20:02 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:02 provisioning config files... 16:20:02 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp/config3535806971085674817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:02 ---> docker-login.sh 16:20:02 nexus3.edgexfoundry.org:10001 16:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 nexus3.edgexfoundry.org:10002 16:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 nexus3.edgexfoundry.org:10003 16:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 nexus3.edgexfoundry.org:10004 16:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 docker.io 16:20:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:03 Configure a credential helper to remove this warning. See 16:20:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:03 16:20:03 Login Succeeded 16:20:03 ---> docker-login.sh ends [Pipeline] } 16:20:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:20:03 + git rev-list -1 --merges 4f0436376279373e84a7986f4e96c2bc3759ed1f~1..4f0436376279373e84a7986f4e96c2bc3759ed1f [Pipeline] echo 16:20:03 -----------> git rev-list -1 --merges 4f0436376279373e84a7986f4e96c2bc3759ed1f~1..4f0436376279373e84a7986f4e96c2bc3759ed1f 4f0436376279373e84a7986f4e96c2bc3759ed1f [false] [Pipeline] sh 16:20:04 + git log --format=format:%s -1 4f0436376279373e84a7986f4e96c2bc3759ed1f [Pipeline] echo 16:20:04 ========================================================= 16:20:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:20:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:04 + git log --format=format:%s -1 4f0436376279373e84a7986f4e96c2bc3759ed1f [Pipeline] echo 16:20:04 [semverPrep] GIT_COMMIT: 4f0436376279373e84a7986f4e96c2bc3759ed1f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo 16:20:04 [semverPrep] This is not a build commit. [Pipeline] sh 16:20:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:20:04 + grep -v github /etc/ssh/ssh_known_hosts 16:20:04 + [ -e /tmp/ssh_known_hosts ] 16:20:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:20:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:20:04 + sudo tee -a /etc/ssh/ssh_known_hosts 16:20:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:05 16:20:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:05 0.1.4: Pulling from edgex-devops/py-git-semver 16:20:05 b85a868b505f: Pulling fs layer 16:20:05 e2be974225ed: Pulling fs layer 16:20:05 339a4e72a1f5: Pulling fs layer 16:20:05 988bab9f4d93: Pulling fs layer 16:20:05 1469e6f7b9e6: Pulling fs layer 16:20:05 eaf3925da568: Pulling fs layer 16:20:05 bab4dde63d76: Pulling fs layer 16:20:05 bde34c3a00c8: Pulling fs layer 16:20:05 b352a97aabf1: Pulling fs layer 16:20:05 4872d77fe225: Pulling fs layer 16:20:05 5851b861e8e6: Pulling fs layer 16:20:05 b352a97aabf1: Waiting 16:20:05 4872d77fe225: Waiting 16:20:05 eaf3925da568: Waiting 16:20:05 5851b861e8e6: Waiting 16:20:05 bab4dde63d76: Waiting 16:20:05 bde34c3a00c8: Waiting 16:20:05 988bab9f4d93: Waiting 16:20:05 e2be974225ed: Download complete 16:20:05 988bab9f4d93: Download complete 16:20:05 1469e6f7b9e6: Verifying Checksum 16:20:05 1469e6f7b9e6: Download complete 16:20:05 339a4e72a1f5: Verifying Checksum 16:20:05 339a4e72a1f5: Download complete 16:20:05 bde34c3a00c8: Verifying Checksum 16:20:05 bde34c3a00c8: Download complete 16:20:05 b352a97aabf1: Download complete 16:20:05 4872d77fe225: Verifying Checksum 16:20:05 4872d77fe225: Download complete 16:20:05 5851b861e8e6: Verifying Checksum 16:20:05 5851b861e8e6: Download complete 16:20:05 b85a868b505f: Verifying Checksum 16:20:05 b85a868b505f: Download complete 16:20:06 bab4dde63d76: Verifying Checksum 16:20:06 bab4dde63d76: Download complete 16:20:06 b85a868b505f: Pull complete 16:20:06 e2be974225ed: Pull complete 16:20:07 339a4e72a1f5: Pull complete 16:20:07 988bab9f4d93: Pull complete 16:20:07 1469e6f7b9e6: Pull complete 16:20:07 eaf3925da568: Pull complete 16:20:09 bab4dde63d76: Pull complete 16:20:09 bde34c3a00c8: Pull complete 16:20:09 b352a97aabf1: Pull complete 16:20:09 4872d77fe225: Pull complete 16:20:09 5851b861e8e6: Pull complete 16:20:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:20:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:20:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:10 prd-ubuntu20.04-docker-8c-8g-12178 does not seem to be running inside a container 16:20:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1439 -v /w/workspace/gexfoundry_device-sdk-go_PR-1439:/w/workspace/gexfoundry_device-sdk-go_PR-1439:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1439@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-devops/py-git-semver:0.1.4 cat 16:20:12 $ docker top d99accedef4b40a61362f77bc1f00943a36a72e716d29bb83040fabf991a838c -eo pid,comm 16:20:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:20:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:20:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:20:12 [ssh-agent] Looking for ssh-agent implementation... 16:20:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:20:12 $ docker exec d99accedef4b40a61362f77bc1f00943a36a72e716d29bb83040fabf991a838c ssh-agent 16:20:12 SSH_AUTH_SOCK=/tmp/ssh-EqN2qp0BuDdI/agent.31 16:20:12 SSH_AGENT_PID=37 16:20:12 Running ssh-add (command line suppressed) 16:20:12 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp/private_key_10822457636093289660.key (/w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp/private_key_10822457636093289660.key) 16:20:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:20:12 + git tag --points-at HEAD [Pipeline] } 16:20:12 $ docker exec --env ******** --env ******** d99accedef4b40a61362f77bc1f00943a36a72e716d29bb83040fabf991a838c ssh-agent -k 16:20:13 unset SSH_AUTH_SOCK; 16:20:13 unset SSH_AGENT_PID; 16:20:13 echo Agent pid 37 killed; 16:20:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:20:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:20:13 [ssh-agent] Looking for ssh-agent implementation... 16:20:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:20:13 $ docker exec d99accedef4b40a61362f77bc1f00943a36a72e716d29bb83040fabf991a838c ssh-agent 16:20:13 SSH_AUTH_SOCK=/tmp/ssh-khDYYuN61Kuy/agent.69 16:20:13 SSH_AGENT_PID=75 16:20:13 Running ssh-add (command line suppressed) 16:20:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp/private_key_11999883820365472218.key (/w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp/private_key_11999883820365472218.key) 16:20:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:20:13 + git semver init 16:20:13 2023-05-01 16:20:13,899 [run_init] DEBUG init version:0.0.0 force:False 16:20:13 2023-05-01 16:20:13,899 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1439/.semver 16:20:13 2023-05-01 16:20:13,900 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1439/.semver 16:20:13 2023-05-01 16:20:13,900 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1439/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1439, universal_newlines=False, shell=None, istream=None) 16:20:14 2023-05-01 16:20:14,809 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1439/.git/info/exclude 16:20:14 2023-05-01 16:20:14,810 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1439/.semver/PR-1439 with force:False 16:20:14 2023-05-01 16:20:14,810 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1439/.semver/PR-1439 16:20:14 2023-05-01 16:20:14,814 [execute] INFO git cat-file --batch-check 16:20:14 2023-05-01 16:20:14,815 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1439/.semver, universal_newlines=False, shell=None, istream=) 16:20:14 2023-05-01 16:20:14,822 [execute] INFO git cat-file --batch 16:20:14 2023-05-01 16:20:14,822 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1439/.semver, universal_newlines=False, shell=None, istream=) 16:20:14 2023-05-01 16:20:14,828 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1439/.semver/PR-1439 16:20:14 0.0.0 [Pipeline] } 16:20:14 $ docker exec --env ******** --env ******** d99accedef4b40a61362f77bc1f00943a36a72e716d29bb83040fabf991a838c ssh-agent -k 16:20:15 unset SSH_AUTH_SOCK; 16:20:15 unset SSH_AGENT_PID; 16:20:15 echo Agent pid 75 killed; 16:20:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:20:15 + git semver [Pipeline] } 16:20:15 $ docker stop --time=1 d99accedef4b40a61362f77bc1f00943a36a72e716d29bb83040fabf991a838c 16:20:16 $ docker rm -f --volumes d99accedef4b40a61362f77bc1f00943a36a72e716d29bb83040fabf991a838c [Pipeline] // withDockerContainer [Pipeline] sh 16:20:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:20:17 Stashed 1 file(s) [Pipeline] echo 16:20:17 [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:20:17 provisioning config files... 16:20:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp/config2111182632431277516tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:20:17 ---> docker-login.sh 16:20:17 nexus3.edgexfoundry.org:10001 16:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:17 Configure a credential helper to remove this warning. See 16:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:17 16:20:17 Login Succeeded 16:20:17 nexus3.edgexfoundry.org:10002 16:20:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:17 Configure a credential helper to remove this warning. See 16:20:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:17 16:20:17 Login Succeeded 16:20:17 nexus3.edgexfoundry.org:10003 16:20:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:18 Configure a credential helper to remove this warning. See 16:20:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:18 16:20:18 Login Succeeded 16:20:18 nexus3.edgexfoundry.org:10004 16:20:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:18 Configure a credential helper to remove this warning. See 16:20:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:18 16:20:18 Login Succeeded 16:20:18 docker.io 16:20:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:20:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:20:18 Configure a credential helper to remove this warning. See 16:20:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:20:18 16:20:18 Login Succeeded 16:20:18 ---> docker-login.sh ends [Pipeline] } 16:20:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:20:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:20:18 ========================================================= 16:20:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:20:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:18 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 16:20:18 Sending build context to Docker daemon 11.04MB 16:20:18 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 16:20:18 Step 2/10 : FROM ${BASE} AS builder 16:20:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:20:18 f56be85fc22e: Pulling fs layer 16:20:18 85791d961cd3: Pulling fs layer 16:20:18 d694b5ae8c79: Pulling fs layer 16:20:18 9f32a84ed3da: Pulling fs layer 16:20:18 4d19c01a9841: Pulling fs layer 16:20:18 9325e15d5711: Pulling fs layer 16:20:18 556b6ee489ea: Pulling fs layer 16:20:18 c5a4b2cf53e6: Pulling fs layer 16:20:18 9325e15d5711: Waiting 16:20:18 4d19c01a9841: Waiting 16:20:18 556b6ee489ea: Waiting 16:20:18 c5a4b2cf53e6: Waiting 16:20:18 9f32a84ed3da: Waiting 16:20:18 85791d961cd3: Verifying Checksum 16:20:18 85791d961cd3: Download complete 16:20:19 9f32a84ed3da: Verifying Checksum 16:20:19 9f32a84ed3da: Download complete 16:20:19 4d19c01a9841: Download complete 16:20:19 f56be85fc22e: Verifying Checksum 16:20:19 f56be85fc22e: Download complete 16:20:19 9325e15d5711: Verifying Checksum 16:20:19 9325e15d5711: Download complete 16:20:19 f56be85fc22e: Pull complete 16:20:19 85791d961cd3: Pull complete 16:20:19 c5a4b2cf53e6: Verifying Checksum 16:20:19 c5a4b2cf53e6: Download complete 16:20:19 d694b5ae8c79: Verifying Checksum 16:20:19 d694b5ae8c79: Download complete 16:20:19 556b6ee489ea: Verifying Checksum 16:20:19 556b6ee489ea: Download complete 16:20:23 d694b5ae8c79: Pull complete 16:20:23 9f32a84ed3da: Pull complete 16:20:23 4d19c01a9841: Pull complete 16:20:23 9325e15d5711: Pull complete 16:20:25 556b6ee489ea: Pull complete 16:20:25 c5a4b2cf53e6: Pull complete 16:20:25 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 16:20:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:20:25 ---> c4be618373d6 16:20:25 Step 3/10 : ARG MAKE=make build 16:20:29 ---> Running in 6539f2a3bee0 16:20:29 Removing intermediate container 6539f2a3bee0 16:20:29 ---> 5cfbca2bdacc 16:20:29 Step 4/10 : WORKDIR /device-sdk-go 16:20:29 ---> Running in 570a3f1fe4b2 16:20:29 Removing intermediate container 570a3f1fe4b2 16:20:29 ---> 219fd73eac82 16:20:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:20:29 ---> Running in 38af47588d83 16:20:29 Removing intermediate container 38af47588d83 16:20:29 ---> d1a3c9a83830 16:20:29 Step 6/10 : RUN apk add --update --no-cache make git 16:20:29 ---> Running in 4ab093005a34 16:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:20:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:20:29 OK: 265 MiB in 53 packages 16:20:30 Removing intermediate container 4ab093005a34 16:20:30 ---> 5f92a7ca213e 16:20:30 Step 7/10 : COPY go.mod vendor* ./ 16:20:30 ---> 3fc7b3538a04 16:20:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:30 ---> Running in bf7956ca25a2 16:20:32 Still waiting to schedule task 16:20:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-12176’ 16:20:52 Removing intermediate container bf7956ca25a2 16:20:52 ---> 5b5113c7cf5b 16:20:52 Step 9/10 : COPY . . 16:20:52 ---> e28b9afc07ff 16:20:52 Step 10/10 : RUN ${MAKE} 16:20:52 ---> Running in 44d502c5224d 16:20:52 noop 16:20:52 Removing intermediate container 44d502c5224d 16:20:52 ---> 4cde6bc01be9 16:20:52 Successfully built 4cde6bc01be9 16:20:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:52 + docker inspect -f . ci-base-image-x86_64 16:20:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:52 prd-ubuntu20.04-docker-8c-8g-12178 does not seem to be running inside a container 16:20:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1439 -v /w/workspace/gexfoundry_device-sdk-go_PR-1439:/w/workspace/gexfoundry_device-sdk-go_PR-1439:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1439@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 ******** -e ******** ci-base-image-x86_64 cat 16:20:53 $ docker top 2540659a8a579672da160b1e8fa7f9c0b7abb8652e718816436e636122efc31e -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:53 + go version 16:20:53 go version go1.20.2 linux/amd64 [Pipeline] } 16:20:53 $ docker stop --time=1 2540659a8a579672da160b1e8fa7f9c0b7abb8652e718816436e636122efc31e 16:20:54 $ docker rm -f --volumes 2540659a8a579672da160b1e8fa7f9c0b7abb8652e718816436e636122efc31e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:55 + docker inspect -f . ci-base-image-x86_64 16:20:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:20:55 prd-ubuntu20.04-docker-8c-8g-12178 does not seem to be running inside a container 16:20:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1439 -v /w/workspace/gexfoundry_device-sdk-go_PR-1439:/w/workspace/gexfoundry_device-sdk-go_PR-1439:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1439@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 ******** -e ******** ci-base-image-x86_64 cat 16:20:55 $ docker top 46073d7832c558520917c9e6d9fbb07f70d4bc51aec1fc738fa98dbf1d9e6794 -eo pid,comm [Pipeline] { [Pipeline] sh 16:20:56 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1439 [Pipeline] fileExists [Pipeline] sh 16:20:56 + make test 16:20:56 go test -race -coverprofile=coverage.out ./... 16:21:02 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:21:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.039s coverage: 27.6% of statements 16:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:21:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.066s coverage: 80.2% of statements 16:21:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.082s coverage: 86.0% of statements 16:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:21:17 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:21:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.103s coverage: 77.5% of statements 16:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:21:18 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.067s coverage: 14.6% of statements 16:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.064s coverage: 68.5% of statements 16:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.110s coverage: 89.2% of statements 16:21:21 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements 16:21:39 GO111MODULE=on go vet ./... 16:21:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:21:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:21:42 ./bin/test-attribution-txt.sh [Pipeline] echo 16:21:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:21:42 $ docker stop --time=1 46073d7832c558520917c9e6d9fbb07f70d4bc51aec1fc738fa98dbf1d9e6794 16:21:45 $ docker rm -f --volumes 46073d7832c558520917c9e6d9fbb07f70d4bc51aec1fc738fa98dbf1d9e6794 [Pipeline] // withDockerContainer [Pipeline] sh 16:21:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:21:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:21:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:21:47 + ls -al . 16:21:47 total 272 16:21:47 drwxrwxr-x 11 jenkins jenkins 4096 May 1 16:20 . 16:21:47 drwxrwxr-x 4 jenkins jenkins 4096 May 1 16:19 .. 16:21:47 -rw-rw-r-- 1 jenkins jenkins 140 May 1 16:19 .dockerignore 16:21:47 drwxrwxr-x 8 jenkins jenkins 4096 May 1 16:20 .git 16:21:47 drwxrwxr-x 2 jenkins jenkins 4096 May 1 16:19 .github 16:21:47 -rw-rw-r-- 1 jenkins jenkins 131 May 1 16:19 .gitignore 16:21:47 -rw-rw-r-- 1 jenkins jenkins 42 May 1 16:19 .golangci.yml 16:21:47 drwxr-xr-x 3 jenkins jenkins 4096 May 1 16:20 .semver 16:21:47 -rw-rw-r-- 1 jenkins jenkins 31677 May 1 16:19 CHANGELOG.md 16:21:47 -rw-rw-r-- 1 jenkins jenkins 677 May 1 16:19 GOVERNANCE.md 16:21:47 -rw-rw-r-- 1 jenkins jenkins 885 May 1 16:19 Jenkinsfile 16:21:47 -rw-rw-r-- 1 jenkins jenkins 11341 May 1 16:19 LICENSE 16:21:47 -rw-rw-r-- 1 jenkins jenkins 1714 May 1 16:19 Makefile 16:21:47 -rw-rw-r-- 1 jenkins jenkins 619 May 1 16:19 OWNERS.md 16:21:47 -rw-rw-r-- 1 jenkins jenkins 4891 May 1 16:19 README.md 16:21:47 -rw-rw-r-- 1 jenkins jenkins 5 May 1 16:20 VERSION 16:21:47 drwxrwxr-x 2 jenkins jenkins 4096 May 1 16:19 bin 16:21:47 -rw-r--r-- 1 jenkins jenkins 106119 May 1 16:21 coverage.out 16:21:47 drwxrwxr-x 5 jenkins jenkins 4096 May 1 16:19 example 16:21:47 -rw-rw-r-- 1 jenkins jenkins 3246 May 1 16:19 go.mod 16:21:47 -rw-rw-r-- 1 jenkins jenkins 30896 May 1 16:19 go.sum 16:21:47 drwxrwxr-x 12 jenkins jenkins 4096 May 1 16:19 internal 16:21:47 drwxrwxr-x 3 jenkins jenkins 4096 May 1 16:19 openapi 16:21:47 drwxrwxr-x 6 jenkins jenkins 4096 May 1 16:19 pkg 16:21:47 drwxrwxr-x 4 jenkins jenkins 4096 May 1 16:19 snap 16:21:47 -rw-rw-r-- 1 jenkins jenkins 222 May 1 16:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:21:47 + 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=4f0436376279373e84a7986f4e96c2bc3759ed1f --label arch=amd64 --label version=0.0.0 . 16:21:47 Sending build context to Docker daemon 11.14MB 16:21:47 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 16:21:47 Step 2/23 : FROM ${BASE} AS builder 16:21:47 ---> 4cde6bc01be9 16:21:47 Step 3/23 : ARG MAKE=make build 16:21:47 ---> Running in 22375f9e2132 16:21:47 Removing intermediate container 22375f9e2132 16:21:47 ---> dc03f872d867 16:21:47 Step 4/23 : WORKDIR /device-sdk-go 16:21:47 ---> Running in a9476d0d695f 16:21:47 Removing intermediate container a9476d0d695f 16:21:47 ---> 949956bd401d 16:21:47 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:21:48 ---> Running in be6feca13ce6 16:21:48 Removing intermediate container be6feca13ce6 16:21:48 ---> 80c3c070d95f 16:21:48 Step 6/23 : RUN apk add --update --no-cache make git 16:21:48 ---> Running in 5c045d033a98 16:21:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:21:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:21:48 OK: 265 MiB in 53 packages 16:21:49 Removing intermediate container 5c045d033a98 16:21:49 ---> 332a10b56d27 16:21:49 Step 7/23 : COPY go.mod vendor* ./ 16:21:49 ---> ee6e75bb56d4 16:21:49 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:21:49 ---> Running in 5a98a37976e7 16:21:50 Removing intermediate container 5a98a37976e7 16:21:50 ---> 43b06e3dbf0b 16:21:50 Step 9/23 : COPY . . 16:21:51 ---> 9e5cdbd72b64 16:21:51 Step 10/23 : RUN ${MAKE} 16:21:51 ---> Running in efc0ee0d4ba7 16:21:51 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:22:09 Removing intermediate container efc0ee0d4ba7 16:22:09 ---> 8e0e18a4b43d 16:22:09 Step 11/23 : FROM alpine:3.17 16:22:09 3.17: Pulling from library/alpine 16:22:09 f56be85fc22e: Already exists 16:22:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:22:09 Status: Downloaded newer image for alpine:3.17 16:22:09 ---> 9ed4aefc74f6 16:22:09 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:22:09 ---> Running in e7fef1423abf 16:22:09 Removing intermediate container e7fef1423abf 16:22:09 ---> 43695065c01e 16:22:09 Step 13/23 : RUN apk add --update --no-cache 16:22:09 ---> Running in 57d3d8cf9d32 16:22:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:22:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:22:09 OK: 7 MiB in 15 packages 16:22:09 Removing intermediate container 57d3d8cf9d32 16:22:09 ---> eb7f339d4295 16:22:09 Step 14/23 : WORKDIR / 16:22:09 ---> Running in 62a38852c78d 16:22:09 Removing intermediate container 62a38852c78d 16:22:09 ---> 5557073956aa 16:22:09 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:22:09 ---> 726cd7970aba 16:22:09 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:22:10 ---> 07661cb55b17 16:22:10 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:22:10 ---> 9d0ed53d3f4d 16:22:10 Step 18/23 : EXPOSE 59999 16:22:10 ---> Running in fc0916d5698d 16:22:10 Removing intermediate container fc0916d5698d 16:22:10 ---> e655f88b3a8a 16:22:10 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:22:10 ---> Running in 4d712bdf63c1 16:22:10 Removing intermediate container 4d712bdf63c1 16:22:10 ---> aea65f6662ee 16:22:10 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:22:10 ---> Running in 57812bf91c52 16:22:10 Removing intermediate container 57812bf91c52 16:22:10 ---> a44139431748 16:22:10 Step 21/23 : LABEL arch=amd64 16:22:10 ---> Running in ab8fb3997535 16:22:10 Removing intermediate container ab8fb3997535 16:22:10 ---> 386ee027d6fc 16:22:10 Step 22/23 : LABEL git_sha=4f0436376279373e84a7986f4e96c2bc3759ed1f 16:22:10 ---> Running in f4c6bcdc6b08 16:22:10 Removing intermediate container f4c6bcdc6b08 16:22:10 ---> 384e281c598a 16:22:10 Step 23/23 : LABEL version=0.0.0 16:22:10 ---> Running in e5bd0280f774 16:22:10 Removing intermediate container e5bd0280f774 16:22:10 ---> bb14f914b874 16:22:10 [Warning] One or more build-args [ARCH] were not consumed 16:22:10 Successfully built bb14f914b874 16:22:10 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 16:22:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:11 16:22:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:22:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:11 latest: Pulling from edgex-lftools-log-publisher 16:22:11 5eb5b503b376: Pulling fs layer 16:22:11 5c69ac0246d0: Pulling fs layer 16:22:11 ec43610c2a17: Pulling fs layer 16:22:11 3a2ae6a8a46f: Pulling fs layer 16:22:11 33b1e0a273af: Pulling fs layer 16:22:11 5d3b04190fa2: Pulling fs layer 16:22:11 2f39f015ded8: Pulling fs layer 16:22:11 33b1e0a273af: Waiting 16:22:11 5d3b04190fa2: Waiting 16:22:11 2f39f015ded8: Waiting 16:22:11 3a2ae6a8a46f: Waiting 16:22:11 5c69ac0246d0: Verifying Checksum 16:22:11 5c69ac0246d0: Download complete 16:22:11 3a2ae6a8a46f: Verifying Checksum 16:22:11 3a2ae6a8a46f: Download complete 16:22:11 33b1e0a273af: Verifying Checksum 16:22:11 33b1e0a273af: Download complete 16:22:11 5d3b04190fa2: Verifying Checksum 16:22:11 5d3b04190fa2: Download complete 16:22:11 ec43610c2a17: Verifying Checksum 16:22:11 ec43610c2a17: Download complete 16:22:11 5eb5b503b376: Verifying Checksum 16:22:11 5eb5b503b376: Download complete 16:22:12 2f39f015ded8: Download complete 16:22:13 5eb5b503b376: Pull complete 16:22:13 5c69ac0246d0: Pull complete 16:22:13 ec43610c2a17: Pull complete 16:22:13 3a2ae6a8a46f: Pull complete 16:22:13 33b1e0a273af: Pull complete 16:22:14 5d3b04190fa2: Pull complete 16:22:18 2f39f015ded8: Pull complete 16:22:18 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:22:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:22:18 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:22:18 prd-ubuntu20.04-docker-8c-8g-12178 does not seem to be running inside a container 16:22:18 $ 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-1439 -v /w/workspace/gexfoundry_device-sdk-go_PR-1439:/w/workspace/gexfoundry_device-sdk-go_PR-1439:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1439@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:22:20 $ docker top 7ee8982a197af93052d0f12846395fed602ce0971c23a85a49a13d2eacc89cb2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:22:20 ---> job-cost.sh 16:22:20 lf-activate-venv: SKIPPING 16:22:20 INFO: No Stack... 16:22:21 INFO: Retrieving Pricing Info for: v3-standard-8 16:22:21 INFO: Archiving Costs [Pipeline] sh 16:22:21 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1439/archives/cost.csv 16:22:21 + cut -d, -f6 [Pipeline] lock 16:22:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1439-3-stack-cost] 16:22:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1439-3-stack-cost] did not exist. Created. 16:22:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1439-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:22:22 + echo total: 0.2199999988079071 [Pipeline] stash 16:22:22 Stashed 1 file(s) [Pipeline] } 16:22:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1439-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:22:22 $ docker stop --time=1 7ee8982a197af93052d0f12846395fed602ce0971c23a85a49a13d2eacc89cb2 16:22:23 $ docker rm -f --volumes 7ee8982a197af93052d0f12846395fed602ce0971c23a85a49a13d2eacc89cb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:23:57 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12180 in /w/workspace/gexfoundry_device-sdk-go_PR-1439 [Pipeline] { [Pipeline] ws 16:23:57 Running in /w/workspace/device-sdk-go/3 [Pipeline] { [Pipeline] checkout 16:23:57 The recommended git tool is: git 16:24:03 using credential edgex-jenkins-ssh 16:24:03 Cloning the remote Git repository 16:24:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 16:24:03 > git init /w/workspace/device-sdk-go/3 # timeout=10 16:24:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:24:03 > git --version # timeout=10 16:24:03 > git --version # 'git version 2.25.1' 16:24:03 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:03 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:07 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:24:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:24:09 Merging remotes/origin/main commit 3be20837214f17c91cd4eb1e0390870d8b3897f2 into PR head commit 4f0436376279373e84a7986f4e96c2bc3759ed1f 16:24:08 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 16:24:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 16:24:08 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1439/head:refs/remotes/origin/PR-1439 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:24:09 Merge succeeded, producing 4f0436376279373e84a7986f4e96c2bc3759ed1f 16:24:09 Checking out Revision 4f0436376279373e84a7986f4e96c2bc3759ed1f (PR-1439) 16:24:10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:24:09 > git config core.sparsecheckout # timeout=10 16:24:09 > git checkout -f 4f0436376279373e84a7986f4e96c2bc3759ed1f # timeout=10 16:24:09 > git remote # timeout=10 16:24:09 > git config --get remote.origin.url # timeout=10 16:24:09 using GIT_SSH to set credentials SSH Credentials for GitHub 16:24:09 > git merge 3be20837214f17c91cd4eb1e0390870d8b3897f2 # timeout=10 16:24:09 > git rev-parse HEAD^{commit} # timeout=10 16:24:09 > git config core.sparsecheckout # timeout=10 16:24:09 > git checkout -f 4f0436376279373e84a7986f4e96c2bc3759ed1f # timeout=10 16:24:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:24:11 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:11 Dload Upload Total Spent Left Speed 16:24:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 16:24:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:24:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:24:12 + sudo tee /etc/docker/daemon.new 16:24:12 { 16:24:12 "registry-mirrors": [ 16:24:12 "https://nexus3.edgexfoundry.org:10001" 16:24:12 ], 16:24:12 "bip": "10.250.0.254/24", 16:24:12 "hosts": [ 16:24:12 "tcp://0.0.0.0:5555", 16:24:12 "unix:///var/run/docker.sock" 16:24:12 ], 16:24:12 "mtu": 1458, 16:24:12 "selinux-enabled": true, 16:24:12 "seccomp-profile": "/etc/docker/seccomp.json" 16:24:12 } [Pipeline] sh 16:24:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:24:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:24:31 provisioning config files... 16:24:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/3@tmp/config17553717519271149620tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:31 ---> docker-login.sh 16:24:31 nexus3.edgexfoundry.org:10001 16:24:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:32 Configure a credential helper to remove this warning. See 16:24:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:32 16:24:32 Login Succeeded 16:24:32 nexus3.edgexfoundry.org:10002 16:24:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:32 Configure a credential helper to remove this warning. See 16:24:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:32 16:24:32 Login Succeeded 16:24:32 nexus3.edgexfoundry.org:10003 16:24:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:32 Configure a credential helper to remove this warning. See 16:24:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:32 16:24:32 Login Succeeded 16:24:32 nexus3.edgexfoundry.org:10004 16:24:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:33 Configure a credential helper to remove this warning. See 16:24:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:33 16:24:33 Login Succeeded 16:24:33 docker.io 16:24:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:24:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:24:33 Configure a credential helper to remove this warning. See 16:24:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:24:33 16:24:33 Login Succeeded 16:24:33 ---> docker-login.sh ends [Pipeline] } 16:24:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:24:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:34 ========================================================= 16:24:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:24:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:34 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 16:24:34 Sending build context to Docker daemon 5.924MB 16:24:35 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 16:24:35 Step 2/10 : FROM ${BASE} AS builder 16:24:35 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:24:35 c41833b44d91: Pulling fs layer 16:24:35 ed15518f5707: Pulling fs layer 16:24:35 feae8fd75edb: Pulling fs layer 16:24:35 242c74f7c9fa: Pulling fs layer 16:24:35 3cdef696dda3: Pulling fs layer 16:24:35 2ced38df9373: Pulling fs layer 16:24:35 58f1dce35555: Pulling fs layer 16:24:35 3cdef696dda3: Waiting 16:24:35 2ced38df9373: Waiting 16:24:35 242c74f7c9fa: Waiting 16:24:35 58f1dce35555: Waiting 16:24:35 ed15518f5707: Verifying Checksum 16:24:35 ed15518f5707: Download complete 16:24:35 242c74f7c9fa: Download complete 16:24:35 3cdef696dda3: Verifying Checksum 16:24:35 3cdef696dda3: Download complete 16:24:35 c41833b44d91: Verifying Checksum 16:24:35 c41833b44d91: Download complete 16:24:36 c41833b44d91: Pull complete 16:24:36 58f1dce35555: Verifying Checksum 16:24:36 58f1dce35555: Download complete 16:24:37 ed15518f5707: Pull complete 16:24:38 feae8fd75edb: Verifying Checksum 16:24:38 feae8fd75edb: Download complete 16:24:38 2ced38df9373: Verifying Checksum 16:24:38 2ced38df9373: Download complete 16:24:50 feae8fd75edb: Pull complete 16:24:50 242c74f7c9fa: Pull complete 16:24:50 3cdef696dda3: Pull complete 16:24:57 2ced38df9373: Pull complete 16:25:00 58f1dce35555: Pull complete 16:25:00 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 16:25:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:25:00 ---> fadd8f120f05 16:25:00 Step 3/10 : ARG MAKE=make build 16:25:02 ---> Running in 69bb05a3687c 16:25:02 Removing intermediate container 69bb05a3687c 16:25:02 ---> c351b7f76d53 16:25:02 Step 4/10 : WORKDIR /device-sdk-go 16:25:02 ---> Running in 81e355bd6e98 16:25:02 Removing intermediate container 81e355bd6e98 16:25:02 ---> f30f821dc17b 16:25:02 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:25:03 ---> Running in ae7da2d13f27 16:25:03 Removing intermediate container ae7da2d13f27 16:25:03 ---> 00aa49ad9137 16:25:03 Step 6/10 : RUN apk add --update --no-cache make git 16:25:03 ---> Running in 1de0eb46a7fe 16:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:25:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:25:05 OK: 263 MiB in 53 packages 16:25:06 Removing intermediate container 1de0eb46a7fe 16:25:06 ---> 87de821df30b 16:25:06 Step 7/10 : COPY go.mod vendor* ./ 16:25:07 ---> 944f39dc731f 16:25:07 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:25:07 ---> Running in ea9c049e13d8 16:26:15 Removing intermediate container ea9c049e13d8 16:26:15 ---> 2e8f14f10205 16:26:15 Step 9/10 : COPY . . 16:26:15 ---> 7f99016bb776 16:26:15 Step 10/10 : RUN ${MAKE} 16:26:15 ---> Running in 01bb80af279a 16:26:15 noop 16:26:15 Removing intermediate container 01bb80af279a 16:26:15 ---> 03f142317e95 16:26:15 Successfully built 03f142317e95 16:26:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:15 + docker inspect -f . ci-base-image-arm64 16:26:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:16 prd-ubuntu20.04-docker-arm64-4c-16g-12180 does not seem to be running inside a container 16:26:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:26:17 $ docker top d9ccdd95ae11ec285a5d93cc3e27af6276a354060322dbcbe734b6aea30cc2f9 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:18 + go version 16:26:18 go version go1.20.2 linux/arm64 [Pipeline] } 16:26:18 $ docker stop --time=1 d9ccdd95ae11ec285a5d93cc3e27af6276a354060322dbcbe734b6aea30cc2f9 16:26:20 $ docker rm -f --volumes d9ccdd95ae11ec285a5d93cc3e27af6276a354060322dbcbe734b6aea30cc2f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:26:20 + docker inspect -f . ci-base-image-arm64 16:26:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:26:20 prd-ubuntu20.04-docker-arm64-4c-16g-12180 does not seem to be running inside a container 16:26:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:26:23 $ docker top a7fb55f90058b7c5272247b58e6eb72f25006097cbd3dadf07d32314f3096598 -eo pid,comm [Pipeline] { [Pipeline] sh 16:26:24 + git config --global --add safe.directory /w/workspace/device-sdk-go/3 [Pipeline] fileExists [Pipeline] sh 16:26:24 + make test 16:26:24 go test -race -coverprofile=coverage.out ./... 16:27:11 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 16:29:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 16:29:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 16:29:18 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 16:29:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 16:29:18 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 16:29:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.219s coverage: 27.6% of statements 16:29:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.261s coverage: 80.2% of statements 16:29:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 16:29:43 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 16:29:43 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.332s coverage: 86.0% of statements 16:29:49 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 16:29:49 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.417s coverage: 77.5% of statements 16:29:54 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 16:29:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 16:29:54 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 16:29:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.274s coverage: 14.6% of statements 16:29:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.418s coverage: 68.5% of statements 16:29:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.441s coverage: 89.2% of statements 16:30:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 16:30:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.5% of statements 16:30:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:30:01 GO111MODULE=on go vet ./... 16:32:22 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:32:22 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:32:22 ./bin/test-attribution-txt.sh [Pipeline] echo 16:32:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:32:22 $ docker stop --time=1 a7fb55f90058b7c5272247b58e6eb72f25006097cbd3dadf07d32314f3096598 16:32:24 $ docker rm -f --volumes a7fb55f90058b7c5272247b58e6eb72f25006097cbd3dadf07d32314f3096598 [Pipeline] // withDockerContainer [Pipeline] sh 16:32:26 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:32:26 Warning: overwriting stash ‘coverage-report’ 16:32:26 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:32:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:32:27 + ls -al . 16:32:27 total 268 16:32:27 drwxrwxr-x 10 jenkins jenkins 4096 May 1 16:26 . 16:32:27 drwxrwxr-x 4 jenkins jenkins 4096 May 1 16:24 .. 16:32:27 -rw-rw-r-- 1 jenkins jenkins 140 May 1 16:24 .dockerignore 16:32:27 drwxrwxr-x 8 jenkins jenkins 4096 May 1 16:24 .git 16:32:27 drwxrwxr-x 2 jenkins jenkins 4096 May 1 16:24 .github 16:32:27 -rw-rw-r-- 1 jenkins jenkins 131 May 1 16:24 .gitignore 16:32:27 -rw-rw-r-- 1 jenkins jenkins 42 May 1 16:24 .golangci.yml 16:32:27 -rw-rw-r-- 1 jenkins jenkins 31677 May 1 16:24 CHANGELOG.md 16:32:27 -rw-rw-r-- 1 jenkins jenkins 677 May 1 16:24 GOVERNANCE.md 16:32:27 -rw-rw-r-- 1 jenkins jenkins 885 May 1 16:24 Jenkinsfile 16:32:27 -rw-rw-r-- 1 jenkins jenkins 11341 May 1 16:24 LICENSE 16:32:27 -rw-rw-r-- 1 jenkins jenkins 1714 May 1 16:24 Makefile 16:32:27 -rw-rw-r-- 1 jenkins jenkins 619 May 1 16:24 OWNERS.md 16:32:27 -rw-rw-r-- 1 jenkins jenkins 4891 May 1 16:24 README.md 16:32:27 -rw-rw-r-- 1 jenkins jenkins 5 May 1 16:20 VERSION 16:32:27 drwxrwxr-x 2 jenkins jenkins 4096 May 1 16:24 bin 16:32:27 -rw-r--r-- 1 jenkins jenkins 106119 May 1 16:30 coverage.out 16:32:27 drwxrwxr-x 5 jenkins jenkins 4096 May 1 16:24 example 16:32:27 -rw-rw-r-- 1 jenkins jenkins 3246 May 1 16:24 go.mod 16:32:27 -rw-rw-r-- 1 jenkins jenkins 30896 May 1 16:24 go.sum 16:32:27 drwxrwxr-x 12 jenkins jenkins 4096 May 1 16:24 internal 16:32:27 drwxrwxr-x 3 jenkins jenkins 4096 May 1 16:24 openapi 16:32:27 drwxrwxr-x 6 jenkins jenkins 4096 May 1 16:24 pkg 16:32:27 drwxrwxr-x 4 jenkins jenkins 4096 May 1 16:24 snap 16:32:27 -rw-rw-r-- 1 jenkins jenkins 222 May 1 16:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:32:27 + 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=4f0436376279373e84a7986f4e96c2bc3759ed1f --label arch=arm64 --label version=0.0.0 . 16:32:28 Sending build context to Docker daemon 6.031MB 16:32:28 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 16:32:28 Step 2/23 : FROM ${BASE} AS builder 16:32:28 ---> 03f142317e95 16:32:28 Step 3/23 : ARG MAKE=make build 16:32:29 ---> Running in 70e010f6c2a4 16:32:29 Removing intermediate container 70e010f6c2a4 16:32:29 ---> b59b01fbcd06 16:32:29 Step 4/23 : WORKDIR /device-sdk-go 16:32:29 ---> Running in 455ad8b0eb1a 16:32:29 Removing intermediate container 455ad8b0eb1a 16:32:29 ---> 0cf2d8703c53 16:32:29 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:32:29 ---> Running in fb427bec5fef 16:32:30 Removing intermediate container fb427bec5fef 16:32:30 ---> 80168e4a497a 16:32:30 Step 6/23 : RUN apk add --update --no-cache make git 16:32:30 ---> Running in 4ee91762507e 16:32:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:32:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:32:33 OK: 263 MiB in 53 packages 16:32:33 Removing intermediate container 4ee91762507e 16:32:33 ---> 06699556c22b 16:32:33 Step 7/23 : COPY go.mod vendor* ./ 16:32:34 ---> 0eb6330c2ce9 16:32:34 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:32:34 ---> Running in 367a1397809b 16:32:37 Removing intermediate container 367a1397809b 16:32:37 ---> 4022a0d110ef 16:32:37 Step 9/23 : COPY . . 16:32:38 ---> 32efc873c499 16:32:38 Step 10/23 : RUN ${MAKE} 16:32:38 ---> Running in b901aef29709 16:32:38 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 16:35:00 Removing intermediate container b901aef29709 16:35:00 ---> e996f3667e66 16:35:00 Step 11/23 : FROM alpine:3.17 16:35:00 3.17: Pulling from library/alpine 16:35:00 c41833b44d91: Already exists 16:35:00 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 16:35:00 Status: Downloaded newer image for alpine:3.17 16:35:00 ---> 51e60588ff2c 16:35:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:35:00 ---> Running in 30ea295288b7 16:35:00 Removing intermediate container 30ea295288b7 16:35:00 ---> 27d2adf509c4 16:35:00 Step 13/23 : RUN apk add --update --no-cache 16:35:00 ---> Running in 481d33ff937e 16:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:35:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:35:00 OK: 7 MiB in 15 packages 16:35:00 Removing intermediate container 481d33ff937e 16:35:00 ---> 8cb925142746 16:35:00 Step 14/23 : WORKDIR / 16:35:00 ---> Running in 467f159fc7c4 16:35:00 Removing intermediate container 467f159fc7c4 16:35:00 ---> cc68d10532f3 16:35:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 16:35:00 ---> a03bc0d29fe7 16:35:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 16:35:00 ---> ca37cce3fe6c 16:35:00 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 16:35:00 ---> c577df6d79ef 16:35:00 Step 18/23 : EXPOSE 59999 16:35:00 ---> Running in 204ea612a2e5 16:35:00 Removing intermediate container 204ea612a2e5 16:35:00 ---> 2c2530a55139 16:35:00 Step 19/23 : ENTRYPOINT ["/device-simple"] 16:35:00 ---> Running in 4c1976782b5b 16:35:00 Removing intermediate container 4c1976782b5b 16:35:00 ---> a62941d3876d 16:35:00 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 16:35:00 ---> Running in e963e03f3983 16:35:00 Removing intermediate container e963e03f3983 16:35:00 ---> 24817114748b 16:35:00 Step 21/23 : LABEL arch=arm64 16:35:00 ---> Running in 27ff119a096f 16:35:00 Removing intermediate container 27ff119a096f 16:35:00 ---> b629c5cef6e0 16:35:00 Step 22/23 : LABEL git_sha=4f0436376279373e84a7986f4e96c2bc3759ed1f 16:35:00 ---> Running in d20fe8b6a369 16:35:00 Removing intermediate container d20fe8b6a369 16:35:00 ---> 74fcb2c2e782 16:35:00 Step 23/23 : LABEL version=0.0.0 16:35:00 ---> Running in 33c905fa56e2 16:35:00 Removing intermediate container 33c905fa56e2 16:35:00 ---> cfdf81e528a6 16:35:00 [Warning] One or more build-args [ARCH] were not consumed 16:35:00 Successfully built cfdf81e528a6 16:35:00 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 16:35:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:01 16:35:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:01 arm64: Pulling from edgex-lftools-log-publisher 16:35:01 8998bd30e6a1: Pulling fs layer 16:35:01 04944245beec: Pulling fs layer 16:35:01 699f458cf7ca: Pulling fs layer 16:35:01 765212b225bb: Pulling fs layer 16:35:01 f23df028b6ca: Pulling fs layer 16:35:01 d65c8cfc05b1: Pulling fs layer 16:35:01 2437ff75d9bd: Pulling fs layer 16:35:01 765212b225bb: Waiting 16:35:01 f23df028b6ca: Waiting 16:35:01 d65c8cfc05b1: Waiting 16:35:01 2437ff75d9bd: Waiting 16:35:01 04944245beec: Verifying Checksum 16:35:01 04944245beec: Download complete 16:35:01 765212b225bb: Verifying Checksum 16:35:01 765212b225bb: Download complete 16:35:01 f23df028b6ca: Download complete 16:35:01 d65c8cfc05b1: Verifying Checksum 16:35:01 d65c8cfc05b1: Download complete 16:35:01 699f458cf7ca: Verifying Checksum 16:35:01 699f458cf7ca: Download complete 16:35:02 8998bd30e6a1: Verifying Checksum 16:35:02 8998bd30e6a1: Download complete 16:35:04 2437ff75d9bd: Verifying Checksum 16:35:04 2437ff75d9bd: Download complete 16:35:06 8998bd30e6a1: Pull complete 16:35:06 04944245beec: Pull complete 16:35:07 699f458cf7ca: Pull complete 16:35:08 765212b225bb: Pull complete 16:35:10 f23df028b6ca: Pull complete 16:35:10 d65c8cfc05b1: Pull complete 16:35:25 2437ff75d9bd: Pull complete 16:35:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:35:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:35:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:26 prd-ubuntu20.04-docker-arm64-4c-16g-12180 does not seem to be running inside a container 16:35:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/3 -v /w/workspace/device-sdk-go/3:/w/workspace/device-sdk-go/3:rw,z -v /w/workspace/device-sdk-go/3@tmp:/w/workspace/device-sdk-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:35:28 $ docker top f542a999f95280b45cbfa77c53756d0f0b77a88fa99e7eb98077ececfee0953e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:35:29 ---> job-cost.sh 16:35:29 lf-activate-venv: SKIPPING 16:35:29 INFO: No Stack... 16:35:30 INFO: Retrieving Pricing Info for: v3-standard-4 16:35:30 INFO: Archiving Costs [Pipeline] sh 16:35:31 + cut -d, -f6 16:35:31 + cat /w/workspace/device-sdk-go/3/archives/cost.csv [Pipeline] lock 16:35:31 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1439-3-stack-cost] 16:35:31 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1439-3-stack-cost] did not exist. Created. 16:35:31 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1439-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:35:31 /w/workspace/device-sdk-go/3@tmp/durable-5016e090/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:35:32 + echo total: 0.10999999940395355 [Pipeline] stash 16:35:32 Warning: overwriting stash ‘stack-cost’ 16:35:32 Stashed 1 file(s) [Pipeline] } 16:35:32 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1439-3-stack-cost] [Pipeline] // lock [Pipeline] } 16:35:32 $ docker stop --time=1 f542a999f95280b45cbfa77c53756d0f0b77a88fa99e7eb98077ececfee0953e 16:35:33 $ docker rm -f --volumes f542a999f95280b45cbfa77c53756d0f0b77a88fa99e7eb98077ececfee0953e [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:35:34 provisioning config files... 16:35:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp/config3050065832935641733tmp [Pipeline] { [Pipeline] sh 16:35:34 + set +x 16:35:34 + + bash -s -- 16:35:34 curl -s https://codecov.io/bash 16:35:34 16:35:34 _____ _ 16:35:34 / ____| | | 16:35:34 | | ___ __| | ___ ___ _____ __ 16:35:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:35:34 | |___| (_) | (_| | __/ (_| (_) \ V / 16:35:34 \_____\___/ \__,_|\___|\___\___/ \_/ 16:35:34 Bash-1.0.6 16:35:34 16:35:34 16:35:34 ==> git version 2.25.1 found 16:35:34 ==> 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:35:34 Release-Date: 2020-01-08 16:35:34 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:35:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:35:34 ==> Jenkins CI detected. 16:35:34 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1439 16:35:34 project root: . 16:35:34 --> token set from env 16:35:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:35:34 ==> Running gcov in . (disable via -X gcov) 16:35:34 ==> Python coveragepy not found 16:35:34 ==> Searching for coverage reports in: 16:35:34 + . 16:35:34 -> Found 1 reports 16:35:34 ==> Detecting git/mercurial file structure 16:35:34 ==> Reading reports 16:35:34 + ./coverage.out bytes=106119 16:35:34 ==> Appending adjustments 16:35:34 https://docs.codecov.io/docs/fixing-reports 16:35:35 + Found adjustments 16:35:35 ==> Gzipping contents 16:35:35 16K /tmp/codecov.WQiazw.gz 16:35:35 ==> Uploading reports 16:35:35 url: https://codecov.io 16:35:35 query: branch=PR-1439&commit=4f0436376279373e84a7986f4e96c2bc3759ed1f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1439%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1439&job=&cmd_args= 16:35:35 -> Pinging Codecov 16:35:35 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1439&commit=4f0436376279373e84a7986f4e96c2bc3759ed1f&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1439%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1439&job=&cmd_args= 16:35:35 -> Uploading to 16:35:35 https://storage.googleapis.com/codecov/v4/raw/2023-05-01/7E55EF52A471D76F132DFD9A03CDDE97/4f0436376279373e84a7986f4e96c2bc3759ed1f/07b3e9f6-9513-4cfb-ad0e-233102502691.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T163535Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5ebef5f2e5eb8989db4e01d7ff7d6b6d72c650b9ce1603af5edf0e7fc764db61 16:35:35 % Total % Received % Xferd Average Speed Time Time Time Current 16:35:35 Dload Upload Total Spent Left Speed 16:35:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15030 0 0 100 15030 0 68944 --:--:-- --:--:-- --:--:-- 68944 16:35:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4f0436376279373e84a7986f4e96c2bc3759ed1f [Pipeline] } 16:35:35 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:35:36 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1439/archives ] 16:35:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1439/archives 16:35:36 total 16 16:35:36 drwxr-xr-x 3 root root 4096 May 1 16:22 . 16:35:36 drwxrwxr-x 12 jenkins jenkins 4096 May 1 16:22 .. 16:35:36 drwxr-xr-x 2 root root 4096 May 1 16:22 cost 16:35:36 -rw-r--r-- 1 root root 86 May 1 16:22 cost.csv 16:35:36 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1439/archives 16:35:36 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1439/archives 16:35:36 total 16 16:35:36 drwxr-xr-x 3 jenkins jenkins 4096 May 1 16:22 . 16:35:36 drwxrwxr-x 12 jenkins jenkins 4096 May 1 16:22 .. 16:35:36 drwxr-xr-x 2 jenkins jenkins 4096 May 1 16:22 cost 16:35:36 -rw-r--r-- 1 jenkins jenkins 86 May 1 16:22 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:35:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:35:37 ---> package-listing.sh 16:35:37 ++ facter osfamily 16:35:37 ++ tr '[:upper:]' '[:lower:]' 16:35:37 + OS_FAMILY=debian 16:35:37 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1439 16:35:37 + START_PACKAGES=/tmp/packages_start.txt 16:35:37 + END_PACKAGES=/tmp/packages_end.txt 16:35:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:35:37 + PACKAGES=/tmp/packages_start.txt 16:35:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1439 ']' 16:35:37 + PACKAGES=/tmp/packages_end.txt 16:35:37 + case "${OS_FAMILY}" in 16:35:37 + dpkg -l 16:35:37 + grep '^ii' 16:35:37 + '[' -f /tmp/packages_start.txt ']' 16:35:37 + '[' -f /tmp/packages_end.txt ']' 16:35:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:35:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1439 ']' 16:35:37 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1439/archives/ 16:35:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1439/archives/ [Pipeline] echo 16:35:37 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-1439/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:35:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:35:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:35:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:35:38 prd-ubuntu20.04-docker-8c-8g-12178 does not seem to be running inside a container 16:35:38 $ 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-1439/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-1439 -v /w/workspace/gexfoundry_device-sdk-go_PR-1439:/w/workspace/gexfoundry_device-sdk-go_PR-1439:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:35:38 $ docker top 0d2beb8755eadd1d7acf9836d258bdbb1957033832db37028f6befdcd38d80b1 -eo pid,comm [Pipeline] { [Pipeline] sh 16:35:38 + touch /tmp/pre-build-complete [Pipeline] sh 16:35:39 + mkdir -p /var/log/sysstat [Pipeline] sh 16:35:39 + ls /var/log/sa-host 16:35:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:35:39 provisioning config files... 16:35:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1439@tmp/config5796448889106926929tmp [Pipeline] { [Pipeline] echo 16:35:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:35:39 ---> create-netrc.sh [Pipeline] } 16:35:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:35:40 ---> python-tools-install.sh [Pipeline] echo 16:35:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:35:40 ---> sudo-logs.sh 16:35:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:35:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:35:40 ---> job-cost.sh 16:35:40 lf-activate-venv: SKIPPING 16:35:40 DEBUG: total: 0.2199999988079071 16:35:40 INFO: Retrieving Stack Cost... 16:35:41 INFO: Retrieving Pricing Info for: v3-standard-8 16:35:41 INFO: Archiving Costs [Pipeline] echo 16:35:41 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:35:41 ---> logs-deploy.sh 16:35:41 lf-activate-venv: SKIPPING 16:35:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1439/3 16:35:41 INFO: archiving workspace using pattern(s): 16:35:42 Archives upload complete. 16:35:42 INFO: archiving logs to Nexus