Pull request #1316 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 lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b+8b9fd5bc22bc5ff949621087fe72c38333f95112 (448eca13ee330145d11f0a2ca0bc42ac089d13dc) 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-ssh15378283826797850122.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh5951573793561951491.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1316/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-1316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6217399252226954737.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh559966979722579449.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-1316/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-1316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5086582500265016524.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.18 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 Running on prd-ubuntu20.04-docker-8c-8g-5959 in /w/workspace/gexfoundry_device-sdk-go_PR-1316 [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-1316 # 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/1316/head:refs/remotes/origin/PR-1316 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b Merge succeeded, producing 116581a180d73e9ae321683633e2f7a0c75abc4a Checking out Revision 116581a180d73e9ae321683633e2f7a0c75abc4a (PR-1316) > git config core.sparsecheckout # timeout=10 > git checkout -f 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b # 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 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 116581a180d73e9ae321683633e2f7a0c75abc4a # timeout=10 Commit message: "Merge commit '8b9fd5bc22bc5ff949621087fe72c38333f95112' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 37bf1e7e08efb39422701b33128d6f5f07de5967 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:54:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:54:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:54:29 ========================================================= 00:54:29 EdgeX Global Pipelines Version Info 00:54:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:54:30 ------------------- 00:54:30 stable info: 00:54:30 ------------------- 00:54:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:54:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:54:30 Message: update stable to v1.0.244 00:54:30 ------------------- 00:54:30 experimental info: 00:54:30 ------------------- 00:54:30 Commited By: **** collab-it+edgex@linuxfoundation.org 00:54:30 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 00:54:30 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1316 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1316 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1316 [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 116581a [Pipeline] echo 00:54:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:54:31 provisioning config files... 00:54:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config3361184395489996948tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:31 ---> docker-login.sh 00:54:31 nexus3.edgexfoundry.org:10001 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 nexus3.edgexfoundry.org:10002 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 nexus3.edgexfoundry.org:10003 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 nexus3.edgexfoundry.org:10004 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 docker.io 00:54:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:32 Configure a credential helper to remove this warning. See 00:54:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:32 00:54:32 Login Succeeded 00:54:32 ---> docker-login.sh ends [Pipeline] } 00:54:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:54:33 + git rev-list -1 --merges 116581a180d73e9ae321683633e2f7a0c75abc4a~1..116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] echo 00:54:33 -----------> git rev-list -1 --merges 116581a180d73e9ae321683633e2f7a0c75abc4a~1..116581a180d73e9ae321683633e2f7a0c75abc4a 116581a180d73e9ae321683633e2f7a0c75abc4a 00:54:33 116581a180d73e9ae321683633e2f7a0c75abc4a [false] [Pipeline] sh 00:54:33 + git log --format=format:%s -1 116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] echo 00:54:33 ========================================================= 00:54:33 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:54:33 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:34 + git log --format=format:%s -1 116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] echo 00:54:34 [semverPrep] GIT_COMMIT: 116581a180d73e9ae321683633e2f7a0c75abc4a, Commit Message: Merge commit '8b9fd5bc22bc5ff949621087fe72c38333f95112' into HEAD [Pipeline] echo 00:54:34 [semverPrep] This is not a build commit. [Pipeline] sh 00:54:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:54:34 + grep -v github /etc/ssh/ssh_known_hosts 00:54:34 + [ -e /tmp/ssh_known_hosts ] 00:54:34 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:54:34 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:54:34 + sudo tee -a /etc/ssh/ssh_known_hosts 00:54:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:34 00:54:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:35 0.1.4: Pulling from edgex-devops/py-git-semver 00:54:35 b85a868b505f: Pulling fs layer 00:54:35 e2be974225ed: Pulling fs layer 00:54:35 339a4e72a1f5: Pulling fs layer 00:54:35 988bab9f4d93: Pulling fs layer 00:54:35 1469e6f7b9e6: Pulling fs layer 00:54:35 eaf3925da568: Pulling fs layer 00:54:35 bab4dde63d76: Pulling fs layer 00:54:35 bde34c3a00c8: Pulling fs layer 00:54:35 b352a97aabf1: Pulling fs layer 00:54:35 4872d77fe225: Pulling fs layer 00:54:35 5851b861e8e6: Pulling fs layer 00:54:35 5851b861e8e6: Waiting 00:54:35 bab4dde63d76: Waiting 00:54:35 988bab9f4d93: Waiting 00:54:35 b352a97aabf1: Waiting 00:54:35 4872d77fe225: Waiting 00:54:35 eaf3925da568: Waiting 00:54:35 bde34c3a00c8: Waiting 00:54:35 e2be974225ed: Verifying Checksum 00:54:35 e2be974225ed: Download complete 00:54:35 988bab9f4d93: Verifying Checksum 00:54:35 988bab9f4d93: Download complete 00:54:35 1469e6f7b9e6: Verifying Checksum 00:54:35 1469e6f7b9e6: Download complete 00:54:35 eaf3925da568: Verifying Checksum 00:54:35 eaf3925da568: Download complete 00:54:35 339a4e72a1f5: Verifying Checksum 00:54:35 339a4e72a1f5: Download complete 00:54:35 b352a97aabf1: Download complete 00:54:35 4872d77fe225: Verifying Checksum 00:54:35 4872d77fe225: Download complete 00:54:36 5851b861e8e6: Verifying Checksum 00:54:36 5851b861e8e6: Download complete 00:54:36 b85a868b505f: Verifying Checksum 00:54:36 b85a868b505f: Download complete 00:54:36 bab4dde63d76: Verifying Checksum 00:54:36 bab4dde63d76: Download complete 00:54:37 b85a868b505f: Pull complete 00:54:37 e2be974225ed: Pull complete 00:54:38 339a4e72a1f5: Pull complete 00:54:38 988bab9f4d93: Pull complete 00:54:38 1469e6f7b9e6: Pull complete 00:54:38 eaf3925da568: Pull complete 00:54:40 bab4dde63d76: Pull complete 00:54:40 bde34c3a00c8: Pull complete 00:54:40 b352a97aabf1: Pull complete 00:54:40 4872d77fe225: Pull complete 00:54:40 5851b861e8e6: Pull complete 00:54:40 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:54:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:54:40 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:54:40 prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container 00:54:40 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:54:42 $ docker top e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b -eo pid,comm 00:54:42 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). 00:54:42 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:54:42 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:42 [ssh-agent] Looking for ssh-agent implementation... 00:54:42 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:42 $ docker exec e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b ssh-agent 00:54:43 SSH_AUTH_SOCK=/tmp/ssh-lmRtWEjCd7Qn/agent.33 00:54:43 SSH_AGENT_PID=39 00:54:43 Running ssh-add (command line suppressed) 00:54:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_1021252191974318785.key (/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_1021252191974318785.key) 00:54:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:43 + git tag --points-at HEAD [Pipeline] } 00:54:43 $ docker exec --env ******** --env ******** e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b ssh-agent -k 00:54:43 unset SSH_AUTH_SOCK; 00:54:43 unset SSH_AGENT_PID; 00:54:43 echo Agent pid 39 killed; 00:54:43 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:54:43 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:54:43 [ssh-agent] Looking for ssh-agent implementation... 00:54:43 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:54:43 $ docker exec e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b ssh-agent 00:54:43 SSH_AUTH_SOCK=/tmp/ssh-DUkUR9rFjmAP/agent.71 00:54:43 SSH_AGENT_PID=77 00:54:43 Running ssh-add (command line suppressed) 00:54:43 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_9796570208428191620.key (/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/private_key_9796570208428191620.key) 00:54:43 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:54:44 + git semver init 00:54:44 2023-02-15 00:54:44,411 [run_init] DEBUG init version:0.0.0 force:False 00:54:44 2023-02-15 00:54:44,412 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver 00:54:44 2023-02-15 00:54:44,412 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver 00:54:44 2023-02-15 00:54:44,412 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316, universal_newlines=False, shell=None, istream=None) 00:54:45 2023-02-15 00:54:45,416 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.git/info/exclude 00:54:45 2023-02-15 00:54:45,417 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 with force:False 00:54:45 2023-02-15 00:54:45,417 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 00:54:45 2023-02-15 00:54:45,422 [execute] INFO git cat-file --batch-check 00:54:45 2023-02-15 00:54:45,422 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver, universal_newlines=False, shell=None, istream=) 00:54:45 2023-02-15 00:54:45,429 [execute] INFO git cat-file --batch 00:54:45 2023-02-15 00:54:45,429 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver, universal_newlines=False, shell=None, istream=) 00:54:45 2023-02-15 00:54:45,435 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1316/.semver/PR-1316 00:54:45 0.0.0 [Pipeline] } 00:54:45 $ docker exec --env ******** --env ******** e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b ssh-agent -k 00:54:45 unset SSH_AUTH_SOCK; 00:54:45 unset SSH_AGENT_PID; 00:54:45 echo Agent pid 77 killed; 00:54:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:54:46 + git semver [Pipeline] } 00:54:46 $ docker stop --time=1 e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b 00:54:47 $ docker rm -f --volumes e1f57656b5e383f897777965f418868fad71fb8c2087b5a6a10d0fe4c0bf164b [Pipeline] // withDockerContainer [Pipeline] sh 00:54:48 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:54:48 Stashed 1 file(s) [Pipeline] echo 00:54:48 [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 00:54:48 provisioning config files... 00:54:48 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config17460581098214882106tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:54:48 ---> docker-login.sh 00:54:48 nexus3.edgexfoundry.org:10001 00:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:48 Configure a credential helper to remove this warning. See 00:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:48 00:54:48 Login Succeeded 00:54:48 nexus3.edgexfoundry.org:10002 00:54:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:48 Configure a credential helper to remove this warning. See 00:54:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:48 00:54:48 Login Succeeded 00:54:48 nexus3.edgexfoundry.org:10003 00:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:49 Configure a credential helper to remove this warning. See 00:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:49 00:54:49 Login Succeeded 00:54:49 nexus3.edgexfoundry.org:10004 00:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:49 Configure a credential helper to remove this warning. See 00:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:49 00:54:49 Login Succeeded 00:54:49 docker.io 00:54:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:54:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:54:49 Configure a credential helper to remove this warning. See 00:54:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:54:49 00:54:49 Login Succeeded 00:54:49 ---> docker-login.sh ends [Pipeline] } 00:54:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:54:49 ========================================================= 00:54:49 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 00:54:49 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:49 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 00:54:49 Sending build context to Docker daemon 10.5MB 00:54:49 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 00:54:49 Step 2/10 : FROM ${BASE} AS builder 00:54:50 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 00:54:50 213ec9aee27d: Pulling fs layer 00:54:50 4583459ba037: Pulling fs layer 00:54:50 93c1e223e6f2: Pulling fs layer 00:54:50 53926ce57604: Pulling fs layer 00:54:50 21b2b0c7a3f4: Pulling fs layer 00:54:50 22ff95d597cd: Pulling fs layer 00:54:50 12d6caf4c0d1: Pulling fs layer 00:54:50 96b7cbca73a9: Pulling fs layer 00:54:50 a7acece74701: Pulling fs layer 00:54:50 53926ce57604: Waiting 00:54:50 22ff95d597cd: Waiting 00:54:50 21b2b0c7a3f4: Waiting 00:54:50 12d6caf4c0d1: Waiting 00:54:50 96b7cbca73a9: Waiting 00:54:50 a7acece74701: Waiting 00:54:50 93c1e223e6f2: Download complete 00:54:50 4583459ba037: Download complete 00:54:50 21b2b0c7a3f4: Download complete 00:54:50 22ff95d597cd: Verifying Checksum 00:54:50 22ff95d597cd: Download complete 00:54:50 213ec9aee27d: Verifying Checksum 00:54:50 12d6caf4c0d1: Verifying Checksum 00:54:50 12d6caf4c0d1: Download complete 00:54:50 213ec9aee27d: Pull complete 00:54:50 4583459ba037: Pull complete 00:54:50 93c1e223e6f2: Pull complete 00:54:51 a7acece74701: Verifying Checksum 00:54:51 a7acece74701: Download complete 00:54:52 53926ce57604: Verifying Checksum 00:54:52 53926ce57604: Download complete 00:54:52 96b7cbca73a9: Verifying Checksum 00:54:52 96b7cbca73a9: Download complete 00:54:56 53926ce57604: Pull complete 00:54:56 21b2b0c7a3f4: Pull complete 00:54:56 22ff95d597cd: Pull complete 00:54:56 12d6caf4c0d1: Pull complete 00:54:58 96b7cbca73a9: Pull complete 00:54:58 a7acece74701: Pull complete 00:54:58 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 00:54:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 00:54:58 ---> db6d94c90886 00:54:58 Step 3/10 : ARG MAKE=make build 00:55:01 ---> Running in 7585eb132d0a 00:55:01 Removing intermediate container 7585eb132d0a 00:55:01 ---> 46d0f33a3f49 00:55:01 Step 4/10 : WORKDIR /device-sdk-go 00:55:01 ---> Running in 23456f648545 00:55:01 Removing intermediate container 23456f648545 00:55:01 ---> 245155f35fa6 00:55:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:55:01 ---> Running in 29e7c8e4ad12 00:55:01 Removing intermediate container 29e7c8e4ad12 00:55:01 ---> 41b84602caec 00:55:01 Step 6/10 : RUN apk add --update --no-cache make git 00:55:01 ---> Running in d22c7d003e03 00:55:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:55:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:55:02 OK: 211 MiB in 51 packages 00:55:02 Removing intermediate container d22c7d003e03 00:55:02 ---> b4e380ece229 00:55:02 Step 7/10 : COPY go.mod vendor* ./ 00:55:02 ---> 6cf761033332 00:55:02 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:02 ---> Running in a97da49a95aa 00:55:03 Still waiting to schedule task 00:55:03 ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:55:03 ‘prd-ubuntu20.04-docker-8c-8g-5946’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:55:03 ‘prd-ubuntu20.04-docker-8c-8g-5949’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:55:03 ‘prd-ubuntu20.04-docker-8c-8g-5950’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:55:03 ‘prd-ubuntu20.04-docker-8c-8g-5960’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 00:55:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5944’ is offline 00:55:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5954’ is offline 00:55:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5961’ is offline 00:55:03 ‘prd-ubuntu20.04-docker-arm64-4c-16g-5993’ is offline 00:55:34 Removing intermediate container a97da49a95aa 00:55:34 ---> ff01d990528f 00:55:34 Step 9/10 : COPY . . 00:55:34 ---> a725610b97eb 00:55:34 Step 10/10 : RUN ${MAKE} 00:55:34 ---> Running in 5e96e6a7816a 00:55:35 noop 00:55:35 Removing intermediate container 5e96e6a7816a 00:55:35 ---> fb52c40ff3ef 00:55:35 Successfully built fb52c40ff3ef 00:55:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:35 + docker inspect -f . ci-base-image-x86_64 00:55:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:35 prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container 00:55:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@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 ******** ci-base-image-x86_64 cat 00:55:36 $ docker top e8a301ee5bcdd8ccda35334735353a923442a2ae8b369b39cb6d4e8a50584ede -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:36 + go version 00:55:36 go version go1.18.7 linux/amd64 [Pipeline] } 00:55:36 $ docker stop --time=1 e8a301ee5bcdd8ccda35334735353a923442a2ae8b369b39cb6d4e8a50584ede 00:55:37 $ docker rm -f --volumes e8a301ee5bcdd8ccda35334735353a923442a2ae8b369b39cb6d4e8a50584ede [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:55:38 + docker inspect -f . ci-base-image-x86_64 00:55:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:55:38 prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container 00:55:38 $ 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-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@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 ******** ci-base-image-x86_64 cat 00:55:38 $ docker top 8b9055e22ea53d25c954c17d14373ddc33eb2b3448ee5f77be595540a791dbf2 -eo pid,comm [Pipeline] { [Pipeline] sh 00:55:39 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1316 [Pipeline] fileExists [Pipeline] sh 00:55:39 + make test 00:55:39 go test -race -coverprofile=coverage.out ./... 00:55:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:55:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.056s coverage: 27.6% of statements 00:55:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.090s coverage: 78.9% of statements 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 00:55:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.110s coverage: 77.8% of statements 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:55:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 77.0% of statements 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 00:55:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.085s coverage: 65.2% of statements 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:55:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.759s coverage: 89.2% of statements 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 00:55:58 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.7% of statements 00:55:58 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:56:13 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 00:56:13 GO111MODULE=on go vet ./... 00:56:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:56:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:56:15 ./bin/test-attribution-txt.sh [Pipeline] echo 00:56:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:56:15 $ docker stop --time=1 8b9055e22ea53d25c954c17d14373ddc33eb2b3448ee5f77be595540a791dbf2 00:56:18 $ docker rm -f --volumes 8b9055e22ea53d25c954c17d14373ddc33eb2b3448ee5f77be595540a791dbf2 [Pipeline] // withDockerContainer [Pipeline] sh 00:56:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:56:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:56:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:56:20 + ls -al . 00:56:20 total 272 00:56:20 drwxrwxr-x 11 jenkins jenkins 4096 Feb 15 00:55 . 00:56:20 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:54 .. 00:56:20 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 00:54 .dockerignore 00:56:20 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 00:55 .git 00:56:20 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:54 .github 00:56:20 -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 00:54 .gitignore 00:56:20 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 00:54 .golangci.yml 00:56:20 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:54 .semver 00:56:20 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 00:54 CHANGELOG.md 00:56:20 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 00:54 GOVERNANCE.md 00:56:20 -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 00:54 Jenkinsfile 00:56:20 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 00:54 LICENSE 00:56:20 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 00:54 Makefile 00:56:20 -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 00:54 OWNERS.md 00:56:20 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 00:54 README.md 00:56:20 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:54 VERSION 00:56:20 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 00:54 bin 00:56:20 -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 00:55 coverage.out 00:56:20 drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 00:54 example 00:56:20 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 00:54 go.mod 00:56:20 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 00:54 go.sum 00:56:20 drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 00:54 internal 00:56:20 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 00:54 openapi 00:56:20 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 00:54 pkg 00:56:20 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 00:54 snap 00:56:20 -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 00:54 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:20 + 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=116581a180d73e9ae321683633e2f7a0c75abc4a --label arch=amd64 --label version=0.0.0 . 00:56:20 Sending build context to Docker daemon 10.6MB 00:56:20 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 00:56:20 Step 2/23 : FROM ${BASE} AS builder 00:56:20 ---> fb52c40ff3ef 00:56:20 Step 3/23 : ARG MAKE=make build 00:56:20 ---> Running in 62aefb3a3ada 00:56:20 Removing intermediate container 62aefb3a3ada 00:56:20 ---> 5ee4b4c1c9f1 00:56:20 Step 4/23 : WORKDIR /device-sdk-go 00:56:20 ---> Running in a214ed9c96ee 00:56:20 Removing intermediate container a214ed9c96ee 00:56:20 ---> af6a59cbc6a0 00:56:20 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:56:20 ---> Running in f79f8296d383 00:56:21 Removing intermediate container f79f8296d383 00:56:21 ---> 8efc97809bfe 00:56:21 Step 6/23 : RUN apk add --update --no-cache make git 00:56:21 ---> Running in dcc2a780c1cc 00:56:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:56:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:56:21 OK: 211 MiB in 51 packages 00:56:21 Removing intermediate container dcc2a780c1cc 00:56:21 ---> fcc2be43f656 00:56:21 Step 7/23 : COPY go.mod vendor* ./ 00:56:22 ---> 389c1c236a50 00:56:22 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:56:22 ---> Running in ff319aee30d7 00:56:23 Removing intermediate container ff319aee30d7 00:56:23 ---> 724921d11503 00:56:23 Step 9/23 : COPY . . 00:56:23 ---> 819396b4cc97 00:56:23 Step 10/23 : RUN ${MAKE} 00:56:23 ---> Running in a0a7212cf357 00:56:23 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 00:56:45 Removing intermediate container a0a7212cf357 00:56:45 ---> 48f451849af1 00:56:45 Step 11/23 : FROM alpine:3.16 00:56:45 3.16: Pulling from library/alpine 00:56:45 ef5531b6e74e: Pulling fs layer 00:56:45 ef5531b6e74e: Download complete 00:56:45 ef5531b6e74e: Pull complete 00:56:45 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 00:56:45 Status: Downloaded newer image for alpine:3.16 00:56:45 ---> dfd21b5a31f5 00:56:45 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:56:45 ---> Running in 2def6b12806c 00:56:45 Removing intermediate container 2def6b12806c 00:56:45 ---> c105fb337235 00:56:45 Step 13/23 : RUN apk add --update --no-cache 00:56:45 ---> Running in c2d273d1485f 00:56:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 00:56:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 00:56:46 OK: 6 MiB in 14 packages 00:56:46 Removing intermediate container c2d273d1485f 00:56:46 ---> 755b101d8ac4 00:56:46 Step 14/23 : WORKDIR / 00:56:46 ---> Running in d0f44facd129 00:56:46 Removing intermediate container d0f44facd129 00:56:46 ---> 13724512b34c 00:56:46 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:56:46 ---> 941ab3a44bf0 00:56:46 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:56:47 ---> fdc5c69a2e8c 00:56:47 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:56:47 ---> 45ee9df567a9 00:56:47 Step 18/23 : EXPOSE 59999 00:56:47 ---> Running in 583df4f01830 00:56:47 Removing intermediate container 583df4f01830 00:56:47 ---> 58d28b2a18a6 00:56:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:56:47 ---> Running in 0bd10a5bb7ea 00:56:47 Removing intermediate container 0bd10a5bb7ea 00:56:47 ---> 16c643e54aa2 00:56:47 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:56:47 ---> Running in 088d80485b9b 00:56:47 Removing intermediate container 088d80485b9b 00:56:47 ---> 0d226f795100 00:56:47 Step 21/23 : LABEL arch=amd64 00:56:47 ---> Running in f128258d0030 00:56:48 Removing intermediate container f128258d0030 00:56:48 ---> b527e207bf1c 00:56:48 Step 22/23 : LABEL git_sha=116581a180d73e9ae321683633e2f7a0c75abc4a 00:56:48 ---> Running in 4e8fb163a219 00:56:48 Removing intermediate container 4e8fb163a219 00:56:48 ---> cba4b6b7dd13 00:56:48 Step 23/23 : LABEL version=0.0.0 00:56:48 ---> Running in 9a0110e35c55 00:56:48 Removing intermediate container 9a0110e35c55 00:56:48 ---> f36d9aae786d 00:56:48 [Warning] One or more build-args [ARCH] were not consumed 00:56:48 Successfully built f36d9aae786d 00:56:48 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 00:56:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:48 00:56:48 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:56:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:49 latest: Pulling from edgex-lftools-log-publisher 00:56:49 5eb5b503b376: Pulling fs layer 00:56:49 5c69ac0246d0: Pulling fs layer 00:56:49 ec43610c2a17: Pulling fs layer 00:56:49 3a2ae6a8a46f: Pulling fs layer 00:56:49 33b1e0a273af: Pulling fs layer 00:56:49 5d3b04190fa2: Pulling fs layer 00:56:49 2f39f015ded8: Pulling fs layer 00:56:49 3a2ae6a8a46f: Waiting 00:56:49 33b1e0a273af: Waiting 00:56:49 2f39f015ded8: Waiting 00:56:49 5d3b04190fa2: Waiting 00:56:49 5c69ac0246d0: Download complete 00:56:49 3a2ae6a8a46f: Download complete 00:56:49 33b1e0a273af: Verifying Checksum 00:56:49 33b1e0a273af: Download complete 00:56:49 5d3b04190fa2: Download complete 00:56:49 ec43610c2a17: Verifying Checksum 00:56:49 ec43610c2a17: Download complete 00:56:49 5eb5b503b376: Verifying Checksum 00:56:49 5eb5b503b376: Download complete 00:56:50 2f39f015ded8: Download complete 00:56:50 5eb5b503b376: Pull complete 00:56:51 5c69ac0246d0: Pull complete 00:56:51 ec43610c2a17: Pull complete 00:56:51 3a2ae6a8a46f: Pull complete 00:56:51 33b1e0a273af: Pull complete 00:56:51 5d3b04190fa2: Pull complete 00:56:57 2f39f015ded8: Pull complete 00:56:57 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:56:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:56:57 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:56:57 prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container 00:56:57 $ 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-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 00:57:00 $ docker top c9725078037639f41c63da25e63349fb4f819e00f6dc143b62c6b66dae087ec5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:57:00 ---> job-cost.sh 00:57:00 lf-activate-venv: SKIPPING 00:57:00 INFO: No Stack... 00:57:01 INFO: Retrieving Pricing Info for: v3-standard-8 00:57:01 INFO: Archiving Costs [Pipeline] sh 00:57:01 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/cost.csv 00:57:01 + cut -d, -f6 [Pipeline] lock 00:57:01 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] 00:57:01 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] did not exist. Created. 00:57:01 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:57:02 + echo total: 0.2199999988079071 [Pipeline] stash 00:57:02 Stashed 1 file(s) [Pipeline] } 00:57:02 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [Pipeline] // lock [Pipeline] } 00:57:02 $ docker stop --time=1 c9725078037639f41c63da25e63349fb4f819e00f6dc143b62c6b66dae087ec5 00:57:03 $ docker rm -f --volumes c9725078037639f41c63da25e63349fb4f819e00f6dc143b62c6b66dae087ec5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:03:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6022 in /w/workspace/gexfoundry_device-sdk-go_PR-1316 [Pipeline] { [Pipeline] ws 01:03:32 Running in /w/workspace/device-sdk-go/7 [Pipeline] { [Pipeline] checkout 01:03:32 The recommended git tool is: git 01:03:37 using credential edgex-jenkins-ssh 01:03:37 Cloning the remote Git repository 01:03:37 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 01:03:38 > git init /w/workspace/device-sdk-go/7 # timeout=10 01:03:38 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:03:38 > git --version # timeout=10 01:03:38 > git --version # 'git version 2.25.1' 01:03:38 using GIT_SSH to set credentials SSH Credentials for GitHub 01:03:38 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:03:39 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:03:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:03:41 Merging remotes/origin/main commit 8b9fd5bc22bc5ff949621087fe72c38333f95112 into PR head commit 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b 01:03:40 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 01:03:40 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 01:03:40 using GIT_SSH to set credentials SSH Credentials for GitHub 01:03:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1316/head:refs/remotes/origin/PR-1316 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:03:41 > git config core.sparsecheckout # timeout=10 01:03:41 > git checkout -f 1cfa41c1c5de30dcbcc98e01a13148c833bbe93b # timeout=10 01:03:41 Merge succeeded, producing 973f95a1cfc82b87552ec904742da85478eb6c3a 01:03:41 Checking out Revision 973f95a1cfc82b87552ec904742da85478eb6c3a (PR-1316) 01:03:41 > git remote # timeout=10 01:03:41 > git config --get remote.origin.url # timeout=10 01:03:41 using GIT_SSH to set credentials SSH Credentials for GitHub 01:03:41 > git merge 8b9fd5bc22bc5ff949621087fe72c38333f95112 # timeout=10 01:03:41 > git rev-parse HEAD^{commit} # timeout=10 01:03:41 > git config core.sparsecheckout # timeout=10 01:03:41 > git checkout -f 973f95a1cfc82b87552ec904742da85478eb6c3a # timeout=10 01:03:45 Commit message: "Merge commit '8b9fd5bc22bc5ff949621087fe72c38333f95112' into HEAD" 01:03:45 First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:03:45 > git rev-list --no-walk 37bf1e7e08efb39422701b33128d6f5f07de5967 # timeout=10 01:03:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:03:46 % Total % Received % Xferd Average Speed Time Time Time Current 01:03:46 Dload Upload Total Spent Left Speed 01:03:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 74567 [Pipeline] sh 01:03:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:03:47 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 01:03:47 01:03:47 { 01:03:47 "registry-mirrors": [ 01:03:47 "https://nexus3.edgexfoundry.org:10001" 01:03:47 ], 01:03:47 "bip": "10.250.0.254/24", 01:03:47 "hosts": [ 01:03:47 "tcp://0.0.0.0:5555", 01:03:47 "unix:///var/run/docker.sock" 01:03:47 ], 01:03:47 "mtu": 1458, 01:03:47 "selinux-enabled": true, 01:03:47 "seccomp-profile": "/etc/docker/seccomp.json" 01:03:47 } [Pipeline] sh 01:03:47 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:03:48 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:06 provisioning config files... 01:04:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/7@tmp/config14722226452114124773tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:06 ---> docker-login.sh 01:04:06 nexus3.edgexfoundry.org:10001 01:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:07 Configure a credential helper to remove this warning. See 01:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:07 01:04:07 Login Succeeded 01:04:07 nexus3.edgexfoundry.org:10002 01:04:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:07 Configure a credential helper to remove this warning. See 01:04:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:07 01:04:07 Login Succeeded 01:04:07 nexus3.edgexfoundry.org:10003 01:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:08 Configure a credential helper to remove this warning. See 01:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:08 01:04:08 Login Succeeded 01:04:08 nexus3.edgexfoundry.org:10004 01:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:08 Configure a credential helper to remove this warning. See 01:04:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:08 01:04:08 Login Succeeded 01:04:08 docker.io 01:04:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:09 Configure a credential helper to remove this warning. See 01:04:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:09 01:04:09 Login Succeeded 01:04:09 ---> docker-login.sh ends [Pipeline] } 01:04:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:09 ========================================================= 01:04:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 01:04:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:04:09 + 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.18-alpine --build-arg MAKE=echo noop --target=builder . 01:04:10 Sending build context to Docker daemon 5.665MB 01:04:10 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 01:04:10 Step 2/10 : FROM ${BASE} AS builder 01:04:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:04:10 9b18e9b68314: Pulling fs layer 01:04:10 35d82f9e3411: Pulling fs layer 01:04:10 e16973657156: Pulling fs layer 01:04:10 fc693d55d65f: Pulling fs layer 01:04:10 7e9fc2657dce: Pulling fs layer 01:04:10 dda99020689f: Pulling fs layer 01:04:10 db1c61fa0a46: Pulling fs layer 01:04:10 891c053d2c06: Pulling fs layer 01:04:10 dda99020689f: Waiting 01:04:10 fc693d55d65f: Waiting 01:04:10 7e9fc2657dce: Waiting 01:04:10 db1c61fa0a46: Waiting 01:04:10 891c053d2c06: Waiting 01:04:10 e16973657156: Download complete 01:04:10 35d82f9e3411: Download complete 01:04:10 7e9fc2657dce: Download complete 01:04:10 dda99020689f: Verifying Checksum 01:04:10 dda99020689f: Download complete 01:04:10 9b18e9b68314: Verifying Checksum 01:04:10 9b18e9b68314: Download complete 01:04:11 9b18e9b68314: Pull complete 01:04:11 891c053d2c06: Verifying Checksum 01:04:11 891c053d2c06: Download complete 01:04:12 35d82f9e3411: Pull complete 01:04:12 e16973657156: Pull complete 01:04:13 db1c61fa0a46: Verifying Checksum 01:04:13 db1c61fa0a46: Download complete 01:04:13 fc693d55d65f: Verifying Checksum 01:04:13 fc693d55d65f: Download complete 01:04:26 fc693d55d65f: Pull complete 01:04:26 7e9fc2657dce: Pull complete 01:04:26 dda99020689f: Pull complete 01:04:32 db1c61fa0a46: Pull complete 01:04:34 891c053d2c06: Pull complete 01:04:34 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 01:04:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 01:04:34 ---> f96f9c87975a 01:04:34 Step 3/10 : ARG MAKE=make build 01:04:35 ---> Running in 075b1ce42ebb 01:04:35 Removing intermediate container 075b1ce42ebb 01:04:35 ---> c7c21d360b81 01:04:35 Step 4/10 : WORKDIR /device-sdk-go 01:04:35 ---> Running in 5e3d38c36509 01:04:36 Removing intermediate container 5e3d38c36509 01:04:36 ---> a1aa7b38cca5 01:04:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:04:36 ---> Running in 1640aa6eb7b1 01:04:36 Removing intermediate container 1640aa6eb7b1 01:04:36 ---> 218196561dc1 01:04:36 Step 6/10 : RUN apk add --update --no-cache make git 01:04:36 ---> Running in 799329674e98 01:04:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:04:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:04:39 OK: 221 MiB in 51 packages 01:04:41 Removing intermediate container 799329674e98 01:04:41 ---> 53e3aedac74c 01:04:41 Step 7/10 : COPY go.mod vendor* ./ 01:04:41 ---> e97600099078 01:04:41 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:04:41 ---> Running in 0780c0d0b30d 01:06:03 Removing intermediate container 0780c0d0b30d 01:06:03 ---> 09c578c70d4f 01:06:03 Step 9/10 : COPY . . 01:06:03 ---> f331d75a21ac 01:06:03 Step 10/10 : RUN ${MAKE} 01:06:03 ---> Running in 0c3920252d97 01:06:03 noop 01:06:03 Removing intermediate container 0c3920252d97 01:06:03 ---> 596a9fcfcb90 01:06:03 Successfully built 596a9fcfcb90 01:06:03 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:03 + docker inspect -f . ci-base-image-arm64 01:06:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:03 prd-ubuntu20.04-docker-arm64-4c-16g-6022 does not seem to be running inside a container 01:06:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 01:06:04 $ docker top 6a8a2e06d74c801d77869978115448ff975f8acf81bfee106522a5f45c7ba683 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:05 + go version 01:06:05 go version go1.18.7 linux/arm64 [Pipeline] } 01:06:05 $ docker stop --time=1 6a8a2e06d74c801d77869978115448ff975f8acf81bfee106522a5f45c7ba683 01:06:07 $ docker rm -f --volumes 6a8a2e06d74c801d77869978115448ff975f8acf81bfee106522a5f45c7ba683 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:06:08 + docker inspect -f . ci-base-image-arm64 01:06:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:06:08 prd-ubuntu20.04-docker-arm64-4c-16g-6022 does not seem to be running inside a container 01:06:08 $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 01:06:09 $ docker top 312330d462c89eea960a4817a2163702c517a582d9a7e95683cbfa4673009084 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:10 + git config --global --add safe.directory /w/workspace/device-sdk-go/7 [Pipeline] fileExists [Pipeline] sh 01:06:11 + make test 01:06:11 go test -race -coverprofile=coverage.out ./... 01:06:50 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 01:09:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 01:09:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 01:09:12 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 01:09:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 01:09:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 01:09:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.378s coverage: 27.6% of statements 01:09:12 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.374s coverage: 78.9% of statements 01:09:12 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 01:09:15 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.553s coverage: 77.8% of statements 01:09:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 01:09:15 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 01:09:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.599s coverage: 77.0% of statements 01:09:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 01:09:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 01:09:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 01:09:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.439s coverage: 65.2% of statements 01:09:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 01:09:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 01:09:17 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.960s coverage: 89.2% of statements 01:09:17 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 01:09:20 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.275s coverage: 4.7% of statements 01:09:20 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 01:09:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:09:20 GO111MODULE=on go vet ./... 01:11:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:11:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:11:12 ./bin/test-attribution-txt.sh [Pipeline] echo 01:11:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:11:12 $ docker stop --time=1 312330d462c89eea960a4817a2163702c517a582d9a7e95683cbfa4673009084 01:11:14 $ docker rm -f --volumes 312330d462c89eea960a4817a2163702c517a582d9a7e95683cbfa4673009084 [Pipeline] // withDockerContainer [Pipeline] sh 01:11:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:11:15 Warning: overwriting stash ‘coverage-report’ 01:11:16 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:11:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:11:17 + ls -al . 01:11:17 total 268 01:11:17 drwxrwxr-x 10 jenkins jenkins 4096 Feb 15 01:06 . 01:11:17 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 01:03 .. 01:11:17 -rw-rw-r-- 1 jenkins jenkins 140 Feb 15 01:03 .dockerignore 01:11:17 drwxrwxr-x 8 jenkins jenkins 4096 Feb 15 01:03 .git 01:11:17 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 01:03 .github 01:11:17 -rw-rw-r-- 1 jenkins jenkins 131 Feb 15 01:03 .gitignore 01:11:17 -rw-rw-r-- 1 jenkins jenkins 42 Feb 15 01:03 .golangci.yml 01:11:17 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 15 01:03 CHANGELOG.md 01:11:17 -rw-rw-r-- 1 jenkins jenkins 677 Feb 15 01:03 GOVERNANCE.md 01:11:17 -rw-rw-r-- 1 jenkins jenkins 885 Feb 15 01:03 Jenkinsfile 01:11:17 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 15 01:03 LICENSE 01:11:17 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 15 01:03 Makefile 01:11:17 -rw-rw-r-- 1 jenkins jenkins 619 Feb 15 01:03 OWNERS.md 01:11:17 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 15 01:03 README.md 01:11:17 -rw-rw-r-- 1 jenkins jenkins 5 Feb 15 00:54 VERSION 01:11:17 drwxrwxr-x 2 jenkins jenkins 4096 Feb 15 01:03 bin 01:11:17 -rw-r--r-- 1 jenkins jenkins 98700 Feb 15 01:09 coverage.out 01:11:17 drwxrwxr-x 5 jenkins jenkins 4096 Feb 15 01:03 example 01:11:17 -rw-rw-r-- 1 jenkins jenkins 3265 Feb 15 01:03 go.mod 01:11:17 -rw-rw-r-- 1 jenkins jenkins 32819 Feb 15 01:03 go.sum 01:11:17 drwxrwxr-x 13 jenkins jenkins 4096 Feb 15 01:03 internal 01:11:17 drwxrwxr-x 3 jenkins jenkins 4096 Feb 15 01:03 openapi 01:11:17 drwxrwxr-x 6 jenkins jenkins 4096 Feb 15 01:03 pkg 01:11:17 drwxrwxr-x 4 jenkins jenkins 4096 Feb 15 01:03 snap 01:11:17 -rw-rw-r-- 1 jenkins jenkins 222 Feb 15 01:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:11:17 + 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=973f95a1cfc82b87552ec904742da85478eb6c3a --label arch=arm64 --label version=0.0.0 . 01:11:18 Sending build context to Docker daemon 5.765MB 01:11:18 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 01:11:18 Step 2/23 : FROM ${BASE} AS builder 01:11:18 ---> 596a9fcfcb90 01:11:18 Step 3/23 : ARG MAKE=make build 01:11:18 ---> Running in 0be3a8407f4f 01:11:18 Removing intermediate container 0be3a8407f4f 01:11:18 ---> 71097fcce24a 01:11:18 Step 4/23 : WORKDIR /device-sdk-go 01:11:18 ---> Running in 0fc2bf9377cf 01:11:19 Removing intermediate container 0fc2bf9377cf 01:11:19 ---> 77b2f805cfc5 01:11:19 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 01:11:19 ---> Running in 1efd69dfc75d 01:11:19 Removing intermediate container 1efd69dfc75d 01:11:19 ---> 1df4077f7698 01:11:19 Step 6/23 : RUN apk add --update --no-cache make git 01:11:19 ---> Running in 6e84ad0ce703 01:11:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:11:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:11:22 OK: 221 MiB in 51 packages 01:11:23 Removing intermediate container 6e84ad0ce703 01:11:23 ---> d390e3d21d88 01:11:23 Step 7/23 : COPY go.mod vendor* ./ 01:11:24 ---> fb6a81a212a4 01:11:24 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:11:24 ---> Running in 7e2191ecad27 01:11:27 Removing intermediate container 7e2191ecad27 01:11:27 ---> a64aa3b1ccc9 01:11:27 Step 9/23 : COPY . . 01:11:28 ---> 436a0bc2850c 01:11:28 Step 10/23 : RUN ${MAKE} 01:11:28 ---> Running in 3b8a69afc32e 01:11:29 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 01:13:51 Removing intermediate container 3b8a69afc32e 01:13:51 ---> 4c17e0d40812 01:13:51 Step 11/23 : FROM alpine:3.16 01:13:51 3.16: Pulling from library/alpine 01:13:51 3760b48202b3: Pulling fs layer 01:13:51 3760b48202b3: Verifying Checksum 01:13:51 3760b48202b3: Download complete 01:13:51 3760b48202b3: Pull complete 01:13:51 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 01:13:51 Status: Downloaded newer image for alpine:3.16 01:13:51 ---> 4c81e5bf8899 01:13:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 01:13:51 ---> Running in a8992f2e1a4a 01:13:51 Removing intermediate container a8992f2e1a4a 01:13:51 ---> 107ba536c907 01:13:51 Step 13/23 : RUN apk add --update --no-cache 01:13:51 ---> Running in a2797146bb47 01:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 01:13:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 01:13:51 OK: 5 MiB in 14 packages 01:13:51 Removing intermediate container a2797146bb47 01:13:51 ---> 8778cb3bc953 01:13:51 Step 14/23 : WORKDIR / 01:13:51 ---> Running in 5564b3edbb7a 01:13:51 Removing intermediate container 5564b3edbb7a 01:13:51 ---> 6fe7f3e243cd 01:13:51 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 01:13:51 ---> 2140462e6179 01:13:51 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 01:13:52 ---> 7ebfcbfa1ad6 01:13:52 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 01:13:52 ---> d760f6c5a14a 01:13:52 Step 18/23 : EXPOSE 59999 01:13:52 ---> Running in dcf03c0570d9 01:13:53 Removing intermediate container dcf03c0570d9 01:13:53 ---> 997c6c7befa7 01:13:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 01:13:53 ---> Running in f2b1c88f736d 01:13:53 Removing intermediate container f2b1c88f736d 01:13:53 ---> cdd6a87c8b5c 01:13:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 01:13:53 ---> Running in 252550c1a82e 01:13:54 Removing intermediate container 252550c1a82e 01:13:54 ---> 9982d84e8480 01:13:54 Step 21/23 : LABEL arch=arm64 01:13:54 ---> Running in 72e4f0630000 01:13:54 Removing intermediate container 72e4f0630000 01:13:54 ---> 8c0deaad36c8 01:13:54 Step 22/23 : LABEL git_sha=973f95a1cfc82b87552ec904742da85478eb6c3a 01:13:54 ---> Running in 1062ab89fc78 01:13:54 Removing intermediate container 1062ab89fc78 01:13:54 ---> 3ce705bb04e3 01:13:54 Step 23/23 : LABEL version=0.0.0 01:13:55 ---> Running in 3ca109508278 01:13:55 Removing intermediate container 3ca109508278 01:13:55 ---> 3d556945fece 01:13:55 [Warning] One or more build-args [ARCH] were not consumed 01:13:55 Successfully built 3d556945fece 01:13:55 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 01:13:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:13:55 01:13:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:13:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:13:56 arm64: Pulling from edgex-lftools-log-publisher 01:13:56 8998bd30e6a1: Pulling fs layer 01:13:56 04944245beec: Pulling fs layer 01:13:56 699f458cf7ca: Pulling fs layer 01:13:56 765212b225bb: Pulling fs layer 01:13:56 f23df028b6ca: Pulling fs layer 01:13:56 d65c8cfc05b1: Pulling fs layer 01:13:56 2437ff75d9bd: Pulling fs layer 01:13:56 f23df028b6ca: Waiting 01:13:56 765212b225bb: Waiting 01:13:56 d65c8cfc05b1: Waiting 01:13:56 2437ff75d9bd: Waiting 01:13:56 04944245beec: Verifying Checksum 01:13:56 04944245beec: Download complete 01:13:56 765212b225bb: Verifying Checksum 01:13:56 765212b225bb: Download complete 01:13:56 f23df028b6ca: Download complete 01:13:56 d65c8cfc05b1: Verifying Checksum 01:13:56 d65c8cfc05b1: Download complete 01:13:56 699f458cf7ca: Verifying Checksum 01:13:56 699f458cf7ca: Download complete 01:13:57 8998bd30e6a1: Verifying Checksum 01:13:57 8998bd30e6a1: Download complete 01:13:59 2437ff75d9bd: Verifying Checksum 01:13:59 2437ff75d9bd: Download complete 01:14:01 8998bd30e6a1: Pull complete 01:14:02 04944245beec: Pull complete 01:14:04 699f458cf7ca: Pull complete 01:14:04 765212b225bb: Pull complete 01:14:04 f23df028b6ca: Pull complete 01:14:04 d65c8cfc05b1: Pull complete 01:14:23 2437ff75d9bd: Pull complete 01:14:23 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:14:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:14:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:23 prd-ubuntu20.04-docker-arm64-4c-16g-6022 does not seem to be running inside a container 01:14:23 $ 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/7 -v /w/workspace/device-sdk-go/7:/w/workspace/device-sdk-go/7:rw,z -v /w/workspace/device-sdk-go/7@tmp:/w/workspace/device-sdk-go/7@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 01:14:26 $ docker top 75e04ec4248672af70c7dc927fd9b84ec38a379b9dfd7f3b5965dbfde1053892 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:14:27 ---> job-cost.sh 01:14:27 lf-activate-venv: SKIPPING 01:14:27 INFO: No Stack... 01:14:28 INFO: Retrieving Pricing Info for: v3-standard-4 01:14:29 INFO: Archiving Costs [Pipeline] sh 01:14:29 + + cat /w/workspace/device-sdk-go/7/archives/cost.csv 01:14:29 cut -d, -f6 [Pipeline] lock 01:14:29 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] 01:14:29 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] did not exist. Created. 01:14:29 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:14:30 /w/workspace/device-sdk-go/7@tmp/durable-6de50e25/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:14:31 + echo total: 0.10999999940395355 [Pipeline] stash 01:14:31 Warning: overwriting stash ‘stack-cost’ 01:14:31 Stashed 1 file(s) [Pipeline] } 01:14:31 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1316-7-stack-cost] [Pipeline] // lock [Pipeline] } 01:14:31 $ docker stop --time=1 75e04ec4248672af70c7dc927fd9b84ec38a379b9dfd7f3b5965dbfde1053892 01:14:32 $ docker rm -f --volumes 75e04ec4248672af70c7dc927fd9b84ec38a379b9dfd7f3b5965dbfde1053892 [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 01:14:34 provisioning config files... 01:14:34 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config17198840461888371471tmp [Pipeline] { [Pipeline] sh 01:14:34 + set +x 01:14:34 + curl -s https://codecov.io/bash 01:14:34 + bash -s -- 01:14:34 01:14:34 _____ _ 01:14:34 / ____| | | 01:14:34 | | ___ __| | ___ ___ _____ __ 01:14:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:14:34 | |___| (_) | (_| | __/ (_| (_) \ V / 01:14:34 \_____\___/ \__,_|\___|\___\___/ \_/ 01:14:34 Bash-1.0.6 01:14:34 01:14:34 01:14:34 ==> git version 2.25.1 found 01:14: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 01:14:34 Release-Date: 2020-01-08 01:14: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 01:14:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:14:34 ==> Jenkins CI detected. 01:14:34 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1316 01:14:34 project root: . 01:14:34 --> token set from env 01:14:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:14:34 ==> Running gcov in . (disable via -X gcov) 01:14:34 ==> Python coveragepy not found 01:14:34 ==> Searching for coverage reports in: 01:14:34 + . 01:14:34 -> Found 1 reports 01:14:34 ==> Detecting git/mercurial file structure 01:14:34 ==> Reading reports 01:14:34 + ./coverage.out bytes=98700 01:14:34 ==> Appending adjustments 01:14:34 https://docs.codecov.io/docs/fixing-reports 01:14:34 + Found adjustments 01:14:34 ==> Gzipping contents 01:14:34 16K /tmp/codecov.CV1y5G.gz 01:14:34 ==> Uploading reports 01:14:34 url: https://codecov.io 01:14:34 query: branch=PR-1316&commit=116581a180d73e9ae321683633e2f7a0c75abc4a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1316%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1316&job=&cmd_args= 01:14:34 -> Pinging Codecov 01:14:34 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1316&commit=116581a180d73e9ae321683633e2f7a0c75abc4a&build=7&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1316%2F7%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1316&job=&cmd_args= 01:14:34 -> Uploading to 01:14:34 https://storage.googleapis.com/codecov/v4/raw/2023-02-15/7E55EF52A471D76F132DFD9A03CDDE97/116581a180d73e9ae321683633e2f7a0c75abc4a/326dcf88-b621-45f3-9a82-5be38595ae97.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230215%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230215T011434Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9ddfa189e4b77de1e4c70a286a78c5ff65ac825d5ffee5eb05bdccc4d74603bc 01:14:34 % Total % Received % Xferd Average Speed Time Time Time Current 01:14:34 Dload Upload Total Spent Left Speed 01:14:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14414 0 0 100 14414 0 55868 --:--:-- --:--:-- --:--:-- 56085 01:14:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/116581a180d73e9ae321683633e2f7a0c75abc4a [Pipeline] } 01:14: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 01:14:35 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives ] 01:14:35 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives 01:14:35 total 16 01:14:35 drwxr-xr-x 3 root root 4096 Feb 15 00:57 . 01:14:35 drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 00:57 .. 01:14:35 drwxr-xr-x 2 root root 4096 Feb 15 00:57 cost 01:14:35 -rw-r--r-- 1 root root 86 Feb 15 00:57 cost.csv 01:14:35 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives 01:14:35 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives 01:14:35 total 16 01:14:35 drwxr-xr-x 3 jenkins jenkins 4096 Feb 15 00:57 . 01:14:35 drwxrwxr-x 12 jenkins jenkins 4096 Feb 15 00:57 .. 01:14:35 drwxr-xr-x 2 jenkins jenkins 4096 Feb 15 00:57 cost 01:14:35 -rw-r--r-- 1 jenkins jenkins 86 Feb 15 00:57 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:14:36 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:14:36 ---> package-listing.sh 01:14:36 ++ facter osfamily 01:14:36 ++ tr '[:upper:]' '[:lower:]' 01:14:37 + OS_FAMILY=debian 01:14:37 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1316 01:14:37 + START_PACKAGES=/tmp/packages_start.txt 01:14:37 + END_PACKAGES=/tmp/packages_end.txt 01:14:37 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:14:37 + PACKAGES=/tmp/packages_start.txt 01:14:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1316 ']' 01:14:37 + PACKAGES=/tmp/packages_end.txt 01:14:37 + case "${OS_FAMILY}" in 01:14:37 + dpkg -l 01:14:37 + grep '^ii' 01:14:37 + '[' -f /tmp/packages_start.txt ']' 01:14:37 + '[' -f /tmp/packages_end.txt ']' 01:14:37 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:14:37 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1316 ']' 01:14:37 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/ 01:14:37 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1316/archives/ [Pipeline] echo 01:14: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-1316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:14:37 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 01:14:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:14:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 01:14:38 prd-ubuntu20.04-docker-8c-8g-5959 does not seem to be running inside a container 01:14: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-1316/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-1316 -v /w/workspace/gexfoundry_device-sdk-go_PR-1316:/w/workspace/gexfoundry_device-sdk-go_PR-1316:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1316@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 01:14:38 $ docker top 0662daaa43ede6633418882e5b5d5caa5b815b8681069cfafbdaac9b061e0396 -eo pid,comm [Pipeline] { [Pipeline] sh 01:14:38 + touch /tmp/pre-build-complete [Pipeline] sh 01:14:38 + mkdir -p /var/log/sysstat [Pipeline] sh 01:14:39 + ls /var/log/sa-host 01:14:39 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:14:39 provisioning config files... 01:14:39 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1316@tmp/config15832491995725472775tmp [Pipeline] { [Pipeline] echo 01:14:39 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:14:39 ---> create-netrc.sh [Pipeline] } 01:14:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:14:40 ---> python-tools-install.sh [Pipeline] echo 01:14:40 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:14:40 ---> sudo-logs.sh 01:14:40 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:14:40 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:14:40 ---> job-cost.sh 01:14:40 lf-activate-venv: SKIPPING 01:14:40 DEBUG: total: 0.2199999988079071 01:14:40 INFO: Retrieving Stack Cost... 01:14:43 INFO: Retrieving Pricing Info for: v3-standard-8 01:14:43 INFO: Archiving Costs [Pipeline] echo 01:14:43 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:14:44 ---> logs-deploy.sh 01:14:44 lf-activate-venv: SKIPPING 01:14:44 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1316/7 01:14:44 INFO: archiving workspace using pattern(s): 01:14:44 Archives upload complete. 01:14:44 INFO: archiving logs to Nexus