Pull request #1297 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 FelixTing for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 881f10918eb4e60f546b60d89ac5bea6bad2c109 rather than 4b20157eda4012d25fdea52dd0c5d79a24fc7227 Obtained Jenkinsfile from 881f10918eb4e60f546b60d89ac5bea6bad2c109 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-ssh9410093441414737064.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-ssh11302773249503290740.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-1297/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-1297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16732195762993958985.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-ssh8652461911238186418.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-1297/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-1297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7534092794046597982.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-4278 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [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-1297 # 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/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 4b20157eda4012d25fdea52dd0c5d79a24fc7227 Merge succeeded, producing 4b20157eda4012d25fdea52dd0c5d79a24fc7227 Checking out Revision 4b20157eda4012d25fdea52dd0c5d79a24fc7227 (PR-1297) > git config core.sparsecheckout # timeout=10 > git checkout -f 4b20157eda4012d25fdea52dd0c5d79a24fc7227 # 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 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4b20157eda4012d25fdea52dd0c5d79a24fc7227 # timeout=10 Commit message: "feat: Add resource, command, and device tags to reading/event" First time build. Skipping changelog. > git rev-list --no-walk a472bd9e95c46998e2e6344d1f15d26ef10d5eb9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:38:55 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:38:55 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:38:55 ========================================================= 17:38:55 EdgeX Global Pipelines Version Info 17:38:55 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:38:56 ------------------- 17:38:56 stable info: 17:38:56 ------------------- 17:38:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:38:56 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:38:56 Message: update stable to v1.0.244 17:38:56 ------------------- 17:38:56 experimental info: 17:38:56 ------------------- 17:38:56 Commited By: **** collab-it+edgex@linuxfoundation.org 17:38:56 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 17:38:56 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:38:56 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1297 [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1297 [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1297 [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4b20157 [Pipeline] echo 17:38:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:38:57 provisioning config files... 17:38:57 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config15269671082937019668tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:38:57 ---> docker-login.sh 17:38:57 nexus3.edgexfoundry.org:10001 17:38:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:57 Configure a credential helper to remove this warning. See 17:38:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:57 17:38:57 Login Succeeded 17:38:57 nexus3.edgexfoundry.org:10002 17:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:58 Configure a credential helper to remove this warning. See 17:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:58 17:38:58 Login Succeeded 17:38:58 nexus3.edgexfoundry.org:10003 17:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:58 Configure a credential helper to remove this warning. See 17:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:58 17:38:58 Login Succeeded 17:38:58 nexus3.edgexfoundry.org:10004 17:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:58 Configure a credential helper to remove this warning. See 17:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:58 17:38:58 Login Succeeded 17:38:58 docker.io 17:38:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:38:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:38:58 Configure a credential helper to remove this warning. See 17:38:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:38:58 17:38:58 Login Succeeded 17:38:58 ---> docker-login.sh ends [Pipeline] } 17:38:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:38:59 + git rev-list -1 --merges 4b20157eda4012d25fdea52dd0c5d79a24fc7227~1..4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] echo 17:38:59 -----------> git rev-list -1 --merges 4b20157eda4012d25fdea52dd0c5d79a24fc7227~1..4b20157eda4012d25fdea52dd0c5d79a24fc7227 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [false] [Pipeline] sh 17:38:59 + git log --format=format:%s -1 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] echo 17:38:59 ========================================================= 17:38:59 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:38:59 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:38:59 + git log --format=format:%s -1 4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] echo 17:38:59 [semverPrep] GIT_COMMIT: 4b20157eda4012d25fdea52dd0c5d79a24fc7227, Commit Message: feat: Add resource, command, and device tags to reading/event [Pipeline] echo 17:38:59 [semverPrep] This is not a build commit. [Pipeline] sh 17:39:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:39:00 + grep -v github /etc/ssh/ssh_known_hosts 17:39:00 + [ -e /tmp/ssh_known_hosts ] 17:39:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:39:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:39:00 + sudo tee -a /etc/ssh/ssh_known_hosts 17:39:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:00 17:39:00 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:00 0.1.4: Pulling from edgex-devops/py-git-semver 17:39:00 b85a868b505f: Pulling fs layer 17:39:00 e2be974225ed: Pulling fs layer 17:39:00 339a4e72a1f5: Pulling fs layer 17:39:00 988bab9f4d93: Pulling fs layer 17:39:00 1469e6f7b9e6: Pulling fs layer 17:39:00 eaf3925da568: Pulling fs layer 17:39:00 bab4dde63d76: Pulling fs layer 17:39:00 bde34c3a00c8: Pulling fs layer 17:39:00 b352a97aabf1: Pulling fs layer 17:39:00 4872d77fe225: Pulling fs layer 17:39:00 5851b861e8e6: Pulling fs layer 17:39:00 b352a97aabf1: Waiting 17:39:00 4872d77fe225: Waiting 17:39:00 5851b861e8e6: Waiting 17:39:00 1469e6f7b9e6: Waiting 17:39:00 eaf3925da568: Waiting 17:39:00 bab4dde63d76: Waiting 17:39:00 988bab9f4d93: Waiting 17:39:00 bde34c3a00c8: Waiting 17:39:00 e2be974225ed: Verifying Checksum 17:39:00 e2be974225ed: Download complete 17:39:00 988bab9f4d93: Download complete 17:39:01 1469e6f7b9e6: Verifying Checksum 17:39:01 1469e6f7b9e6: Download complete 17:39:01 eaf3925da568: Download complete 17:39:01 339a4e72a1f5: Verifying Checksum 17:39:01 339a4e72a1f5: Download complete 17:39:01 bde34c3a00c8: Download complete 17:39:01 b352a97aabf1: Download complete 17:39:01 4872d77fe225: Download complete 17:39:01 5851b861e8e6: Download complete 17:39:01 b85a868b505f: Verifying Checksum 17:39:01 b85a868b505f: Download complete 17:39:01 bab4dde63d76: Verifying Checksum 17:39:01 bab4dde63d76: Download complete 17:39:02 b85a868b505f: Pull complete 17:39:02 e2be974225ed: Pull complete 17:39:03 339a4e72a1f5: Pull complete 17:39:03 988bab9f4d93: Pull complete 17:39:03 1469e6f7b9e6: Pull complete 17:39:03 eaf3925da568: Pull complete 17:39:05 bab4dde63d76: Pull complete 17:39:05 bde34c3a00c8: Pull complete 17:39:05 b352a97aabf1: Pull complete 17:39:05 4872d77fe225: Pull complete 17:39:05 5851b861e8e6: Pull complete 17:39:05 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:39:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:39:05 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:05 prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container 17:39:05 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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 17:39:07 $ docker top 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 -eo pid,comm 17:39:07 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 17:39:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:39:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:07 [ssh-agent] Looking for ssh-agent implementation... 17:39:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:07 $ docker exec 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 ssh-agent 17:39:07 SSH_AUTH_SOCK=/tmp/ssh-qij6QSLzfZqz/agent.32 17:39:07 SSH_AGENT_PID=38 17:39:07 Running ssh-add (command line suppressed) 17:39:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_16104919886786489390.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_16104919886786489390.key) 17:39:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:07 + git tag --points-at HEAD [Pipeline] } 17:39:07 $ docker exec --env ******** --env ******** 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 ssh-agent -k 17:39:08 unset SSH_AUTH_SOCK; 17:39:08 unset SSH_AGENT_PID; 17:39:08 echo Agent pid 38 killed; 17:39:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:39:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:39:08 [ssh-agent] Looking for ssh-agent implementation... 17:39:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:39:08 $ docker exec 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 ssh-agent 17:39:08 SSH_AUTH_SOCK=/tmp/ssh-SlNtDTdT1Uj2/agent.70 17:39:08 SSH_AGENT_PID=76 17:39:08 Running ssh-add (command line suppressed) 17:39:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_13125927493235506862.key (/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/private_key_13125927493235506862.key) 17:39:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:39:08 + git semver init 17:39:09 2023-02-01 17:39:08,971 [run_init] DEBUG init version:0.0.0 force:False 17:39:09 2023-02-01 17:39:08,971 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver 17:39:09 2023-02-01 17:39:08,972 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver 17:39:09 2023-02-01 17:39:08,972 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297, universal_newlines=False, shell=None, istream=None) 17:39:09 2023-02-01 17:39:09,904 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.git/info/exclude 17:39:09 2023-02-01 17:39:09,904 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 with force:False 17:39:09 2023-02-01 17:39:09,905 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 17:39:09 2023-02-01 17:39:09,907 [execute] INFO git cat-file --batch-check 17:39:09 2023-02-01 17:39:09,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) 17:39:09 2023-02-01 17:39:09,912 [execute] INFO git cat-file --batch 17:39:09 2023-02-01 17:39:09,912 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver, universal_newlines=False, shell=None, istream=) 17:39:09 2023-02-01 17:39:09,916 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1297/.semver/PR-1297 17:39:09 0.0.0 [Pipeline] } 17:39:09 $ docker exec --env ******** --env ******** 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 ssh-agent -k 17:39:10 unset SSH_AUTH_SOCK; 17:39:10 unset SSH_AGENT_PID; 17:39:10 echo Agent pid 76 killed; 17:39:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:39:10 + git semver [Pipeline] } 17:39:10 $ docker stop --time=1 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 17:39:11 $ docker rm -f --volumes 7f6992e8a6b8298c111cf2889eb7ba6af6f7589b0461cd227191b8f21141a588 [Pipeline] // withDockerContainer [Pipeline] sh 17:39:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:39:12 Stashed 1 file(s) [Pipeline] echo 17:39:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:12 provisioning config files... 17:39:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config6163633142344556582tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:12 ---> docker-login.sh 17:39:12 nexus3.edgexfoundry.org:10001 17:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:12 Configure a credential helper to remove this warning. See 17:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:12 17:39:12 Login Succeeded 17:39:12 nexus3.edgexfoundry.org:10002 17:39:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:12 Configure a credential helper to remove this warning. See 17:39:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:12 17:39:12 Login Succeeded 17:39:12 nexus3.edgexfoundry.org:10003 17:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:13 Configure a credential helper to remove this warning. See 17:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:13 17:39:13 Login Succeeded 17:39:13 nexus3.edgexfoundry.org:10004 17:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:13 Configure a credential helper to remove this warning. See 17:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:13 17:39:13 Login Succeeded 17:39:13 docker.io 17:39:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:39:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:39:13 Configure a credential helper to remove this warning. See 17:39:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:39:13 17:39:13 Login Succeeded 17:39:13 ---> docker-login.sh ends [Pipeline] } 17:39:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:39:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:39:13 ========================================================= 17:39:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 17:39:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:13 + 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 . 17:39:13 Sending build context to Docker daemon 10.57MB 17:39:13 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:39:13 Step 2/10 : FROM ${BASE} AS builder 17:39:13 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 17:39:13 213ec9aee27d: Pulling fs layer 17:39:13 4583459ba037: Pulling fs layer 17:39:13 93c1e223e6f2: Pulling fs layer 17:39:13 53926ce57604: Pulling fs layer 17:39:13 21b2b0c7a3f4: Pulling fs layer 17:39:13 22ff95d597cd: Pulling fs layer 17:39:13 12d6caf4c0d1: Pulling fs layer 17:39:13 96b7cbca73a9: Pulling fs layer 17:39:13 a7acece74701: Pulling fs layer 17:39:13 21b2b0c7a3f4: Waiting 17:39:13 22ff95d597cd: Waiting 17:39:13 12d6caf4c0d1: Waiting 17:39:13 96b7cbca73a9: Waiting 17:39:13 a7acece74701: Waiting 17:39:13 53926ce57604: Waiting 17:39:14 93c1e223e6f2: Verifying Checksum 17:39:14 93c1e223e6f2: Download complete 17:39:14 4583459ba037: Verifying Checksum 17:39:14 4583459ba037: Download complete 17:39:14 21b2b0c7a3f4: Verifying Checksum 17:39:14 21b2b0c7a3f4: Download complete 17:39:14 22ff95d597cd: Verifying Checksum 17:39:14 22ff95d597cd: Download complete 17:39:14 213ec9aee27d: Verifying Checksum 17:39:14 213ec9aee27d: Download complete 17:39:14 12d6caf4c0d1: Verifying Checksum 17:39:14 12d6caf4c0d1: Download complete 17:39:14 213ec9aee27d: Pull complete 17:39:14 4583459ba037: Pull complete 17:39:14 93c1e223e6f2: Pull complete 17:39:15 a7acece74701: Verifying Checksum 17:39:15 a7acece74701: Download complete 17:39:15 53926ce57604: Verifying Checksum 17:39:15 53926ce57604: Download complete 17:39:16 96b7cbca73a9: Download complete 17:39:20 53926ce57604: Pull complete 17:39:20 21b2b0c7a3f4: Pull complete 17:39:20 22ff95d597cd: Pull complete 17:39:20 12d6caf4c0d1: Pull complete 17:39:22 96b7cbca73a9: Pull complete 17:39:22 a7acece74701: Pull complete 17:39:22 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 17:39:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 17:39:22 ---> db6d94c90886 17:39:22 Step 3/10 : ARG MAKE=make build 17:39:25 ---> Running in 94ad94e276fa 17:39:25 Removing intermediate container 94ad94e276fa 17:39:25 ---> 6b6d3f1165f1 17:39:25 Step 4/10 : WORKDIR /device-sdk-go 17:39:25 ---> Running in e9bc667e1505 17:39:25 Removing intermediate container e9bc667e1505 17:39:25 ---> fa7159a214a5 17:39:25 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:39:25 ---> Running in a2225e13223a 17:39:25 Removing intermediate container a2225e13223a 17:39:25 ---> 436a2174e3f1 17:39:25 Step 6/10 : RUN apk add --update --no-cache make git 17:39:25 ---> Running in fce06ab895a9 17:39:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:39:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:39:26 OK: 211 MiB in 51 packages 17:39:26 Removing intermediate container fce06ab895a9 17:39:26 ---> 2a0231b53325 17:39:26 Step 7/10 : COPY go.mod vendor* ./ 17:39:26 ---> 0b9a67162d2f 17:39:26 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:39:26 ---> Running in fb9439c74260 17:39:27 Still waiting to schedule task 17:39:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 17:40:05 Removing intermediate container fb9439c74260 17:40:05 ---> 164482241363 17:40:05 Step 9/10 : COPY . . 17:40:05 ---> ebe0b2234bd1 17:40:05 Step 10/10 : RUN ${MAKE} 17:40:05 ---> Running in 3963fc78f2b0 17:40:05 noop 17:40:05 Removing intermediate container 3963fc78f2b0 17:40:05 ---> 59608a82336d 17:40:05 Successfully built 59608a82336d 17:40:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:05 + docker inspect -f . ci-base-image-x86_64 17:40:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:05 prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container 17:40:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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 17:40:06 $ docker top ae7205b9517a1bbca08175495d10f62a5d0499fca4c18e38ef7cfe08c4ce1d3f -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:06 + go version 17:40:06 go version go1.18.7 linux/amd64 [Pipeline] } 17:40:06 $ docker stop --time=1 ae7205b9517a1bbca08175495d10f62a5d0499fca4c18e38ef7cfe08c4ce1d3f 17:40:07 $ docker rm -f --volumes ae7205b9517a1bbca08175495d10f62a5d0499fca4c18e38ef7cfe08c4ce1d3f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:08 + docker inspect -f . ci-base-image-x86_64 17:40:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:40:08 prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container 17:40:08 $ 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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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 17:40:08 $ docker top a1d6caf0219b5f1270c49961a6dd05bbf4b3ebe26ee2aafaedb6656ccc50ab45 -eo pid,comm [Pipeline] { [Pipeline] sh 17:40:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] fileExists [Pipeline] sh 17:40:09 + make test 17:40:09 go test -race -coverprofile=coverage.out ./... 17:40:15 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.066s coverage: 27.6% of statements 17:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.087s coverage: 78.9% of statements 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 17:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.096s coverage: 79.7% of statements 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.106s coverage: 60.6% of statements 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 17:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.087s coverage: 65.2% of statements 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.725s coverage: 89.2% of statements 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 17:40:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.6% of statements 17:40:30 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:40:45 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." 17:40:45 GO111MODULE=on go vet ./... 17:40:47 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:40:47 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:40:47 ./bin/test-attribution-txt.sh [Pipeline] echo 17:40:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:40:47 $ docker stop --time=1 a1d6caf0219b5f1270c49961a6dd05bbf4b3ebe26ee2aafaedb6656ccc50ab45 17:40:50 $ docker rm -f --volumes a1d6caf0219b5f1270c49961a6dd05bbf4b3ebe26ee2aafaedb6656ccc50ab45 [Pipeline] // withDockerContainer [Pipeline] sh 17:40:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:40:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:40:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:40:51 + ls -al . 17:40:51 total 272 17:40:51 drwxrwxr-x 11 jenkins jenkins 4096 Feb 1 17:40 . 17:40:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:38 .. 17:40:51 -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 17:38 .dockerignore 17:40:51 drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 17:40 .git 17:40:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:38 .github 17:40:51 -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 17:38 .gitignore 17:40:51 -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 17:38 .golangci.yml 17:40:51 drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 17:39 .semver 17:40:51 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 17:38 CHANGELOG.md 17:40:51 -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 17:38 GOVERNANCE.md 17:40:51 -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 17:38 Jenkinsfile 17:40:51 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 17:38 LICENSE 17:40:51 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 17:38 Makefile 17:40:51 -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 17:38 OWNERS.md 17:40:51 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 17:38 README.md 17:40:51 -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 17:39 VERSION 17:40:51 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:38 bin 17:40:51 -rw-r--r-- 1 jenkins jenkins 101918 Feb 1 17:40 coverage.out 17:40:51 drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 17:38 example 17:40:51 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 17:38 go.mod 17:40:51 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 17:38 go.sum 17:40:51 drwxrwxr-x 14 jenkins jenkins 4096 Feb 1 17:38 internal 17:40:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:38 openapi 17:40:51 drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 17:38 pkg 17:40:51 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:38 snap 17:40:51 -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 17:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:40:51 + 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=4b20157eda4012d25fdea52dd0c5d79a24fc7227 --label arch=amd64 --label version=0.0.0 . 17:40:51 Sending build context to Docker daemon 10.68MB 17:40:51 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:40:51 Step 2/23 : FROM ${BASE} AS builder 17:40:51 ---> 59608a82336d 17:40:51 Step 3/23 : ARG MAKE=make build 17:40:52 ---> Running in 74ca15899ee0 17:40:52 Removing intermediate container 74ca15899ee0 17:40:52 ---> a0c8ceb57cf7 17:40:52 Step 4/23 : WORKDIR /device-sdk-go 17:40:52 ---> Running in 358b5a720f34 17:40:52 Removing intermediate container 358b5a720f34 17:40:52 ---> 4d074aac2bcc 17:40:52 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:40:52 ---> Running in 40334d76f683 17:40:52 Removing intermediate container 40334d76f683 17:40:52 ---> 0b0aa59b350d 17:40:52 Step 6/23 : RUN apk add --update --no-cache make git 17:40:52 ---> Running in 7410a7601290 17:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:40:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:40:53 OK: 211 MiB in 51 packages 17:40:53 Removing intermediate container 7410a7601290 17:40:53 ---> ffe23fa275e0 17:40:53 Step 7/23 : COPY go.mod vendor* ./ 17:40:53 ---> 6e1c63242834 17:40:53 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:40:53 ---> Running in 785ccb0e6479 17:40:54 Removing intermediate container 785ccb0e6479 17:40:54 ---> 219f13a32d92 17:40:54 Step 9/23 : COPY . . 17:40:54 ---> 5504b3533fa8 17:40:54 Step 10/23 : RUN ${MAKE} 17:40:54 ---> Running in 6fe198f4a9f2 17:40:54 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:41:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4279 in /w/workspace/gexfoundry_device-sdk-go_PR-1297 [Pipeline] { [Pipeline] ws 17:41:02 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 17:41:02 The recommended git tool is: git 17:41:07 using credential edgex-jenkins-ssh 17:41:07 Cloning the remote Git repository 17:41:07 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:41:07 > git init /w/workspace/device-sdk-go/2 # timeout=10 17:41:08 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:41:08 > git --version # timeout=10 17:41:08 > git --version # 'git version 2.25.1' 17:41:08 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:41:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:41:11 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:41:11 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:41:11 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1297/head:refs/remotes/origin/PR-1297 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:41:11 Merging remotes/origin/main commit 881f10918eb4e60f546b60d89ac5bea6bad2c109 into PR head commit 4b20157eda4012d25fdea52dd0c5d79a24fc7227 17:41:11 Merge succeeded, producing 4b20157eda4012d25fdea52dd0c5d79a24fc7227 17:41:11 Checking out Revision 4b20157eda4012d25fdea52dd0c5d79a24fc7227 (PR-1297) 17:41:12 Removing intermediate container 6fe198f4a9f2 17:41:12 ---> 941c213ea1da 17:41:12 Step 11/23 : FROM alpine:3.16 17:41:12 3.16: Pulling from library/alpine 17:41:12 ca7dd9ec2225: Pulling fs layer 17:41:12 ca7dd9ec2225: Verifying Checksum 17:41:12 ca7dd9ec2225: Download complete 17:41:12 ca7dd9ec2225: Pull complete 17:41:12 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:41:12 Status: Downloaded newer image for alpine:3.16 17:41:12 ---> bfe296a52501 17:41:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:41:12 ---> Running in 194f80667117 17:41:12 Removing intermediate container 194f80667117 17:41:12 ---> e53e9fb723cb 17:41:12 Step 13/23 : RUN apk add --update --no-cache 17:41:12 ---> Running in 64f98bed4a53 17:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 17:41:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 17:41:12 OK: 6 MiB in 14 packages 17:41:11 > git config core.sparsecheckout # timeout=10 17:41:11 > git checkout -f 4b20157eda4012d25fdea52dd0c5d79a24fc7227 # timeout=10 17:41:11 > git remote # timeout=10 17:41:11 > git config --get remote.origin.url # timeout=10 17:41:11 using GIT_SSH to set credentials SSH Credentials for GitHub 17:41:11 > git merge 881f10918eb4e60f546b60d89ac5bea6bad2c109 # timeout=10 17:41:11 > git rev-parse HEAD^{commit} # timeout=10 17:41:11 > git config core.sparsecheckout # timeout=10 17:41:11 > git checkout -f 4b20157eda4012d25fdea52dd0c5d79a24fc7227 # timeout=10 17:41:13 Removing intermediate container 64f98bed4a53 17:41:13 ---> cfcabaa2e514 17:41:13 Step 14/23 : WORKDIR / 17:41:13 ---> Running in 5b8a3ae289d8 17:41:13 Removing intermediate container 5b8a3ae289d8 17:41:13 ---> 33e585deaa7b 17:41:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:41:13 ---> 61f0ba9b1e7b 17:41:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:41:14 ---> d50423aaa998 17:41:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:41:14 ---> 9ce1a8809cbf 17:41:14 Step 18/23 : EXPOSE 59999 17:41:14 ---> Running in a6b91f7edb7e 17:41:14 Removing intermediate container a6b91f7edb7e 17:41:14 ---> 3bd839efddb8 17:41:14 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:41:14 ---> Running in 05bede6e06c5 17:41:14 Removing intermediate container 05bede6e06c5 17:41:14 ---> 51f8872fb46e 17:41:14 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:41:14 ---> Running in 1f9a7dbe5a02 17:41:14 Removing intermediate container 1f9a7dbe5a02 17:41:14 ---> 6baef638db91 17:41:14 Step 21/23 : LABEL arch=amd64 17:41:14 ---> Running in 37691e25712d 17:41:14 Removing intermediate container 37691e25712d 17:41:14 ---> e48f56d5e475 17:41:14 Step 22/23 : LABEL git_sha=4b20157eda4012d25fdea52dd0c5d79a24fc7227 17:41:14 ---> Running in fa3987c5929f 17:41:14 Removing intermediate container fa3987c5929f 17:41:14 ---> 8003f2aadd6b 17:41:14 Step 23/23 : LABEL version=0.0.0 17:41:14 ---> Running in dbe306e3e9fc 17:41:14 Removing intermediate container dbe306e3e9fc 17:41:14 ---> 3065bc413cba 17:41:14 [Warning] One or more build-args [ARCH] were not consumed 17:41:14 Successfully built 3065bc413cba 17:41:14 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 17:41:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:41:15 17:41:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:41:15 latest: Pulling from edgex-lftools-log-publisher 17:41:15 5eb5b503b376: Pulling fs layer 17:41:15 5c69ac0246d0: Pulling fs layer 17:41:15 ec43610c2a17: Pulling fs layer 17:41:15 3a2ae6a8a46f: Pulling fs layer 17:41:15 33b1e0a273af: Pulling fs layer 17:41:15 5d3b04190fa2: Pulling fs layer 17:41:15 2f39f015ded8: Pulling fs layer 17:41:15 33b1e0a273af: Waiting 17:41:15 2f39f015ded8: Waiting 17:41:15 5d3b04190fa2: Waiting 17:41:15 3a2ae6a8a46f: Waiting 17:41:15 5c69ac0246d0: Download complete 17:41:15 3a2ae6a8a46f: Verifying Checksum 17:41:15 3a2ae6a8a46f: Download complete 17:41:15 Commit message: "feat: Add resource, command, and device tags to reading/event" 17:41:15 33b1e0a273af: Verifying Checksum 17:41:15 33b1e0a273af: Download complete 17:41:15 5d3b04190fa2: Verifying Checksum 17:41:15 5d3b04190fa2: Download complete 17:41:15 ec43610c2a17: Verifying Checksum 17:41:15 ec43610c2a17: Download complete 17:41:15 5eb5b503b376: Verifying Checksum 17:41:15 5eb5b503b376: Download complete 17:41:15 17:41:15 GitHub has been notified of this commit’s build result 17:41:15 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:41:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:41:16 % Total % Received % Xferd Average Speed Time Time Time Current 17:41:16 Dload Upload Total Spent Left Speed 17:41:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 17:41:16 2f39f015ded8: Download complete 17:41:17 5eb5b503b376: Pull complete 17:41:17 5c69ac0246d0: Pull complete 17:41:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:41:17 + sudo tee /etc/docker/daemon.new 17:41:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:41:17 { 17:41:17 "registry-mirrors": [ 17:41:17 "https://nexus3.edgexfoundry.org:10001" 17:41:17 ], 17:41:17 "bip": "10.250.0.254/24", 17:41:17 "hosts": [ 17:41:17 "tcp://0.0.0.0:5555", 17:41:17 "unix:///var/run/docker.sock" 17:41:17 ], 17:41:17 "mtu": 1458, 17:41:17 "selinux-enabled": true, 17:41:17 "seccomp-profile": "/etc/docker/seccomp.json" 17:41:17 } [Pipeline] sh 17:41:17 ec43610c2a17: Pull complete 17:41:17 3a2ae6a8a46f: Pull complete 17:41:17 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:41:17 33b1e0a273af: Pull complete 17:41:17 5d3b04190fa2: Pull complete 17:41:18 + sudo service docker restart 17:41:22 2f39f015ded8: Pull complete 17:41:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:41:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:41:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:41:22 prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container 17:41:22 $ 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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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 17:41:23 $ docker top d6dffe556bfa5dcd4f8ee56ca894d583f74d6581f14eed6d41e68514673da246 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:24 ---> job-cost.sh 17:41:24 lf-activate-venv: SKIPPING 17:41:24 INFO: No Stack... 17:41:24 INFO: Retrieving Pricing Info for: v3-standard-8 17:41:25 INFO: Archiving Costs [Pipeline] sh 17:41:25 + + cut -d, -f6 17:41:25 cat /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/cost.csv [Pipeline] lock 17:41:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] 17:41:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] did not exist. Created. 17:41:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:41:25 + echo total: 0.2199999988079071 [Pipeline] stash 17:41:25 Stashed 1 file(s) [Pipeline] } 17:41:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:41:25 $ docker stop --time=1 d6dffe556bfa5dcd4f8ee56ca894d583f74d6581f14eed6d41e68514673da246 17:41:26 $ docker rm -f --volumes d6dffe556bfa5dcd4f8ee56ca894d583f74d6581f14eed6d41e68514673da246 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:41:36 provisioning config files... 17:41:36 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config16414393185974704171tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:41:36 ---> docker-login.sh 17:41:36 nexus3.edgexfoundry.org:10001 17:41:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:37 Configure a credential helper to remove this warning. See 17:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:37 17:41:37 Login Succeeded 17:41:37 nexus3.edgexfoundry.org:10002 17:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:37 Configure a credential helper to remove this warning. See 17:41:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:37 17:41:37 Login Succeeded 17:41:37 nexus3.edgexfoundry.org:10003 17:41:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:38 Configure a credential helper to remove this warning. See 17:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:38 17:41:38 Login Succeeded 17:41:38 nexus3.edgexfoundry.org:10004 17:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:38 Configure a credential helper to remove this warning. See 17:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:38 17:41:38 Login Succeeded 17:41:38 docker.io 17:41:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:41:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:41:38 Configure a credential helper to remove this warning. See 17:41:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:41:38 17:41:38 Login Succeeded 17:41:38 ---> docker-login.sh ends [Pipeline] } 17:41:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:41:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:41:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:41:39 ========================================================= 17:41:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 17:41:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:41:39 + 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 . 17:41:39 Sending build context to Docker daemon 5.72MB 17:41:39 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 17:41:39 Step 2/10 : FROM ${BASE} AS builder 17:41:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:41:40 9b18e9b68314: Pulling fs layer 17:41:40 35d82f9e3411: Pulling fs layer 17:41:40 e16973657156: Pulling fs layer 17:41:40 fc693d55d65f: Pulling fs layer 17:41:40 7e9fc2657dce: Pulling fs layer 17:41:40 dda99020689f: Pulling fs layer 17:41:40 db1c61fa0a46: Pulling fs layer 17:41:40 891c053d2c06: Pulling fs layer 17:41:40 fc693d55d65f: Waiting 17:41:40 7e9fc2657dce: Waiting 17:41:40 dda99020689f: Waiting 17:41:40 891c053d2c06: Waiting 17:41:40 db1c61fa0a46: Waiting 17:41:40 e16973657156: Verifying Checksum 17:41:40 e16973657156: Download complete 17:41:40 35d82f9e3411: Verifying Checksum 17:41:40 35d82f9e3411: Download complete 17:41:40 7e9fc2657dce: Verifying Checksum 17:41:40 7e9fc2657dce: Download complete 17:41:40 dda99020689f: Download complete 17:41:40 9b18e9b68314: Verifying Checksum 17:41:40 9b18e9b68314: Pull complete 17:41:41 891c053d2c06: Verifying Checksum 17:41:41 891c053d2c06: Download complete 17:41:41 35d82f9e3411: Pull complete 17:41:42 e16973657156: Pull complete 17:41:42 db1c61fa0a46: Verifying Checksum 17:41:42 db1c61fa0a46: Download complete 17:41:43 fc693d55d65f: Verifying Checksum 17:41:43 fc693d55d65f: Download complete 17:41:55 fc693d55d65f: Pull complete 17:41:55 7e9fc2657dce: Pull complete 17:41:55 dda99020689f: Pull complete 17:42:02 db1c61fa0a46: Pull complete 17:42:04 891c053d2c06: Pull complete 17:42:04 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 17:42:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 17:42:04 ---> f96f9c87975a 17:42:04 Step 3/10 : ARG MAKE=make build 17:42:06 ---> Running in 2acb01b3059d 17:42:06 Removing intermediate container 2acb01b3059d 17:42:06 ---> abf142140c71 17:42:06 Step 4/10 : WORKDIR /device-sdk-go 17:42:06 ---> Running in b145c6d0fca6 17:42:07 Removing intermediate container b145c6d0fca6 17:42:07 ---> 0cd6f24ad4d8 17:42:07 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:42:07 ---> Running in 891a6f6769ca 17:42:07 Removing intermediate container 891a6f6769ca 17:42:07 ---> 4bc2ca2f733d 17:42:07 Step 6/10 : RUN apk add --update --no-cache make git 17:42:07 ---> Running in c9b2a3c47c23 17:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:42:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:42:09 OK: 221 MiB in 51 packages 17:42:10 Removing intermediate container c9b2a3c47c23 17:42:10 ---> 4ceaf8b5fba2 17:42:10 Step 7/10 : COPY go.mod vendor* ./ 17:42:11 ---> 4c206b88c27a 17:42:11 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:42:11 ---> Running in cdf8401974bd 17:43:32 Removing intermediate container cdf8401974bd 17:43:32 ---> 84d4d53bd58b 17:43:32 Step 9/10 : COPY . . 17:43:32 ---> 9e2fa8c05541 17:43:32 Step 10/10 : RUN ${MAKE} 17:43:32 ---> Running in 27993dae71f2 17:43:32 noop 17:43:32 Removing intermediate container 27993dae71f2 17:43:32 ---> bc0264bbb36d 17:43:32 Successfully built bc0264bbb36d 17:43:32 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:33 + docker inspect -f . ci-base-image-arm64 17:43:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:33 prd-ubuntu20.04-docker-arm64-4c-16g-4279 does not seem to be running inside a container 17:43:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:43:34 $ docker top c88adbac7d3865732aaf52da4eb1dd964a3deb7f47c3c934135b5972ba0bd8cc -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:35 + go version 17:43:35 go version go1.18.7 linux/arm64 [Pipeline] } 17:43:35 $ docker stop --time=1 c88adbac7d3865732aaf52da4eb1dd964a3deb7f47c3c934135b5972ba0bd8cc 17:43:37 $ docker rm -f --volumes c88adbac7d3865732aaf52da4eb1dd964a3deb7f47c3c934135b5972ba0bd8cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:43:37 + docker inspect -f . ci-base-image-arm64 17:43:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:43:37 prd-ubuntu20.04-docker-arm64-4c-16g-4279 does not seem to be running inside a container 17:43:37 $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:43:39 $ docker top 3e8a9f7f4a8cabaefd830ae37120c37fb95631a5e00b2e875a058021d59fb05a -eo pid,comm [Pipeline] { [Pipeline] sh 17:43:39 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 17:43:39 + make test 17:43:39 go test -race -coverprofile=coverage.out ./... 17:44:12 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:46:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:46:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:46:03 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:46:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:46:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:46:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.286s coverage: 27.6% of statements 17:46:03 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.351s coverage: 78.9% of statements 17:46:03 ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] 17:46:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.333s coverage: 79.7% of statements 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:46:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.502s coverage: 60.6% of statements 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] 17:46:16 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.441s coverage: 65.2% of statements 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:46:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.811s coverage: 89.2% of statements 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] 17:46:16 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 4.6% of statements 17:46:16 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:46:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:46:17 GO111MODULE=on go vet ./... 17:47:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:47:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:47:54 ./bin/test-attribution-txt.sh [Pipeline] echo 17:47:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:47:54 $ docker stop --time=1 3e8a9f7f4a8cabaefd830ae37120c37fb95631a5e00b2e875a058021d59fb05a 17:47:57 $ docker rm -f --volumes 3e8a9f7f4a8cabaefd830ae37120c37fb95631a5e00b2e875a058021d59fb05a [Pipeline] // withDockerContainer [Pipeline] sh 17:47:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:47:58 Warning: overwriting stash ‘coverage-report’ 17:47:59 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:47:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:47:59 + ls -al . 17:47:59 total 268 17:47:59 drwxrwxr-x 10 jenkins jenkins 4096 Feb 1 17:43 . 17:47:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:41 .. 17:47:59 -rw-rw-r-- 1 jenkins jenkins 140 Feb 1 17:41 .dockerignore 17:47:59 drwxrwxr-x 8 jenkins jenkins 4096 Feb 1 17:41 .git 17:47:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:41 .github 17:47:59 -rw-rw-r-- 1 jenkins jenkins 131 Feb 1 17:41 .gitignore 17:47:59 -rw-rw-r-- 1 jenkins jenkins 42 Feb 1 17:41 .golangci.yml 17:47:59 -rw-rw-r-- 1 jenkins jenkins 31677 Feb 1 17:41 CHANGELOG.md 17:47:59 -rw-rw-r-- 1 jenkins jenkins 677 Feb 1 17:41 GOVERNANCE.md 17:47:59 -rw-rw-r-- 1 jenkins jenkins 880 Feb 1 17:41 Jenkinsfile 17:47:59 -rw-rw-r-- 1 jenkins jenkins 11341 Feb 1 17:41 LICENSE 17:47:59 -rw-rw-r-- 1 jenkins jenkins 1679 Feb 1 17:41 Makefile 17:47:59 -rw-rw-r-- 1 jenkins jenkins 619 Feb 1 17:41 OWNERS.md 17:47:59 -rw-rw-r-- 1 jenkins jenkins 4891 Feb 1 17:41 README.md 17:47:59 -rw-rw-r-- 1 jenkins jenkins 5 Feb 1 17:39 VERSION 17:47:59 drwxrwxr-x 2 jenkins jenkins 4096 Feb 1 17:41 bin 17:47:59 -rw-r--r-- 1 jenkins jenkins 101918 Feb 1 17:46 coverage.out 17:47:59 drwxrwxr-x 5 jenkins jenkins 4096 Feb 1 17:41 example 17:47:59 -rw-rw-r-- 1 jenkins jenkins 3307 Feb 1 17:41 go.mod 17:47:59 -rw-rw-r-- 1 jenkins jenkins 34396 Feb 1 17:41 go.sum 17:47:59 drwxrwxr-x 14 jenkins jenkins 4096 Feb 1 17:41 internal 17:47:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:41 openapi 17:47:59 drwxrwxr-x 6 jenkins jenkins 4096 Feb 1 17:41 pkg 17:47:59 drwxrwxr-x 4 jenkins jenkins 4096 Feb 1 17:41 snap 17:47:59 -rw-rw-r-- 1 jenkins jenkins 222 Feb 1 17:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:48:00 + 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=4b20157eda4012d25fdea52dd0c5d79a24fc7227 --label arch=arm64 --label version=0.0.0 . 17:48:00 Sending build context to Docker daemon 5.823MB 17:48:00 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 17:48:00 Step 2/23 : FROM ${BASE} AS builder 17:48:00 ---> bc0264bbb36d 17:48:00 Step 3/23 : ARG MAKE=make build 17:48:00 ---> Running in 630b200e777a 17:48:00 Removing intermediate container 630b200e777a 17:48:00 ---> 86ba7b3154e3 17:48:00 Step 4/23 : WORKDIR /device-sdk-go 17:48:00 ---> Running in 8958ac750ebf 17:48:01 Removing intermediate container 8958ac750ebf 17:48:01 ---> b381e727bbcc 17:48:01 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:48:01 ---> Running in c48d2cb9c06c 17:48:01 Removing intermediate container c48d2cb9c06c 17:48:01 ---> b756e2d8e39c 17:48:01 Step 6/23 : RUN apk add --update --no-cache make git 17:48:01 ---> Running in d4cb2ceb144b 17:48:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:48:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:48:04 OK: 221 MiB in 51 packages 17:48:05 Removing intermediate container d4cb2ceb144b 17:48:05 ---> a336e12a6418 17:48:05 Step 7/23 : COPY go.mod vendor* ./ 17:48:05 ---> a1b0b4ddd97c 17:48:05 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:48:05 ---> Running in ed2199e8dc25 17:48:09 Removing intermediate container ed2199e8dc25 17:48:09 ---> 5eeb661a1f88 17:48:09 Step 9/23 : COPY . . 17:48:10 ---> fa2be6b82046 17:48:10 Step 10/23 : RUN ${MAKE} 17:48:10 ---> Running in 9aefb9c3f185 17:48:11 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 17:50:18 Removing intermediate container 9aefb9c3f185 17:50:18 ---> d4d57b5c800e 17:50:18 Step 11/23 : FROM alpine:3.16 17:50:18 3.16: Pulling from library/alpine 17:50:18 6875df1f5354: Pulling fs layer 17:50:18 6875df1f5354: Verifying Checksum 17:50:18 6875df1f5354: Download complete 17:50:18 6875df1f5354: Pull complete 17:50:18 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 17:50:18 Status: Downloaded newer image for alpine:3.16 17:50:18 ---> 2b4661558fb8 17:50:18 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:50:18 ---> Running in 488cd21d7371 17:50:18 Removing intermediate container 488cd21d7371 17:50:18 ---> 2772749104fe 17:50:18 Step 13/23 : RUN apk add --update --no-cache 17:50:18 ---> Running in c71a34c9018e 17:50:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 17:50:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 17:50:18 OK: 5 MiB in 14 packages 17:50:18 Removing intermediate container c71a34c9018e 17:50:18 ---> 2aeb60603b17 17:50:18 Step 14/23 : WORKDIR / 17:50:18 ---> Running in c8a2a76637d0 17:50:18 Removing intermediate container c8a2a76637d0 17:50:18 ---> 10ee9f3f212d 17:50:18 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:50:18 ---> 261f426ee5ab 17:50:18 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:50:18 ---> 3d005e5cddd3 17:50:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:50:18 ---> d86581705751 17:50:18 Step 18/23 : EXPOSE 59999 17:50:18 ---> Running in 12bacc9459d6 17:50:18 Removing intermediate container 12bacc9459d6 17:50:18 ---> 4d542dbe77fc 17:50:18 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:50:18 ---> Running in b7c2bcbb2ec3 17:50:18 Removing intermediate container b7c2bcbb2ec3 17:50:18 ---> 60659f9f0a35 17:50:18 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:50:18 ---> Running in 43d149f714be 17:50:18 Removing intermediate container 43d149f714be 17:50:18 ---> b14ca732ce16 17:50:18 Step 21/23 : LABEL arch=arm64 17:50:18 ---> Running in 232e8cc6ac6a 17:50:19 Removing intermediate container 232e8cc6ac6a 17:50:19 ---> 8192c9172134 17:50:19 Step 22/23 : LABEL git_sha=4b20157eda4012d25fdea52dd0c5d79a24fc7227 17:50:19 ---> Running in 4880c14865ed 17:50:19 Removing intermediate container 4880c14865ed 17:50:19 ---> 2609daef5761 17:50:19 Step 23/23 : LABEL version=0.0.0 17:50:19 ---> Running in 637482742a0b 17:50:19 Removing intermediate container 637482742a0b 17:50:19 ---> 8c37f438c7f1 17:50:19 [Warning] One or more build-args [ARCH] were not consumed 17:50:19 Successfully built 8c37f438c7f1 17:50:19 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:20 17:50:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:21 arm64: Pulling from edgex-lftools-log-publisher 17:50:21 8998bd30e6a1: Pulling fs layer 17:50:21 04944245beec: Pulling fs layer 17:50:21 699f458cf7ca: Pulling fs layer 17:50:21 765212b225bb: Pulling fs layer 17:50:21 f23df028b6ca: Pulling fs layer 17:50:21 d65c8cfc05b1: Pulling fs layer 17:50:21 2437ff75d9bd: Pulling fs layer 17:50:21 f23df028b6ca: Waiting 17:50:21 765212b225bb: Waiting 17:50:21 d65c8cfc05b1: Waiting 17:50:21 2437ff75d9bd: Waiting 17:50:21 04944245beec: Verifying Checksum 17:50:21 04944245beec: Download complete 17:50:21 765212b225bb: Verifying Checksum 17:50:21 765212b225bb: Download complete 17:50:21 f23df028b6ca: Download complete 17:50:21 d65c8cfc05b1: Verifying Checksum 17:50:21 d65c8cfc05b1: Download complete 17:50:21 699f458cf7ca: Verifying Checksum 17:50:21 699f458cf7ca: Download complete 17:50:22 8998bd30e6a1: Verifying Checksum 17:50:22 8998bd30e6a1: Download complete 17:50:24 2437ff75d9bd: Verifying Checksum 17:50:24 2437ff75d9bd: Download complete 17:50:26 8998bd30e6a1: Pull complete 17:50:26 04944245beec: Pull complete 17:50:27 699f458cf7ca: Pull complete 17:50:27 765212b225bb: Pull complete 17:50:31 f23df028b6ca: Pull complete 17:50:31 d65c8cfc05b1: Pull complete 17:50:43 2437ff75d9bd: Pull complete 17:50:43 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:50:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:50:43 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:43 prd-ubuntu20.04-docker-arm64-4c-16g-4279 does not seem to be running inside a container 17:50:43 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:50:46 $ docker top 9fef7f2a03f3ec76aac3533aa28a9d643e201bf210e97ece18a63f595a2c7712 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:50:46 ---> job-cost.sh 17:50:46 lf-activate-venv: SKIPPING 17:50:46 INFO: No Stack... 17:50:47 INFO: Retrieving Pricing Info for: v3-standard-4 17:50:48 INFO: Archiving Costs [Pipeline] sh 17:50:48 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 17:50:48 + cut -d, -f6 [Pipeline] lock 17:50:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] 17:50:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] did not exist. Created. 17:50:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:50:49 /w/workspace/device-sdk-go/2@tmp/durable-824c20c0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:50:49 + echo total: 0.10999999940395355 [Pipeline] stash 17:50:49 Warning: overwriting stash ‘stack-cost’ 17:50:49 Stashed 1 file(s) [Pipeline] } 17:50:49 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1297-2-stack-cost] [Pipeline] // lock [Pipeline] } 17:50:49 $ docker stop --time=1 9fef7f2a03f3ec76aac3533aa28a9d643e201bf210e97ece18a63f595a2c7712 17:50:51 $ docker rm -f --volumes 9fef7f2a03f3ec76aac3533aa28a9d643e201bf210e97ece18a63f595a2c7712 [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 17:50:51 provisioning config files... 17:50:51 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config468116763361859663tmp [Pipeline] { [Pipeline] sh 17:50:51 + set +x 17:50:51 + curl -s https://codecov.io/bash 17:50:51 + bash -s -- 17:50:51 17:50:51 _____ _ 17:50:51 / ____| | | 17:50:51 | | ___ __| | ___ ___ _____ __ 17:50:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:50:51 | |___| (_) | (_| | __/ (_| (_) \ V / 17:50:51 \_____\___/ \__,_|\___|\___\___/ \_/ 17:50:51 Bash-1.0.6 17:50:51 17:50:51 17:50:51 ==> git version 2.25.1 found 17:50:51 ==> 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 17:50:51 Release-Date: 2020-01-08 17:50:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:50:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:50:51 ==> Jenkins CI detected. 17:50:51 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1297 17:50:51 project root: . 17:50:51 --> token set from env 17:50:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:50:51 ==> Running gcov in . (disable via -X gcov) 17:50:52 ==> Python coveragepy not found 17:50:52 ==> Searching for coverage reports in: 17:50:52 + . 17:50:52 -> Found 1 reports 17:50:52 ==> Detecting git/mercurial file structure 17:50:52 ==> Reading reports 17:50:52 + ./coverage.out bytes=101918 17:50:52 ==> Appending adjustments 17:50:52 https://docs.codecov.io/docs/fixing-reports 17:50:52 + Found adjustments 17:50:52 ==> Gzipping contents 17:50:52 16K /tmp/codecov.59UNOj.gz 17:50:52 ==> Uploading reports 17:50:52 url: https://codecov.io 17:50:52 query: branch=PR-1297&commit=4b20157eda4012d25fdea52dd0c5d79a24fc7227&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= 17:50:52 -> Pinging Codecov 17:50:52 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1297&commit=4b20157eda4012d25fdea52dd0c5d79a24fc7227&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1297%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1297&job=&cmd_args= 17:50:52 -> Uploading to 17:50:52 https://storage.googleapis.com/codecov/v4/raw/2023-02-01/7E55EF52A471D76F132DFD9A03CDDE97/4b20157eda4012d25fdea52dd0c5d79a24fc7227/fb614d7e-4c0f-44d1-a2a9-a5af7ecce8a7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230201%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230201T175052Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8706c401994d5249bae7d1fdf45c72dcd0ac97030cbeaf9a9154df9564b68a9b 17:50:52 % Total % Received % Xferd Average Speed Time Time Time Current 17:50:52 Dload Upload Total Spent Left Speed 17:50:52 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14877 0 0 100 14877 0 67316 --:--:-- --:--:-- --:--:-- 67013 100 14877 0 0 100 14877 0 42264 --:--:-- --:--:-- --:--:-- 42144 17:50:52 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4b20157eda4012d25fdea52dd0c5d79a24fc7227 [Pipeline] } 17:50:52 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 17:50:53 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives ] 17:50:53 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives 17:50:53 total 16 17:50:53 drwxr-xr-x 3 root root 4096 Feb 1 17:41 . 17:50:53 drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 17:41 .. 17:50:53 drwxr-xr-x 2 root root 4096 Feb 1 17:41 cost 17:50:53 -rw-r--r-- 1 root root 86 Feb 1 17:41 cost.csv 17:50:53 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives 17:50:53 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives 17:50:53 total 16 17:50:53 drwxr-xr-x 3 jenkins jenkins 4096 Feb 1 17:41 . 17:50:53 drwxrwxr-x 12 jenkins jenkins 4096 Feb 1 17:41 .. 17:50:53 drwxr-xr-x 2 jenkins jenkins 4096 Feb 1 17:41 cost 17:50:53 -rw-r--r-- 1 jenkins jenkins 86 Feb 1 17:41 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:50:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:50:54 ---> package-listing.sh 17:50:54 ++ facter osfamily 17:50:54 ++ tr '[:upper:]' '[:lower:]' 17:50:54 + OS_FAMILY=debian 17:50:54 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1297 17:50:54 + START_PACKAGES=/tmp/packages_start.txt 17:50:54 + END_PACKAGES=/tmp/packages_end.txt 17:50:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:50:54 + PACKAGES=/tmp/packages_start.txt 17:50:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' 17:50:54 + PACKAGES=/tmp/packages_end.txt 17:50:54 + case "${OS_FAMILY}" in 17:50:54 + dpkg -l 17:50:54 + grep '^ii' 17:50:54 + '[' -f /tmp/packages_start.txt ']' 17:50:54 + '[' -f /tmp/packages_end.txt ']' 17:50:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:50:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1297 ']' 17:50:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ 17:50:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1297/archives/ [Pipeline] echo 17:50:54 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-1297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:50:55 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:50:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:50:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:50:55 prd-ubuntu20.04-docker-8c-8g-4278 does not seem to be running inside a container 17:50:55 $ 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-1297/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-1297 -v /w/workspace/gexfoundry_device-sdk-go_PR-1297:/w/workspace/gexfoundry_device-sdk-go_PR-1297:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1297@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 17:50:55 $ docker top 59d0ecd9929e196aab46949a2df01f09eebe668b273e99c0295300aaf258dd46 -eo pid,comm [Pipeline] { [Pipeline] sh 17:50:56 + touch /tmp/pre-build-complete [Pipeline] sh 17:50:56 + mkdir -p /var/log/sysstat [Pipeline] sh 17:50:56 + ls /var/log/sa-host 17:50:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:50:56 provisioning config files... 17:50:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1297@tmp/config6321838170785469286tmp [Pipeline] { [Pipeline] echo 17:50:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:50:57 ---> create-netrc.sh [Pipeline] } 17:50:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:50:57 ---> python-tools-install.sh [Pipeline] echo 17:50:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:50:57 ---> sudo-logs.sh 17:50:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:50:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:50:58 ---> job-cost.sh 17:50:58 lf-activate-venv: SKIPPING 17:50:58 DEBUG: total: 0.2199999988079071 17:50:58 INFO: Retrieving Stack Cost... 17:50:58 INFO: Retrieving Pricing Info for: v3-standard-8 17:50:58 INFO: Archiving Costs [Pipeline] echo 17:50:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:50:59 ---> logs-deploy.sh 17:50:59 lf-activate-venv: SKIPPING 17:50:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1297/2 17:50:59 INFO: archiving workspace using pattern(s): 17:51:00 Archives upload complete. 17:51:00 INFO: archiving logs to Nexus