Pull request #1244 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5c51ee2d8db5b8ee211392afe9efb3e3d254e855+7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 (626ad01d6655fc0063eb9fa5c03d682ae6eca460) 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-ssh13998770699612520109.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh11600993452278000826.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 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-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7734669303498940324.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > 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 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-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12371056831626876364.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' 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-ssh17193075793254931549.key Verifying host key using known hosts file > 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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 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-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14432887562558871936.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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 on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9156 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [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-1244 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 into PR head commit 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 Merge succeeded, producing 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 Checking out Revision 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 (PR-1244) Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:08:06 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script > git config core.sparsecheckout # timeout=10 > git checkout -f 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 [Pipeline] { [Pipeline] withCredentials 04:08:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:08:06 ========================================================= 04:08:06 EdgeX Global Pipelines Version Info 04:08:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:08:07 ------------------- 04:08:07 stable info: 04:08:07 ------------------- 04:08:07 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:08:07 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:08:07 Message: update stable to v1.0.243 04:08:08 ------------------- 04:08:08 experimental info: 04:08:08 ------------------- 04:08:08 Commited By: **** collab-it+edgex@linuxfoundation.org 04:08:08 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:08:08 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:08:08 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1244 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1244 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1244 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5c51ee2 [Pipeline] echo 04:08:09 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:09 provisioning config files... 04:08:09 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config5770979692238422265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:10 ---> docker-login.sh 04:08:10 nexus3.edgexfoundry.org:10001 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 nexus3.edgexfoundry.org:10002 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 nexus3.edgexfoundry.org:10003 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 nexus3.edgexfoundry.org:10004 04:08:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:10 Configure a credential helper to remove this warning. See 04:08:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:10 04:08:10 Login Succeeded 04:08:10 docker.io 04:08:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:11 Configure a credential helper to remove this warning. See 04:08:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:11 04:08:11 Login Succeeded 04:08:11 ---> docker-login.sh ends [Pipeline] } 04:08:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:08:12 + git rev-list -1 --merges 5c51ee2d8db5b8ee211392afe9efb3e3d254e855~1..5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] echo 04:08:12 -----------> git rev-list -1 --merges 5c51ee2d8db5b8ee211392afe9efb3e3d254e855~1..5c51ee2d8db5b8ee211392afe9efb3e3d254e855 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [false] [Pipeline] sh 04:08:12 + git log --format=format:%s -1 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] echo 04:08:12 ========================================================= 04:08:12 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:08:12 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:08:12 + git log --format=format:%s -1 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] echo 04:08:12 [semverPrep] GIT_COMMIT: 5c51ee2d8db5b8ee211392afe9efb3e3d254e855, Commit Message: build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1 [Pipeline] echo 04:08:12 [semverPrep] This is not a build commit. [Pipeline] sh 04:08:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:08:13 + grep -v github /etc/ssh/ssh_known_hosts 04:08:13 + [ -e /tmp/ssh_known_hosts ] 04:08:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:08:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:08:13 + sudo tee -a /etc/ssh/ssh_known_hosts 04:08:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:13 04:08:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:14 0.1.4: Pulling from edgex-devops/py-git-semver 04:08:14 b85a868b505f: Pulling fs layer 04:08:14 e2be974225ed: Pulling fs layer 04:08:14 339a4e72a1f5: Pulling fs layer 04:08:14 988bab9f4d93: Pulling fs layer 04:08:14 1469e6f7b9e6: Pulling fs layer 04:08:14 eaf3925da568: Pulling fs layer 04:08:14 bab4dde63d76: Pulling fs layer 04:08:14 988bab9f4d93: Waiting 04:08:14 eaf3925da568: Waiting 04:08:14 bde34c3a00c8: Pulling fs layer 04:08:14 b352a97aabf1: Pulling fs layer 04:08:14 bab4dde63d76: Waiting 04:08:14 bde34c3a00c8: Waiting 04:08:14 4872d77fe225: Pulling fs layer 04:08:14 5851b861e8e6: Pulling fs layer 04:08:14 b352a97aabf1: Waiting 04:08:14 4872d77fe225: Waiting 04:08:14 e2be974225ed: Verifying Checksum 04:08:14 e2be974225ed: Download complete 04:08:14 988bab9f4d93: Verifying Checksum 04:08:14 988bab9f4d93: Download complete 04:08:14 1469e6f7b9e6: Verifying Checksum 04:08:14 1469e6f7b9e6: Download complete 04:08:14 eaf3925da568: Download complete 04:08:14 339a4e72a1f5: Verifying Checksum 04:08:14 339a4e72a1f5: Download complete 04:08:14 bde34c3a00c8: Download complete 04:08:14 b352a97aabf1: Download complete 04:08:14 4872d77fe225: Verifying Checksum 04:08:14 4872d77fe225: Download complete 04:08:14 5851b861e8e6: Verifying Checksum 04:08:14 5851b861e8e6: Download complete 04:08:14 b85a868b505f: Verifying Checksum 04:08:14 b85a868b505f: Download complete 04:08:14 bab4dde63d76: Verifying Checksum 04:08:14 bab4dde63d76: Download complete 04:08:15 b85a868b505f: Pull complete 04:08:15 e2be974225ed: Pull complete 04:08:16 339a4e72a1f5: Pull complete 04:08:16 988bab9f4d93: Pull complete 04:08:16 1469e6f7b9e6: Pull complete 04:08:16 eaf3925da568: Pull complete 04:08:18 bab4dde63d76: Pull complete 04:08:18 bde34c3a00c8: Pull complete 04:08:18 b352a97aabf1: Pull complete 04:08:18 4872d77fe225: Pull complete 04:08:19 5851b861e8e6: Pull complete 04:08:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:08:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:08:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:19 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 04:08:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:08:20 $ docker top 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 -eo pid,comm 04:08:20 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). 04:08:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:08:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:21 [ssh-agent] Looking for ssh-agent implementation... 04:08:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:21 $ docker exec 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 ssh-agent 04:08:21 SSH_AUTH_SOCK=/tmp/ssh-mEp0NpzS1YA2/agent.32 04:08:21 SSH_AGENT_PID=38 04:08:21 Running ssh-add (command line suppressed) 04:08:21 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_13512309770362349664.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_13512309770362349664.key) 04:08:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:21 + git tag --points-at HEAD [Pipeline] } 04:08:21 $ docker exec --env ******** --env ******** 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 ssh-agent -k 04:08:21 unset SSH_AUTH_SOCK; 04:08:21 unset SSH_AGENT_PID; 04:08:21 echo Agent pid 38 killed; 04:08:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:08:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:08:21 [ssh-agent] Looking for ssh-agent implementation... 04:08:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:08:22 $ docker exec 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 ssh-agent 04:08:22 SSH_AUTH_SOCK=/tmp/ssh-SFUtmeRIorOT/agent.70 04:08:22 SSH_AGENT_PID=76 04:08:22 Running ssh-add (command line suppressed) 04:08:22 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_11622763464829300273.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_11622763464829300273.key) 04:08:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:08:22 + git semver init 04:08:22 2022-10-24 04:08:22,839 [run_init] DEBUG init version:0.0.0 force:False 04:08:22 2022-10-24 04:08:22,840 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver 04:08:22 2022-10-24 04:08:22,840 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver 04:08:22 2022-10-24 04:08:22,840 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244, universal_newlines=False, shell=None, istream=None) 04:08:23 2022-10-24 04:08:23,798 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.git/info/exclude 04:08:23 2022-10-24 04:08:23,798 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 with force:False 04:08:23 2022-10-24 04:08:23,798 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 04:08:23 2022-10-24 04:08:23,803 [execute] INFO git cat-file --batch-check 04:08:23 2022-10-24 04:08:23,803 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) 04:08:23 2022-10-24 04:08:23,809 [execute] INFO git cat-file --batch 04:08:23 2022-10-24 04:08:23,809 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) 04:08:23 2022-10-24 04:08:23,814 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 04:08:23 0.0.0 [Pipeline] } 04:08:23 $ docker exec --env ******** --env ******** 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 ssh-agent -k 04:08:23 unset SSH_AUTH_SOCK; 04:08:23 unset SSH_AGENT_PID; 04:08:23 echo Agent pid 76 killed; 04:08:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:08:24 + git semver [Pipeline] } 04:08:24 $ docker stop --time=1 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 04:08:26 $ docker rm -f 6ae9639d9feff73789d4551cd31c51f49a798a073ddd6484dd3b54af36c2f848 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:08:26 Stashed 1 file(s) [Pipeline] echo 04:08:26 [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 04:08:27 provisioning config files... 04:08:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config9061512600404957714tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:27 ---> docker-login.sh 04:08:27 nexus3.edgexfoundry.org:10001 04:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:27 Configure a credential helper to remove this warning. See 04:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:27 04:08:27 Login Succeeded 04:08:27 nexus3.edgexfoundry.org:10002 04:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:27 Configure a credential helper to remove this warning. See 04:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:27 04:08:27 Login Succeeded 04:08:27 nexus3.edgexfoundry.org:10003 04:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:27 Configure a credential helper to remove this warning. See 04:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:27 04:08:27 Login Succeeded 04:08:27 nexus3.edgexfoundry.org:10004 04:08:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:27 Configure a credential helper to remove this warning. See 04:08:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:27 04:08:27 Login Succeeded 04:08:27 docker.io 04:08:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:28 Configure a credential helper to remove this warning. See 04:08:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:28 04:08:28 Login Succeeded 04:08:28 ---> docker-login.sh ends [Pipeline] } 04:08:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:28 ========================================================= 04:08:28 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:08:28 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:29 + 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 . 04:08:29 Sending build context to Docker daemon 10.01MB 04:08:29 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:08:29 Step 2/11 : FROM ${BASE} AS builder 04:08:29 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:08:29 213ec9aee27d: Pulling fs layer 04:08:29 4583459ba037: Pulling fs layer 04:08:29 93c1e223e6f2: Pulling fs layer 04:08:29 53926ce57604: Pulling fs layer 04:08:29 21b2b0c7a3f4: Pulling fs layer 04:08:29 30f14e443154: Pulling fs layer 04:08:29 801331c1e519: Pulling fs layer 04:08:29 99cc6dd402b0: Pulling fs layer 04:08:29 7d9ed39f4882: Pulling fs layer 04:08:29 801331c1e519: Waiting 04:08:29 99cc6dd402b0: Waiting 04:08:29 53926ce57604: Waiting 04:08:29 7d9ed39f4882: Waiting 04:08:29 30f14e443154: Waiting 04:08:29 21b2b0c7a3f4: Waiting 04:08:29 93c1e223e6f2: Verifying Checksum 04:08:29 93c1e223e6f2: Download complete 04:08:29 4583459ba037: Download complete 04:08:29 21b2b0c7a3f4: Download complete 04:08:29 30f14e443154: Download complete 04:08:29 213ec9aee27d: Verifying Checksum 04:08:29 801331c1e519: Verifying Checksum 04:08:29 801331c1e519: Download complete 04:08:29 213ec9aee27d: Pull complete 04:08:29 4583459ba037: Pull complete 04:08:29 93c1e223e6f2: Pull complete 04:08:30 7d9ed39f4882: Verifying Checksum 04:08:30 7d9ed39f4882: Download complete 04:08:30 99cc6dd402b0: Verifying Checksum 04:08:30 99cc6dd402b0: Download complete 04:08:30 53926ce57604: Verifying Checksum 04:08:30 53926ce57604: Download complete 04:08:34 53926ce57604: Pull complete 04:08:34 21b2b0c7a3f4: Pull complete 04:08:34 30f14e443154: Pull complete 04:08:34 801331c1e519: Pull complete 04:08:37 99cc6dd402b0: Pull complete 04:08:37 7d9ed39f4882: Pull complete 04:08:37 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:08:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:08:37 ---> 1dedd983c030 04:08:37 Step 3/11 : ARG MAKE=make build 04:08:39 ---> Running in fea3c497dfcc 04:08:39 Removing intermediate container fea3c497dfcc 04:08:39 ---> ea588d86d57b 04:08:39 Step 4/11 : WORKDIR /device-sdk-go 04:08:39 ---> Running in 390ddda005af 04:08:39 Removing intermediate container 390ddda005af 04:08:39 ---> 10f159fdfc38 04:08:39 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:39 ---> Running in 48b44be3ed15 04:08:39 Removing intermediate container 48b44be3ed15 04:08:39 ---> 0ded1e2f4d1d 04:08:39 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:39 ---> Running in 7ada169e493c 04:08:40 Removing intermediate container 7ada169e493c 04:08:40 ---> 63fc4ca94d4e 04:08:40 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:40 ---> Running in a658aefcad00 04:08:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:08:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:08:41 OK: 211 MiB in 51 packages 04:08:42 Still waiting to schedule task 04:08:42 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:08:42 Removing intermediate container a658aefcad00 04:08:42 ---> 137c9c325034 04:08:42 Step 8/11 : COPY go.mod vendor* ./ 04:08:42 ---> fcc33e3a545a 04:08:42 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:42 ---> Running in 352212c24a04 04:09:00 Removing intermediate container 352212c24a04 04:09:00 ---> d739cf0add04 04:09:00 Step 10/11 : COPY . . 04:09:00 ---> a01f0e06b2ad 04:09:00 Step 11/11 : RUN ${MAKE} 04:09:00 ---> Running in 1e8dc0a96495 04:09:00 noop 04:09:00 Removing intermediate container 1e8dc0a96495 04:09:00 ---> a4147b3ef55e 04:09:00 Successfully built a4147b3ef55e 04:09:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:00 + docker inspect -f . ci-base-image-x86_64 04:09:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:01 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 04:09:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 ******** ci-base-image-x86_64 cat 04:09:01 $ docker top 22001ff0f06fdd3bb4c942c8ac4f8aa443135bc44658a5c9d0d695cc4bc771e9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:01 + go version 04:09:01 go version go1.18.7 linux/amd64 [Pipeline] } 04:09:01 $ docker stop --time=1 22001ff0f06fdd3bb4c942c8ac4f8aa443135bc44658a5c9d0d695cc4bc771e9 04:09:03 $ docker rm -f 22001ff0f06fdd3bb4c942c8ac4f8aa443135bc44658a5c9d0d695cc4bc771e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:03 + docker inspect -f . ci-base-image-x86_64 04:09:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:04 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 04:09:04 $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 ******** ci-base-image-x86_64 cat 04:09:04 $ docker top 5d06fd62276bde2f0b937147f47b45b82c7965e7cba437958926cd253d032f9f -eo pid,comm [Pipeline] { [Pipeline] sh 04:09:04 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] fileExists [Pipeline] sh 04:09:05 + make test 04:09:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:09:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:09:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.069s coverage: 27.6% of statements 04:09:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.064s coverage: 78.9% of statements 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:09:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.130s coverage: 73.1% of statements 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:09:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.125s coverage: 54.4% of statements 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:09:26 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.105s coverage: 65.1% of statements 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:09:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.756s coverage: 89.2% of statements 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:09:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 04:09:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:09:44 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." 04:09:44 GO111MODULE=on go vet ./... 04:09:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:09:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:09:46 ./bin/test-attribution-txt.sh 04:09:46 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:09:46 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:09:46 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:09:46 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:09:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:09:46 $ docker stop --time=1 5d06fd62276bde2f0b937147f47b45b82c7965e7cba437958926cd253d032f9f 04:09:48 $ docker rm -f 5d06fd62276bde2f0b937147f47b45b82c7965e7cba437958926cd253d032f9f [Pipeline] // withDockerContainer [Pipeline] sh 04:09:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:09:49 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:09:50 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:09:50 + ls -al . 04:09:50 total 276 04:09:50 drwxrwxr-x 11 jenkins jenkins 4096 Oct 24 04:09 . 04:09:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:08 .. 04:09:50 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 04:08 .dockerignore 04:09:50 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 04:09 .git 04:09:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:08 .github 04:09:50 -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 04:08 .gitignore 04:09:50 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 04:08 .golangci.yml 04:09:50 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 04:08 .semver 04:09:50 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 04:08 CHANGELOG.md 04:09:50 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 04:08 GOVERNANCE.md 04:09:50 -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 04:08 Jenkinsfile 04:09:50 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 04:08 LICENSE 04:09:50 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 04:08 Makefile 04:09:50 -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 04:08 OWNERS.md 04:09:50 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 04:08 README.md 04:09:50 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 04:08 VERSION 04:09:50 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:08 bin 04:09:50 -rw-r--r-- 1 jenkins jenkins 101759 Oct 24 04:09 coverage.out 04:09:50 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 04:08 example 04:09:50 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 24 04:08 go.mod 04:09:50 -rw-rw-r-- 1 jenkins jenkins 37663 Oct 24 04:08 go.sum 04:09:50 drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 04:08 internal 04:09:50 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:08 openapi 04:09:50 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 04:08 pkg 04:09:50 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:08 snap 04:09:50 -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09: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=5c51ee2d8db5b8ee211392afe9efb3e3d254e855 --label arch=amd64 --label version=0.0.0 . 04:09:51 Sending build context to Docker daemon 10.11MB 04:09:51 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:09:51 Step 2/25 : FROM ${BASE} AS builder 04:09:51 ---> a4147b3ef55e 04:09:51 Step 3/25 : ARG MAKE=make build 04:09:51 ---> Running in 3df3e4ee5920 04:09:51 Removing intermediate container 3df3e4ee5920 04:09:51 ---> 53e5655ac73b 04:09:51 Step 4/25 : WORKDIR /device-sdk-go 04:09:51 ---> Running in b0b398669d1c 04:09:51 Removing intermediate container b0b398669d1c 04:09:51 ---> 0b9893ccb704 04:09:51 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:51 ---> Running in 9af155676494 04:09:51 Removing intermediate container 9af155676494 04:09:51 ---> 6d61ca607f79 04:09:51 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:51 ---> Running in 3d99c0c1fd36 04:09:52 Removing intermediate container 3d99c0c1fd36 04:09:52 ---> dbb594efc9ad 04:09:52 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:09:52 ---> Running in bb870e15baf8 04:09:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:09:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:09:53 OK: 211 MiB in 51 packages 04:09:54 Removing intermediate container bb870e15baf8 04:09:54 ---> 86d07e8756ff 04:09:54 Step 8/25 : COPY go.mod vendor* ./ 04:09:54 ---> 637d7a233820 04:09:54 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:54 ---> Running in 7f1489d30bb5 04:09:54 Removing intermediate container 7f1489d30bb5 04:09:54 ---> 5a31d09a4a3a 04:09:54 Step 10/25 : COPY . . 04:09:55 ---> e936bad69fc4 04:09:55 Step 11/25 : RUN ${MAKE} 04:09:55 ---> Running in d2c60139e048 04:09:55 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:10:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:10:15 Removing intermediate container d2c60139e048 04:10:15 ---> c0b6468e8aec 04:10:15 Step 12/25 : FROM alpine:3.16 04:10:16 3.16: Pulling from library/alpine 04:10:16 213ec9aee27d: Already exists 04:10:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:10:16 Status: Downloaded newer image for alpine:3.16 04:10:16 ---> 9c6f07244728 04:10:16 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:10:16 ---> Running in 930d11b80db1 04:10:16 Removing intermediate container 930d11b80db1 04:10:16 ---> 14b749ee00ed 04:10:16 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:16 ---> Running in 5e8355173ead 04:10:17 Removing intermediate container 5e8355173ead 04:10:17 ---> db80881b8aca 04:10:17 Step 15/25 : RUN apk add --update --no-cache zeromq 04:10:17 ---> Running in 0720337e757d 04:10:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:10:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:10:18 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:10:18 (2/5) Installing libsodium (1.0.18-r0) 04:10:18 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:10:18 (4/5) Installing libzmq (4.3.4-r0) 04:10:18 (5/5) Installing zeromq (4.3.4-r0) 04:10:19 Executing busybox-1.35.0-r17.trigger 04:10:19 OK: 8 MiB in 19 packages 04:10:19 Removing intermediate container 0720337e757d 04:10:19 ---> fb50fabb4b0a 04:10:19 Step 16/25 : WORKDIR / 04:10:19 ---> Running in 8ac68b6bbde0 04:10:19 Removing intermediate container 8ac68b6bbde0 04:10:19 ---> 29393d3fa18c 04:10:19 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:10:19 ---> f2282b3d90dd 04:10:19 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:10:20 ---> 9fb8fc55efa4 04:10:20 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:10:20 ---> 17fdc3feb8ca 04:10:20 Step 20/25 : EXPOSE 59999 04:10:20 ---> Running in 89245e882b75 04:10:20 Removing intermediate container 89245e882b75 04:10:20 ---> 3470bfc455cc 04:10:20 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:10:20 ---> Running in ba02808ebb02 04:10:20 Removing intermediate container ba02808ebb02 04:10:20 ---> cd49e8f1672c 04:10:20 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:10:20 ---> Running in 5601c7c21278 04:10:20 Removing intermediate container 5601c7c21278 04:10:20 ---> 8f7262dd9649 04:10:20 Step 23/25 : LABEL arch=amd64 04:10:20 ---> Running in 576b8d538b1c 04:10:20 Removing intermediate container 576b8d538b1c 04:10:20 ---> 04a2901e8fcd 04:10:20 Step 24/25 : LABEL git_sha=5c51ee2d8db5b8ee211392afe9efb3e3d254e855 04:10:20 ---> Running in 21c046ef5255 04:10:21 Removing intermediate container 21c046ef5255 04:10:21 ---> d899f4ca5368 04:10:21 Step 25/25 : LABEL version=0.0.0 04:10:21 ---> Running in d9c754c631f8 04:10:21 Removing intermediate container d9c754c631f8 04:10:21 ---> d7a865bb13fa 04:10:21 [Warning] One or more build-args [ARCH] were not consumed 04:10:21 Successfully built d7a865bb13fa 04:10:21 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 04:10:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:22 04:10:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:22 latest: Pulling from edgex-lftools-log-publisher 04:10:22 5eb5b503b376: Pulling fs layer 04:10:22 5c69ac0246d0: Pulling fs layer 04:10:22 ec43610c2a17: Pulling fs layer 04:10:22 3a2ae6a8a46f: Pulling fs layer 04:10:22 33b1e0a273af: Pulling fs layer 04:10:22 5d3b04190fa2: Pulling fs layer 04:10:22 2f39f015ded8: Pulling fs layer 04:10:22 33b1e0a273af: Waiting 04:10:22 2f39f015ded8: Waiting 04:10:22 5d3b04190fa2: Waiting 04:10:22 3a2ae6a8a46f: Waiting 04:10:22 5c69ac0246d0: Verifying Checksum 04:10:22 3a2ae6a8a46f: Verifying Checksum 04:10:22 3a2ae6a8a46f: Download complete 04:10:22 33b1e0a273af: Verifying Checksum 04:10:22 33b1e0a273af: Download complete 04:10:22 5d3b04190fa2: Verifying Checksum 04:10:22 5d3b04190fa2: Download complete 04:10:22 ec43610c2a17: Verifying Checksum 04:10:22 ec43610c2a17: Download complete 04:10:22 5eb5b503b376: Verifying Checksum 04:10:22 5eb5b503b376: Download complete 04:10:23 2f39f015ded8: Verifying Checksum 04:10:23 2f39f015ded8: Download complete 04:10:23 5eb5b503b376: Pull complete 04:10:24 5c69ac0246d0: Pull complete 04:10:24 ec43610c2a17: Pull complete 04:10:24 3a2ae6a8a46f: Pull complete 04:10:24 33b1e0a273af: Pull complete 04:10:24 5d3b04190fa2: Pull complete 04:10:29 2f39f015ded8: Pull complete 04:10:29 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:10:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:10:29 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:29 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 04:10:29 $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:10:31 $ docker top 27ef55796e4bba3ff3be1f8c070b37c672afa8e246e8424247ff9f6835101f4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:31 ---> job-cost.sh 04:10:31 lf-activate-venv: SKIPPING 04:10:31 INFO: No Stack... 04:10:32 INFO: Retrieving Pricing Info for: v3-standard-8 04:10:32 INFO: Archiving Costs [Pipeline] sh 04:10:32 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/cost.csv 04:10:32 + cut -d, -f6 [Pipeline] lock 04:10:32 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] 04:10:32 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] did not exist. Created. 04:10:32 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:10:33 + echo total: 0.2199999988079071 [Pipeline] stash 04:10:33 Stashed 1 file(s) 04:10:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9171 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] { [Pipeline] } 04:10:33 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:10:33 $ docker stop --time=1 27ef55796e4bba3ff3be1f8c070b37c672afa8e246e8424247ff9f6835101f4f 04:10:34 $ docker rm -f 27ef55796e4bba3ff3be1f8c070b37c672afa8e246e8424247ff9f6835101f4f [Pipeline] ws 04:10:34 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] checkout 04:10:34 The recommended git tool is: git [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:10:39 using credential edgex-jenkins-ssh 04:10:39 Cloning the remote Git repository 04:10:39 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:10:39 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:10:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:39 > git --version # timeout=10 04:10:39 > git --version # 'git version 2.25.1' 04:10:39 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:39 Verifying host key using known hosts file 04:10:39 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:10:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:42 Merging remotes/origin/main commit 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 into PR head commit 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 04:10:43 Merge succeeded, producing 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 04:10:43 Checking out Revision 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 (PR-1244) 04:10:42 Verifying host key using known hosts file 04:10:42 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:10:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:42 > git config core.sparsecheckout # timeout=10 04:10:42 > git checkout -f 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 04:10:42 > git remote # timeout=10 04:10:42 > git config --get remote.origin.url # timeout=10 04:10:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:42 Verifying host key using known hosts file 04:10:42 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 04:10:42 > git merge 7102f88cc4e17a0ee98b85e86e9840c76ba3a2e8 # timeout=10 04:10:43 > git rev-parse HEAD^{commit} # timeout=10 04:10:43 > git config core.sparsecheckout # timeout=10 04:10:43 > git checkout -f 5c51ee2d8db5b8ee211392afe9efb3e3d254e855 # timeout=10 04:10:43 Commit message: "build(deps): bump github.com/stretchr/testify from 1.8.0 to 1.8.1" 04:10:43 > git --version # timeout=10 04:10:43 > git --version # 'git version 2.25.1' 04:10:43 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:10:44 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:44 Dload Upload Total Spent Left Speed 04:10:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94044 0 --:--:-- --:--:-- --:--:-- 94751 [Pipeline] sh 04:10:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:10:45 + sudo tee /etc/docker/daemon.new 04:10:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:10:45 { 04:10:45 "registry-mirrors": [ 04:10:45 "https://nexus3.edgexfoundry.org:10001" 04:10:45 ], 04:10:45 "bip": "10.250.0.254/24", 04:10:45 "hosts": [ 04:10:45 "tcp://0.0.0.0:5555", 04:10:45 "unix:///var/run/docker.sock" 04:10:45 ], 04:10:45 "mtu": 1458, 04:10:45 "selinux-enabled": true, 04:10:45 "seccomp-profile": "/etc/docker/seccomp.json" 04:10:45 } [Pipeline] sh 04:10:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:10:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:04 provisioning config files... 04:11:04 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9201588320680495188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:05 ---> docker-login.sh 04:11:05 nexus3.edgexfoundry.org:10001 04:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:05 Configure a credential helper to remove this warning. See 04:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:05 04:11:05 Login Succeeded 04:11:05 nexus3.edgexfoundry.org:10002 04:11:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:05 Configure a credential helper to remove this warning. See 04:11:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:05 04:11:05 Login Succeeded 04:11:05 nexus3.edgexfoundry.org:10003 04:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:06 Configure a credential helper to remove this warning. See 04:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:06 04:11:06 Login Succeeded 04:11:06 nexus3.edgexfoundry.org:10004 04:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:06 Configure a credential helper to remove this warning. See 04:11:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:06 04:11:06 Login Succeeded 04:11:06 docker.io 04:11:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:07 Configure a credential helper to remove this warning. See 04:11:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:07 04:11:07 Login Succeeded 04:11:07 ---> docker-login.sh ends [Pipeline] } 04:11:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:11:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:07 ========================================================= 04:11:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:11:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:08 + 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 . 04:11:08 Sending build context to Docker daemon 5.385MB 04:11:08 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:11:08 Step 2/11 : FROM ${BASE} AS builder 04:11:08 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:11:08 9b18e9b68314: Pulling fs layer 04:11:08 d32db5db7311: Pulling fs layer 04:11:08 d0c4b47475fc: Pulling fs layer 04:11:08 5831b945b038: Pulling fs layer 04:11:08 86bbec2aaacd: Pulling fs layer 04:11:08 e10730c5d714: Pulling fs layer 04:11:08 5dd5c2283517: Pulling fs layer 04:11:08 d5ac0230b979: Pulling fs layer 04:11:08 e10730c5d714: Waiting 04:11:08 5dd5c2283517: Waiting 04:11:08 d5ac0230b979: Waiting 04:11:08 5831b945b038: Waiting 04:11:08 86bbec2aaacd: Waiting 04:11:08 d0c4b47475fc: Verifying Checksum 04:11:08 d0c4b47475fc: Download complete 04:11:08 d32db5db7311: Verifying Checksum 04:11:08 86bbec2aaacd: Download complete 04:11:08 e10730c5d714: Download complete 04:11:08 9b18e9b68314: Verifying Checksum 04:11:09 9b18e9b68314: Pull complete 04:11:09 d5ac0230b979: Verifying Checksum 04:11:09 d5ac0230b979: Download complete 04:11:10 d32db5db7311: Pull complete 04:11:10 d0c4b47475fc: Pull complete 04:11:11 5dd5c2283517: Verifying Checksum 04:11:11 5dd5c2283517: Download complete 04:11:11 5831b945b038: Verifying Checksum 04:11:11 5831b945b038: Download complete 04:11:23 5831b945b038: Pull complete 04:11:23 86bbec2aaacd: Pull complete 04:11:23 e10730c5d714: Pull complete 04:11:28 5dd5c2283517: Pull complete 04:11:32 d5ac0230b979: Pull complete 04:11:32 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:11:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:11:32 ---> 59b3b1a385d4 04:11:32 Step 3/11 : ARG MAKE=make build 04:11:34 ---> Running in 990dea221e66 04:11:34 Removing intermediate container 990dea221e66 04:11:34 ---> 9bac052b35dc 04:11:34 Step 4/11 : WORKDIR /device-sdk-go 04:11:34 ---> Running in 6b108abf2d53 04:11:35 Removing intermediate container 6b108abf2d53 04:11:35 ---> b33c945c023c 04:11:35 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:11:35 ---> Running in dc03095fc2eb 04:11:35 Removing intermediate container dc03095fc2eb 04:11:35 ---> dc8947aa9dda 04:11:35 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:35 ---> Running in 918db15f3413 04:11:37 Removing intermediate container 918db15f3413 04:11:37 ---> 9c7edcc531b6 04:11:37 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:37 ---> Running in 151bbdd295e3 04:11:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:11:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:11:40 OK: 221 MiB in 51 packages 04:11:41 Removing intermediate container 151bbdd295e3 04:11:41 ---> 37830f8ee321 04:11:41 Step 8/11 : COPY go.mod vendor* ./ 04:11:41 ---> 8b8948ad3f57 04:11:41 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:41 ---> Running in b3a74fc4c99f 04:12:28 Removing intermediate container b3a74fc4c99f 04:12:28 ---> 2eac6c606ed9 04:12:28 Step 10/11 : COPY . . 04:12:29 ---> 3125eef8fa35 04:12:29 Step 11/11 : RUN ${MAKE} 04:12:29 ---> Running in 3cc6e3378f57 04:12:30 noop 04:12:31 Removing intermediate container 3cc6e3378f57 04:12:31 ---> 3a2d5334bc0d 04:12:31 Successfully built 3a2d5334bc0d 04:12:31 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:31 + docker inspect -f . ci-base-image-arm64 04:12:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:32 prd-ubuntu20.04-docker-arm64-4c-16g-9171 does not seem to be running inside a container 04:12:32 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 04:12:33 $ docker top e271543fa074440bc2b0476bbe5cfe49740fe65302eabcf86ba200e23b28afe2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:34 + go version 04:12:34 go version go1.18.7 linux/arm64 [Pipeline] } 04:12:34 $ docker stop --time=1 e271543fa074440bc2b0476bbe5cfe49740fe65302eabcf86ba200e23b28afe2 04:12:36 $ docker rm -f e271543fa074440bc2b0476bbe5cfe49740fe65302eabcf86ba200e23b28afe2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:36 + docker inspect -f . ci-base-image-arm64 04:12:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:37 prd-ubuntu20.04-docker-arm64-4c-16g-9171 does not seem to be running inside a container 04:12: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/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@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 ******** ci-base-image-arm64 cat 04:12:38 $ docker top 5ce7c427d5de92782a1247f086751455b515201d8532c69aac9369850ffbe983 -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:38 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:12:39 + make test 04:12:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:13:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:15:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:15:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:15:25 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:15:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:15:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:15:29 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.591s coverage: 27.6% of statements 04:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.394s coverage: 78.9% of statements 04:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:15:40 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.789s coverage: 73.1% of statements 04:15:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:15:40 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:15:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.605s coverage: 54.4% of statements 04:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:15:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.482s coverage: 65.1% of statements 04:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:15:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.880s coverage: 89.2% of statements 04:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:15:45 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.290s coverage: 4.7% of statements 04:15:45 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:15:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:15:46 GO111MODULE=on go vet ./... 04:17:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:17:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:17:38 ./bin/test-attribution-txt.sh 04:17:38 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:17:38 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:17:38 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:17:38 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:17:38 $ docker stop --time=1 5ce7c427d5de92782a1247f086751455b515201d8532c69aac9369850ffbe983 04:17:40 $ docker rm -f 5ce7c427d5de92782a1247f086751455b515201d8532c69aac9369850ffbe983 [Pipeline] // withDockerContainer [Pipeline] sh 04:17:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:17:41 Warning: overwriting stash ‘coverage-report’ 04:17:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:17:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:17:43 + ls -al . 04:17:43 total 272 04:17:43 drwxrwxr-x 10 jenkins jenkins 4096 Oct 24 04:12 . 04:17:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:10 .. 04:17:43 -rw-rw-r-- 1 jenkins jenkins 140 Oct 24 04:10 .dockerignore 04:17:43 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 04:10 .git 04:17:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:10 .github 04:17:43 -rw-rw-r-- 1 jenkins jenkins 131 Oct 24 04:10 .gitignore 04:17:43 -rw-rw-r-- 1 jenkins jenkins 42 Oct 24 04:10 .golangci.yml 04:17:43 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 24 04:10 CHANGELOG.md 04:17:43 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 04:10 GOVERNANCE.md 04:17:43 -rw-rw-r-- 1 jenkins jenkins 880 Oct 24 04:10 Jenkinsfile 04:17:43 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 24 04:10 LICENSE 04:17:43 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 24 04:10 Makefile 04:17:43 -rw-rw-r-- 1 jenkins jenkins 619 Oct 24 04:10 OWNERS.md 04:17:43 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 24 04:10 README.md 04:17:43 -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 04:08 VERSION 04:17:43 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 04:10 bin 04:17:43 -rw-r--r-- 1 jenkins jenkins 101760 Oct 24 04:15 coverage.out 04:17:43 drwxrwxr-x 5 jenkins jenkins 4096 Oct 24 04:10 example 04:17:43 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 24 04:10 go.mod 04:17:43 -rw-rw-r-- 1 jenkins jenkins 37663 Oct 24 04:10 go.sum 04:17:43 drwxrwxr-x 14 jenkins jenkins 4096 Oct 24 04:10 internal 04:17:43 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 04:10 openapi 04:17:43 drwxrwxr-x 6 jenkins jenkins 4096 Oct 24 04:10 pkg 04:17:43 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 04:10 snap 04:17:43 -rw-rw-r-- 1 jenkins jenkins 222 Oct 24 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:43 + 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=5c51ee2d8db5b8ee211392afe9efb3e3d254e855 --label arch=arm64 --label version=0.0.0 . 04:17:43 Sending build context to Docker daemon 5.487MB 04:17:44 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:17:44 Step 2/25 : FROM ${BASE} AS builder 04:17:44 ---> 3a2d5334bc0d 04:17:44 Step 3/25 : ARG MAKE=make build 04:17:44 ---> Running in 17a3f9abd203 04:17:44 Removing intermediate container 17a3f9abd203 04:17:44 ---> 067183a9198c 04:17:44 Step 4/25 : WORKDIR /device-sdk-go 04:17:44 ---> Running in 62952735a81a 04:17:45 Removing intermediate container 62952735a81a 04:17:45 ---> 82535d8cbff4 04:17:45 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:17:45 ---> Running in b59691a9f574 04:17:45 Removing intermediate container b59691a9f574 04:17:45 ---> 081bb4064387 04:17:45 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:45 ---> Running in 7fa711a34509 04:17:46 Removing intermediate container 7fa711a34509 04:17:46 ---> 32b9726bada6 04:17:46 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:17:47 ---> Running in a2b15cbffa9e 04:17:48 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:17:49 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:17:50 OK: 221 MiB in 51 packages 04:17:51 Removing intermediate container a2b15cbffa9e 04:17:51 ---> 66d7513b4c3f 04:17:51 Step 8/25 : COPY go.mod vendor* ./ 04:17:51 ---> 4a0abead4449 04:17:51 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:51 ---> Running in d7669e7d3c6a 04:17:54 Removing intermediate container d7669e7d3c6a 04:17:54 ---> 0a451d4dd33c 04:17:54 Step 10/25 : COPY . . 04:17:55 ---> 731346a9a35f 04:17:55 Step 11/25 : RUN ${MAKE} 04:17:55 ---> Running in d823607cb9b7 04:17:56 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:20:33 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:20:33 Removing intermediate container d823607cb9b7 04:20:33 ---> df182cd11f5f 04:20:33 Step 12/25 : FROM alpine:3.16 04:20:34 3.16: Pulling from library/alpine 04:20:34 9b18e9b68314: Already exists 04:20:34 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:20:34 Status: Downloaded newer image for alpine:3.16 04:20:34 ---> a6215f271958 04:20:34 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:20:34 ---> Running in a3fe181f1cc2 04:20:35 Removing intermediate container a3fe181f1cc2 04:20:35 ---> 788654ab0994 04:20:35 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:20:35 ---> Running in 408ab7890583 04:20:37 Removing intermediate container 408ab7890583 04:20:37 ---> 64b87069f01a 04:20:37 Step 15/25 : RUN apk add --update --no-cache zeromq 04:20:37 ---> Running in 7b28c5f8638f 04:20:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:20:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:20:40 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:20:40 (2/5) Installing libsodium (1.0.18-r0) 04:20:40 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:20:40 (4/5) Installing libzmq (4.3.4-r0) 04:20:40 (5/5) Installing zeromq (4.3.4-r0) 04:20:40 Executing busybox-1.35.0-r17.trigger 04:20:40 OK: 8 MiB in 19 packages 04:20:41 Removing intermediate container 7b28c5f8638f 04:20:41 ---> 1d59657c2003 04:20:41 Step 16/25 : WORKDIR / 04:20:41 ---> Running in f22effbf612a 04:20:42 Removing intermediate container f22effbf612a 04:20:42 ---> 233fc587f07b 04:20:42 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:20:42 ---> be4b1dbd8d24 04:20:42 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:20:44 ---> 2c0621becf06 04:20:44 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:20:44 ---> 1cd29b1d9978 04:20:44 Step 20/25 : EXPOSE 59999 04:20:44 ---> Running in 56baf01eb596 04:20:44 Removing intermediate container 56baf01eb596 04:20:44 ---> b1db4097511f 04:20:44 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:20:44 ---> Running in 425251c93af1 04:20:45 Removing intermediate container 425251c93af1 04:20:45 ---> 60f61c7451eb 04:20:45 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:20:45 ---> Running in b93bdd4e736a 04:20:45 Removing intermediate container b93bdd4e736a 04:20:45 ---> 3cb5da399aef 04:20:45 Step 23/25 : LABEL arch=arm64 04:20:45 ---> Running in 03e05f181c21 04:20:46 Removing intermediate container 03e05f181c21 04:20:46 ---> 6649df3f0a80 04:20:46 Step 24/25 : LABEL git_sha=5c51ee2d8db5b8ee211392afe9efb3e3d254e855 04:20:46 ---> Running in 79b497b6f36a 04:20:46 Removing intermediate container 79b497b6f36a 04:20:46 ---> e7b00a8ac824 04:20:46 Step 25/25 : LABEL version=0.0.0 04:20:46 ---> Running in 33167f11ecb7 04:20:46 Removing intermediate container 33167f11ecb7 04:20:46 ---> b9a4d2fe8724 04:20:46 [Warning] One or more build-args [ARCH] were not consumed 04:20:46 Successfully built b9a4d2fe8724 04:20:47 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 04:20:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:47 04:20:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:48 arm64: Pulling from edgex-lftools-log-publisher 04:20:48 8998bd30e6a1: Pulling fs layer 04:20:48 04944245beec: Pulling fs layer 04:20:48 699f458cf7ca: Pulling fs layer 04:20:48 765212b225bb: Pulling fs layer 04:20:48 f23df028b6ca: Pulling fs layer 04:20:48 d65c8cfc05b1: Pulling fs layer 04:20:48 2437ff75d9bd: Pulling fs layer 04:20:48 765212b225bb: Waiting 04:20:48 f23df028b6ca: Waiting 04:20:48 d65c8cfc05b1: Waiting 04:20:48 2437ff75d9bd: Waiting 04:20:48 04944245beec: Verifying Checksum 04:20:48 04944245beec: Download complete 04:20:48 765212b225bb: Download complete 04:20:48 f23df028b6ca: Verifying Checksum 04:20:48 f23df028b6ca: Download complete 04:20:48 d65c8cfc05b1: Verifying Checksum 04:20:48 d65c8cfc05b1: Download complete 04:20:48 699f458cf7ca: Verifying Checksum 04:20:48 699f458cf7ca: Download complete 04:20:49 8998bd30e6a1: Verifying Checksum 04:20:49 8998bd30e6a1: Download complete 04:20:51 2437ff75d9bd: Download complete 04:20:53 8998bd30e6a1: Pull complete 04:20:53 04944245beec: Pull complete 04:20:55 699f458cf7ca: Pull complete 04:20:55 765212b225bb: Pull complete 04:20:55 f23df028b6ca: Pull complete 04:20:56 d65c8cfc05b1: Pull complete 04:21:11 2437ff75d9bd: Pull complete 04:21:11 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:21:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:11 prd-ubuntu20.04-docker-arm64-4c-16g-9171 does not seem to be running inside a container 04:21:11 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:21:14 $ docker top 5e2480a5c526474a3daa1a418f93b025387790ba4641660a48174b41a60905f1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:21:15 ---> job-cost.sh 04:21:15 lf-activate-venv: SKIPPING 04:21:15 INFO: No Stack... 04:21:16 INFO: Retrieving Pricing Info for: v3-standard-4 04:21:17 INFO: Archiving Costs [Pipeline] sh 04:21:17 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:21:17 + cut -d, -f6 [Pipeline] lock 04:21:17 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] 04:21:17 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] did not exist. Created. 04:21:17 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:21:18 /w/workspace/device-sdk-go/1@tmp/durable-09305e47/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:21:19 + echo total: 0.10999999940395355 [Pipeline] stash 04:21:19 Warning: overwriting stash ‘stack-cost’ 04:21:19 Stashed 1 file(s) [Pipeline] } 04:21:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:21:19 $ docker stop --time=1 5e2480a5c526474a3daa1a418f93b025387790ba4641660a48174b41a60905f1 04:21:21 $ docker rm -f 5e2480a5c526474a3daa1a418f93b025387790ba4641660a48174b41a60905f1 [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 04:21:22 provisioning config files... 04:21:22 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config12148313319691811682tmp [Pipeline] { [Pipeline] sh 04:21:22 + set +x 04:21:22 + bash -s -- 04:21:22 + curl -s https://codecov.io/bash 04:21:22 04:21:22 _____ _ 04:21:22 / ____| | | 04:21:22 | | ___ __| | ___ ___ _____ __ 04:21:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:21:22 | |___| (_) | (_| | __/ (_| (_) \ V / 04:21:22 \_____\___/ \__,_|\___|\___\___/ \_/ 04:21:22 Bash-1.0.6 04:21:22 04:21:22 04:21:22 ==> git version 2.25.1 found 04:21:22 ==> 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 04:21:22 Release-Date: 2020-01-08 04:21:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:21:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:21:22 ==> Jenkins CI detected. 04:21:22 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1244 04:21:22 project root: . 04:21:22 --> token set from env 04:21:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:21:22 ==> Running gcov in . (disable via -X gcov) 04:21:22 ==> Python coveragepy not found 04:21:22 ==> Searching for coverage reports in: 04:21:22 + . 04:21:22 -> Found 1 reports 04:21:22 ==> Detecting git/mercurial file structure 04:21:22 ==> Reading reports 04:21:22 + ./coverage.out bytes=101760 04:21:22 ==> Appending adjustments 04:21:22 https://docs.codecov.io/docs/fixing-reports 04:21:23 + Found adjustments 04:21:23 ==> Gzipping contents 04:21:23 16K /tmp/codecov.IkfMWn.gz 04:21:23 ==> Uploading reports 04:21:23 url: https://codecov.io 04:21:23 query: branch=PR-1244&commit=5c51ee2d8db5b8ee211392afe9efb3e3d254e855&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= 04:21:23 -> Pinging Codecov 04:21:23 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1244&commit=5c51ee2d8db5b8ee211392afe9efb3e3d254e855&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= 04:21:23 -> Uploading to 04:21:23 https://storage.googleapis.com/codecov/v4/raw/2022-10-24/7E55EF52A471D76F132DFD9A03CDDE97/5c51ee2d8db5b8ee211392afe9efb3e3d254e855/2bccc2f9-5e8b-49a8-bf54-50aa3d1b5866.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221024T042123Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6a2360fd08980cb24eb2bbf77759b25d15fbc5037b597f226d4d4216a2d9a167 04:21:23 % Total % Received % Xferd Average Speed Time Time Time Current 04:21:23 Dload Upload Total Spent Left Speed 04:21:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14694 0 0 100 14694 0 57398 --:--:-- --:--:-- --:--:-- 57398 04:21:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5c51ee2d8db5b8ee211392afe9efb3e3d254e855 [Pipeline] } 04:21:23 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 04:21:25 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives ] 04:21:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 04:21:25 total 16 04:21:25 drwxr-xr-x 3 root root 4096 Oct 24 04:10 . 04:21:25 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:10 .. 04:21:25 drwxr-xr-x 2 root root 4096 Oct 24 04:10 cost 04:21:25 -rw-r--r-- 1 root root 86 Oct 24 04:10 cost.csv 04:21:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 04:21:25 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 04:21:25 total 16 04:21:25 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 04:10 . 04:21:25 drwxrwxr-x 12 jenkins jenkins 4096 Oct 24 04:10 .. 04:21:25 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 04:10 cost 04:21:25 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 04:10 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:21:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:21:26 ---> package-listing.sh 04:21:26 ++ facter osfamily 04:21:26 ++ tr '[:upper:]' '[:lower:]' 04:21:26 + OS_FAMILY=debian 04:21:26 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1244 04:21:26 + START_PACKAGES=/tmp/packages_start.txt 04:21:26 + END_PACKAGES=/tmp/packages_end.txt 04:21:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:21:26 + PACKAGES=/tmp/packages_start.txt 04:21:26 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' 04:21:26 + PACKAGES=/tmp/packages_end.txt 04:21:26 + case "${OS_FAMILY}" in 04:21:26 + grep '^ii' 04:21:26 + dpkg -l 04:21:26 + '[' -f /tmp/packages_start.txt ']' 04:21:26 + '[' -f /tmp/packages_end.txt ']' 04:21:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:21:26 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' 04:21:26 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ 04:21:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [Pipeline] echo 04:21:27 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-1244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:21:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:21:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:21:28 prd-ubuntu20.04-docker-8c-8g-9156 does not seem to be running inside a container 04:21:28 $ 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-1244/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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:21:28 $ docker top 09bb7c5e772c85e86eb7b149cfc38ea7f6bf81c4eb8570e29ebcbe9f40f7d9aa -eo pid,comm [Pipeline] { [Pipeline] sh 04:21:28 + touch /tmp/pre-build-complete [Pipeline] sh 04:21:29 + mkdir -p /var/log/sysstat [Pipeline] sh 04:21:29 + ls /var/log/sa-host 04:21:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:21:29 provisioning config files... 04:21:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config9022861466572642169tmp [Pipeline] { [Pipeline] echo 04:21:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:21:29 ---> create-netrc.sh [Pipeline] } 04:21:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:21:30 ---> python-tools-install.sh [Pipeline] echo 04:21:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:21:30 ---> sudo-logs.sh 04:21:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:21:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:21:31 ---> job-cost.sh 04:21:31 lf-activate-venv: SKIPPING 04:21:31 DEBUG: total: 0.2199999988079071 04:21:31 INFO: Retrieving Stack Cost... 04:21:31 INFO: Retrieving Pricing Info for: v3-standard-8 04:21:31 INFO: Archiving Costs [Pipeline] echo 04:21:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:21:32 ---> logs-deploy.sh 04:21:32 lf-activate-venv: SKIPPING 04:21:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1244/1 04:21:32 INFO: archiving workspace using pattern(s): 04:21:33 Archives upload complete. 04:21:33 INFO: archiving logs to Nexus