Pull request #1228 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c62688e0678e0ae3027ef2ee08e318d1aa5a87c9+4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb (b97b1949ef380d9172cb8e586e58017b530bd499) 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-ssh14769211589158129181.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-ssh5676263909107791376.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-1228/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-1228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15275648505197819087.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-1228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12430256156667975189.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-ssh16031759326215289190.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-1228/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-1228/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9056307303073141835.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-7133 in /w/workspace/gexfoundry_device-sdk-go_PR-1228 [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-1228 # 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/1228/head:refs/remotes/origin/PR-1228 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb into PR head commit c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 Merge succeeded, producing c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 Checking out Revision c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 (PR-1228) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/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:49:30 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:49:30 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 # 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 4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:49:30 ========================================================= 04:49:30 EdgeX Global Pipelines Version Info 04:49:30 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:49:31 ------------------- 04:49:31 stable info: 04:49:31 ------------------- 04:49:31 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:49:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:49:31 Message: update stable to v1.0.239 04:49:31 ------------------- 04:49:31 experimental info: 04:49:31 ------------------- 04:49:31 Commited By: **** collab-it+edgex@linuxfoundation.org 04:49:31 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:49:31 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:49:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1228 [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1228 [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1228 [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c62688e [Pipeline] echo 04:49:33 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:49:33 provisioning config files... 04:49:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/config5231398666762209049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:33 ---> docker-login.sh 04:49:33 nexus3.edgexfoundry.org:10001 04:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:34 Configure a credential helper to remove this warning. See 04:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:34 04:49:34 Login Succeeded 04:49:34 nexus3.edgexfoundry.org:10002 04:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:34 Configure a credential helper to remove this warning. See 04:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:34 04:49:34 Login Succeeded 04:49:34 nexus3.edgexfoundry.org:10003 04:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:34 Configure a credential helper to remove this warning. See 04:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:34 04:49:34 Login Succeeded 04:49:34 nexus3.edgexfoundry.org:10004 04:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:34 Configure a credential helper to remove this warning. See 04:49:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:34 04:49:34 Login Succeeded 04:49:34 docker.io 04:49:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:35 Configure a credential helper to remove this warning. See 04:49:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:35 04:49:35 Login Succeeded 04:49:35 ---> docker-login.sh ends [Pipeline] } 04:49:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:49:35 + git rev-list -1 --merges c62688e0678e0ae3027ef2ee08e318d1aa5a87c9~1..c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] echo 04:49:36 -----------> git rev-list -1 --merges c62688e0678e0ae3027ef2ee08e318d1aa5a87c9~1..c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [false] [Pipeline] sh 04:49:36 + git log --format=format:%s -1 c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] echo 04:49:36 ========================================================= 04:49:36 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:49:36 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:49:36 + git log --format=format:%s -1 c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] echo 04:49:36 [semverPrep] GIT_COMMIT: c62688e0678e0ae3027ef2ee08e318d1aa5a87c9, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:49:36 [semverPrep] This is not a build commit. [Pipeline] sh 04:49:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:49:37 + grep -v github /etc/ssh/ssh_known_hosts 04:49:37 + [ -e /tmp/ssh_known_hosts ] 04:49:37 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:49:37 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:49:37 + sudo tee -a /etc/ssh/ssh_known_hosts 04:49:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:49:37 04:49:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:49:38 0.1.4: Pulling from edgex-devops/py-git-semver 04:49:38 b85a868b505f: Pulling fs layer 04:49:38 e2be974225ed: Pulling fs layer 04:49:38 339a4e72a1f5: Pulling fs layer 04:49:38 988bab9f4d93: Pulling fs layer 04:49:38 1469e6f7b9e6: Pulling fs layer 04:49:38 eaf3925da568: Pulling fs layer 04:49:38 bab4dde63d76: Pulling fs layer 04:49:38 bde34c3a00c8: Pulling fs layer 04:49:38 b352a97aabf1: Pulling fs layer 04:49:38 4872d77fe225: Pulling fs layer 04:49:38 5851b861e8e6: Pulling fs layer 04:49:38 988bab9f4d93: Waiting 04:49:38 1469e6f7b9e6: Waiting 04:49:38 eaf3925da568: Waiting 04:49:38 bab4dde63d76: Waiting 04:49:38 bde34c3a00c8: Waiting 04:49:38 b352a97aabf1: Waiting 04:49:38 4872d77fe225: Waiting 04:49:38 5851b861e8e6: Waiting 04:49:38 e2be974225ed: Download complete 04:49:38 988bab9f4d93: Download complete 04:49:38 1469e6f7b9e6: Verifying Checksum 04:49:38 1469e6f7b9e6: Download complete 04:49:38 eaf3925da568: Download complete 04:49:38 339a4e72a1f5: Verifying Checksum 04:49:38 339a4e72a1f5: Download complete 04:49:38 bde34c3a00c8: Verifying Checksum 04:49:38 bde34c3a00c8: Download complete 04:49:38 b352a97aabf1: Download complete 04:49:38 4872d77fe225: Verifying Checksum 04:49:38 4872d77fe225: Download complete 04:49:38 5851b861e8e6: Verifying Checksum 04:49:38 5851b861e8e6: Download complete 04:49:38 b85a868b505f: Verifying Checksum 04:49:38 b85a868b505f: Download complete 04:49:38 bab4dde63d76: Verifying Checksum 04:49:38 bab4dde63d76: Download complete 04:49:40 b85a868b505f: Pull complete 04:49:40 e2be974225ed: Pull complete 04:49:40 339a4e72a1f5: Pull complete 04:49:40 988bab9f4d93: Pull complete 04:49:40 1469e6f7b9e6: Pull complete 04:49:40 eaf3925da568: Pull complete 04:49:42 bab4dde63d76: Pull complete 04:49:42 bde34c3a00c8: Pull complete 04:49:42 b352a97aabf1: Pull complete 04:49:42 4872d77fe225: Pull complete 04:49:42 5851b861e8e6: Pull complete 04:49:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:49:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:49:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:49:43 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 04:49:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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:49:45 $ docker top 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b -eo pid,comm 04:49:45 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:49:45 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:49:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:49:45 [ssh-agent] Looking for ssh-agent implementation... 04:49:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:49:45 $ docker exec 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b ssh-agent 04:49:45 SSH_AUTH_SOCK=/tmp/ssh-pAS9PzAwt7XA/agent.32 04:49:45 SSH_AGENT_PID=38 04:49:45 Running ssh-add (command line suppressed) 04:49:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/private_key_12689172226325123171.key (/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/private_key_12689172226325123171.key) 04:49:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:49:46 + git tag --points-at HEAD [Pipeline] } 04:49:46 $ docker exec --env ******** --env ******** 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b ssh-agent -k 04:49:46 unset SSH_AUTH_SOCK; 04:49:46 unset SSH_AGENT_PID; 04:49:46 echo Agent pid 38 killed; 04:49:46 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:49:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:49:46 [ssh-agent] Looking for ssh-agent implementation... 04:49:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:49:46 $ docker exec 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b ssh-agent 04:49:46 SSH_AUTH_SOCK=/tmp/ssh-VRc9Yu8lid7w/agent.70 04:49:46 SSH_AGENT_PID=76 04:49:46 Running ssh-add (command line suppressed) 04:49:46 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/private_key_2345072027236792876.key (/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/private_key_2345072027236792876.key) 04:49:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:49:46 + git semver init 04:49:47 2022-10-05 04:49:47,164 [run_init] DEBUG init version:0.0.0 force:False 04:49:47 2022-10-05 04:49:47,165 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver 04:49:47 2022-10-05 04:49:47,166 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver 04:49:47 2022-10-05 04:49:47,166 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1228, universal_newlines=False, shell=None, istream=None) 04:49:48 2022-10-05 04:49:48,169 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228/.git/info/exclude 04:49:48 2022-10-05 04:49:48,170 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver/PR-1228 with force:False 04:49:48 2022-10-05 04:49:48,170 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver/PR-1228 04:49:48 2022-10-05 04:49:48,174 [execute] INFO git cat-file --batch-check 04:49:48 2022-10-05 04:49:48,174 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver, universal_newlines=False, shell=None, istream=) 04:49:48 2022-10-05 04:49:48,181 [execute] INFO git cat-file --batch 04:49:48 2022-10-05 04:49:48,182 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver, universal_newlines=False, shell=None, istream=) 04:49:48 2022-10-05 04:49:48,187 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1228/.semver/PR-1228 04:49:48 0.0.0 [Pipeline] } 04:49:48 $ docker exec --env ******** --env ******** 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b ssh-agent -k 04:49:48 unset SSH_AUTH_SOCK; 04:49:48 unset SSH_AGENT_PID; 04:49:48 echo Agent pid 76 killed; 04:49:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:49:49 + git semver [Pipeline] } 04:49:49 $ docker stop --time=1 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b 04:49:50 $ docker rm -f 9638803f66d1a297963b1591e87eab304a1fbb3970c5be6f05450f738d1c848b [Pipeline] // withDockerContainer [Pipeline] sh 04:49:51 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:49:51 Stashed 1 file(s) [Pipeline] echo 04:49:51 [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:49:51 provisioning config files... 04:49:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/config11395792460308486815tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:49:52 ---> docker-login.sh 04:49:52 nexus3.edgexfoundry.org:10001 04:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:52 Configure a credential helper to remove this warning. See 04:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:52 04:49:52 Login Succeeded 04:49:52 nexus3.edgexfoundry.org:10002 04:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:52 Configure a credential helper to remove this warning. See 04:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:52 04:49:52 Login Succeeded 04:49:52 nexus3.edgexfoundry.org:10003 04:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:52 Configure a credential helper to remove this warning. See 04:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:52 04:49:52 Login Succeeded 04:49:52 nexus3.edgexfoundry.org:10004 04:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:52 Configure a credential helper to remove this warning. See 04:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:52 04:49:52 Login Succeeded 04:49:52 docker.io 04:49:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:49:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:49:52 Configure a credential helper to remove this warning. See 04:49:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:49:52 04:49:52 Login Succeeded 04:49:52 ---> docker-login.sh ends [Pipeline] } 04:49:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:49:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:49:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:49:53 ========================================================= 04:49:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:49:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:49:53 + 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:49:53 Sending build context to Docker daemon 9.983MB 04:49:53 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:49:53 Step 2/11 : FROM ${BASE} AS builder 04:49:53 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:49:53 2408cc74d12b: Pulling fs layer 04:49:53 ea60b727a1ce: Pulling fs layer 04:49:53 30c4a7721957: Pulling fs layer 04:49:53 370296b7ddb6: Pulling fs layer 04:49:53 7c6cee850709: Pulling fs layer 04:49:53 aa9baa53a306: Pulling fs layer 04:49:53 8b309c321861: Pulling fs layer 04:49:53 d8d76fd02f46: Pulling fs layer 04:49:53 fa31f396de31: Pulling fs layer 04:49:53 7c6cee850709: Waiting 04:49:53 fa31f396de31: Waiting 04:49:53 d8d76fd02f46: Waiting 04:49:53 aa9baa53a306: Waiting 04:49:53 370296b7ddb6: Waiting 04:49:53 8b309c321861: Waiting 04:49:53 30c4a7721957: Verifying Checksum 04:49:53 30c4a7721957: Download complete 04:49:53 ea60b727a1ce: Verifying Checksum 04:49:53 ea60b727a1ce: Download complete 04:49:53 7c6cee850709: Download complete 04:49:53 aa9baa53a306: Verifying Checksum 04:49:53 aa9baa53a306: Download complete 04:49:53 2408cc74d12b: Verifying Checksum 04:49:53 2408cc74d12b: Download complete 04:49:53 8b309c321861: Download complete 04:49:53 2408cc74d12b: Pull complete 04:49:54 ea60b727a1ce: Pull complete 04:49:54 30c4a7721957: Pull complete 04:49:54 fa31f396de31: Verifying Checksum 04:49:54 fa31f396de31: Download complete 04:49:54 d8d76fd02f46: Verifying Checksum 04:49:54 d8d76fd02f46: Download complete 04:49:54 370296b7ddb6: Verifying Checksum 04:49:54 370296b7ddb6: Download complete 04:49:58 370296b7ddb6: Pull complete 04:49:58 7c6cee850709: Pull complete 04:49:58 aa9baa53a306: Pull complete 04:49:58 8b309c321861: Pull complete 04:50:00 d8d76fd02f46: Pull complete 04:50:01 fa31f396de31: Pull complete 04:50:01 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 04:50:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:50:01 ---> cef68f9685f8 04:50:01 Step 3/11 : ARG MAKE=make build 04:50:03 ---> Running in 22a767281f0b 04:50:03 Removing intermediate container 22a767281f0b 04:50:03 ---> 3a5ffaef1927 04:50:03 Step 4/11 : WORKDIR /device-sdk-go 04:50:03 ---> Running in 0fa4bd4d030e 04:50:03 Removing intermediate container 0fa4bd4d030e 04:50:03 ---> bb2f832daa9b 04:50:03 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:50:03 ---> Running in cc26eed463d1 04:50:03 Removing intermediate container cc26eed463d1 04:50:03 ---> 8d310dc4fe25 04:50:03 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:50:03 ---> Running in 7a543d93d633 04:50:04 Removing intermediate container 7a543d93d633 04:50:04 ---> 5b3623b2cecb 04:50:04 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:50:04 ---> Running in 8a45c97e71e5 04:50:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:50:05 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:50:06 OK: 211 MiB in 51 packages 04:50:06 Removing intermediate container 8a45c97e71e5 04:50:06 ---> 3adbc4a37df3 04:50:06 Step 8/11 : COPY go.mod vendor* ./ 04:50:06 ---> 5b142258ae41 04:50:06 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:50:06 ---> Running in 8c14889da997 04:50:06 Still waiting to schedule task 04:50:06 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:50:24 Removing intermediate container 8c14889da997 04:50:24 ---> 21db79720974 04:50:24 Step 10/11 : COPY . . 04:50:24 ---> ce0e04156edd 04:50:24 Step 11/11 : RUN ${MAKE} 04:50:24 ---> Running in 4e4ae17d7be4 04:50:25 noop 04:50:25 Removing intermediate container 4e4ae17d7be4 04:50:25 ---> 58d68620eea9 04:50:25 Successfully built 58d68620eea9 04:50:25 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:25 + docker inspect -f . ci-base-image-x86_64 04:50:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:26 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 04:50:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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:50:26 $ docker top 2787b6020ecb5cccf6aa9dbed8b4c6042d824548f424bd5c1a66cd7449a0660c -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:26 + go version 04:50:26 go version go1.18.3 linux/amd64 [Pipeline] } 04:50:26 $ docker stop --time=1 2787b6020ecb5cccf6aa9dbed8b4c6042d824548f424bd5c1a66cd7449a0660c 04:50:28 $ docker rm -f 2787b6020ecb5cccf6aa9dbed8b4c6042d824548f424bd5c1a66cd7449a0660c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:29 + docker inspect -f . ci-base-image-x86_64 04:50:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:29 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 04:50:29 $ 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-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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:50:29 $ docker top fb33622c1024aeb8285de95494ea3fc7931c98bf1016f27b73a4a293972391ab -eo pid,comm [Pipeline] { [Pipeline] sh 04:50:30 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1228 [Pipeline] fileExists [Pipeline] sh 04:50:30 + make test 04:50:30 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:50:37 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:50:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements 04:50:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.066s coverage: 78.9% of statements 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:50:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.092s coverage: 60.0% of statements 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:50:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.111s coverage: 54.4% of statements 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:50:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 65.1% of statements 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:50:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.749s coverage: 89.2% of statements 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:50:51 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 04:50:51 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:51:10 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:51:10 GO111MODULE=on go vet ./... 04:51:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:51:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:51:11 ./bin/test-attribution-txt.sh 04:51:11 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:51:11 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:51:11 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:51:11 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:51:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:51:12 $ docker stop --time=1 fb33622c1024aeb8285de95494ea3fc7931c98bf1016f27b73a4a293972391ab 04:51:14 $ docker rm -f fb33622c1024aeb8285de95494ea3fc7931c98bf1016f27b73a4a293972391ab [Pipeline] // withDockerContainer [Pipeline] sh 04:51:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:51:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:51:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:51:15 + ls -al . 04:51:15 total 276 04:51:15 drwxrwxr-x 11 jenkins jenkins 4096 Oct 5 04:50 . 04:51:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:49 .. 04:51:15 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 04:49 .dockerignore 04:51:15 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:50 .git 04:51:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:49 .github 04:51:15 -rw-rw-r-- 1 jenkins jenkins 131 Oct 5 04:49 .gitignore 04:51:15 -rw-rw-r-- 1 jenkins jenkins 42 Oct 5 04:49 .golangci.yml 04:51:15 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 04:49 .semver 04:51:15 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 5 04:49 CHANGELOG.md 04:51:15 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:49 GOVERNANCE.md 04:51:15 -rw-rw-r-- 1 jenkins jenkins 880 Oct 5 04:49 Jenkinsfile 04:51:15 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 04:49 LICENSE 04:51:15 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 5 04:49 Makefile 04:51:15 -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 04:49 OWNERS.md 04:51:15 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 5 04:49 README.md 04:51:15 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:49 VERSION 04:51:15 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:49 bin 04:51:15 -rw-r--r-- 1 jenkins jenkins 101009 Oct 5 04:50 coverage.out 04:51:15 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 04:49 example 04:51:15 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 5 04:49 go.mod 04:51:15 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 5 04:49 go.sum 04:51:15 drwxrwxr-x 14 jenkins jenkins 4096 Oct 5 04:49 internal 04:51:15 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:49 openapi 04:51:15 drwxrwxr-x 6 jenkins jenkins 4096 Oct 5 04:49 pkg 04:51:15 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:49 snap 04:51:15 -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 04:49 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:16 + 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=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 --label arch=amd64 --label version=0.0.0 . 04:51:16 Sending build context to Docker daemon 10.09MB 04:51:16 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:51:16 Step 2/25 : FROM ${BASE} AS builder 04:51:16 ---> 58d68620eea9 04:51:16 Step 3/25 : ARG MAKE=make build 04:51:16 ---> Running in 9e3c589caf2d 04:51:16 Removing intermediate container 9e3c589caf2d 04:51:16 ---> 6f3ffb33a0f3 04:51:16 Step 4/25 : WORKDIR /device-sdk-go 04:51:16 ---> Running in eca7cd84a945 04:51:16 Removing intermediate container eca7cd84a945 04:51:16 ---> 8b64be37728c 04:51:16 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:51:16 ---> Running in 185d1fa1d6d2 04:51:16 Removing intermediate container 185d1fa1d6d2 04:51:16 ---> f700ab9bff44 04:51:16 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:51:16 ---> Running in a2c74a3995ac 04:51:17 Removing intermediate container a2c74a3995ac 04:51:17 ---> d81bf3a0ceb9 04:51:17 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:51:17 ---> Running in b8d1593886e8 04:51:17 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:51:18 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:51:18 OK: 211 MiB in 51 packages 04:51:19 Removing intermediate container b8d1593886e8 04:51:19 ---> b631120e8718 04:51:19 Step 8/25 : COPY go.mod vendor* ./ 04:51:19 ---> 1382c9a69cf7 04:51:19 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:51:19 ---> Running in 642f1fc633b8 04:51:19 Removing intermediate container 642f1fc633b8 04:51:19 ---> 6933e0b584b6 04:51:19 Step 10/25 : COPY . . 04:51:20 ---> 593373ea6523 04:51:20 Step 11/25 : RUN ${MAKE} 04:51:20 ---> Running in 67a13ca97e77 04:51:20 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:51:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7134 in /w/workspace/gexfoundry_device-sdk-go_PR-1228 [Pipeline] { [Pipeline] ws 04:51:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:51:36 The recommended git tool is: git 04:51:38 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:51:39 Removing intermediate container 67a13ca97e77 04:51:39 ---> 137c8f9e6537 04:51:39 Step 12/25 : FROM alpine:3.16 04:51:39 3.16: Pulling from library/alpine 04:51:39 213ec9aee27d: Pulling fs layer 04:51:39 213ec9aee27d: Verifying Checksum 04:51:39 213ec9aee27d: Download complete 04:51:40 213ec9aee27d: Pull complete 04:51:40 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:51:40 Status: Downloaded newer image for alpine:3.16 04:51:40 ---> 9c6f07244728 04:51:40 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:51:40 ---> Running in 661c314529ad 04:51:40 Removing intermediate container 661c314529ad 04:51:40 ---> 2f4ad4013ab4 04:51:40 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:51:40 ---> Running in 6107ee1e7b34 04:51:40 Removing intermediate container 6107ee1e7b34 04:51:40 ---> 3246de0bce9e 04:51:40 Step 15/25 : RUN apk add --update --no-cache zeromq 04:51:40 ---> Running in 5fc1968d4bff 04:51:41 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:51:41 using credential edgex-jenkins-ssh 04:51:41 Cloning the remote Git repository 04:51:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:51:42 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:51:41 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:51:41 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:51:41 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:51:41 > git --version # timeout=10 04:51:41 > git --version # 'git version 2.25.1' 04:51:41 using GIT_SSH to set credentials SSH Credentials for GitHub 04:51:41 Verifying host key using known hosts file 04:51:41 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:51:41 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:51:42 (2/5) Installing libsodium (1.0.18-r0) 04:51:42 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:51:42 (4/5) Installing libzmq (4.3.4-r0) 04:51:42 (5/5) Installing zeromq (4.3.4-r0) 04:51:42 Executing busybox-1.35.0-r17.trigger 04:51:42 OK: 8 MiB in 19 packages 04:51:43 Removing intermediate container 5fc1968d4bff 04:51:43 ---> cf61c4329790 04:51:43 Step 16/25 : WORKDIR / 04:51:43 ---> Running in 2a0b306e2101 04:51:43 Removing intermediate container 2a0b306e2101 04:51:43 ---> dd2dadc81f40 04:51:43 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:51:43 ---> 18ef59f771e8 04:51:43 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:51:43 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:51:43 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:51:44 ---> f1727eae00ff 04:51:44 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:51:44 ---> 215e2bf91dfa 04:51:44 Step 20/25 : EXPOSE 59999 04:51:44 ---> Running in d9cf835c592e 04:51:44 Merging remotes/origin/main commit 4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb into PR head commit c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 04:51:44 Removing intermediate container d9cf835c592e 04:51:44 ---> baab92547a17 04:51:44 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:51:44 ---> Running in 75bb22a0549c 04:51:44 Removing intermediate container 75bb22a0549c 04:51:44 ---> 303f964bf562 04:51:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:51:44 ---> Running in 15d528b8aec6 04:51:45 Merge succeeded, producing c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 04:51:45 Checking out Revision c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 (PR-1228) 04:51:45 Removing intermediate container 15d528b8aec6 04:51:45 ---> d4c5b76cd123 04:51:45 Step 23/25 : LABEL arch=amd64 04:51:45 ---> Running in b16ae167267b 04:51:45 Removing intermediate container b16ae167267b 04:51:45 ---> 3a61c1676435 04:51:45 Step 24/25 : LABEL git_sha=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 04:51:45 ---> Running in 9885b9537b81 04:51:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:51:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:51:44 using GIT_SSH to set credentials SSH Credentials for GitHub 04:51:44 Verifying host key using known hosts file 04:51:44 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:51:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1228/head:refs/remotes/origin/PR-1228 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:51:44 > git config core.sparsecheckout # timeout=10 04:51:44 > git checkout -f c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 # timeout=10 04:51:45 > git remote # timeout=10 04:51:45 > git config --get remote.origin.url # timeout=10 04:51:45 using GIT_SSH to set credentials SSH Credentials for GitHub 04:51:45 Verifying host key using known hosts file 04:51:45 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:51:45 > git merge 4cdfac307ff5ecfa9b334dec4fe858139c1fd9cb # timeout=10 04:51:45 > git rev-parse HEAD^{commit} # timeout=10 04:51:45 > git config core.sparsecheckout # timeout=10 04:51:45 > git checkout -f c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 # timeout=10 04:51:45 Removing intermediate container 9885b9537b81 04:51:45 ---> 3f9b9cd9ea2f 04:51:45 Step 25/25 : LABEL version=0.0.0 04:51:45 ---> Running in 01159bc5cf8b 04:51:45 Removing intermediate container 01159bc5cf8b 04:51:45 ---> 24e39fdefd24 04:51:45 [Warning] One or more build-args [ARCH] were not consumed 04:51:45 Successfully built 24e39fdefd24 04:51:45 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) 04:51:45 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" Stage "Docker Push" skipped due to when conditional [Pipeline] } 04:51:45 > git --version # timeout=10 04:51:45 > git --version # 'git version 2.25.1' 04:51:45 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [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 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 04:51:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:51:46 04:51:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:46 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:51:46 % Total % Received % Xferd Average Speed Time Time Time Current 04:51:46 Dload Upload Total Spent Left Speed 04:51:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78273 0 --:--:-- --:--:-- --:--:-- 78273 04:51:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:51:46 latest: Pulling from edgex-lftools-log-publisher 04:51:46 5eb5b503b376: Pulling fs layer 04:51:46 5c69ac0246d0: Pulling fs layer 04:51:46 ec43610c2a17: Pulling fs layer 04:51:46 3a2ae6a8a46f: Pulling fs layer 04:51:46 33b1e0a273af: Pulling fs layer 04:51:46 5d3b04190fa2: Pulling fs layer 04:51:46 2f39f015ded8: Pulling fs layer 04:51:46 2f39f015ded8: Waiting 04:51:46 5d3b04190fa2: Waiting 04:51:46 3a2ae6a8a46f: Waiting 04:51:46 33b1e0a273af: Waiting 04:51:46 5c69ac0246d0: Verifying Checksum 04:51:46 5c69ac0246d0: Download complete 04:51:46 3a2ae6a8a46f: Verifying Checksum 04:51:46 3a2ae6a8a46f: Download complete 04:51:46 33b1e0a273af: Verifying Checksum 04:51:46 33b1e0a273af: Download complete [Pipeline] sh 04:51:47 5d3b04190fa2: Verifying Checksum 04:51:47 5d3b04190fa2: Download complete 04:51:47 ec43610c2a17: Verifying Checksum 04:51:47 ec43610c2a17: Download complete 04:51:47 5eb5b503b376: Verifying Checksum 04:51:47 5eb5b503b376: Download complete 04:51:47 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:51:47 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:51:47 + sudo tee /etc/docker/daemon.new 04:51:47 { 04:51:47 "registry-mirrors": [ 04:51:47 "https://nexus3.edgexfoundry.org:10001" 04:51:47 ], 04:51:47 "bip": "10.250.0.254/24", 04:51:47 "hosts": [ 04:51:47 "tcp://0.0.0.0:5555", 04:51:47 "unix:///var/run/docker.sock" 04:51:47 ], 04:51:47 "mtu": 1458, 04:51:47 "selinux-enabled": true, 04:51:47 "seccomp-profile": "/etc/docker/seccomp.json" 04:51:47 } 04:51:47 2f39f015ded8: Download complete [Pipeline] sh 04:51:48 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:51:48 5eb5b503b376: Pull complete 04:51:48 + sudo service docker restart 04:51:48 5c69ac0246d0: Pull complete 04:51:48 ec43610c2a17: Pull complete 04:51:48 3a2ae6a8a46f: Pull complete 04:51:49 33b1e0a273af: Pull complete 04:51:49 5d3b04190fa2: Pull complete 04:51:53 2f39f015ded8: Pull complete 04:51:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:51:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:51:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:53 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 04:51:53 $ 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-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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:51:55 $ docker top 02235c672c53540d923a4085eedb135de8b4d89f80dbc3a8e6aafd6d5d20a4b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:51:55 ---> job-cost.sh 04:51:55 lf-activate-venv: SKIPPING 04:51:55 INFO: No Stack... 04:51:56 INFO: Retrieving Pricing Info for: v3-standard-8 04:51:56 INFO: Archiving Costs [Pipeline] sh 04:51:56 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives/cost.csv 04:51:56 + cut -d, -f6 [Pipeline] lock 04:51:56 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] 04:51:56 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] did not exist. Created. 04:51:56 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:51:57 + echo total: 0.2199999988079071 [Pipeline] stash 04:51:57 Stashed 1 file(s) [Pipeline] } 04:51:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:51:57 $ docker stop --time=1 02235c672c53540d923a4085eedb135de8b4d89f80dbc3a8e6aafd6d5d20a4b4 04:51:58 $ docker rm -f 02235c672c53540d923a4085eedb135de8b4d89f80dbc3a8e6aafd6d5d20a4b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:52:06 provisioning config files... 04:52:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4970669457796959246tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:52:07 ---> docker-login.sh 04:52:07 nexus3.edgexfoundry.org:10001 04:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:07 Configure a credential helper to remove this warning. See 04:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:07 04:52:07 Login Succeeded 04:52:07 nexus3.edgexfoundry.org:10002 04:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:07 Configure a credential helper to remove this warning. See 04:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:07 04:52:07 Login Succeeded 04:52:07 nexus3.edgexfoundry.org:10003 04:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:08 Configure a credential helper to remove this warning. See 04:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:08 04:52:08 Login Succeeded 04:52:08 nexus3.edgexfoundry.org:10004 04:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:08 Configure a credential helper to remove this warning. See 04:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:08 04:52:08 Login Succeeded 04:52:08 docker.io 04:52:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:52:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:52:09 Configure a credential helper to remove this warning. See 04:52:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:52:09 04:52:09 Login Succeeded 04:52:09 ---> docker-login.sh ends [Pipeline] } 04:52:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:52:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:52:09 ========================================================= 04:52:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:52:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:10 + 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:52:10 Sending build context to Docker daemon 5.361MB 04:52:10 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:52:10 Step 2/11 : FROM ${BASE} AS builder 04:52:10 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:52:10 b3c136eddcbf: Pulling fs layer 04:52:10 c0a3192eca97: Pulling fs layer 04:52:10 a050256f5b6f: Pulling fs layer 04:52:10 656be50a0ddc: Pulling fs layer 04:52:10 2bbca73fdf42: Pulling fs layer 04:52:10 f607e4fc86c3: Pulling fs layer 04:52:10 4d572c569a2c: Pulling fs layer 04:52:10 fcf976331f73: Pulling fs layer 04:52:10 656be50a0ddc: Waiting 04:52:10 f607e4fc86c3: Waiting 04:52:10 4d572c569a2c: Waiting 04:52:10 fcf976331f73: Waiting 04:52:10 2bbca73fdf42: Waiting 04:52:10 a050256f5b6f: Download complete 04:52:10 c0a3192eca97: Verifying Checksum 04:52:10 c0a3192eca97: Download complete 04:52:10 2bbca73fdf42: Verifying Checksum 04:52:10 2bbca73fdf42: Download complete 04:52:10 f607e4fc86c3: Verifying Checksum 04:52:10 f607e4fc86c3: Download complete 04:52:10 b3c136eddcbf: Verifying Checksum 04:52:10 b3c136eddcbf: Download complete 04:52:11 b3c136eddcbf: Pull complete 04:52:11 fcf976331f73: Verifying Checksum 04:52:11 fcf976331f73: Download complete 04:52:12 c0a3192eca97: Pull complete 04:52:12 a050256f5b6f: Pull complete 04:52:13 4d572c569a2c: Verifying Checksum 04:52:13 4d572c569a2c: Download complete 04:52:13 656be50a0ddc: Verifying Checksum 04:52:13 656be50a0ddc: Download complete 04:52:26 656be50a0ddc: Pull complete 04:52:26 2bbca73fdf42: Pull complete 04:52:26 f607e4fc86c3: Pull complete 04:52:32 4d572c569a2c: Pull complete 04:52:34 fcf976331f73: Pull complete 04:52:34 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 04:52:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:52:34 ---> 3970a7415f9e 04:52:34 Step 3/11 : ARG MAKE=make build 04:52:36 ---> Running in 50a16b4281ee 04:52:36 Removing intermediate container 50a16b4281ee 04:52:36 ---> f17479eb1eb1 04:52:36 Step 4/11 : WORKDIR /device-sdk-go 04:52:36 ---> Running in 4b7e6c3bc95c 04:52:36 Removing intermediate container 4b7e6c3bc95c 04:52:36 ---> 5b50f1e2877a 04:52:36 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:52:36 ---> Running in 0cea0f8959ae 04:52:36 Removing intermediate container 0cea0f8959ae 04:52:36 ---> 96e668056dde 04:52:36 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:52:36 ---> Running in 79ef862ae688 04:52:38 Removing intermediate container 79ef862ae688 04:52:38 ---> 689b12ab748a 04:52:38 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:52:38 ---> Running in bcba3bcc96a5 04:52:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:52:40 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:52:41 OK: 221 MiB in 51 packages 04:52:42 Removing intermediate container bcba3bcc96a5 04:52:42 ---> 1af8ad0119a3 04:52:42 Step 8/11 : COPY go.mod vendor* ./ 04:52:43 ---> af5187931be1 04:52:43 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:52:43 ---> Running in 9743fde50c22 04:53:29 Removing intermediate container 9743fde50c22 04:53:29 ---> 853514f4cd03 04:53:29 Step 10/11 : COPY . . 04:53:29 ---> 43e3409dfb49 04:53:29 Step 11/11 : RUN ${MAKE} 04:53:29 ---> Running in db41c0724786 04:53:30 noop 04:53:30 Removing intermediate container db41c0724786 04:53:30 ---> 820179fbf9fc 04:53:30 Successfully built 820179fbf9fc 04:53:30 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:31 + docker inspect -f . ci-base-image-arm64 04:53:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:31 prd-ubuntu20.04-docker-arm64-4c-16g-7134 does not seem to be running inside a container 04:53:31 $ 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:53:32 $ docker top a10980f1c96d63c3c4b299ef8a28546bd0fd7e38e5c4b3089564187a2ecbaf91 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:33 + go version 04:53:33 go version go1.18.3 linux/arm64 [Pipeline] } 04:53:33 $ docker stop --time=1 a10980f1c96d63c3c4b299ef8a28546bd0fd7e38e5c4b3089564187a2ecbaf91 04:53:35 $ docker rm -f a10980f1c96d63c3c4b299ef8a28546bd0fd7e38e5c4b3089564187a2ecbaf91 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:53:36 + docker inspect -f . ci-base-image-arm64 04:53:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:53:36 prd-ubuntu20.04-docker-arm64-4c-16g-7134 does not seem to be running inside a container 04:53:36 $ 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:53:37 $ docker top 08345fade32c6d4723b6a6a582968a904548372131687381858bf3b97c9b7087 -eo pid,comm [Pipeline] { [Pipeline] sh 04:53:38 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:53:38 + make test 04:53:38 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:54:10 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:56:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.526s coverage: 27.6% of statements 04:56:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.422s coverage: 78.9% of statements 04:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:56:17 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.630s coverage: 60.0% of statements 04:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:56:17 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:56:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.573s coverage: 54.4% of statements 04:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:56:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.495s coverage: 65.1% of statements 04:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:56:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.910s coverage: 89.2% of statements 04:56:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:56:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.247s coverage: 4.7% of statements 04:56:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:56:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:56:24 GO111MODULE=on go vet ./... 04:58:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:58:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:58:01 ./bin/test-attribution-txt.sh 04:58:01 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:58:01 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:58:01 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:58:01 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:58:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:58:01 $ docker stop --time=1 08345fade32c6d4723b6a6a582968a904548372131687381858bf3b97c9b7087 04:58:03 $ docker rm -f 08345fade32c6d4723b6a6a582968a904548372131687381858bf3b97c9b7087 [Pipeline] // withDockerContainer [Pipeline] sh 04:58:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:58:04 Warning: overwriting stash ‘coverage-report’ 04:58:05 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:58:05 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:58:06 + ls -al . 04:58:06 total 272 04:58:06 drwxrwxr-x 10 jenkins jenkins 4096 Oct 5 04:53 . 04:58:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:51 .. 04:58:06 -rw-rw-r-- 1 jenkins jenkins 140 Oct 5 04:51 .dockerignore 04:58:06 drwxrwxr-x 8 jenkins jenkins 4096 Oct 5 04:51 .git 04:58:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:51 .github 04:58:06 -rw-rw-r-- 1 jenkins jenkins 131 Oct 5 04:51 .gitignore 04:58:06 -rw-rw-r-- 1 jenkins jenkins 42 Oct 5 04:51 .golangci.yml 04:58:06 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 5 04:51 CHANGELOG.md 04:58:06 -rw-rw-r-- 1 jenkins jenkins 677 Oct 5 04:51 GOVERNANCE.md 04:58:06 -rw-rw-r-- 1 jenkins jenkins 880 Oct 5 04:51 Jenkinsfile 04:58:06 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 5 04:51 LICENSE 04:58:06 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 5 04:51 Makefile 04:58:06 -rw-rw-r-- 1 jenkins jenkins 619 Oct 5 04:51 OWNERS.md 04:58:06 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 5 04:51 README.md 04:58:06 -rw-rw-r-- 1 jenkins jenkins 5 Oct 5 04:49 VERSION 04:58:06 drwxrwxr-x 2 jenkins jenkins 4096 Oct 5 04:51 bin 04:58:06 -rw-r--r-- 1 jenkins jenkins 101009 Oct 5 04:56 coverage.out 04:58:06 drwxrwxr-x 5 jenkins jenkins 4096 Oct 5 04:51 example 04:58:06 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 5 04:51 go.mod 04:58:06 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 5 04:51 go.sum 04:58:06 drwxrwxr-x 14 jenkins jenkins 4096 Oct 5 04:51 internal 04:58:06 drwxrwxr-x 3 jenkins jenkins 4096 Oct 5 04:51 openapi 04:58:06 drwxrwxr-x 6 jenkins jenkins 4096 Oct 5 04:51 pkg 04:58:06 drwxrwxr-x 4 jenkins jenkins 4096 Oct 5 04:51 snap 04:58:06 -rw-rw-r-- 1 jenkins jenkins 222 Oct 5 04:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:58:06 + 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=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 --label arch=arm64 --label version=0.0.0 . 04:58:07 Sending build context to Docker daemon 5.463MB 04:58:07 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:58:07 Step 2/25 : FROM ${BASE} AS builder 04:58:07 ---> 820179fbf9fc 04:58:07 Step 3/25 : ARG MAKE=make build 04:58:07 ---> Running in a1b5ecb70260 04:58:07 Removing intermediate container a1b5ecb70260 04:58:07 ---> 2bebdaf4a512 04:58:07 Step 4/25 : WORKDIR /device-sdk-go 04:58:07 ---> Running in 554eea0fe0e8 04:58:08 Removing intermediate container 554eea0fe0e8 04:58:08 ---> 35d67ca23907 04:58:08 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:58:08 ---> Running in 35c7063a4ea0 04:58:08 Removing intermediate container 35c7063a4ea0 04:58:08 ---> 150295464dd6 04:58:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:58:08 ---> Running in 35dbaed29208 04:58:09 Removing intermediate container 35dbaed29208 04:58:09 ---> 9c4173132c9a 04:58:09 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:58:09 ---> Running in 1fd9072ee664 04:58:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:58:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:58:12 OK: 221 MiB in 51 packages 04:58:13 Removing intermediate container 1fd9072ee664 04:58:13 ---> 8e51eab6d5e9 04:58:13 Step 8/25 : COPY go.mod vendor* ./ 04:58:14 ---> c75148fffa41 04:58:14 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:58:14 ---> Running in 6d29551c8237 04:58:16 Removing intermediate container 6d29551c8237 04:58:16 ---> 552c1a0f703d 04:58:16 Step 10/25 : COPY . . 04:58:17 ---> 5837f4edea13 04:58:17 Step 11/25 : RUN ${MAKE} 04:58:17 ---> Running in 61e8d449a55a 04:58:17 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 05:00:39 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 05:00:39 Removing intermediate container 61e8d449a55a 05:00:39 ---> 04bd9be4328e 05:00:39 Step 12/25 : FROM alpine:3.16 05:00:39 3.16: Pulling from library/alpine 05:00:39 9b18e9b68314: Pulling fs layer 05:00:39 9b18e9b68314: Verifying Checksum 05:00:39 9b18e9b68314: Download complete 05:00:39 9b18e9b68314: Pull complete 05:00:39 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 05:00:39 Status: Downloaded newer image for alpine:3.16 05:00:39 ---> a6215f271958 05:00:39 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:00:39 ---> Running in a94ee378dc61 05:00:39 Removing intermediate container a94ee378dc61 05:00:39 ---> d2ba23fa09e9 05:00:39 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 05:00:39 ---> Running in c19b52bea9fd 05:00:39 Removing intermediate container c19b52bea9fd 05:00:39 ---> 13d45451af27 05:00:39 Step 15/25 : RUN apk add --update --no-cache zeromq 05:00:39 ---> Running in 71bf204a9ec3 05:00:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 05:00:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 05:00:39 (1/5) Installing libgcc (11.2.1_git20220219-r2) 05:00:39 (2/5) Installing libsodium (1.0.18-r0) 05:00:39 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 05:00:39 (4/5) Installing libzmq (4.3.4-r0) 05:00:39 (5/5) Installing zeromq (4.3.4-r0) 05:00:39 Executing busybox-1.35.0-r17.trigger 05:00:39 OK: 8 MiB in 19 packages 05:00:40 Removing intermediate container 71bf204a9ec3 05:00:40 ---> 4b016fe08b94 05:00:40 Step 16/25 : WORKDIR / 05:00:40 ---> Running in 33e1e13c2314 05:00:41 Removing intermediate container 33e1e13c2314 05:00:41 ---> 6a6d4334e8a4 05:00:41 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:00:41 ---> e8c20e275273 05:00:41 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:00:42 ---> 159c87acb4cf 05:00:42 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:00:43 ---> 5cf6f0dca1bc 05:00:43 Step 20/25 : EXPOSE 59999 05:00:43 ---> Running in df25f093ec22 05:00:43 Removing intermediate container df25f093ec22 05:00:43 ---> 8ca17d6a5271 05:00:43 Step 21/25 : ENTRYPOINT ["/device-simple"] 05:00:43 ---> Running in 4f5db1af8fbe 05:00:44 Removing intermediate container 4f5db1af8fbe 05:00:44 ---> b4aba8f4d969 05:00:44 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 05:00:44 ---> Running in 70f7bfced861 05:00:44 Removing intermediate container 70f7bfced861 05:00:44 ---> edabe6dbeb63 05:00:44 Step 23/25 : LABEL arch=arm64 05:00:44 ---> Running in 10825ee3d5c2 05:00:44 Removing intermediate container 10825ee3d5c2 05:00:44 ---> d4899057cb09 05:00:44 Step 24/25 : LABEL git_sha=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 05:00:45 ---> Running in 3380fdd26b6a 05:00:45 Removing intermediate container 3380fdd26b6a 05:00:45 ---> 08b131f33495 05:00:45 Step 25/25 : LABEL version=0.0.0 05:00:45 ---> Running in 531d40bdf718 05:00:45 Removing intermediate container 531d40bdf718 05:00:45 ---> 3f4ebeef2f35 05:00:45 [Warning] One or more build-args [ARCH] were not consumed 05:00:45 Successfully built 3f4ebeef2f35 05:00:45 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 05:00:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:00:46 05:00:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:00:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:00:47 arm64: Pulling from edgex-lftools-log-publisher 05:00:47 8998bd30e6a1: Pulling fs layer 05:00:47 04944245beec: Pulling fs layer 05:00:47 699f458cf7ca: Pulling fs layer 05:00:47 765212b225bb: Pulling fs layer 05:00:47 f23df028b6ca: Pulling fs layer 05:00:47 d65c8cfc05b1: Pulling fs layer 05:00:47 2437ff75d9bd: Pulling fs layer 05:00:47 f23df028b6ca: Waiting 05:00:47 d65c8cfc05b1: Waiting 05:00:47 2437ff75d9bd: Waiting 05:00:47 765212b225bb: Waiting 05:00:47 04944245beec: Verifying Checksum 05:00:47 04944245beec: Download complete 05:00:47 765212b225bb: Download complete 05:00:47 f23df028b6ca: Verifying Checksum 05:00:47 f23df028b6ca: Download complete 05:00:47 d65c8cfc05b1: Verifying Checksum 05:00:47 d65c8cfc05b1: Download complete 05:00:47 699f458cf7ca: Verifying Checksum 05:00:47 699f458cf7ca: Download complete 05:00:48 8998bd30e6a1: Verifying Checksum 05:00:48 8998bd30e6a1: Download complete 05:00:49 2437ff75d9bd: Verifying Checksum 05:00:49 2437ff75d9bd: Download complete 05:00:51 8998bd30e6a1: Pull complete 05:00:52 04944245beec: Pull complete 05:00:53 699f458cf7ca: Pull complete 05:00:53 765212b225bb: Pull complete 05:00:54 f23df028b6ca: Pull complete 05:00:55 d65c8cfc05b1: Pull complete 05:01:10 2437ff75d9bd: Pull complete 05:01:10 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:01:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:01:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:10 prd-ubuntu20.04-docker-arm64-4c-16g-7134 does not seem to be running inside a container 05:01:10 $ 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 05:01:13 $ docker top f8344484eb487ca86259efbd727b1dd4898d75e88b0a40d8d0ae6a8001f57710 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:01:14 ---> job-cost.sh 05:01:14 lf-activate-venv: SKIPPING 05:01:14 INFO: No Stack... 05:01:14 INFO: Retrieving Pricing Info for: v3-standard-4 05:01:15 INFO: Archiving Costs [Pipeline] sh 05:01:15 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 05:01:15 + cut -d, -f6 [Pipeline] lock 05:01:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] 05:01:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] did not exist. Created. 05:01:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:01:16 /w/workspace/device-sdk-go/1@tmp/durable-a1f007bf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:01:16 + echo total: 0.10999999940395355 [Pipeline] stash 05:01:16 Warning: overwriting stash ‘stack-cost’ 05:01:16 Stashed 1 file(s) [Pipeline] } 05:01:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1228-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:01:17 $ docker stop --time=1 f8344484eb487ca86259efbd727b1dd4898d75e88b0a40d8d0ae6a8001f57710 05:01:18 $ docker rm -f f8344484eb487ca86259efbd727b1dd4898d75e88b0a40d8d0ae6a8001f57710 [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 05:01:19 provisioning config files... 05:01:19 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/config13162732146576767251tmp [Pipeline] { [Pipeline] sh 05:01:19 + set +x 05:01:19 + curl -s https://codecov.io/bash 05:01:19 + bash -s -- 05:01:19 05:01:19 _____ _ 05:01:19 / ____| | | 05:01:19 | | ___ __| | ___ ___ _____ __ 05:01:19 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:01:19 | |___| (_) | (_| | __/ (_| (_) \ V / 05:01:19 \_____\___/ \__,_|\___|\___\___/ \_/ 05:01:19 Bash-1.0.6 05:01:19 05:01:19 05:01:19 ==> git version 2.25.1 found 05:01:19 ==> 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 05:01:19 Release-Date: 2020-01-08 05:01:19 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:01:19 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:01:19 ==> Jenkins CI detected. 05:01:19 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1228 05:01:19 project root: . 05:01:19 --> token set from env 05:01:19 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:01:19 ==> Running gcov in . (disable via -X gcov) 05:01:19 ==> Python coveragepy not found 05:01:19 ==> Searching for coverage reports in: 05:01:19 + . 05:01:19 -> Found 1 reports 05:01:19 ==> Detecting git/mercurial file structure 05:01:19 ==> Reading reports 05:01:19 + ./coverage.out bytes=101009 05:01:19 ==> Appending adjustments 05:01:19 https://docs.codecov.io/docs/fixing-reports 05:01:20 + Found adjustments 05:01:20 ==> Gzipping contents 05:01:20 16K /tmp/codecov.7NcLpJ.gz 05:01:20 ==> Uploading reports 05:01:20 url: https://codecov.io 05:01:20 query: branch=PR-1228&commit=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1228&job=&cmd_args= 05:01:20 -> Pinging Codecov 05:01:20 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1228&commit=c62688e0678e0ae3027ef2ee08e318d1aa5a87c9&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1228&job=&cmd_args= 05:01:20 -> Uploading to 05:01:20 https://storage.googleapis.com/codecov/v4/raw/2022-10-05/7E55EF52A471D76F132DFD9A03CDDE97/c62688e0678e0ae3027ef2ee08e318d1aa5a87c9/6f2f427f-ceee-412c-8517-c893ab351653.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221005%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221005T050120Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0125310f2ff18126ba8991f3c15f9fe063db3cb6e2958b609b0f4029cd2c2745 05:01:20 % Total % Received % Xferd Average Speed Time Time Time Current 05:01:20 Dload Upload Total Spent Left Speed 05:01:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14579 0 0 100 14579 0 66268 --:--:-- --:--:-- --:--:-- 65968 100 14579 0 0 100 14579 0 58083 --:--:-- --:--:-- --:--:-- 57853 05:01:20 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c62688e0678e0ae3027ef2ee08e318d1aa5a87c9 [Pipeline] } 05:01:20 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 05:01:22 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives ] 05:01:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives 05:01:22 total 16 05:01:22 drwxr-xr-x 3 root root 4096 Oct 5 04:51 . 05:01:22 drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:51 .. 05:01:22 drwxr-xr-x 2 root root 4096 Oct 5 04:51 cost 05:01:22 -rw-r--r-- 1 root root 86 Oct 5 04:51 cost.csv 05:01:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives 05:01:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives 05:01:22 total 16 05:01:22 drwxr-xr-x 3 jenkins jenkins 4096 Oct 5 04:51 . 05:01:22 drwxrwxr-x 12 jenkins jenkins 4096 Oct 5 04:51 .. 05:01:22 drwxr-xr-x 2 jenkins jenkins 4096 Oct 5 04:51 cost 05:01:22 -rw-r--r-- 1 jenkins jenkins 86 Oct 5 04:51 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:01:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:01:23 ---> package-listing.sh 05:01:23 ++ facter osfamily 05:01:23 ++ tr '[:upper:]' '[:lower:]' 05:01:24 + OS_FAMILY=debian 05:01:24 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1228 05:01:24 + START_PACKAGES=/tmp/packages_start.txt 05:01:24 + END_PACKAGES=/tmp/packages_end.txt 05:01:24 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:01:24 + PACKAGES=/tmp/packages_start.txt 05:01:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1228 ']' 05:01:24 + PACKAGES=/tmp/packages_end.txt 05:01:24 + case "${OS_FAMILY}" in 05:01:24 + dpkg -l 05:01:24 + grep '^ii' 05:01:24 + '[' -f /tmp/packages_start.txt ']' 05:01:24 + '[' -f /tmp/packages_end.txt ']' 05:01:24 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:01:24 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1228 ']' 05:01:24 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives/ 05:01:24 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1228/archives/ [Pipeline] echo 05:01:24 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-1228/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:01:24 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:01:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:01:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:01:25 prd-ubuntu20.04-docker-8c-8g-7133 does not seem to be running inside a container 05:01:25 $ 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-1228/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-1228 -v /w/workspace/gexfoundry_device-sdk-go_PR-1228:/w/workspace/gexfoundry_device-sdk-go_PR-1228:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1228@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 05:01:25 $ docker top 539990c79e1a94e6cef1e0f4891f701a0a07707234248d8b75d64ae44610c0f2 -eo pid,comm [Pipeline] { [Pipeline] sh 05:01:25 + touch /tmp/pre-build-complete [Pipeline] sh 05:01:26 + mkdir -p /var/log/sysstat [Pipeline] sh 05:01:26 + ls /var/log/sa-host 05:01:26 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:01:26 provisioning config files... 05:01:26 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1228@tmp/config12985269941763993682tmp [Pipeline] { [Pipeline] echo 05:01:26 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:01:27 ---> create-netrc.sh [Pipeline] } 05:01:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:01:27 ---> python-tools-install.sh [Pipeline] echo 05:01:27 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:01:27 ---> sudo-logs.sh 05:01:27 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:01:27 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:01:28 ---> job-cost.sh 05:01:28 lf-activate-venv: SKIPPING 05:01:28 DEBUG: total: 0.2199999988079071 05:01:28 INFO: Retrieving Stack Cost... 05:01:28 INFO: Retrieving Pricing Info for: v3-standard-8 05:01:29 INFO: Archiving Costs [Pipeline] echo 05:01:29 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:01:29 ---> logs-deploy.sh 05:01:29 lf-activate-venv: SKIPPING 05:01:29 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1228/1 05:01:29 INFO: archiving workspace using pattern(s): 05:01:30 Archives upload complete. 05:01:30 INFO: archiving logs to Nexus