Pull request #1214 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d34c26de534f7f36f56e7b532991befab685f6c2+e5efdee9dd9df15b49fe73e0060b5d971241be0d (c1c12f158667981e68f31b5cd8f3ad84762c227d) 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-ssh6146757670554021037.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh7825977855924137127.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-1214/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-1214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4499442315628578145.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-1214/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2082599043663206110.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 bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh9615087998680848925.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-1214/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-1214/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh692694555118271708.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-527 in /w/workspace/gexfoundry_device-sdk-go_PR-1214 [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-1214 # 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/1214/head:refs/remotes/origin/PR-1214 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit d34c26de534f7f36f56e7b532991befab685f6c2 Merge succeeded, producing d34c26de534f7f36f56e7b532991befab685f6c2 Checking out Revision d34c26de534f7f36f56e7b532991befab685f6c2 (PR-1214) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:07:20 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:07:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f d34c26de534f7f36f56e7b532991befab685f6c2 # 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 e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d34c26de534f7f36f56e7b532991befab685f6c2 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:07:21 ========================================================= 04:07:21 EdgeX Global Pipelines Version Info 04:07:21 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:07:21 ------------------- 04:07:21 stable info: 04:07:21 ------------------- 04:07:21 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:07:21 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:07:21 Message: update stable to v1.0.239 04:07:22 ------------------- 04:07:22 experimental info: 04:07:22 ------------------- 04:07:22 Commited By: **** collab-it+edgex@linuxfoundation.org 04:07:22 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:07:22 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:07:22 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1214 [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1214 [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1214 [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d34c26d [Pipeline] echo 04:07:23 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:23 provisioning config files... 04:07:23 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config8422388449979792194tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:24 ---> docker-login.sh 04:07:24 nexus3.edgexfoundry.org:10001 04:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:24 Configure a credential helper to remove this warning. See 04:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:24 04:07:24 Login Succeeded 04:07:24 nexus3.edgexfoundry.org:10002 04:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:24 Configure a credential helper to remove this warning. See 04:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:24 04:07:24 Login Succeeded 04:07:24 nexus3.edgexfoundry.org:10003 04:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:24 Configure a credential helper to remove this warning. See 04:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:24 04:07:24 Login Succeeded 04:07:24 nexus3.edgexfoundry.org:10004 04:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:24 Configure a credential helper to remove this warning. See 04:07:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:24 04:07:24 Login Succeeded 04:07:24 docker.io 04:07:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:25 Configure a credential helper to remove this warning. See 04:07:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:25 04:07:25 Login Succeeded 04:07:25 ---> docker-login.sh ends [Pipeline] } 04:07:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:07:26 + git rev-list -1 --merges d34c26de534f7f36f56e7b532991befab685f6c2~1..d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] echo 04:07:26 -----------> git rev-list -1 --merges d34c26de534f7f36f56e7b532991befab685f6c2~1..d34c26de534f7f36f56e7b532991befab685f6c2 d34c26de534f7f36f56e7b532991befab685f6c2 [false] [Pipeline] sh 04:07:26 + git log --format=format:%s -1 d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] echo 04:07:26 ========================================================= 04:07:26 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:07:26 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:26 + git log --format=format:%s -1 d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] echo 04:07:26 [semverPrep] GIT_COMMIT: d34c26de534f7f36f56e7b532991befab685f6c2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 04:07:26 [semverPrep] This is not a build commit. [Pipeline] sh 04:07:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:07:27 + grep -v github /etc/ssh/ssh_known_hosts 04:07:27 + [ -e /tmp/ssh_known_hosts ] 04:07:27 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:07:27 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:07:27 + sudo tee -a /etc/ssh/ssh_known_hosts 04:07:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:27 04:07:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:28 0.1.4: Pulling from edgex-devops/py-git-semver 04:07:28 b85a868b505f: Pulling fs layer 04:07:28 e2be974225ed: Pulling fs layer 04:07:28 339a4e72a1f5: Pulling fs layer 04:07:28 988bab9f4d93: Pulling fs layer 04:07:28 1469e6f7b9e6: Pulling fs layer 04:07:28 eaf3925da568: Pulling fs layer 04:07:28 bab4dde63d76: Pulling fs layer 04:07:28 bde34c3a00c8: Pulling fs layer 04:07:28 b352a97aabf1: Pulling fs layer 04:07:28 4872d77fe225: Pulling fs layer 04:07:28 5851b861e8e6: Pulling fs layer 04:07:28 bde34c3a00c8: Waiting 04:07:28 b352a97aabf1: Waiting 04:07:28 4872d77fe225: Waiting 04:07:28 5851b861e8e6: Waiting 04:07:28 1469e6f7b9e6: Waiting 04:07:28 988bab9f4d93: Waiting 04:07:28 eaf3925da568: Waiting 04:07:28 bab4dde63d76: Waiting 04:07:28 e2be974225ed: Download complete 04:07:28 988bab9f4d93: Download complete 04:07:28 1469e6f7b9e6: Verifying Checksum 04:07:28 1469e6f7b9e6: Download complete 04:07:28 339a4e72a1f5: Verifying Checksum 04:07:28 339a4e72a1f5: Download complete 04:07:28 eaf3925da568: Verifying Checksum 04:07:28 eaf3925da568: Download complete 04:07:28 bde34c3a00c8: Download complete 04:07:28 b352a97aabf1: Verifying Checksum 04:07:28 b352a97aabf1: Download complete 04:07:28 4872d77fe225: Verifying Checksum 04:07:28 5851b861e8e6: Download complete 04:07:28 b85a868b505f: Verifying Checksum 04:07:28 b85a868b505f: Download complete 04:07:28 bab4dde63d76: Verifying Checksum 04:07:28 bab4dde63d76: Download complete 04:07:30 b85a868b505f: Pull complete 04:07:30 e2be974225ed: Pull complete 04:07:30 339a4e72a1f5: Pull complete 04:07:30 988bab9f4d93: Pull complete 04:07:30 1469e6f7b9e6: Pull complete 04:07:30 eaf3925da568: Pull complete 04:07:32 bab4dde63d76: Pull complete 04:07:32 bde34c3a00c8: Pull complete 04:07:32 b352a97aabf1: Pull complete 04:07:32 4872d77fe225: Pull complete 04:07:32 5851b861e8e6: Pull complete 04:07:32 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:32 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:33 prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container 04:07:33 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:07:34 $ docker top 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c -eo pid,comm 04:07:34 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:07:34 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:34 [ssh-agent] Looking for ssh-agent implementation... 04:07:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:34 $ docker exec 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c ssh-agent 04:07:34 SSH_AUTH_SOCK=/tmp/ssh-ZKSb9Pw6NpYZ/agent.32 04:07:34 SSH_AGENT_PID=38 04:07:34 Running ssh-add (command line suppressed) 04:07:34 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_1769646341652041369.key (/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_1769646341652041369.key) 04:07:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:35 + git tag --points-at HEAD [Pipeline] } 04:07:35 $ docker exec --env ******** --env ******** 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c ssh-agent -k 04:07:35 unset SSH_AUTH_SOCK; 04:07:35 unset SSH_AGENT_PID; 04:07:35 echo Agent pid 38 killed; 04:07:35 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:07:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:35 [ssh-agent] Looking for ssh-agent implementation... 04:07:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:35 $ docker exec 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c ssh-agent 04:07:35 SSH_AUTH_SOCK=/tmp/ssh-Vjm7e7N34k7G/agent.70 04:07:35 SSH_AGENT_PID=77 04:07:35 Running ssh-add (command line suppressed) 04:07:35 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_2540985591434984678.key (/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/private_key_2540985591434984678.key) 04:07:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:36 + git semver init 04:07:36 2022-09-22 04:07:36,331 [run_init] DEBUG init version:0.0.0 force:False 04:07:36 2022-09-22 04:07:36,332 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver 04:07:36 2022-09-22 04:07:36,333 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver 04:07:36 2022-09-22 04:07:36,333 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214, universal_newlines=False, shell=None, istream=None) 04:07:37 2022-09-22 04:07:37,280 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.git/info/exclude 04:07:37 2022-09-22 04:07:37,281 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 with force:False 04:07:37 2022-09-22 04:07:37,281 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 04:07:37 2022-09-22 04:07:37,285 [execute] INFO git cat-file --batch-check 04:07:37 2022-09-22 04:07:37,285 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver, universal_newlines=False, shell=None, istream=) 04:07:37 2022-09-22 04:07:37,290 [execute] INFO git cat-file --batch 04:07:37 2022-09-22 04:07:37,291 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver, universal_newlines=False, shell=None, istream=) 04:07:37 2022-09-22 04:07:37,296 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1214/.semver/PR-1214 04:07:37 0.0.0 [Pipeline] } 04:07:37 $ docker exec --env ******** --env ******** 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c ssh-agent -k 04:07:37 unset SSH_AUTH_SOCK; 04:07:37 unset SSH_AGENT_PID; 04:07:37 echo Agent pid 77 killed; 04:07:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:37 + git semver [Pipeline] } 04:07:38 $ docker stop --time=1 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c 04:07:39 $ docker rm -f 84b4fc90bd1392848da784109c8ed30d1f09926ecff5e0ac844856fd05e5df3c [Pipeline] // withDockerContainer [Pipeline] sh 04:07:39 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:07:40 Stashed 1 file(s) [Pipeline] echo 04:07:40 [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:07:40 provisioning config files... 04:07:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config1106169168459563008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:41 ---> docker-login.sh 04:07:41 nexus3.edgexfoundry.org:10001 04:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:41 Configure a credential helper to remove this warning. See 04:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:41 04:07:41 Login Succeeded 04:07:41 nexus3.edgexfoundry.org:10002 04:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:41 Configure a credential helper to remove this warning. See 04:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:41 04:07:41 Login Succeeded 04:07:41 nexus3.edgexfoundry.org:10003 04:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:41 Configure a credential helper to remove this warning. See 04:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:41 04:07:41 Login Succeeded 04:07:41 nexus3.edgexfoundry.org:10004 04:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:41 Configure a credential helper to remove this warning. See 04:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:41 04:07:41 Login Succeeded 04:07:41 docker.io 04:07:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:41 Configure a credential helper to remove this warning. See 04:07:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:41 04:07:41 Login Succeeded 04:07:41 ---> docker-login.sh ends [Pipeline] } 04:07:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:42 ========================================================= 04:07:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:07:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:42 + 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:07:42 Sending build context to Docker daemon 9.854MB 04:07:42 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:07:42 Step 2/11 : FROM ${BASE} AS builder 04:07:42 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:07:42 2408cc74d12b: Pulling fs layer 04:07:42 ea60b727a1ce: Pulling fs layer 04:07:42 30c4a7721957: Pulling fs layer 04:07:42 370296b7ddb6: Pulling fs layer 04:07:42 7c6cee850709: Pulling fs layer 04:07:42 39a5fcdaea64: Pulling fs layer 04:07:42 d94ebbe4e438: Pulling fs layer 04:07:42 bcfd1f05c69d: Pulling fs layer 04:07:42 59ccb84bbe0f: Pulling fs layer 04:07:42 7c6cee850709: Waiting 04:07:42 39a5fcdaea64: Waiting 04:07:42 d94ebbe4e438: Waiting 04:07:42 bcfd1f05c69d: Waiting 04:07:42 59ccb84bbe0f: Waiting 04:07:42 370296b7ddb6: Waiting 04:07:42 30c4a7721957: Verifying Checksum 04:07:42 ea60b727a1ce: Verifying Checksum 04:07:42 ea60b727a1ce: Download complete 04:07:42 7c6cee850709: Verifying Checksum 04:07:42 7c6cee850709: Download complete 04:07:42 39a5fcdaea64: Download complete 04:07:42 2408cc74d12b: Verifying Checksum 04:07:42 d94ebbe4e438: Verifying Checksum 04:07:42 d94ebbe4e438: Download complete 04:07:42 2408cc74d12b: Pull complete 04:07:43 ea60b727a1ce: Pull complete 04:07:43 30c4a7721957: Pull complete 04:07:43 59ccb84bbe0f: Verifying Checksum 04:07:43 59ccb84bbe0f: Download complete 04:07:43 bcfd1f05c69d: Verifying Checksum 04:07:43 bcfd1f05c69d: Download complete 04:07:43 370296b7ddb6: Verifying Checksum 04:07:43 370296b7ddb6: Download complete 04:07:47 370296b7ddb6: Pull complete 04:07:47 7c6cee850709: Pull complete 04:07:47 39a5fcdaea64: Pull complete 04:07:47 d94ebbe4e438: Pull complete 04:07:49 bcfd1f05c69d: Pull complete 04:07:49 59ccb84bbe0f: Pull complete 04:07:49 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 04:07:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:07:49 ---> a4fb48ad2a94 04:07:49 Step 3/11 : ARG MAKE=make build 04:07:51 ---> Running in 1d5fab8ee3cb 04:07:51 Removing intermediate container 1d5fab8ee3cb 04:07:51 ---> cf62c3dbc1ca 04:07:51 Step 4/11 : WORKDIR /device-sdk-go 04:07:51 ---> Running in e032ba1b7f17 04:07:51 Removing intermediate container e032ba1b7f17 04:07:51 ---> 3c9f11e90be5 04:07:51 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:07:51 ---> Running in fce5f90574de 04:07:51 Removing intermediate container fce5f90574de 04:07:51 ---> c40347df2a17 04:07:51 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:51 ---> Running in e2e1517d46e0 04:07:52 Removing intermediate container e2e1517d46e0 04:07:52 ---> 0244716961c4 04:07:52 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:07:52 ---> Running in 384f433b07de 04:07:52 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:07:53 OK: 211 MiB in 51 packages 04:07:53 Removing intermediate container 384f433b07de 04:07:53 ---> 37fe852aaae4 04:07:53 Step 8/11 : COPY go.mod vendor* ./ 04:07:53 ---> ee572e82cd75 04:07:53 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:53 ---> Running in 590fb93bd2b1 04:07:55 Still waiting to schedule task 04:07:55 ‘prd-ubuntu20.04-docker-arm64-4c-16g-530’ is offline 04:08:08 Removing intermediate container 590fb93bd2b1 04:08:08 ---> 16d53c0421b6 04:08:08 Step 10/11 : COPY . . 04:08:08 ---> 9ff502d51828 04:08:08 Step 11/11 : RUN ${MAKE} 04:08:08 ---> Running in c0dddf1783a8 04:08:08 noop 04:08:08 Removing intermediate container c0dddf1783a8 04:08:08 ---> 079a0dc19b9c 04:08:08 Successfully built 079a0dc19b9c 04:08:08 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:09 + docker inspect -f . ci-base-image-x86_64 04:08:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:09 prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container 04:08:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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 ******** ci-base-image-x86_64 cat 04:08:09 $ docker top cc4c843e4cb24b84fb9e2833a8eb963861b2423e4f2eb7af32c70d996cb96df5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:10 + go version 04:08:10 go version go1.18.3 linux/amd64 [Pipeline] } 04:08:10 $ docker stop --time=1 cc4c843e4cb24b84fb9e2833a8eb963861b2423e4f2eb7af32c70d996cb96df5 04:08:11 $ docker rm -f cc4c843e4cb24b84fb9e2833a8eb963861b2423e4f2eb7af32c70d996cb96df5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:12 + docker inspect -f . ci-base-image-x86_64 04:08:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:12 prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container 04:08:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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 ******** ci-base-image-x86_64 cat 04:08:12 $ docker top 9be33c2f4a660440020611f099dc76cab8752014f20c4d14dfc99afbd6c0ccb6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:13 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1214 [Pipeline] fileExists [Pipeline] sh 04:08:13 + make test 04:08:13 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:08:20 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:08:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.054s coverage: 27.6% of statements 04:08:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.060s coverage: 78.9% of statements 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:08:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.071s coverage: 60.0% of statements 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:08:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:08:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.113s coverage: 65.1% of statements 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:08:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.768s coverage: 89.2% of statements 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:08:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.5% of statements 04:08:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:08:53 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:08:53 GO111MODULE=on go vet ./... 04:08:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:53 ./bin/test-attribution-txt.sh 04:08:53 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:08:53 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 04:08:53 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:08:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:53 $ docker stop --time=1 9be33c2f4a660440020611f099dc76cab8752014f20c4d14dfc99afbd6c0ccb6 04:08:56 $ docker rm -f 9be33c2f4a660440020611f099dc76cab8752014f20c4d14dfc99afbd6c0ccb6 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:57 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:57 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:08:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:58 + ls -al . 04:08:58 total 276 04:08:58 drwxrwxr-x 11 jenkins jenkins 4096 Sep 22 04:08 . 04:08:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:07 .. 04:08:58 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 04:07 .dockerignore 04:08:58 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:08 .git 04:08:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:07 .github 04:08:58 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 04:07 .gitignore 04:08:58 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 04:07 .golangci.yml 04:08:58 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 04:07 .semver 04:08:58 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 04:07 CHANGELOG.md 04:08:58 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 04:07 GOVERNANCE.md 04:08:58 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 04:07 Jenkinsfile 04:08:58 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 04:07 LICENSE 04:08:58 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 04:07 Makefile 04:08:58 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 04:07 OWNERS.md 04:08:58 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 04:07 README.md 04:08:58 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 04:07 VERSION 04:08:58 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:07 bin 04:08:58 -rw-r--r-- 1 jenkins jenkins 101642 Sep 22 04:08 coverage.out 04:08:58 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 04:07 example 04:08:58 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 04:07 go.mod 04:08:58 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 04:07 go.sum 04:08:58 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 04:07 internal 04:08:58 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:07 openapi 04:08:58 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 04:07 pkg 04:08:58 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:07 snap 04:08:58 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:58 + 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=d34c26de534f7f36f56e7b532991befab685f6c2 --label arch=amd64 --label version=0.0.0 . 04:08:58 Sending build context to Docker daemon 9.956MB 04:08:58 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:08:58 Step 2/25 : FROM ${BASE} AS builder 04:08:58 ---> 079a0dc19b9c 04:08:58 Step 3/25 : ARG MAKE=make build 04:08:58 ---> Running in b04b469e3832 04:08:58 Removing intermediate container b04b469e3832 04:08:58 ---> 5e36eaed67e3 04:08:58 Step 4/25 : WORKDIR /device-sdk-go 04:08:58 ---> Running in d4cd411d95fd 04:08:58 Removing intermediate container d4cd411d95fd 04:08:58 ---> f6b9c8ea8118 04:08:58 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:08:58 ---> Running in 7e28ad440be1 04:08:58 Removing intermediate container 7e28ad440be1 04:08:58 ---> bf8fba6cb75a 04:08:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:58 ---> Running in 0f78921e3c12 04:08:59 Removing intermediate container 0f78921e3c12 04:08:59 ---> 9ff2573cc8b1 04:08:59 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:59 ---> Running in 5fcf1778a766 04:08:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:09:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:09:00 OK: 211 MiB in 51 packages 04:09:01 Removing intermediate container 5fcf1778a766 04:09:01 ---> f14dfe094248 04:09:01 Step 8/25 : COPY go.mod vendor* ./ 04:09:01 ---> f21ba67769d3 04:09:01 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:01 ---> Running in 1dca8cee885e 04:09:02 Removing intermediate container 1dca8cee885e 04:09:02 ---> 41e3cf350a4b 04:09:02 Step 10/25 : COPY . . 04:09:02 ---> 3e336a00bce0 04:09:02 Step 11/25 : RUN ${MAKE} 04:09:02 ---> Running in 2a1ee683a042 04:09:02 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:09:20 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:09:22 Removing intermediate container 2a1ee683a042 04:09:22 ---> ce30f4b32587 04:09:22 Step 12/25 : FROM alpine:3.16 04:09:23 3.16: Pulling from library/alpine 04:09:23 213ec9aee27d: Pulling fs layer 04:09:23 213ec9aee27d: Verifying Checksum 04:09:23 213ec9aee27d: Download complete 04:09:23 213ec9aee27d: Pull complete 04:09:23 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:09:23 Status: Downloaded newer image for alpine:3.16 04:09:23 ---> 9c6f07244728 04:09:23 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:09:23 ---> Running in 156cd7be8d53 04:09:23 Removing intermediate container 156cd7be8d53 04:09:23 ---> f46bf155f69b 04:09:23 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:23 ---> Running in 21a80fdd1a64 04:09:24 Removing intermediate container 21a80fdd1a64 04:09:24 ---> 151e20ca59d7 04:09:24 Step 15/25 : RUN apk add --update --no-cache zeromq 04:09:24 ---> Running in ed072122723b 04:09:24 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:09:25 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:09:25 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:09:25 (2/5) Installing libsodium (1.0.18-r0) 04:09:25 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:09:25 (4/5) Installing libzmq (4.3.4-r0) 04:09:25 (5/5) Installing zeromq (4.3.4-r0) 04:09:26 Executing busybox-1.35.0-r17.trigger 04:09:26 OK: 8 MiB in 19 packages 04:09:26 Removing intermediate container ed072122723b 04:09:26 ---> 126c1651c690 04:09:26 Step 16/25 : WORKDIR / 04:09:26 ---> Running in 864842f37c43 04:09:26 Removing intermediate container 864842f37c43 04:09:26 ---> daba033273cd 04:09:26 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:09:26 ---> d84cd8860090 04:09:26 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:09:27 ---> 6aed95c5c64f 04:09:27 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:09:27 ---> 88a575233534 04:09:27 Step 20/25 : EXPOSE 59999 04:09:27 ---> Running in e12f1fa73a82 04:09:27 Removing intermediate container e12f1fa73a82 04:09:27 ---> 51a652fb1364 04:09:27 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:09:27 ---> Running in 29ccb9f0ea3a 04:09:27 Removing intermediate container 29ccb9f0ea3a 04:09:27 ---> 86eb4582fcc2 04:09:27 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:09:27 ---> Running in d88978aacf28 04:09:27 Removing intermediate container d88978aacf28 04:09:27 ---> f3630b44b9e4 04:09:27 Step 23/25 : LABEL arch=amd64 04:09:27 ---> Running in 95517ccec17f 04:09:27 Removing intermediate container 95517ccec17f 04:09:27 ---> bd26c3be6c4c 04:09:27 Step 24/25 : LABEL git_sha=d34c26de534f7f36f56e7b532991befab685f6c2 04:09:27 ---> Running in 5d9a97f5794a 04:09:28 Removing intermediate container 5d9a97f5794a 04:09:28 ---> 40055fcf08bc 04:09:28 Step 25/25 : LABEL version=0.0.0 04:09:28 ---> Running in 632ff3f30d4c 04:09:28 Removing intermediate container 632ff3f30d4c 04:09:28 ---> 0d0eaf69659a 04:09:28 [Warning] One or more build-args [ARCH] were not consumed 04:09:28 Successfully built 0d0eaf69659a 04:09:28 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:09:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:29 04:09:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:29 latest: Pulling from edgex-lftools-log-publisher 04:09:29 5eb5b503b376: Pulling fs layer 04:09:29 5c69ac0246d0: Pulling fs layer 04:09:29 ec43610c2a17: Pulling fs layer 04:09:29 3a2ae6a8a46f: Pulling fs layer 04:09:29 33b1e0a273af: Pulling fs layer 04:09:29 5d3b04190fa2: Pulling fs layer 04:09:29 2f39f015ded8: Pulling fs layer 04:09:29 33b1e0a273af: Waiting 04:09:29 5d3b04190fa2: Waiting 04:09:29 2f39f015ded8: Waiting 04:09:29 3a2ae6a8a46f: Waiting 04:09:29 5c69ac0246d0: Download complete 04:09:29 3a2ae6a8a46f: Download complete 04:09:29 33b1e0a273af: Verifying Checksum 04:09:29 33b1e0a273af: Download complete 04:09:29 5d3b04190fa2: Download complete 04:09:29 ec43610c2a17: Verifying Checksum 04:09:29 ec43610c2a17: Download complete 04:09:29 5eb5b503b376: Download complete 04:09:30 2f39f015ded8: Download complete 04:09:30 5eb5b503b376: Pull complete 04:09:30 5c69ac0246d0: Pull complete 04:09:31 ec43610c2a17: Pull complete 04:09:31 3a2ae6a8a46f: Pull complete 04:09:31 33b1e0a273af: Pull complete 04:09:31 5d3b04190fa2: Pull complete 04:09:35 2f39f015ded8: Pull complete 04:09:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:09:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:35 prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container 04:09:36 $ 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-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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:09:40 $ docker top 3cb3d1205b6ba303a45d378602f28bae158cc7afe68275cb035f0bd857a5bd7d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:40 ---> job-cost.sh 04:09:40 lf-activate-venv: SKIPPING 04:09:40 INFO: No Stack... 04:09:40 INFO: Retrieving Pricing Info for: v3-standard-8 04:09:41 INFO: Archiving Costs [Pipeline] sh 04:09:41 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/cost.csv 04:09:41 + cut -d, -f6 [Pipeline] lock 04:09:41 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] 04:09:41 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] did not exist. Created. 04:09:41 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:42 + echo total: 0.2199999988079071 [Pipeline] stash 04:09:42 Stashed 1 file(s) [Pipeline] } 04:09:42 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:09:42 $ docker stop --time=1 3cb3d1205b6ba303a45d378602f28bae158cc7afe68275cb035f0bd857a5bd7d 04:09:43 $ docker rm -f 3cb3d1205b6ba303a45d378602f28bae158cc7afe68275cb035f0bd857a5bd7d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:09:56 Running on prd-ubuntu20.04-docker-arm64-4c-16g-531 in /w/workspace/gexfoundry_device-sdk-go_PR-1214 [Pipeline] { [Pipeline] ws 04:09:56 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:09:56 The recommended git tool is: git 04:10:02 using credential edgex-jenkins-ssh 04:10:02 Cloning the remote Git repository 04:10:02 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:10:02 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:10:02 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:02 > git --version # timeout=10 04:10:02 > git --version # 'git version 2.25.1' 04:10:02 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:02 Verifying host key using known hosts file 04:10:02 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:02 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:04 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:10:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:10:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:10:05 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:05 Verifying host key using known hosts file 04:10:05 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:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1214/head:refs/remotes/origin/PR-1214 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:10:05 Merging remotes/origin/main commit e5efdee9dd9df15b49fe73e0060b5d971241be0d into PR head commit d34c26de534f7f36f56e7b532991befab685f6c2 04:10:05 Merge succeeded, producing d34c26de534f7f36f56e7b532991befab685f6c2 04:10:05 Checking out Revision d34c26de534f7f36f56e7b532991befab685f6c2 (PR-1214) 04:10:06 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 04:10:06 > git --version # timeout=10 04:10:06 > git --version # 'git version 2.25.1' 04:10:06 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:10:05 > git config core.sparsecheckout # timeout=10 04:10:05 > git checkout -f d34c26de534f7f36f56e7b532991befab685f6c2 # timeout=10 04:10:05 > git remote # timeout=10 04:10:05 > git config --get remote.origin.url # timeout=10 04:10:05 using GIT_SSH to set credentials SSH Credentials for GitHub 04:10:05 Verifying host key using known hosts file 04:10:05 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:05 > git merge e5efdee9dd9df15b49fe73e0060b5d971241be0d # timeout=10 04:10:05 > git rev-parse HEAD^{commit} # timeout=10 04:10:05 > git config core.sparsecheckout # timeout=10 04:10:05 > git checkout -f d34c26de534f7f36f56e7b532991befab685f6c2 # timeout=10 04:10:07 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:10:07 % Total % Received % Xferd Average Speed Time Time Time Current 04:10:07 Dload Upload Total Spent Left Speed 04:10:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 04:10:08 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:10:08 + sudo tee /etc/docker/daemon.new 04:10:08 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:10:08 { 04:10:08 "registry-mirrors": [ 04:10:08 "https://nexus3.edgexfoundry.org:10001" 04:10:08 ], 04:10:08 "bip": "10.250.0.254/24", 04:10:08 "hosts": [ 04:10:08 "tcp://0.0.0.0:5555", 04:10:08 "unix:///var/run/docker.sock" 04:10:08 ], 04:10:08 "mtu": 1458, 04:10:08 "selinux-enabled": true, 04:10:08 "seccomp-profile": "/etc/docker/seccomp.json" 04:10:08 } [Pipeline] sh 04:10:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:10:09 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:27 provisioning config files... 04:10:27 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config12414467775863780745tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:27 ---> docker-login.sh 04:10:27 nexus3.edgexfoundry.org:10001 04:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:28 Configure a credential helper to remove this warning. See 04:10:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:28 04:10:28 Login Succeeded 04:10:28 nexus3.edgexfoundry.org:10002 04:10:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:29 Configure a credential helper to remove this warning. See 04:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:29 04:10:29 Login Succeeded 04:10:29 nexus3.edgexfoundry.org:10003 04:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:29 Configure a credential helper to remove this warning. See 04:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:29 04:10:29 Login Succeeded 04:10:29 nexus3.edgexfoundry.org:10004 04:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:29 Configure a credential helper to remove this warning. See 04:10:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:29 04:10:29 Login Succeeded 04:10:29 docker.io 04:10:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:30 Configure a credential helper to remove this warning. See 04:10:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:30 04:10:30 Login Succeeded 04:10:30 ---> docker-login.sh ends [Pipeline] } 04:10:30 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:30 ========================================================= 04:10:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:10:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:31 + 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:10:31 Sending build context to Docker daemon 5.288MB 04:10:31 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:10:31 Step 2/11 : FROM ${BASE} AS builder 04:10:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:10:31 b3c136eddcbf: Pulling fs layer 04:10:31 c0a3192eca97: Pulling fs layer 04:10:31 a050256f5b6f: Pulling fs layer 04:10:31 656be50a0ddc: Pulling fs layer 04:10:31 2bbca73fdf42: Pulling fs layer 04:10:31 46d945488cbd: Pulling fs layer 04:10:31 8a5474983e97: Pulling fs layer 04:10:31 329c88fbcd65: Pulling fs layer 04:10:31 656be50a0ddc: Waiting 04:10:31 2bbca73fdf42: Waiting 04:10:31 46d945488cbd: Waiting 04:10:31 8a5474983e97: Waiting 04:10:31 a050256f5b6f: Verifying Checksum 04:10:31 a050256f5b6f: Download complete 04:10:31 c0a3192eca97: Verifying Checksum 04:10:31 c0a3192eca97: Download complete 04:10:31 2bbca73fdf42: Verifying Checksum 04:10:31 2bbca73fdf42: Download complete 04:10:31 46d945488cbd: Verifying Checksum 04:10:31 46d945488cbd: Download complete 04:10:31 b3c136eddcbf: Verifying Checksum 04:10:31 b3c136eddcbf: Download complete 04:10:32 b3c136eddcbf: Pull complete 04:10:33 329c88fbcd65: Verifying Checksum 04:10:33 329c88fbcd65: Download complete 04:10:33 c0a3192eca97: Pull complete 04:10:33 a050256f5b6f: Pull complete 04:10:34 8a5474983e97: Verifying Checksum 04:10:34 8a5474983e97: Download complete 04:10:35 656be50a0ddc: Verifying Checksum 04:10:35 656be50a0ddc: Download complete 04:10:47 656be50a0ddc: Pull complete 04:10:47 2bbca73fdf42: Pull complete 04:10:47 46d945488cbd: Pull complete 04:10:54 8a5474983e97: Pull complete 04:10:55 329c88fbcd65: Pull complete 04:10:55 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 04:10:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:10:55 ---> ff4287adb874 04:10:55 Step 3/11 : ARG MAKE=make build 04:10:57 ---> Running in e208295d36dd 04:10:57 Removing intermediate container e208295d36dd 04:10:57 ---> 7d32134c8fb3 04:10:57 Step 4/11 : WORKDIR /device-sdk-go 04:10:57 ---> Running in 591680917efd 04:10:58 Removing intermediate container 591680917efd 04:10:58 ---> ab5d0aae5745 04:10:58 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:10:58 ---> Running in 9ad7e37c4152 04:10:58 Removing intermediate container 9ad7e37c4152 04:10:58 ---> 6dccc2deca5d 04:10:58 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:58 ---> Running in 3926c055e7fa 04:11:00 Removing intermediate container 3926c055e7fa 04:11:00 ---> 02f3f81778f0 04:11:00 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:00 ---> Running in 303e861895a1 04:11:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:11:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:11:02 OK: 221 MiB in 51 packages 04:11:03 Removing intermediate container 303e861895a1 04:11:03 ---> 0b79d9659e07 04:11:03 Step 8/11 : COPY go.mod vendor* ./ 04:11:04 ---> 712e797a79a7 04:11:04 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:04 ---> Running in 31b1880a30fe 04:11:51 Removing intermediate container 31b1880a30fe 04:11:51 ---> 646dfa6ae799 04:11:51 Step 10/11 : COPY . . 04:11:51 ---> 4146ae5c4c21 04:11:51 Step 11/11 : RUN ${MAKE} 04:11:51 ---> Running in 103fe6f2a72c 04:11:52 noop 04:11:53 Removing intermediate container 103fe6f2a72c 04:11:53 ---> 17ab55377f7d 04:11:53 Successfully built 17ab55377f7d 04:11:53 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:53 + docker inspect -f . ci-base-image-arm64 04:11:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:54 prd-ubuntu20.04-docker-arm64-4c-16g-531 does not seem to be running inside a container 04:11:54 $ 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:11:55 $ docker top b89851144c891d5bff0496798977873b26c1c47a65f4b02acbffb61c176d0018 -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:56 + go version 04:11:56 go version go1.18.3 linux/arm64 [Pipeline] } 04:11:56 $ docker stop --time=1 b89851144c891d5bff0496798977873b26c1c47a65f4b02acbffb61c176d0018 04:11:58 $ docker rm -f b89851144c891d5bff0496798977873b26c1c47a65f4b02acbffb61c176d0018 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:58 + docker inspect -f . ci-base-image-arm64 04:11:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:59 prd-ubuntu20.04-docker-arm64-4c-16g-531 does not seem to be running inside a container 04:11:59 $ 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:00 $ docker top 36d056b470537d673228ad379371366cb47680484ae4b0216fa66011fbc0d98a -eo pid,comm [Pipeline] { [Pipeline] sh 04:12:01 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:12:01 + make test 04:12:02 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:12:40 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.408s coverage: 27.6% of statements 04:14:47 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.553s coverage: 78.9% of statements 04:14:47 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:14:52 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.486s coverage: 60.0% of statements 04:14:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:14:52 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:14:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.659s coverage: 54.4% of statements 04:14:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:14:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:14:56 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:14:56 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.527s coverage: 65.1% of statements 04:14:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:14:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:14:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.455s coverage: 89.2% of statements 04:14:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:14:56 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.233s coverage: 4.5% of statements 04:14:56 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:14:57 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:14:57 GO111MODULE=on go vet ./... 04:16:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:16:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:16:49 ./bin/test-attribution-txt.sh 04:16:49 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:16:49 An attribution for github.com/klauspost/compress is missing from Attribution.txt, please add 04:16:49 An attribution for github.com/minio/highwayhash is missing from Attribution.txt, please add 04:16:49 An attribution for github.com/nats-io/jwt/v2 is missing from Attribution.txt, please add 04:16:49 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:16:49 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:16:49 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 04:16:49 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:16:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:16:49 $ docker stop --time=1 36d056b470537d673228ad379371366cb47680484ae4b0216fa66011fbc0d98a 04:16:51 $ docker rm -f 36d056b470537d673228ad379371366cb47680484ae4b0216fa66011fbc0d98a [Pipeline] // withDockerContainer [Pipeline] sh 04:16:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:16:52 Warning: overwriting stash ‘coverage-report’ 04:16:53 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:16:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:16:54 + ls -al . 04:16:54 total 272 04:16:54 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 04:12 . 04:16:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:10 .. 04:16:54 -rw-rw-r-- 1 jenkins jenkins 140 Sep 22 04:10 .dockerignore 04:16:54 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 04:10 .git 04:16:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:10 .github 04:16:54 -rw-rw-r-- 1 jenkins jenkins 131 Sep 22 04:10 .gitignore 04:16:54 -rw-rw-r-- 1 jenkins jenkins 42 Sep 22 04:10 .golangci.yml 04:16:54 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 22 04:10 CHANGELOG.md 04:16:54 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 04:10 GOVERNANCE.md 04:16:54 -rw-rw-r-- 1 jenkins jenkins 880 Sep 22 04:10 Jenkinsfile 04:16:54 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 22 04:10 LICENSE 04:16:54 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 22 04:10 Makefile 04:16:54 -rw-rw-r-- 1 jenkins jenkins 619 Sep 22 04:10 OWNERS.md 04:16:54 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 22 04:10 README.md 04:16:54 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 04:07 VERSION 04:16:54 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 04:10 bin 04:16:54 -rw-r--r-- 1 jenkins jenkins 101642 Sep 22 04:14 coverage.out 04:16:54 drwxrwxr-x 5 jenkins jenkins 4096 Sep 22 04:10 example 04:16:54 -rw-rw-r-- 1 jenkins jenkins 3624 Sep 22 04:10 go.mod 04:16:54 -rw-rw-r-- 1 jenkins jenkins 37972 Sep 22 04:10 go.sum 04:16:54 drwxrwxr-x 14 jenkins jenkins 4096 Sep 22 04:10 internal 04:16:54 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 04:10 openapi 04:16:54 drwxrwxr-x 6 jenkins jenkins 4096 Sep 22 04:10 pkg 04:16:54 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 04:10 snap 04:16:54 -rw-rw-r-- 1 jenkins jenkins 222 Sep 22 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:54 + 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=d34c26de534f7f36f56e7b532991befab685f6c2 --label arch=arm64 --label version=0.0.0 . 04:16:54 Sending build context to Docker daemon 5.39MB 04:16:54 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:16:54 Step 2/25 : FROM ${BASE} AS builder 04:16:54 ---> 17ab55377f7d 04:16:54 Step 3/25 : ARG MAKE=make build 04:16:55 ---> Running in 48caa40a7bc8 04:16:55 Removing intermediate container 48caa40a7bc8 04:16:55 ---> 70df818727e1 04:16:55 Step 4/25 : WORKDIR /device-sdk-go 04:16:55 ---> Running in 3979f001b97c 04:16:55 Removing intermediate container 3979f001b97c 04:16:55 ---> bc4d3505de24 04:16:55 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:16:56 ---> Running in b419d6f30a80 04:16:56 Removing intermediate container b419d6f30a80 04:16:56 ---> 18d4b8e7c689 04:16:56 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:56 ---> Running in e31dd7390ca7 04:16:58 Removing intermediate container e31dd7390ca7 04:16:58 ---> b3f4f6269f48 04:16:58 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:16:58 ---> Running in 2400fb60ac66 04:16:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:17:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:17:01 OK: 221 MiB in 51 packages 04:17:01 Removing intermediate container 2400fb60ac66 04:17:01 ---> 1d5693b2680e 04:17:01 Step 8/25 : COPY go.mod vendor* ./ 04:17:02 ---> 91a4dbffbc65 04:17:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:17:02 ---> Running in 17af870e50f0 04:17:04 Removing intermediate container 17af870e50f0 04:17:04 ---> 63dbb2347758 04:17:04 Step 10/25 : COPY . . 04:17:05 ---> a09484baf2a6 04:17:05 Step 11/25 : RUN ${MAKE} 04:17:05 ---> Running in b58f4329e3a0 04:17:06 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:19:28 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:19:29 Removing intermediate container b58f4329e3a0 04:19:29 ---> e847f220bdc3 04:19:29 Step 12/25 : FROM alpine:3.16 04:19:30 3.16: Pulling from library/alpine 04:19:30 9b18e9b68314: Pulling fs layer 04:19:30 9b18e9b68314: Verifying Checksum 04:19:30 9b18e9b68314: Download complete 04:19:30 9b18e9b68314: Pull complete 04:19:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:19:30 Status: Downloaded newer image for alpine:3.16 04:19:30 ---> a6215f271958 04:19:30 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:19:31 ---> Running in 6719a7b5a474 04:19:31 Removing intermediate container 6719a7b5a474 04:19:31 ---> b2f8904ee809 04:19:31 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:19:31 ---> Running in 6577e526edf3 04:19:33 Removing intermediate container 6577e526edf3 04:19:33 ---> 83f03f9d22ea 04:19:33 Step 15/25 : RUN apk add --update --no-cache zeromq 04:19:33 ---> Running in 1ffecb047b48 04:19:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:19:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:19:36 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:19:36 (2/5) Installing libsodium (1.0.18-r0) 04:19:36 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:19:36 (4/5) Installing libzmq (4.3.4-r0) 04:19:36 (5/5) Installing zeromq (4.3.4-r0) 04:19:37 Executing busybox-1.35.0-r17.trigger 04:19:37 OK: 8 MiB in 19 packages 04:19:38 Removing intermediate container 1ffecb047b48 04:19:38 ---> e43c5690b57b 04:19:38 Step 16/25 : WORKDIR / 04:19:38 ---> Running in b47fc18c46d7 04:19:38 Removing intermediate container b47fc18c46d7 04:19:38 ---> 5233dfbbf79a 04:19:38 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:19:39 ---> a885b39dbe5e 04:19:39 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:19:40 ---> a63b8d5fbe86 04:19:40 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:19:41 ---> c132c329b00f 04:19:41 Step 20/25 : EXPOSE 59999 04:19:41 ---> Running in c8b63b212924 04:19:41 Removing intermediate container c8b63b212924 04:19:41 ---> b456b754a71a 04:19:41 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:19:41 ---> Running in c3fa5abb4dd9 04:19:41 Removing intermediate container c3fa5abb4dd9 04:19:41 ---> 234a7939374c 04:19:41 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:19:41 ---> Running in 373f25cf41f3 04:19:42 Removing intermediate container 373f25cf41f3 04:19:42 ---> 79ce393cc745 04:19:42 Step 23/25 : LABEL arch=arm64 04:19:42 ---> Running in 6d8febb7acb8 04:19:42 Removing intermediate container 6d8febb7acb8 04:19:42 ---> 0724cfef1e91 04:19:42 Step 24/25 : LABEL git_sha=d34c26de534f7f36f56e7b532991befab685f6c2 04:19:42 ---> Running in 9709325491b9 04:19:42 Removing intermediate container 9709325491b9 04:19:42 ---> c37a462616c4 04:19:42 Step 25/25 : LABEL version=0.0.0 04:19:42 ---> Running in 39a9bc6ff2bd 04:19:43 Removing intermediate container 39a9bc6ff2bd 04:19:43 ---> dce0339e45ea 04:19:43 [Warning] One or more build-args [ARCH] were not consumed 04:19:43 Successfully built dce0339e45ea 04:19:43 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:19:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:19:44 04:19:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:19:44 arm64: Pulling from edgex-lftools-log-publisher 04:19:44 8998bd30e6a1: Pulling fs layer 04:19:44 04944245beec: Pulling fs layer 04:19:44 699f458cf7ca: Pulling fs layer 04:19:44 765212b225bb: Pulling fs layer 04:19:44 f23df028b6ca: Pulling fs layer 04:19:44 d65c8cfc05b1: Pulling fs layer 04:19:44 2437ff75d9bd: Pulling fs layer 04:19:44 765212b225bb: Waiting 04:19:44 f23df028b6ca: Waiting 04:19:44 d65c8cfc05b1: Waiting 04:19:44 2437ff75d9bd: Waiting 04:19:45 04944245beec: Verifying Checksum 04:19:45 04944245beec: Download complete 04:19:45 765212b225bb: Verifying Checksum 04:19:45 765212b225bb: Download complete 04:19:45 f23df028b6ca: Download complete 04:19:45 d65c8cfc05b1: Verifying Checksum 04:19:45 d65c8cfc05b1: Download complete 04:19:45 699f458cf7ca: Verifying Checksum 04:19:45 699f458cf7ca: Download complete 04:19:45 8998bd30e6a1: Verifying Checksum 04:19:45 8998bd30e6a1: Download complete 04:19:47 2437ff75d9bd: Verifying Checksum 04:19:47 2437ff75d9bd: Download complete 04:19:49 8998bd30e6a1: Pull complete 04:19:49 04944245beec: Pull complete 04:19:51 699f458cf7ca: Pull complete 04:19:51 765212b225bb: Pull complete 04:19:51 f23df028b6ca: Pull complete 04:19:51 d65c8cfc05b1: Pull complete 04:20:06 2437ff75d9bd: Pull complete 04:20:06 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:20:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:20:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:07 prd-ubuntu20.04-docker-arm64-4c-16g-531 does not seem to be running inside a container 04:20:07 $ 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:20:09 $ docker top c6de6b5b153119546cb831a4464902dc659752f38005ef1e60763a3336fa7804 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:20:10 ---> job-cost.sh 04:20:10 lf-activate-venv: SKIPPING 04:20:10 INFO: No Stack... 04:20:11 INFO: Retrieving Pricing Info for: v3-standard-4 04:20:12 INFO: Archiving Costs [Pipeline] sh 04:20:12 + cut -d, -f6 04:20:12 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 04:20:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] 04:20:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] did not exist. Created. 04:20:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:20:13 /w/workspace/device-sdk-go/1@tmp/durable-a617386d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:20:13 + echo total: 0.10999999940395355 [Pipeline] stash 04:20:13 Warning: overwriting stash ‘stack-cost’ 04:20:13 Stashed 1 file(s) [Pipeline] } 04:20:14 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1214-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:20:14 $ docker stop --time=1 c6de6b5b153119546cb831a4464902dc659752f38005ef1e60763a3336fa7804 04:20:15 $ docker rm -f c6de6b5b153119546cb831a4464902dc659752f38005ef1e60763a3336fa7804 [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:20:16 provisioning config files... 04:20:16 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config16273835453016686758tmp [Pipeline] { [Pipeline] sh 04:20:16 + set +x 04:20:16 + + curlbash -s -s https://codecov.io/bash -- 04:20:16 04:20:16 04:20:16 _____ _ 04:20:16 / ____| | | 04:20:16 | | ___ __| | ___ ___ _____ __ 04:20:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:20:16 | |___| (_) | (_| | __/ (_| (_) \ V / 04:20:16 \_____\___/ \__,_|\___|\___\___/ \_/ 04:20:16 Bash-1.0.6 04:20:16 04:20:16 04:20:16 ==> git version 2.25.1 found 04:20:16 ==> 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:20:16 Release-Date: 2020-01-08 04:20:16 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:20:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:20:16 ==> Jenkins CI detected. 04:20:16 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1214 04:20:16 project root: . 04:20:16 --> token set from env 04:20:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:20:16 ==> Running gcov in . (disable via -X gcov) 04:20:16 ==> Python coveragepy not found 04:20:16 ==> Searching for coverage reports in: 04:20:16 + . 04:20:16 -> Found 1 reports 04:20:16 ==> Detecting git/mercurial file structure 04:20:16 ==> Reading reports 04:20:16 + ./coverage.out bytes=101642 04:20:16 ==> Appending adjustments 04:20:16 https://docs.codecov.io/docs/fixing-reports 04:20:17 + Found adjustments 04:20:17 ==> Gzipping contents 04:20:17 16K /tmp/codecov.VMCllf.gz 04:20:17 ==> Uploading reports 04:20:17 url: https://codecov.io 04:20:17 query: branch=PR-1214&commit=d34c26de534f7f36f56e7b532991befab685f6c2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1214&job=&cmd_args= 04:20:17 -> Pinging Codecov 04:20:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1214&commit=d34c26de534f7f36f56e7b532991befab685f6c2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1214%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1214&job=&cmd_args= 04:20:17 -> Uploading to 04:20:17 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/7E55EF52A471D76F132DFD9A03CDDE97/d34c26de534f7f36f56e7b532991befab685f6c2/84b8270c-f4be-47e9-a113-53edd3873a09.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T042017Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4be50ff8a6b1553e264f20b22300f93688c4991bf93906f581e701d1b9ad7fc2 04:20:17 % Total % Received % Xferd Average Speed Time Time Time Current 04:20:17 Dload Upload Total Spent Left Speed 04:20:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14457 0 0 100 14457 0 64540 --:--:-- --:--:-- --:--:-- 64540 04:20:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/d34c26de534f7f36f56e7b532991befab685f6c2 [Pipeline] } 04:20:18 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:20:19 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives ] 04:20:19 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives 04:20:19 total 16 04:20:19 drwxr-xr-x 3 root root 4096 Sep 22 04:09 . 04:20:19 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 04:09 .. 04:20:19 drwxr-xr-x 2 root root 4096 Sep 22 04:09 cost 04:20:19 -rw-r--r-- 1 root root 86 Sep 22 04:09 cost.csv 04:20:19 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives 04:20:19 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives 04:20:19 total 16 04:20:19 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 04:09 . 04:20:19 drwxrwxr-x 12 jenkins jenkins 4096 Sep 22 04:09 .. 04:20:19 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 04:09 cost 04:20:19 -rw-r--r-- 1 jenkins jenkins 86 Sep 22 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:20:20 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:20:20 ---> package-listing.sh 04:20:20 ++ facter osfamily 04:20:20 ++ tr '[:upper:]' '[:lower:]' 04:20:21 + OS_FAMILY=debian 04:20:21 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1214 04:20:21 + START_PACKAGES=/tmp/packages_start.txt 04:20:21 + END_PACKAGES=/tmp/packages_end.txt 04:20:21 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:20:21 + PACKAGES=/tmp/packages_start.txt 04:20:21 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1214 ']' 04:20:21 + PACKAGES=/tmp/packages_end.txt 04:20:21 + case "${OS_FAMILY}" in 04:20:21 + dpkg -l 04:20:21 + grep '^ii' 04:20:21 + '[' -f /tmp/packages_start.txt ']' 04:20:21 + '[' -f /tmp/packages_end.txt ']' 04:20:21 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:20:21 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1214 ']' 04:20:21 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/ 04:20:21 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1214/archives/ [Pipeline] echo 04:20:21 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-1214/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:20:21 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:20:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:20:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:20:22 prd-ubuntu20.04-docker-8c-8g-527 does not seem to be running inside a container 04:20:22 $ 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-1214/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-1214 -v /w/workspace/gexfoundry_device-sdk-go_PR-1214:/w/workspace/gexfoundry_device-sdk-go_PR-1214:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1214@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:20:22 $ docker top bf07f58aa315d7bae881bfd75a0fb386c3b2a49561b975d817e52091de6e0544 -eo pid,comm [Pipeline] { [Pipeline] sh 04:20:22 + touch /tmp/pre-build-complete [Pipeline] sh 04:20:23 + mkdir -p /var/log/sysstat [Pipeline] sh 04:20:23 + ls /var/log/sa-host 04:20:23 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:20:23 provisioning config files... 04:20:23 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1214@tmp/config3892352808606060369tmp [Pipeline] { [Pipeline] echo 04:20:23 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:20:24 ---> create-netrc.sh [Pipeline] } 04:20:24 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:20:24 ---> python-tools-install.sh [Pipeline] echo 04:20:24 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:20:24 ---> sudo-logs.sh 04:20:24 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:20:24 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:20:25 ---> job-cost.sh 04:20:25 lf-activate-venv: SKIPPING 04:20:25 DEBUG: total: 0.2199999988079071 04:20:25 INFO: Retrieving Stack Cost... 04:20:25 INFO: Retrieving Pricing Info for: v3-standard-8 04:20:26 INFO: Archiving Costs [Pipeline] echo 04:20:26 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:20:26 ---> logs-deploy.sh 04:20:26 lf-activate-venv: SKIPPING 04:20:26 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1214/1 04:20:26 INFO: archiving workspace using pattern(s): 04:20:27 Archives upload complete. 04:20:27 INFO: archiving logs to Nexus