Pull request #1471 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 668323de2196758b3329aa0ada666f398bc17cd1+a0da80382c0e288d5b5fa5ac238919125b7cf977 (fbbf24302f0d808267545618b8c239a26209c704) 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-ssh12760555391726019853.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh5660811520670133809.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1471/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-1471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12314863823913236355.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh8113033159933689683.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-1471/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-1471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh187618771902386246.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1453 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [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-1471 # 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/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit 668323de2196758b3329aa0ada666f398bc17cd1 Merge succeeded, producing b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 Checking out Revision b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 (PR-1471) > git config core.sparsecheckout # timeout=10 > git checkout -f 668323de2196758b3329aa0ada666f398bc17cd1 # 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 a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 # timeout=10 Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" > git rev-list --no-walk 2c47d968c3f2c483c59d059233069dd8f349e2ea # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:12:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:12:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:12:57 ========================================================= 17:12:57 EdgeX Global Pipelines Version Info 17:12:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:12:58 ------------------- 17:12:58 stable info: 17:12:58 ------------------- 17:12:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:12:58 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:12:58 Message: update stable to v1.0.250 17:12:59 ------------------- 17:12:59 experimental info: 17:12:59 ------------------- 17:12:59 Commited By: **** collab-it+edgex@linuxfoundation.org 17:12:59 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 17:12:59 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1471 [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1471 [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1471 [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b262980 [Pipeline] echo 17:12:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:12:59 provisioning config files... 17:12:59 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config11281253638124886164tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:00 ---> docker-login.sh 17:13:00 nexus3.edgexfoundry.org:10001 17:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:00 Configure a credential helper to remove this warning. See 17:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:00 17:13:00 Login Succeeded 17:13:00 nexus3.edgexfoundry.org:10002 17:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:00 Configure a credential helper to remove this warning. See 17:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:00 17:13:00 Login Succeeded 17:13:00 nexus3.edgexfoundry.org:10003 17:13:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:00 Configure a credential helper to remove this warning. See 17:13:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:00 17:13:00 Login Succeeded 17:13:00 nexus3.edgexfoundry.org:10004 17:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:01 Configure a credential helper to remove this warning. See 17:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:01 17:13:01 Login Succeeded 17:13:01 docker.io 17:13:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:01 Configure a credential helper to remove this warning. See 17:13:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:01 17:13:01 Login Succeeded 17:13:01 ---> docker-login.sh ends [Pipeline] } 17:13:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:13:01 + git rev-list -1 --merges b2629809fb989d447d93b8e5b1d5d3adeaccd1c2~1..b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [Pipeline] echo 17:13:01 -----------> git rev-list -1 --merges b2629809fb989d447d93b8e5b1d5d3adeaccd1c2~1..b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 17:13:01 b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [false] [Pipeline] sh 17:13:01 + git log --format=format:%s -1 b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [Pipeline] echo 17:13:02 ========================================================= 17:13:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:13:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:13:02 + git log --format=format:%s -1 b2629809fb989d447d93b8e5b1d5d3adeaccd1c2 [Pipeline] echo 17:13:02 [semverPrep] GIT_COMMIT: b2629809fb989d447d93b8e5b1d5d3adeaccd1c2, Commit Message: Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD [Pipeline] echo 17:13:02 [semverPrep] This is not a build commit. [Pipeline] sh 17:13:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:13:02 + grep -v github /etc/ssh/ssh_known_hosts 17:13:02 + [ -e /tmp/ssh_known_hosts ] 17:13:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:13:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:13:02 + sudo tee -a /etc/ssh/ssh_known_hosts 17:13:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:03 17:13:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:03 0.1.4: Pulling from edgex-devops/py-git-semver 17:13:03 b85a868b505f: Pulling fs layer 17:13:03 e2be974225ed: Pulling fs layer 17:13:03 339a4e72a1f5: Pulling fs layer 17:13:03 988bab9f4d93: Pulling fs layer 17:13:03 1469e6f7b9e6: Pulling fs layer 17:13:03 eaf3925da568: Pulling fs layer 17:13:03 bab4dde63d76: Pulling fs layer 17:13:03 bde34c3a00c8: Pulling fs layer 17:13:03 b352a97aabf1: Pulling fs layer 17:13:03 4872d77fe225: Pulling fs layer 17:13:03 5851b861e8e6: Pulling fs layer 17:13:03 988bab9f4d93: Waiting 17:13:03 4872d77fe225: Waiting 17:13:03 bde34c3a00c8: Waiting 17:13:03 5851b861e8e6: Waiting 17:13:03 bab4dde63d76: Waiting 17:13:03 1469e6f7b9e6: Waiting 17:13:03 e2be974225ed: Verifying Checksum 17:13:03 e2be974225ed: Download complete 17:13:03 988bab9f4d93: Verifying Checksum 17:13:03 1469e6f7b9e6: Download complete 17:13:03 eaf3925da568: Verifying Checksum 17:13:03 eaf3925da568: Download complete 17:13:03 339a4e72a1f5: Verifying Checksum 17:13:03 339a4e72a1f5: Download complete 17:13:03 bde34c3a00c8: Verifying Checksum 17:13:03 bde34c3a00c8: Download complete 17:13:03 b352a97aabf1: Verifying Checksum 17:13:03 b352a97aabf1: Download complete 17:13:03 4872d77fe225: Verifying Checksum 17:13:03 4872d77fe225: Download complete 17:13:03 5851b861e8e6: Download complete 17:13:03 b85a868b505f: Download complete 17:13:04 bab4dde63d76: Verifying Checksum 17:13:04 bab4dde63d76: Download complete 17:13:05 b85a868b505f: Pull complete 17:13:05 e2be974225ed: Pull complete 17:13:05 339a4e72a1f5: Pull complete 17:13:05 988bab9f4d93: Pull complete 17:13:06 1469e6f7b9e6: Pull complete 17:13:06 eaf3925da568: Pull complete 17:13:08 bab4dde63d76: Pull complete 17:13:08 bde34c3a00c8: Pull complete 17:13:08 b352a97aabf1: Pull complete 17:13:08 4872d77fe225: Pull complete 17:13:08 5851b861e8e6: Pull complete 17:13:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:13:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:13:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:13:08 prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container 17:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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-devops/py-git-semver:0.1.4 cat 17:13:11 $ docker top 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 -eo pid,comm 17:13:11 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). 17:13:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:13:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:13:11 [ssh-agent] Looking for ssh-agent implementation... 17:13:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:13:11 $ docker exec 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 ssh-agent 17:13:11 SSH_AUTH_SOCK=/tmp/ssh-cTtHYEWZU1jA/agent.33 17:13:11 SSH_AGENT_PID=39 17:13:11 Running ssh-add (command line suppressed) 17:13:11 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_2027147968289494957.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_2027147968289494957.key) 17:13:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:13:12 + git tag --points-at HEAD [Pipeline] } 17:13:12 $ docker exec --env ******** --env ******** 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 ssh-agent -k 17:13:12 unset SSH_AUTH_SOCK; 17:13:12 unset SSH_AGENT_PID; 17:13:12 echo Agent pid 39 killed; 17:13:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:13:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:13:12 [ssh-agent] Looking for ssh-agent implementation... 17:13:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:13:12 $ docker exec 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 ssh-agent 17:13:12 SSH_AUTH_SOCK=/tmp/ssh-gnjz4qY7ebfu/agent.71 17:13:12 SSH_AGENT_PID=77 17:13:12 Running ssh-add (command line suppressed) 17:13:12 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_7381789923134905129.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_7381789923134905129.key) 17:13:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:13:12 + git semver init 17:13:13 2023-07-18 17:13:12,999 [run_init] DEBUG init version:0.0.0 force:False 17:13:13 2023-07-18 17:13:13,000 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver 17:13:13 2023-07-18 17:13:13,000 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver 17:13:13 2023-07-18 17:13:13,001 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471, universal_newlines=False, shell=None, istream=None) 17:13:14 2023-07-18 17:13:13,896 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.git/info/exclude 17:13:14 2023-07-18 17:13:13,896 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 with force:False 17:13:14 2023-07-18 17:13:13,896 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 17:13:14 2023-07-18 17:13:13,901 [execute] INFO git cat-file --batch-check 17:13:14 2023-07-18 17:13:13,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) 17:13:14 2023-07-18 17:13:13,906 [execute] INFO git cat-file --batch 17:13:14 2023-07-18 17:13:13,906 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) 17:13:14 2023-07-18 17:13:13,910 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 17:13:14 0.0.0 [Pipeline] } 17:13:14 $ docker exec --env ******** --env ******** 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 ssh-agent -k 17:13:14 unset SSH_AUTH_SOCK; 17:13:14 unset SSH_AGENT_PID; 17:13:14 echo Agent pid 77 killed; 17:13:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:13:14 + git semver [Pipeline] } 17:13:14 $ docker stop --time=1 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 17:13:16 $ docker rm -f --volumes 2edb165cae6f4d642b73aeeaaa4c35c356443aa21349f018d689ccc74dd16c34 [Pipeline] // withDockerContainer [Pipeline] sh 17:13:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:13:16 Stashed 1 file(s) [Pipeline] echo 17:13:16 [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 17:13:16 provisioning config files... 17:13:16 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config16897495921010324808tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:13:17 ---> docker-login.sh 17:13:17 nexus3.edgexfoundry.org:10001 17:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:17 Configure a credential helper to remove this warning. See 17:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:17 17:13:17 Login Succeeded 17:13:17 nexus3.edgexfoundry.org:10002 17:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:17 Configure a credential helper to remove this warning. See 17:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:17 17:13:17 Login Succeeded 17:13:17 nexus3.edgexfoundry.org:10003 17:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:17 Configure a credential helper to remove this warning. See 17:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:17 17:13:17 Login Succeeded 17:13:17 nexus3.edgexfoundry.org:10004 17:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:17 Configure a credential helper to remove this warning. See 17:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:17 17:13:17 Login Succeeded 17:13:17 docker.io 17:13:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:13:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:13:17 Configure a credential helper to remove this warning. See 17:13:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:13:17 17:13:17 Login Succeeded 17:13:17 ---> docker-login.sh ends [Pipeline] } 17:13:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:13:17 ========================================================= 17:13:17 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 17:13:17 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:13: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 . 17:13:18 Sending build context to Docker daemon 10.99MB 17:13:18 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:13:18 Step 2/10 : FROM ${BASE} AS builder 17:13:18 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 17:13:18 4db1b89c0bd1: Pulling fs layer 17:13:18 6911f1a30b25: Pulling fs layer 17:13:18 e194b8c5c2a9: Pulling fs layer 17:13:18 6863d3e3a2b1: Pulling fs layer 17:13:18 ec0bb842ea78: Pulling fs layer 17:13:18 40a00589a448: Pulling fs layer 17:13:18 6c08303d61cc: Pulling fs layer 17:13:18 798269fcf238: Pulling fs layer 17:13:18 6863d3e3a2b1: Waiting 17:13:18 ec0bb842ea78: Waiting 17:13:18 40a00589a448: Waiting 17:13:18 6c08303d61cc: Waiting 17:13:18 798269fcf238: Waiting 17:13:18 6911f1a30b25: Download complete 17:13:18 6863d3e3a2b1: Download complete 17:13:18 ec0bb842ea78: Verifying Checksum 17:13:18 ec0bb842ea78: Download complete 17:13:18 4db1b89c0bd1: Verifying Checksum 17:13:18 4db1b89c0bd1: Download complete 17:13:18 40a00589a448: Verifying Checksum 17:13:18 40a00589a448: Download complete 17:13:18 4db1b89c0bd1: Pull complete 17:13:18 6911f1a30b25: Pull complete 17:13:18 798269fcf238: Verifying Checksum 17:13:18 798269fcf238: Download complete 17:13:18 e194b8c5c2a9: Verifying Checksum 17:13:18 e194b8c5c2a9: Download complete 17:13:19 6c08303d61cc: Verifying Checksum 17:13:19 6c08303d61cc: Download complete 17:13:22 e194b8c5c2a9: Pull complete 17:13:22 6863d3e3a2b1: Pull complete 17:13:22 ec0bb842ea78: Pull complete 17:13:22 40a00589a448: Pull complete 17:13:24 6c08303d61cc: Pull complete 17:13:25 798269fcf238: Pull complete 17:13:25 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 17:13:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 17:13:25 ---> ec979cd7f677 17:13:25 Step 3/10 : ARG MAKE=make build 17:13:29 ---> Running in 7f0c10eef61d 17:13:29 Removing intermediate container 7f0c10eef61d 17:13:29 ---> e6b6b2e228f5 17:13:29 Step 4/10 : WORKDIR /device-sdk-go 17:13:29 ---> Running in 27b7b07bebe9 17:13:29 Removing intermediate container 27b7b07bebe9 17:13:29 ---> a3aa26e2b8d3 17:13:29 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:13:29 ---> Running in 2920617e7556 17:13:29 Removing intermediate container 2920617e7556 17:13:29 ---> 56c77e23b00a 17:13:29 Step 6/10 : RUN apk add --update --no-cache make git 17:13:29 ---> Running in fde88fcaaad9 17:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 17:13:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 17:13:30 OK: 265 MiB in 53 packages 17:13:30 Removing intermediate container fde88fcaaad9 17:13:30 ---> b05c6655785a 17:13:30 Step 7/10 : COPY go.mod vendor* ./ 17:13:30 ---> f0e5aa681b84 17:13:30 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:13:31 ---> Running in c546632d6f7d 17:13:31 Still waiting to schedule task 17:13:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:14:09 Removing intermediate container c546632d6f7d 17:14:09 ---> ece8a15588fe 17:14:09 Step 9/10 : COPY . . 17:14:09 ---> 8e37e46f8504 17:14:09 Step 10/10 : RUN ${MAKE} 17:14:09 ---> Running in 5e00dac5a35a 17:14:09 noop 17:14:10 Removing intermediate container 5e00dac5a35a 17:14:10 ---> 28077e02f88a 17:14:10 Successfully built 28077e02f88a 17:14:10 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:10 + docker inspect -f . ci-base-image-x86_64 17:14:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:10 prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container 17:14:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:14:10 $ docker top 3229e3175d8c077a198cb1b975677b8e6448e4c9332d3fd78e6b7f09766d9e32 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:11 + go version 17:14:11 go version go1.20.6 linux/amd64 [Pipeline] } 17:14:11 $ docker stop --time=1 3229e3175d8c077a198cb1b975677b8e6448e4c9332d3fd78e6b7f09766d9e32 17:14:12 $ docker rm -f --volumes 3229e3175d8c077a198cb1b975677b8e6448e4c9332d3fd78e6b7f09766d9e32 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:14:12 + docker inspect -f . ci-base-image-x86_64 17:14:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:14:12 prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container 17:14:12 $ 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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:14:13 $ docker top cc00631e8ab14b7b1af59b7eca021dba3fe099e369d7efc565e3a877952ca564 -eo pid,comm [Pipeline] { [Pipeline] sh 17:14:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] fileExists [Pipeline] sh 17:14:13 + make test 17:14:13 go test -race -coverprofile=coverage.out ./... 17:14:22 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:14:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:14:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:14:34 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:14:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:14:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:14:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.045s coverage: 27.6% of statements 17:14:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:14:34 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:14:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.060s coverage: 80.2% of statements 17:14:34 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.079s coverage: 86.0% of statements 17:14:35 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:14:35 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.097s coverage: 77.5% of statements 17:14:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:14:35 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:14:36 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:14:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.088s coverage: 14.3% of statements 17:14:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.774s coverage: 21.5% of statements 17:14:38 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.074s coverage: 68.5% of statements 17:14:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.105s coverage: 89.2% of statements 17:14:38 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.7% of statements 17:15:00 internal/provision/devices_test.go:34:19: Error return value of `cache.InitCache` is not checked (errcheck) 17:15:00 cache.InitCache(TestDeviceService, TestDeviceService, dic) 17:15:00 ^ 17:15:00 internal/provision/profiles_test.go:183:19: Error return value of `cache.InitCache` is not checked (errcheck) 17:15:00 cache.InitCache(TestDeviceService, TestDeviceService, dic) 17:15:00 ^ 17:15:00 internal/provision/provisionwatchers_test.go:37:19: Error return value of `cache.InitCache` is not checked (errcheck) 17:15:00 cache.InitCache(TestDeviceService, TestDeviceService, dic) 17:15:00 ^ 17:15:00 make: *** [Makefile:39: lint] Error 1 [Pipeline] } 17:15:00 $ docker stop --time=1 cc00631e8ab14b7b1af59b7eca021dba3fe099e369d7efc565e3a877952ca564 17:15:04 $ docker rm -f --volumes cc00631e8ab14b7b1af59b7eca021dba3fe099e369d7efc565e3a877952ca564 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:04 17:15:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:05 latest: Pulling from edgex-lftools-log-publisher 17:15:05 5eb5b503b376: Pulling fs layer 17:15:05 5c69ac0246d0: Pulling fs layer 17:15:05 ec43610c2a17: Pulling fs layer 17:15:05 3a2ae6a8a46f: Pulling fs layer 17:15:05 33b1e0a273af: Pulling fs layer 17:15:05 5d3b04190fa2: Pulling fs layer 17:15:05 2f39f015ded8: Pulling fs layer 17:15:05 3a2ae6a8a46f: Waiting 17:15:05 5d3b04190fa2: Waiting 17:15:05 2f39f015ded8: Waiting 17:15:05 5c69ac0246d0: Download complete 17:15:05 3a2ae6a8a46f: Verifying Checksum 17:15:05 3a2ae6a8a46f: Download complete 17:15:05 33b1e0a273af: Verifying Checksum 17:15:05 33b1e0a273af: Download complete 17:15:05 5d3b04190fa2: Download complete 17:15:05 ec43610c2a17: Verifying Checksum 17:15:05 ec43610c2a17: Download complete 17:15:05 5eb5b503b376: Download complete 17:15:05 2f39f015ded8: Download complete 17:15:06 5eb5b503b376: Pull complete 17:15:06 5c69ac0246d0: Pull complete 17:15:06 ec43610c2a17: Pull complete 17:15:07 3a2ae6a8a46f: Pull complete 17:15:07 33b1e0a273af: Pull complete 17:15:07 5d3b04190fa2: Pull complete 17:15:10 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1454 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] { [Pipeline] ws 17:15:10 Running in /w/workspace/device-sdk-go/10 [Pipeline] { [Pipeline] checkout 17:15:10 The recommended git tool is: git 17:15:11 2f39f015ded8: Pull complete 17:15:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:15:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:15:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:15:11 prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container 17:15:11 $ 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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:15:15 $ docker top 8976f84dad194e6370ea55ac24c88b9f5cac910b3c7c29498d2e8911bfeffb36 -eo pid,comm 17:15:15 using credential edgex-jenkins-ssh 17:15:15 Cloning the remote Git repository [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:15 ---> job-cost.sh 17:15:15 lf-activate-venv: SKIPPING 17:15:15 INFO: No Stack... 17:15:15 INFO: Retrieving Pricing Info for: v3-standard-8 17:15:16 INFO: Archiving Costs [Pipeline] sh 17:15:15 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:15:15 > git init /w/workspace/device-sdk-go/10 # timeout=10 17:15:15 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:15:15 > git --version # timeout=10 17:15:15 > git --version # 'git version 2.25.1' 17:15:15 using GIT_SSH to set credentials SSH Credentials for GitHub 17:15:15 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:15:16 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/cost.csv 17:15:16 + cut -d, -f6 [Pipeline] lock 17:15:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] 17:15:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] did not exist. Created. 17:15:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:15:16 + echo total: 0.2199999988079071 [Pipeline] stash 17:15:16 Stashed 1 file(s) [Pipeline] } 17:15:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:15:16 $ docker stop --time=1 8976f84dad194e6370ea55ac24c88b9f5cac910b3c7c29498d2e8911bfeffb36 17:15:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:15:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:15:17 $ docker rm -f --volumes 8976f84dad194e6370ea55ac24c88b9f5cac910b3c7c29498d2e8911bfeffb36 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:15:17 Failed in branch amd64 17:15:18 Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit 668323de2196758b3329aa0ada666f398bc17cd1 17:15:18 Merge succeeded, producing eee617f67e6a3f47dc3f9cca9647b6d72480ced5 17:15:18 Checking out Revision eee617f67e6a3f47dc3f9cca9647b6d72480ced5 (PR-1471) 17:15:17 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:15:17 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:15:17 using GIT_SSH to set credentials SSH Credentials for GitHub 17:15:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:15:18 > git config core.sparsecheckout # timeout=10 17:15:18 > git checkout -f 668323de2196758b3329aa0ada666f398bc17cd1 # timeout=10 17:15:18 > git remote # timeout=10 17:15:18 > git config --get remote.origin.url # timeout=10 17:15:18 using GIT_SSH to set credentials SSH Credentials for GitHub 17:15:18 > git merge a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 17:15:18 > git rev-parse HEAD^{commit} # timeout=10 17:15:18 > git config core.sparsecheckout # timeout=10 17:15:18 > git checkout -f eee617f67e6a3f47dc3f9cca9647b6d72480ced5 # timeout=10 17:15:22 Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" 17:15:22 > git rev-list --no-walk 2c47d968c3f2c483c59d059233069dd8f349e2ea # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:15:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:15:23 % Total % Received % Xferd Average Speed Time Time Time Current 17:15:23 Dload Upload Total Spent Left Speed 17:15:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91078 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 17:15:24 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:15:24 + sudo tee /etc/docker/daemon.new 17:15:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:15:24 { 17:15:24 "registry-mirrors": [ 17:15:24 "https://nexus3.edgexfoundry.org:10001" 17:15:24 ], 17:15:24 "bip": "10.250.0.254/24", 17:15:24 "hosts": [ 17:15:24 "tcp://0.0.0.0:5555", 17:15:24 "unix:///var/run/docker.sock" 17:15:24 ], 17:15:24 "mtu": 1458, 17:15:24 "selinux-enabled": true, 17:15:24 "seccomp-profile": "/etc/docker/seccomp.json" 17:15:24 } [Pipeline] sh 17:15:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:15:25 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:15:43 provisioning config files... 17:15:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/10@tmp/config12963603726382239987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:15:43 ---> docker-login.sh 17:15:43 nexus3.edgexfoundry.org:10001 17:15:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:44 Configure a credential helper to remove this warning. See 17:15:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:44 17:15:44 Login Succeeded 17:15:44 nexus3.edgexfoundry.org:10002 17:15:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:45 Configure a credential helper to remove this warning. See 17:15:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:45 17:15:45 Login Succeeded 17:15:45 nexus3.edgexfoundry.org:10003 17:15:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:45 Configure a credential helper to remove this warning. See 17:15:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:45 17:15:45 Login Succeeded 17:15:45 nexus3.edgexfoundry.org:10004 17:15:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:45 Configure a credential helper to remove this warning. See 17:15:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:45 17:15:45 Login Succeeded 17:15:45 docker.io 17:15:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:15:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:15:46 Configure a credential helper to remove this warning. See 17:15:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:15:46 17:15:46 Login Succeeded 17:15:46 ---> docker-login.sh ends [Pipeline] } 17:15:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:15:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:15:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:15:46 ========================================================= 17:15:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 17:15:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:15:46 + 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 . 17:15:47 Sending build context to Docker daemon 5.892MB 17:15:47 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 17:15:47 Step 2/10 : FROM ${BASE} AS builder 17:15:47 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:15:47 edb6bdbacee9: Pulling fs layer 17:15:47 5f9638ab2659: Pulling fs layer 17:15:47 8d51d6327a98: Pulling fs layer 17:15:47 8b374f2dd631: Pulling fs layer 17:15:47 ec14aa9079de: Pulling fs layer 17:15:47 2f466654f4bb: Pulling fs layer 17:15:47 554e91adad29: Pulling fs layer 17:15:47 8b374f2dd631: Waiting 17:15:47 ec14aa9079de: Waiting 17:15:47 2f466654f4bb: Waiting 17:15:47 554e91adad29: Waiting 17:15:47 5f9638ab2659: Verifying Checksum 17:15:47 5f9638ab2659: Download complete 17:15:47 8b374f2dd631: Verifying Checksum 17:15:47 8b374f2dd631: Download complete 17:15:47 edb6bdbacee9: Download complete 17:15:48 edb6bdbacee9: Pull complete 17:15:49 ec14aa9079de: Verifying Checksum 17:15:49 ec14aa9079de: Download complete 17:15:50 5f9638ab2659: Pull complete 17:15:51 554e91adad29: Verifying Checksum 17:15:51 554e91adad29: Download complete 17:15:52 8d51d6327a98: Verifying Checksum 17:15:52 8d51d6327a98: Download complete 17:15:53 2f466654f4bb: Verifying Checksum 17:15:53 2f466654f4bb: Download complete 17:16:05 8d51d6327a98: Pull complete 17:16:05 8b374f2dd631: Pull complete 17:16:05 ec14aa9079de: Pull complete 17:16:10 2f466654f4bb: Pull complete 17:16:13 554e91adad29: Pull complete 17:16:13 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 17:16:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 17:16:13 ---> 1e15ea492957 17:16:13 Step 3/10 : ARG MAKE=make build 17:16:14 ---> Running in b32c014c6328 17:16:15 Removing intermediate container b32c014c6328 17:16:15 ---> 6443ecd66ee3 17:16:15 Step 4/10 : WORKDIR /device-sdk-go 17:16:15 ---> Running in 6308f3030897 17:16:15 Removing intermediate container 6308f3030897 17:16:15 ---> 55066488b1f7 17:16:15 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:16:15 ---> Running in 0ff30b9ef6b4 17:16:15 Removing intermediate container 0ff30b9ef6b4 17:16:15 ---> a33ce0de4608 17:16:15 Step 6/10 : RUN apk add --update --no-cache make git 17:16:15 ---> Running in 3e7d4acb09da 17:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:16:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:16:18 OK: 263 MiB in 53 packages 17:16:19 Removing intermediate container 3e7d4acb09da 17:16:19 ---> 71e8d0cfaa63 17:16:19 Step 7/10 : COPY go.mod vendor* ./ 17:16:19 ---> 8dcb943019bd 17:16:19 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:16:19 ---> Running in a7bdf5ab7e9a 17:17:27 Removing intermediate container a7bdf5ab7e9a 17:17:27 ---> 7fa39fa50fad 17:17:27 Step 9/10 : COPY . . 17:17:27 ---> 972cb323899f 17:17:27 Step 10/10 : RUN ${MAKE} 17:17:27 ---> Running in c5318cfd2dca 17:17:27 noop 17:17:27 Removing intermediate container c5318cfd2dca 17:17:27 ---> 2b7de422f39a 17:17:27 Successfully built 2b7de422f39a 17:17:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:28 + docker inspect -f . ci-base-image-arm64 17:17:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:28 prd-ubuntu20.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container 17:17:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 17:17:29 $ docker top 2aa5f273264323f95c34454fc05f14baec8eb5aa113e5ff23f81224a5c2aaf64 -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:30 + go version 17:17:30 go version go1.20.6 linux/arm64 [Pipeline] } 17:17:30 $ docker stop --time=1 2aa5f273264323f95c34454fc05f14baec8eb5aa113e5ff23f81224a5c2aaf64 17:17:32 $ docker rm -f --volumes 2aa5f273264323f95c34454fc05f14baec8eb5aa113e5ff23f81224a5c2aaf64 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:17:32 + docker inspect -f . ci-base-image-arm64 17:17:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:17:32 prd-ubuntu20.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container 17:17:32 $ 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/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** ci-base-image-arm64 cat 17:17:35 $ docker top a60f6875c7bcca530580c28ae3866125ea04c41eb9a77e20ef8bd5223ba337c9 -eo pid,comm [Pipeline] { [Pipeline] sh 17:17:35 + git config --global --add safe.directory /w/workspace/device-sdk-go/10 [Pipeline] fileExists [Pipeline] sh 17:17:35 + make test 17:17:35 go test -race -coverprofile=coverage.out ./... 17:18:14 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:20:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:20:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:20:21 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:20:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:20:21 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:20:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.231s coverage: 27.6% of statements 17:20:29 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.259s coverage: 80.2% of statements 17:20:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:20:44 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:20:44 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.434s coverage: 86.0% of statements 17:20:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:20:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.435s coverage: 77.5% of statements 17:20:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.278s coverage: 14.3% of statements 17:20:55 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.576s coverage: 21.5% of statements 17:20:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:20:56 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:20:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.386s coverage: 68.5% of statements 17:20:59 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.447s coverage: 89.2% of statements 17:21:01 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:21:01 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.7% of statements 17:21:02 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:21:02 GO111MODULE=on go vet ./... 17:23:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:23:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:23:24 ./bin/test-attribution-txt.sh [Pipeline] echo 17:23:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:23:24 $ docker stop --time=1 a60f6875c7bcca530580c28ae3866125ea04c41eb9a77e20ef8bd5223ba337c9 17:23:26 $ docker rm -f --volumes a60f6875c7bcca530580c28ae3866125ea04c41eb9a77e20ef8bd5223ba337c9 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:23:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:23:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:23:29 + ls -al . 17:23:29 total 296 17:23:29 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 17:17 . 17:23:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 17:15 .. 17:23:29 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 17:15 .dockerignore 17:23:29 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 17:15 .git 17:23:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 17:15 .github 17:23:29 -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 17:15 .gitignore 17:23:29 -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 17:15 .golangci.yml 17:23:29 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 17:15 CHANGELOG.md 17:23:29 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 17:15 GOVERNANCE.md 17:23:29 -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 17:15 Jenkinsfile 17:23:29 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 17:15 LICENSE 17:23:29 -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 17:15 Makefile 17:23:29 -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 17:15 OWNERS.md 17:23:29 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 17:15 README.md 17:23:29 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 17:13 VERSION 17:23:29 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 17:15 bin 17:23:29 -rw-r--r-- 1 jenkins jenkins 121824 Jul 18 17:21 coverage.out 17:23:29 drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 17:15 example 17:23:29 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 17:15 go.mod 17:23:29 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 17:15 go.sum 17:23:29 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 17:15 internal 17:23:29 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 17:15 openapi 17:23:29 drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 17:15 pkg 17:23:29 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 17:15 snap 17:23:29 -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 17:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:29 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=eee617f67e6a3f47dc3f9cca9647b6d72480ced5 --label arch=arm64 --label version=0.0.0 . 17:23:30 Sending build context to Docker daemon 6.014MB 17:23:30 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 17:23:30 Step 2/23 : FROM ${BASE} AS builder 17:23:30 ---> 2b7de422f39a 17:23:30 Step 3/23 : ARG MAKE=make build 17:23:30 ---> Running in f61c87938797 17:23:30 Removing intermediate container f61c87938797 17:23:30 ---> 96ea2693dbd3 17:23:30 Step 4/23 : WORKDIR /device-sdk-go 17:23:30 ---> Running in f28e8306cb83 17:23:30 Removing intermediate container f28e8306cb83 17:23:30 ---> 6892803ec2a8 17:23:30 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:23:31 ---> Running in e60aa5d076e7 17:23:31 Removing intermediate container e60aa5d076e7 17:23:31 ---> b24e564d065d 17:23:31 Step 6/23 : RUN apk add --update --no-cache make git 17:23:31 ---> Running in 56e214540c8e 17:23:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:23:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:23:33 OK: 263 MiB in 53 packages 17:23:34 Removing intermediate container 56e214540c8e 17:23:34 ---> 1357df943c5e 17:23:34 Step 7/23 : COPY go.mod vendor* ./ 17:23:37 ---> e35d3e458dff 17:23:37 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:23:37 ---> Running in aa8bbefe3b46 17:23:39 Removing intermediate container aa8bbefe3b46 17:23:39 ---> 06743857a4a3 17:23:39 Step 9/23 : COPY . . 17:23:40 ---> 4959436c1856 17:23:40 Step 10/23 : RUN ${MAKE} 17:23:40 ---> Running in 6a5b464ebb5e 17:23:41 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 17:25:48 Removing intermediate container 6a5b464ebb5e 17:25:48 ---> 91b6b270d667 17:25:48 Step 11/23 : FROM alpine:3.17 17:25:48 3.17: Pulling from library/alpine 17:25:48 edb6bdbacee9: Already exists 17:25:48 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 17:25:48 Status: Downloaded newer image for alpine:3.17 17:25:48 ---> 779605e5fbc0 17:25:48 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:25:48 ---> Running in 65b1280bdf91 17:25:48 Removing intermediate container 65b1280bdf91 17:25:48 ---> 67203ea67392 17:25:48 Step 13/23 : RUN apk add --update --no-cache 17:25:48 ---> Running in 30951310a8f3 17:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 17:25:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 17:25:48 OK: 7 MiB in 15 packages 17:25:48 Removing intermediate container 30951310a8f3 17:25:48 ---> c6be06e4569a 17:25:48 Step 14/23 : WORKDIR / 17:25:48 ---> Running in a0132947e8bc 17:25:48 Removing intermediate container a0132947e8bc 17:25:48 ---> 7edf3bd3a0b6 17:25:48 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:25:48 ---> f8b2a02b7c32 17:25:48 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:25:49 ---> d77a07dd4ae7 17:25:49 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:25:50 ---> b04b576c2e75 17:25:50 Step 18/23 : EXPOSE 59999 17:25:50 ---> Running in e97735d728c3 17:25:50 Removing intermediate container e97735d728c3 17:25:50 ---> b985c52d82b8 17:25:50 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:25:50 ---> Running in 3b59faf1c6eb 17:25:50 Removing intermediate container 3b59faf1c6eb 17:25:50 ---> a9f172cba195 17:25:50 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:25:50 ---> Running in 19f17edaa87e 17:25:50 Removing intermediate container 19f17edaa87e 17:25:50 ---> bd3572433830 17:25:50 Step 21/23 : LABEL arch=arm64 17:25:51 ---> Running in f2ae47d144cc 17:25:51 Removing intermediate container f2ae47d144cc 17:25:51 ---> 5045ac676f64 17:25:51 Step 22/23 : LABEL git_sha=eee617f67e6a3f47dc3f9cca9647b6d72480ced5 17:25:51 ---> Running in 11845ff53d8f 17:25:51 Removing intermediate container 11845ff53d8f 17:25:51 ---> 1743d9d65322 17:25:51 Step 23/23 : LABEL version=0.0.0 17:25:51 ---> Running in 0f298f0d684e 17:25:51 Removing intermediate container 0f298f0d684e 17:25:51 ---> 65c84a7008fa 17:25:51 [Warning] One or more build-args [ARCH] were not consumed 17:25:51 Successfully built 65c84a7008fa 17:25:51 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 17:25:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:25:52 17:25:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:25:52 arm64: Pulling from edgex-lftools-log-publisher 17:25:52 8998bd30e6a1: Pulling fs layer 17:25:52 04944245beec: Pulling fs layer 17:25:52 699f458cf7ca: Pulling fs layer 17:25:52 765212b225bb: Pulling fs layer 17:25:52 f23df028b6ca: Pulling fs layer 17:25:52 d65c8cfc05b1: Pulling fs layer 17:25:52 2437ff75d9bd: Pulling fs layer 17:25:52 f23df028b6ca: Waiting 17:25:52 d65c8cfc05b1: Waiting 17:25:52 765212b225bb: Waiting 17:25:52 2437ff75d9bd: Waiting 17:25:52 04944245beec: Verifying Checksum 17:25:52 04944245beec: Download complete 17:25:52 765212b225bb: Verifying Checksum 17:25:52 765212b225bb: Download complete 17:25:52 f23df028b6ca: Download complete 17:25:52 d65c8cfc05b1: Download complete 17:25:52 699f458cf7ca: Verifying Checksum 17:25:52 699f458cf7ca: Download complete 17:25:53 8998bd30e6a1: Download complete 17:25:55 2437ff75d9bd: Verifying Checksum 17:25:55 2437ff75d9bd: Download complete 17:25:57 8998bd30e6a1: Pull complete 17:25:57 04944245beec: Pull complete 17:25:59 699f458cf7ca: Pull complete 17:25:59 765212b225bb: Pull complete 17:26:01 f23df028b6ca: Pull complete 17:26:01 d65c8cfc05b1: Pull complete 17:26:16 2437ff75d9bd: Pull complete 17:26:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:26:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:26:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:16 prd-ubuntu20.04-docker-arm64-4c-16g-1454 does not seem to be running inside a container 17:26:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/10 -v /w/workspace/device-sdk-go/10:/w/workspace/device-sdk-go/10:rw,z -v /w/workspace/device-sdk-go/10@tmp:/w/workspace/device-sdk-go/10@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:26:18 $ docker top f94e5686483d2eb6c9801bf085cf16b50da20fa458475ebea3cf604bbe8bbd44 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:19 ---> job-cost.sh 17:26:19 lf-activate-venv: SKIPPING 17:26:19 INFO: No Stack... 17:26:19 INFO: Retrieving Pricing Info for: v3-standard-4 17:26:20 INFO: Archiving Costs [Pipeline] sh 17:26:21 + cut -d, -f6 17:26:21 + cat /w/workspace/device-sdk-go/10/archives/cost.csv [Pipeline] lock 17:26:21 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] 17:26:21 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] did not exist. Created. 17:26:21 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:26:21 /w/workspace/device-sdk-go/10@tmp/durable-e9184f92/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:26:22 + echo total: 0.10999999940395355 [Pipeline] stash 17:26:22 Warning: overwriting stash ‘stack-cost’ 17:26:22 Stashed 1 file(s) [Pipeline] } 17:26:22 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-10-stack-cost] [Pipeline] // lock [Pipeline] } 17:26:22 $ docker stop --time=1 f94e5686483d2eb6c9801bf085cf16b50da20fa458475ebea3cf604bbe8bbd44 17:26:24 $ docker rm -f --volumes f94e5686483d2eb6c9801bf085cf16b50da20fa458475ebea3cf604bbe8bbd44 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 17:26:25 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives ] 17:26:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives 17:26:25 total 16 17:26:25 drwxr-xr-x 3 root root 4096 Jul 18 17:15 . 17:26:25 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 17:15 .. 17:26:25 drwxr-xr-x 2 root root 4096 Jul 18 17:15 cost 17:26:25 -rw-r--r-- 1 root root 87 Jul 18 17:15 cost.csv 17:26:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives 17:26:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives 17:26:25 total 16 17:26:25 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 17:15 . 17:26:25 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 17:15 .. 17:26:25 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 17:15 cost 17:26:25 -rw-r--r-- 1 jenkins jenkins 87 Jul 18 17:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:26:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:26:26 ---> package-listing.sh 17:26:26 ++ facter osfamily 17:26:26 ++ tr '[:upper:]' '[:lower:]' 17:26:26 + OS_FAMILY=debian 17:26:26 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1471 17:26:26 + START_PACKAGES=/tmp/packages_start.txt 17:26:26 + END_PACKAGES=/tmp/packages_end.txt 17:26:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:26:26 + PACKAGES=/tmp/packages_start.txt 17:26:26 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' 17:26:26 + PACKAGES=/tmp/packages_end.txt 17:26:26 + case "${OS_FAMILY}" in 17:26:26 + dpkg -l 17:26:26 + grep '^ii' 17:26:26 + '[' -f /tmp/packages_start.txt ']' 17:26:26 + '[' -f /tmp/packages_end.txt ']' 17:26:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:26:26 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' 17:26:26 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ 17:26:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ [Pipeline] echo 17:26:26 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-1471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:26:26 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:27 prd-ubuntu20.04-docker-8c-8g-1453 does not seem to be running inside a container 17:26:27 $ 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-1471/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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:26:27 $ docker top 9c763d3a8c1ada77a99c82286c2baf1789c5faef53f23dedc068cc0aebba682b -eo pid,comm [Pipeline] { [Pipeline] sh 17:26:27 + touch /tmp/pre-build-complete [Pipeline] sh 17:26:28 + mkdir -p /var/log/sysstat [Pipeline] sh 17:26:28 + ls /var/log/sa-host 17:26:28 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:26:28 provisioning config files... 17:26:28 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config6347040566845746960tmp [Pipeline] { [Pipeline] echo 17:26:28 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:26:29 ---> create-netrc.sh [Pipeline] } 17:26:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:26:29 ---> python-tools-install.sh [Pipeline] echo 17:26:29 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:26:29 ---> sudo-logs.sh 17:26:29 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:26:29 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:26:29 ---> job-cost.sh 17:26:29 lf-activate-venv: SKIPPING 17:26:29 DEBUG: total: 0.2199999988079071 17:26:29 INFO: Retrieving Stack Cost... 17:26:30 INFO: Retrieving Pricing Info for: v3-standard-8 17:26:30 INFO: Archiving Costs [Pipeline] echo 17:26:30 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:26:31 ---> logs-deploy.sh 17:26:31 lf-activate-venv: SKIPPING 17:26:31 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1471/10 17:26:31 INFO: archiving workspace using pattern(s): 17:26:32 Archives upload complete. 17:26:32 INFO: archiving logs to Nexus