Pull request #1223 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56+238ac69fab1befba96aeb5fe41e06f86e376d8a9 (3a80ad66830e6dc08ea36eb618489ba747332c86) 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-ssh889031034825410023.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-ssh10063019041780055570.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-1223/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-1223/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6225433458931119596.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-1223/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10926249921551826648.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-ssh11251278193351172543.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-1223/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-1223/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2147132788951424238.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5854 in /w/workspace/gexfoundry_device-sdk-go_PR-1223 [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-1223 # 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/1223/head:refs/remotes/origin/PR-1223 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 238ac69fab1befba96aeb5fe41e06f86e376d8a9 into PR head commit e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 Merge succeeded, producing e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 Checking out Revision e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 (PR-1223) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:09:51 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:09:52 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:09:52 ========================================================= 04:09:52 EdgeX Global Pipelines Version Info 04:09:52 ========================================================= > git config core.sparsecheckout # timeout=10 > git checkout -f e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 # 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 238ac69fab1befba96aeb5fe41e06f86e376d8a9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 # timeout=10 [Pipeline] libraryResource [Pipeline] sh 04:09:53 ------------------- 04:09:53 stable info: 04:09:53 ------------------- 04:09:53 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:09:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:09:53 Message: update stable to v1.0.239 04:09:53 ------------------- 04:09:53 experimental info: 04:09:53 ------------------- 04:09:53 Commited By: **** collab-it+edgex@linuxfoundation.org 04:09:53 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 04:09:53 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:09:53 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:09:53 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:09:53 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:09:53 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1223 [Pipeline] echo 04:09:54 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1223 [Pipeline] echo 04:09:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1223 [Pipeline] echo 04:09:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 [Pipeline] echo 04:09:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e5fbbac [Pipeline] echo 04:09:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:55 provisioning config files... 04:09:55 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp/config3164469155053953421tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:55 ---> docker-login.sh 04:09:55 nexus3.edgexfoundry.org:10001 04:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:55 Configure a credential helper to remove this warning. See 04:09:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:55 04:09:55 Login Succeeded 04:09:55 nexus3.edgexfoundry.org:10002 04:09:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:56 Configure a credential helper to remove this warning. See 04:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:56 04:09:56 Login Succeeded 04:09:56 nexus3.edgexfoundry.org:10003 04:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:56 Configure a credential helper to remove this warning. See 04:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:56 04:09:56 Login Succeeded 04:09:56 nexus3.edgexfoundry.org:10004 04:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:56 Configure a credential helper to remove this warning. See 04:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:56 04:09:56 Login Succeeded 04:09:56 docker.io 04:09:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:56 Configure a credential helper to remove this warning. See 04:09:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:56 04:09:56 Login Succeeded 04:09:56 ---> docker-login.sh ends [Pipeline] } 04:09:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:09:57 + git rev-list -1 --merges e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56~1..e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 [Pipeline] echo 04:09:57 -----------> git rev-list -1 --merges e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56~1..e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 [false] [Pipeline] sh 04:09:57 + git log --format=format:%s -1 e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 [Pipeline] echo 04:09:57 ========================================================= 04:09:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:09:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:58 + git log --format=format:%s -1 e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 [Pipeline] echo 04:09:58 [semverPrep] GIT_COMMIT: e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo 04:09:58 [semverPrep] This is not a build commit. [Pipeline] sh 04:09:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:09:58 + grep -v github /etc/ssh/ssh_known_hosts 04:09:58 + [ -e /tmp/ssh_known_hosts ] 04:09:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:09:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:09:58 + sudo tee -a /etc/ssh/ssh_known_hosts 04:09:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:09:58 04:09:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:09:59 0.1.4: Pulling from edgex-devops/py-git-semver 04:09:59 b85a868b505f: Pulling fs layer 04:09:59 e2be974225ed: Pulling fs layer 04:09:59 339a4e72a1f5: Pulling fs layer 04:09:59 988bab9f4d93: Pulling fs layer 04:09:59 1469e6f7b9e6: Pulling fs layer 04:09:59 eaf3925da568: Pulling fs layer 04:09:59 bab4dde63d76: Pulling fs layer 04:09:59 bde34c3a00c8: Pulling fs layer 04:09:59 b352a97aabf1: Pulling fs layer 04:09:59 4872d77fe225: Pulling fs layer 04:09:59 5851b861e8e6: Pulling fs layer 04:09:59 1469e6f7b9e6: Waiting 04:09:59 eaf3925da568: Waiting 04:09:59 bab4dde63d76: Waiting 04:09:59 bde34c3a00c8: Waiting 04:09:59 4872d77fe225: Waiting 04:09:59 988bab9f4d93: Waiting 04:09:59 5851b861e8e6: Waiting 04:09:59 e2be974225ed: Verifying Checksum 04:09:59 e2be974225ed: Download complete 04:09:59 988bab9f4d93: Download complete 04:09:59 1469e6f7b9e6: Verifying Checksum 04:09:59 1469e6f7b9e6: Download complete 04:09:59 339a4e72a1f5: Verifying Checksum 04:09:59 339a4e72a1f5: Download complete 04:09:59 eaf3925da568: Verifying Checksum 04:09:59 eaf3925da568: Download complete 04:09:59 bde34c3a00c8: Verifying Checksum 04:09:59 bde34c3a00c8: Download complete 04:09:59 b352a97aabf1: Download complete 04:09:59 4872d77fe225: Verifying Checksum 04:09:59 4872d77fe225: Download complete 04:09:59 5851b861e8e6: Download complete 04:09:59 b85a868b505f: Verifying Checksum 04:09:59 b85a868b505f: Download complete 04:09:59 bab4dde63d76: Verifying Checksum 04:09:59 bab4dde63d76: Download complete 04:10:01 b85a868b505f: Pull complete 04:10:01 e2be974225ed: Pull complete 04:10:01 339a4e72a1f5: Pull complete 04:10:01 988bab9f4d93: Pull complete 04:10:02 1469e6f7b9e6: Pull complete 04:10:02 eaf3925da568: Pull complete 04:10:04 bab4dde63d76: Pull complete 04:10:04 bde34c3a00c8: Pull complete 04:10:04 b352a97aabf1: Pull complete 04:10:04 4872d77fe225: Pull complete 04:10:04 5851b861e8e6: Pull complete 04:10:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:10:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:10:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:04 prd-ubuntu20.04-docker-8c-8g-5854 does not seem to be running inside a container 04:10:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1223 -v /w/workspace/gexfoundry_device-sdk-go_PR-1223:/w/workspace/gexfoundry_device-sdk-go_PR-1223:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:10:05 $ docker top d5c3796e9af556001e104bddb57423fa2f6e64490692fa57415b647f36596b6e -eo pid,comm 04:10:06 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:10:06 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:10:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:10:06 [ssh-agent] Looking for ssh-agent implementation... 04:10:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:10:06 $ docker exec d5c3796e9af556001e104bddb57423fa2f6e64490692fa57415b647f36596b6e ssh-agent 04:10:06 SSH_AUTH_SOCK=/tmp/ssh-5yO7W38G6CWG/agent.32 04:10:06 SSH_AGENT_PID=38 04:10:06 Running ssh-add (command line suppressed) 04:10:06 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp/private_key_11567698512430003957.key (/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp/private_key_11567698512430003957.key) 04:10:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:10:06 + git tag --points-at HEAD [Pipeline] } 04:10:06 $ docker exec --env ******** --env ******** d5c3796e9af556001e104bddb57423fa2f6e64490692fa57415b647f36596b6e ssh-agent -k 04:10:06 unset SSH_AUTH_SOCK; 04:10:06 unset SSH_AGENT_PID; 04:10:06 echo Agent pid 38 killed; 04:10:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:10:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:10:07 [ssh-agent] Looking for ssh-agent implementation... 04:10:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:10:07 $ docker exec d5c3796e9af556001e104bddb57423fa2f6e64490692fa57415b647f36596b6e ssh-agent 04:10:07 SSH_AUTH_SOCK=/tmp/ssh-rv7gMR8moiYG/agent.70 04:10:07 SSH_AGENT_PID=76 04:10:07 Running ssh-add (command line suppressed) 04:10:07 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp/private_key_8255126077196077330.key (/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp/private_key_8255126077196077330.key) 04:10:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:10:07 + git semver init 04:10:08 2022-09-30 04:10:08,013 [run_init] DEBUG init version:0.0.0 force:False 04:10:08 2022-09-30 04:10:08,015 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1223/.semver 04:10:08 2022-09-30 04:10:08,016 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1223/.semver 04:10:08 2022-09-30 04:10:08,016 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1223/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1223, universal_newlines=False, shell=None, istream=None) 04:10:09 2022-09-30 04:10:09,067 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1223/.git/info/exclude 04:10:09 2022-09-30 04:10:09,068 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1223/.semver/PR-1223 with force:False 04:10:09 2022-09-30 04:10:09,068 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1223/.semver/PR-1223 04:10:09 2022-09-30 04:10:09,073 [execute] INFO git cat-file --batch-check 04:10:09 2022-09-30 04:10:09,073 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1223/.semver, universal_newlines=False, shell=None, istream=) 04:10:09 2022-09-30 04:10:09,080 [execute] INFO git cat-file --batch 04:10:09 2022-09-30 04:10:09,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1223/.semver, universal_newlines=False, shell=None, istream=) 04:10:09 2022-09-30 04:10:09,086 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1223/.semver/PR-1223 04:10:09 0.0.0 [Pipeline] } 04:10:09 $ docker exec --env ******** --env ******** d5c3796e9af556001e104bddb57423fa2f6e64490692fa57415b647f36596b6e ssh-agent -k 04:10:09 unset SSH_AUTH_SOCK; 04:10:09 unset SSH_AGENT_PID; 04:10:09 echo Agent pid 76 killed; 04:10:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:10:09 + git semver [Pipeline] } 04:10:10 $ docker stop --time=1 d5c3796e9af556001e104bddb57423fa2f6e64490692fa57415b647f36596b6e 04:10:11 $ docker rm -f d5c3796e9af556001e104bddb57423fa2f6e64490692fa57415b647f36596b6e [Pipeline] // withDockerContainer [Pipeline] sh 04:10:12 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:10:12 Stashed 1 file(s) [Pipeline] echo 04:10:12 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:10:12 provisioning config files... 04:10:12 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp/config10137576040336461771tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:10:13 ---> docker-login.sh 04:10:13 nexus3.edgexfoundry.org:10001 04:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:13 Configure a credential helper to remove this warning. See 04:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:13 04:10:13 Login Succeeded 04:10:13 nexus3.edgexfoundry.org:10002 04:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:13 Configure a credential helper to remove this warning. See 04:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:13 04:10:13 Login Succeeded 04:10:13 nexus3.edgexfoundry.org:10003 04:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:13 Configure a credential helper to remove this warning. See 04:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:13 04:10:13 Login Succeeded 04:10:13 nexus3.edgexfoundry.org:10004 04:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:13 Configure a credential helper to remove this warning. See 04:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:13 04:10:13 Login Succeeded 04:10:13 docker.io 04:10:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:10:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:10:13 Configure a credential helper to remove this warning. See 04:10:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:10:13 04:10:13 Login Succeeded 04:10:13 ---> docker-login.sh ends [Pipeline] } 04:10:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:10:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:10:14 ========================================================= 04:10:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:10:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:14 + 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:10:14 Sending build context to Docker daemon 9.934MB 04:10:14 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:10:14 Step 2/11 : FROM ${BASE} AS builder 04:10:14 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:10:14 2408cc74d12b: Pulling fs layer 04:10:14 ea60b727a1ce: Pulling fs layer 04:10:14 30c4a7721957: Pulling fs layer 04:10:14 370296b7ddb6: Pulling fs layer 04:10:14 7c6cee850709: Pulling fs layer 04:10:14 aa9baa53a306: Pulling fs layer 04:10:14 370296b7ddb6: Waiting 04:10:14 8b309c321861: Pulling fs layer 04:10:14 d8d76fd02f46: Pulling fs layer 04:10:14 aa9baa53a306: Waiting 04:10:14 8b309c321861: Waiting 04:10:14 fa31f396de31: Pulling fs layer 04:10:14 d8d76fd02f46: Waiting 04:10:14 fa31f396de31: Waiting 04:10:14 30c4a7721957: Verifying Checksum 04:10:14 30c4a7721957: Download complete 04:10:14 ea60b727a1ce: Download complete 04:10:14 7c6cee850709: Download complete 04:10:14 aa9baa53a306: Verifying Checksum 04:10:14 aa9baa53a306: Download complete 04:10:14 2408cc74d12b: Verifying Checksum 04:10:14 2408cc74d12b: Download complete 04:10:14 8b309c321861: Verifying Checksum 04:10:14 8b309c321861: Download complete 04:10:14 2408cc74d12b: Pull complete 04:10:15 ea60b727a1ce: Pull complete 04:10:15 30c4a7721957: Pull complete 04:10:15 fa31f396de31: Verifying Checksum 04:10:15 fa31f396de31: Download complete 04:10:15 d8d76fd02f46: Verifying Checksum 04:10:15 d8d76fd02f46: Download complete 04:10:15 370296b7ddb6: Verifying Checksum 04:10:15 370296b7ddb6: Download complete 04:10:19 370296b7ddb6: Pull complete 04:10:19 7c6cee850709: Pull complete 04:10:19 aa9baa53a306: Pull complete 04:10:19 8b309c321861: Pull complete 04:10:22 d8d76fd02f46: Pull complete 04:10:22 fa31f396de31: Pull complete 04:10:22 Digest: sha256:2371a9c145f0d593c9024d3814659be550d63e8930698ddb4de3d51b9130800a 04:10:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:10:23 ---> cef68f9685f8 04:10:23 Step 3/11 : ARG MAKE=make build 04:10:24 ---> Running in 81c735c07a0b 04:10:25 Removing intermediate container 81c735c07a0b 04:10:25 ---> 4e6e70127a6b 04:10:25 Step 4/11 : WORKDIR /device-sdk-go 04:10:25 ---> Running in 40a9364d6d5e 04:10:25 Removing intermediate container 40a9364d6d5e 04:10:25 ---> 5de1f679c810 04:10:25 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:10:25 ---> Running in 2167f668cf27 04:10:25 Removing intermediate container 2167f668cf27 04:10:25 ---> 1e66310fa246 04:10:25 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:25 ---> Running in 43858a96f4f3 04:10:26 Removing intermediate container 43858a96f4f3 04:10:26 ---> e598aba13ee1 04:10:26 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:10:26 ---> Running in bb20355df6c9 04:10:26 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:10:27 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:10:27 Still waiting to schedule task 04:10:27 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:10:27 OK: 211 MiB in 51 packages 04:10:28 Removing intermediate container bb20355df6c9 04:10:28 ---> 93c1023a576c 04:10:28 Step 8/11 : COPY go.mod vendor* ./ 04:10:28 ---> 9659735c9e7a 04:10:28 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:28 ---> Running in b970c8be68b7 04:10:46 Removing intermediate container b970c8be68b7 04:10:46 ---> bb427a2e61df 04:10:46 Step 10/11 : COPY . . 04:10:46 ---> 7441e2619822 04:10:46 Step 11/11 : RUN ${MAKE} 04:10:46 ---> Running in 05197abddc34 04:10:46 noop 04:10:46 Removing intermediate container 05197abddc34 04:10:46 ---> 71bded58714a 04:10:46 Successfully built 71bded58714a 04:10:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:46 + docker inspect -f . ci-base-image-x86_64 04:10:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:46 prd-ubuntu20.04-docker-8c-8g-5854 does not seem to be running inside a container 04:10:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1223 -v /w/workspace/gexfoundry_device-sdk-go_PR-1223:/w/workspace/gexfoundry_device-sdk-go_PR-1223:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:10:47 $ docker top 22fad0629561fe9761579fad18f17775d7ae97c7c1c28f997387014fb50459ee -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:47 + go version 04:10:47 go version go1.18.3 linux/amd64 [Pipeline] } 04:10:47 $ docker stop --time=1 22fad0629561fe9761579fad18f17775d7ae97c7c1c28f997387014fb50459ee 04:10:49 $ docker rm -f 22fad0629561fe9761579fad18f17775d7ae97c7c1c28f997387014fb50459ee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:49 + docker inspect -f . ci-base-image-x86_64 04:10:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:49 prd-ubuntu20.04-docker-8c-8g-5854 does not seem to be running inside a container 04:10:49 $ 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-1223 -v /w/workspace/gexfoundry_device-sdk-go_PR-1223:/w/workspace/gexfoundry_device-sdk-go_PR-1223:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:10:50 $ docker top ae3ae7970a59ac7e2f8514b15cb026679281822bb1026a2c31d59fe16bc2daff -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:50 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1223 [Pipeline] fileExists [Pipeline] sh 04:10:51 + make test 04:10:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:10:53 Running on prd-ubuntu20.04-docker-arm64-4c-16g-5856 in /w/workspace/gexfoundry_device-sdk-go_PR-1223 [Pipeline] { [Pipeline] ws 04:10:53 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:10:53 The recommended git tool is: git 04:10:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:11:00 using credential edgex-jenkins-ssh 04:11:00 Cloning the remote Git repository 04:11:00 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:11:00 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:11:00 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:11:00 > git --version # timeout=10 04:11:00 > git --version # 'git version 2.25.1' 04:11:00 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:00 Verifying host key using known hosts file 04:11:01 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:11:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:02 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:11:02 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:11:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:11:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:11:03 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:04 Verifying host key using known hosts file 04:11:04 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:11:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1223/head:refs/remotes/origin/PR-1223 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:11:04 Merging remotes/origin/main commit 238ac69fab1befba96aeb5fe41e06f86e376d8a9 into PR head commit e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 04:11:04 Merge succeeded, producing e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 04:11:04 Checking out Revision e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 (PR-1223) 04:11:05 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-core-contracts/v2" 04:11:05 > git --version # timeout=10 04:11:05 > git --version # 'git version 2.25.1' 04:11:05 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d 04:11:04 > git config core.sparsecheckout # timeout=10 04:11:04 > git checkout -f e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 # timeout=10 04:11:04 > git remote # timeout=10 04:11:04 > git config --get remote.origin.url # timeout=10 04:11:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:11:04 Verifying host key using known hosts file 04:11:04 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:11:04 > git merge 238ac69fab1befba96aeb5fe41e06f86e376d8a9 # timeout=10 04:11:04 > git rev-parse HEAD^{commit} # timeout=10 04:11:04 > git config core.sparsecheckout # timeout=10 04:11:04 > git checkout -f e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:11:06 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:11:06 % Total % Received % Xferd Average Speed Time Time Time Current 04:11:06 Dload Upload Total Spent Left Speed 04:11:06 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 195k 0 --:--:-- --:--:-- --:--:-- 195k [Pipeline] sh 04:11:07 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:11:07 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:11:07 + sudo tee /etc/docker/daemon.new 04:11:07 { 04:11:07 "registry-mirrors": [ 04:11:07 "https://nexus3.edgexfoundry.org:10001" 04:11:07 ], 04:11:07 "bip": "10.250.0.254/24", 04:11:07 "hosts": [ 04:11:07 "tcp://0.0.0.0:5555", 04:11:07 "unix:///var/run/docker.sock" 04:11:07 ], 04:11:07 "mtu": 1458, 04:11:07 "selinux-enabled": true, 04:11:07 "seccomp-profile": "/etc/docker/seccomp.json" 04:11:07 } [Pipeline] sh 04:11:08 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:11:08 + sudo service docker restart 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:11:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.085s coverage: 27.6% of statements 04:11:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.079s coverage: 78.9% of statements 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:11:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.105s coverage: 60.0% of statements 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:11:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.113s coverage: 54.4% of statements 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:11:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.096s coverage: 65.1% of statements 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:11:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.759s coverage: 89.2% of statements 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:11:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.061s coverage: 4.7% of statements 04:11:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:11:26 provisioning config files... 04:11:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7085237918154740330tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:11:27 ---> docker-login.sh 04:11:27 nexus3.edgexfoundry.org:10001 04:11:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:27 Configure a credential helper to remove this warning. See 04:11:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:27 04:11:27 Login Succeeded 04:11:27 nexus3.edgexfoundry.org:10002 04:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:28 Configure a credential helper to remove this warning. See 04:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:28 04:11:28 Login Succeeded 04:11:28 nexus3.edgexfoundry.org:10003 04:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:28 Configure a credential helper to remove this warning. See 04:11:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:28 04:11:28 Login Succeeded 04:11:28 nexus3.edgexfoundry.org:10004 04:11:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:29 Configure a credential helper to remove this warning. See 04:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:29 04:11:29 Login Succeeded 04:11:29 docker.io 04:11:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:11:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:11:29 Configure a credential helper to remove this warning. See 04:11:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:11:29 04:11:29 Login Succeeded 04:11:29 ---> docker-login.sh ends [Pipeline] } 04:11:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:11:30 ========================================================= 04:11:30 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:11:30 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:30 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 04:11:31 Sending build context to Docker daemon 5.336MB 04:11:31 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:11:31 Step 2/11 : FROM ${BASE} AS builder 04:11:31 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:11:31 GO111MODULE=on go vet ./... 04:11:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:11:31 b3c136eddcbf: Pulling fs layer 04:11:31 c0a3192eca97: Pulling fs layer 04:11:31 a050256f5b6f: Pulling fs layer 04:11:31 656be50a0ddc: Pulling fs layer 04:11:31 2bbca73fdf42: Pulling fs layer 04:11:31 f607e4fc86c3: Pulling fs layer 04:11:31 4d572c569a2c: Pulling fs layer 04:11:31 fcf976331f73: Pulling fs layer 04:11:31 656be50a0ddc: Waiting 04:11:31 2bbca73fdf42: Waiting 04:11:31 f607e4fc86c3: Waiting 04:11:31 4d572c569a2c: Waiting 04:11:31 fcf976331f73: Waiting 04:11:31 a050256f5b6f: Verifying Checksum 04:11:31 a050256f5b6f: Download complete 04:11:31 c0a3192eca97: Download complete 04:11:31 2bbca73fdf42: Download complete 04:11:31 f607e4fc86c3: Verifying Checksum 04:11:31 f607e4fc86c3: Download complete 04:11:31 b3c136eddcbf: Download complete 04:11:32 b3c136eddcbf: Pull complete 04:11:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:11:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:11:32 ./bin/test-attribution-txt.sh 04:11:32 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:11:32 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:11:32 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:11:32 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add 04:11:33 fcf976331f73: Verifying Checksum 04:11:33 fcf976331f73: Download complete [Pipeline] echo 04:11:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:11:33 $ docker stop --time=1 ae3ae7970a59ac7e2f8514b15cb026679281822bb1026a2c31d59fe16bc2daff 04:11:33 c0a3192eca97: Pull complete 04:11:33 a050256f5b6f: Pull complete 04:11:34 4d572c569a2c: Verifying Checksum 04:11:34 4d572c569a2c: Download complete 04:11:34 656be50a0ddc: Download complete 04:11:35 $ docker rm -f ae3ae7970a59ac7e2f8514b15cb026679281822bb1026a2c31d59fe16bc2daff [Pipeline] // withDockerContainer [Pipeline] sh 04:11:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:11:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:11:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:11:36 + ls -al . 04:11:36 total 276 04:11:36 drwxrwxr-x 11 jenkins jenkins 4096 Sep 30 04:10 . 04:11:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:09 .. 04:11:36 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 04:09 .dockerignore 04:11:36 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 04:11 .git 04:11:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:09 .github 04:11:36 -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 04:09 .gitignore 04:11:36 -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 04:09 .golangci.yml 04:11:36 drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 04:10 .semver 04:11:36 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 04:09 CHANGELOG.md 04:11:36 -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 04:09 GOVERNANCE.md 04:11:36 -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 04:09 Jenkinsfile 04:11:36 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 04:09 LICENSE 04:11:36 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 04:09 Makefile 04:11:36 -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 04:09 OWNERS.md 04:11:36 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 04:09 README.md 04:11:36 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 04:10 VERSION 04:11:36 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:09 bin 04:11:36 -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 04:11 coverage.out 04:11:36 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 04:09 example 04:11:36 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 04:09 go.mod 04:11:36 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 04:09 go.sum 04:11:36 drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 04:09 internal 04:11:36 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 04:09 openapi 04:11:36 drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 04:09 pkg 04:11:36 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:09 snap 04:11:36 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:37 + 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=e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 --label arch=amd64 --label version=0.0.0 . 04:11:37 Sending build context to Docker daemon 10.04MB 04:11:37 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:11:37 Step 2/25 : FROM ${BASE} AS builder 04:11:37 ---> 71bded58714a 04:11:37 Step 3/25 : ARG MAKE=make build 04:11:37 ---> Running in f917603fc726 04:11:37 Removing intermediate container f917603fc726 04:11:37 ---> c90dd24f2593 04:11:37 Step 4/25 : WORKDIR /device-sdk-go 04:11:37 ---> Running in 7ff1d658a741 04:11:37 Removing intermediate container 7ff1d658a741 04:11:37 ---> 8e6fcb1ff6cd 04:11:37 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:11:37 ---> Running in ce9231f3ce6a 04:11:37 Removing intermediate container ce9231f3ce6a 04:11:37 ---> 3e9181c11bb9 04:11:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:37 ---> Running in 18429713c01b 04:11:38 Removing intermediate container 18429713c01b 04:11:38 ---> 41657b87ae27 04:11:38 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:11:38 ---> Running in 81f5a8d1192f 04:11:38 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:11:39 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:11:39 OK: 211 MiB in 51 packages 04:11:40 Removing intermediate container 81f5a8d1192f 04:11:40 ---> c5952ac172d5 04:11:40 Step 8/25 : COPY go.mod vendor* ./ 04:11:40 ---> dfecaf6af029 04:11:40 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:11:40 ---> Running in e347fe2ab443 04:11:40 Removing intermediate container e347fe2ab443 04:11:40 ---> 9e5d0bf86cb0 04:11:40 Step 10/25 : COPY . . 04:11:41 ---> 1668198444b5 04:11:41 Step 11/25 : RUN ${MAKE} 04:11:41 ---> Running in 1db7fb10cd4b 04:11:41 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:11:49 656be50a0ddc: Pull complete 04:11:49 2bbca73fdf42: Pull complete 04:11:49 f607e4fc86c3: Pull complete 04:11:55 4d572c569a2c: Pull complete 04:11:56 fcf976331f73: Pull complete 04:11:56 Digest: sha256:42df807b16ab3f1597034bcf0018cb26f012c54ed771f2ecbf0eeaf3e7d2e189 04:11:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:11:56 ---> 3970a7415f9e 04:11:56 Step 3/11 : ARG MAKE=make build 04:11:57 ---> Running in b9f50e1c82c7 04:11:58 Removing intermediate container b9f50e1c82c7 04:11:58 ---> c06fd22eb604 04:11:58 Step 4/11 : WORKDIR /device-sdk-go 04:11:58 ---> Running in bcce25060272 04:11:58 Removing intermediate container bcce25060272 04:11:58 ---> 767de098bae9 04:11:58 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:11:58 ---> Running in 8a6bdf1e83ec 04:11:59 Removing intermediate container 8a6bdf1e83ec 04:11:59 ---> d1d9406658f6 04:11:59 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:11:59 ---> Running in a2198f47fd22 04:11:59 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:12:00 Removing intermediate container a2198f47fd22 04:12:00 ---> 270fe6847372 04:12:00 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:12:01 ---> Running in d21c5059f9f7 04:12:01 Removing intermediate container 1db7fb10cd4b 04:12:01 ---> 9cd8586045d0 04:12:01 Step 12/25 : FROM alpine:3.16 04:12:02 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:12:02 3.16: Pulling from library/alpine 04:12:02 213ec9aee27d: Pulling fs layer 04:12:02 213ec9aee27d: Download complete 04:12:02 213ec9aee27d: Pull complete 04:12:02 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:12:02 Status: Downloaded newer image for alpine:3.16 04:12:02 ---> 9c6f07244728 04:12:02 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:12:02 ---> Running in 500444d5fa24 04:12:02 Removing intermediate container 500444d5fa24 04:12:02 ---> 17f69a011c2d 04:12:02 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:12:02 ---> Running in a5a90bf30ed5 04:12:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:12:03 Removing intermediate container a5a90bf30ed5 04:12:03 ---> 52ca034a89b7 04:12:03 Step 15/25 : RUN apk add --update --no-cache zeromq 04:12:03 ---> Running in d6bd6b94e3f4 04:12:03 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:12:04 OK: 221 MiB in 51 packages 04:12:04 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:12:05 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:12:05 (2/5) Installing libsodium (1.0.18-r0) 04:12:05 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:12:05 Removing intermediate container d21c5059f9f7 04:12:05 ---> 05bf391210c5 04:12:05 Step 8/11 : COPY go.mod vendor* ./ 04:12:05 (4/5) Installing libzmq (4.3.4-r0) 04:12:05 (5/5) Installing zeromq (4.3.4-r0) 04:12:05 Executing busybox-1.35.0-r17.trigger 04:12:05 OK: 8 MiB in 19 packages 04:12:05 ---> b0e3ad33de69 04:12:05 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:12:05 Removing intermediate container d6bd6b94e3f4 04:12:05 ---> 1d3b666460b3 04:12:05 Step 16/25 : WORKDIR / 04:12:05 ---> Running in b0c1a10efc29 04:12:05 ---> Running in ec8eff4c99d7 04:12:06 Removing intermediate container b0c1a10efc29 04:12:06 ---> 4a42e99c0742 04:12:06 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:12:06 ---> 2fd04885c72f 04:12:06 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:12:06 ---> 445604266680 04:12:06 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:12:06 ---> bcc1d6988aa1 04:12:06 Step 20/25 : EXPOSE 59999 04:12:06 ---> Running in 92b739194a53 04:12:06 Removing intermediate container 92b739194a53 04:12:06 ---> fd327bd77bf5 04:12:06 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:12:06 ---> Running in d94d6f578a94 04:12:07 Removing intermediate container d94d6f578a94 04:12:07 ---> f5d46c6c80ff 04:12:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:12:07 ---> Running in c2581374b451 04:12:07 Removing intermediate container c2581374b451 04:12:07 ---> 56a1201ee053 04:12:07 Step 23/25 : LABEL arch=amd64 04:12:07 ---> Running in ea73376eca68 04:12:07 Removing intermediate container ea73376eca68 04:12:07 ---> 253f965421f1 04:12:07 Step 24/25 : LABEL git_sha=e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 04:12:07 ---> Running in 2216f06dd36e 04:12:07 Removing intermediate container 2216f06dd36e 04:12:07 ---> c2d6b3bda029 04:12:07 Step 25/25 : LABEL version=0.0.0 04:12:07 ---> Running in f8a91d01b31e 04:12:07 Removing intermediate container f8a91d01b31e 04:12:07 ---> 241330375a45 04:12:07 [Warning] One or more build-args [ARCH] were not consumed 04:12:07 Successfully built 241330375a45 04:12:07 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:08 04:12:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:12:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:08 latest: Pulling from edgex-lftools-log-publisher 04:12:08 5eb5b503b376: Pulling fs layer 04:12:08 5c69ac0246d0: Pulling fs layer 04:12:08 ec43610c2a17: Pulling fs layer 04:12:08 3a2ae6a8a46f: Pulling fs layer 04:12:08 33b1e0a273af: Pulling fs layer 04:12:08 5d3b04190fa2: Pulling fs layer 04:12:08 2f39f015ded8: Pulling fs layer 04:12:08 2f39f015ded8: Waiting 04:12:08 5d3b04190fa2: Waiting 04:12:08 3a2ae6a8a46f: Waiting 04:12:08 33b1e0a273af: Waiting 04:12:08 5c69ac0246d0: Download complete 04:12:08 3a2ae6a8a46f: Download complete 04:12:09 33b1e0a273af: Verifying Checksum 04:12:09 33b1e0a273af: Download complete 04:12:09 ec43610c2a17: Verifying Checksum 04:12:09 ec43610c2a17: Download complete 04:12:09 5d3b04190fa2: Verifying Checksum 04:12:09 5d3b04190fa2: Download complete 04:12:09 5eb5b503b376: Verifying Checksum 04:12:09 5eb5b503b376: Download complete 04:12:09 2f39f015ded8: Verifying Checksum 04:12:09 2f39f015ded8: Download complete 04:12:10 5eb5b503b376: Pull complete 04:12:10 5c69ac0246d0: Pull complete 04:12:10 ec43610c2a17: Pull complete 04:12:10 3a2ae6a8a46f: Pull complete 04:12:11 33b1e0a273af: Pull complete 04:12:11 5d3b04190fa2: Pull complete 04:12:16 2f39f015ded8: Pull complete 04:12:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:12:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:12:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:12:16 prd-ubuntu20.04-docker-8c-8g-5854 does not seem to be running inside a container 04:12:16 $ 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-1223 -v /w/workspace/gexfoundry_device-sdk-go_PR-1223:/w/workspace/gexfoundry_device-sdk-go_PR-1223:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:12:18 $ docker top 07799cd4f1fd2ee2188c3115802269cf03698645fcafe9ebe67454a2cb5783f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:12:18 ---> job-cost.sh 04:12:18 lf-activate-venv: SKIPPING 04:12:18 INFO: No Stack... 04:12:19 INFO: Retrieving Pricing Info for: v3-standard-8 04:12:19 INFO: Archiving Costs [Pipeline] sh 04:12:19 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1223/archives/cost.csv 04:12:19 + cut -d, -f6 [Pipeline] lock 04:12:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1223-1-stack-cost] 04:12:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1223-1-stack-cost] did not exist. Created. 04:12:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1223-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:12:20 + echo total: 0.2199999988079071 [Pipeline] stash 04:12:20 Stashed 1 file(s) [Pipeline] } 04:12:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1223-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:12:20 $ docker stop --time=1 07799cd4f1fd2ee2188c3115802269cf03698645fcafe9ebe67454a2cb5783f8 04:12:21 $ docker rm -f 07799cd4f1fd2ee2188c3115802269cf03698645fcafe9ebe67454a2cb5783f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:13:02 Removing intermediate container ec8eff4c99d7 04:13:02 ---> 86e0b671c9f1 04:13:02 Step 10/11 : COPY . . 04:13:02 ---> 128b9acd5628 04:13:02 Step 11/11 : RUN ${MAKE} 04:13:02 ---> Running in 98bcf703493d 04:13:02 noop 04:13:02 Removing intermediate container 98bcf703493d 04:13:02 ---> 61577fe3e20a 04:13:02 Successfully built 61577fe3e20a 04:13:02 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:03 + docker inspect -f . ci-base-image-arm64 04:13:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:03 prd-ubuntu20.04-docker-arm64-4c-16g-5856 does not seem to be running inside a container 04:13:03 $ 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:13:04 $ docker top 27f6de23331fc93b33ff8b9dd9ea17f04830c7e0442f22f7859cbf642bc12f57 -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:05 + go version 04:13:05 go version go1.18.3 linux/arm64 [Pipeline] } 04:13:05 $ docker stop --time=1 27f6de23331fc93b33ff8b9dd9ea17f04830c7e0442f22f7859cbf642bc12f57 04:13:07 $ docker rm -f 27f6de23331fc93b33ff8b9dd9ea17f04830c7e0442f22f7859cbf642bc12f57 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:08 + docker inspect -f . ci-base-image-arm64 04:13:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:13:08 prd-ubuntu20.04-docker-arm64-4c-16g-5856 does not seem to be running inside a container 04:13:08 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/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:13:09 $ docker top 2c7263d4c2857d714704e51c0302de4f39362427a6280f296f9c24134e62cc3f -eo pid,comm [Pipeline] { [Pipeline] sh 04:13:10 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:13:11 + make test 04:13:11 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:13:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:16:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:16:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.293s coverage: 27.6% of statements 04:16:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.373s coverage: 78.9% of statements 04:16:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:16:34 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.419s coverage: 60.0% of statements 04:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:16:34 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:16:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.602s coverage: 54.4% of statements 04:16:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:16:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:16:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:16:39 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:16:39 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.504s coverage: 65.1% of statements 04:16:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:16:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:16:39 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.839s coverage: 89.2% of statements 04:16:39 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:16:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.286s coverage: 4.7% of statements 04:16:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:16:43 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:16:43 GO111MODULE=on go vet ./... 04:18:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:18:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:18:35 ./bin/test-attribution-txt.sh 04:18:35 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:18:35 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:18:35 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:18:35 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:18:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:18:35 $ docker stop --time=1 2c7263d4c2857d714704e51c0302de4f39362427a6280f296f9c24134e62cc3f 04:18:37 $ docker rm -f 2c7263d4c2857d714704e51c0302de4f39362427a6280f296f9c24134e62cc3f [Pipeline] // withDockerContainer [Pipeline] sh 04:18:38 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:18:38 Warning: overwriting stash ‘coverage-report’ 04:18:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:18:39 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:18:40 + ls -al . 04:18:40 total 272 04:18:40 drwxrwxr-x 10 jenkins jenkins 4096 Sep 30 04:13 . 04:18:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:11 .. 04:18:40 -rw-rw-r-- 1 jenkins jenkins 140 Sep 30 04:11 .dockerignore 04:18:40 drwxrwxr-x 8 jenkins jenkins 4096 Sep 30 04:11 .git 04:18:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:11 .github 04:18:40 -rw-rw-r-- 1 jenkins jenkins 131 Sep 30 04:11 .gitignore 04:18:40 -rw-rw-r-- 1 jenkins jenkins 42 Sep 30 04:11 .golangci.yml 04:18:40 -rw-rw-r-- 1 jenkins jenkins 29536 Sep 30 04:11 CHANGELOG.md 04:18:40 -rw-rw-r-- 1 jenkins jenkins 677 Sep 30 04:11 GOVERNANCE.md 04:18:40 -rw-rw-r-- 1 jenkins jenkins 880 Sep 30 04:11 Jenkinsfile 04:18:40 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 30 04:11 LICENSE 04:18:40 -rw-rw-r-- 1 jenkins jenkins 2002 Sep 30 04:11 Makefile 04:18:40 -rw-rw-r-- 1 jenkins jenkins 619 Sep 30 04:11 OWNERS.md 04:18:40 -rw-rw-r-- 1 jenkins jenkins 4881 Sep 30 04:11 README.md 04:18:40 -rw-rw-r-- 1 jenkins jenkins 5 Sep 30 04:10 VERSION 04:18:40 drwxrwxr-x 2 jenkins jenkins 4096 Sep 30 04:11 bin 04:18:40 -rw-r--r-- 1 jenkins jenkins 100927 Sep 30 04:16 coverage.out 04:18:40 drwxrwxr-x 5 jenkins jenkins 4096 Sep 30 04:11 example 04:18:40 -rw-rw-r-- 1 jenkins jenkins 3412 Sep 30 04:11 go.mod 04:18:40 -rw-rw-r-- 1 jenkins jenkins 37486 Sep 30 04:11 go.sum 04:18:40 drwxrwxr-x 14 jenkins jenkins 4096 Sep 30 04:11 internal 04:18:40 drwxrwxr-x 3 jenkins jenkins 4096 Sep 30 04:11 openapi 04:18:40 drwxrwxr-x 6 jenkins jenkins 4096 Sep 30 04:11 pkg 04:18:40 drwxrwxr-x 4 jenkins jenkins 4096 Sep 30 04:11 snap 04:18:40 -rw-rw-r-- 1 jenkins jenkins 222 Sep 30 04:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:40 + 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=e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 --label arch=arm64 --label version=0.0.0 . 04:18:41 Sending build context to Docker daemon 5.438MB 04:18:41 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:18:41 Step 2/25 : FROM ${BASE} AS builder 04:18:41 ---> 61577fe3e20a 04:18:41 Step 3/25 : ARG MAKE=make build 04:18:41 ---> Running in cd225bec6311 04:18:41 Removing intermediate container cd225bec6311 04:18:41 ---> 97325540d2f4 04:18:41 Step 4/25 : WORKDIR /device-sdk-go 04:18:41 ---> Running in 25224ee44ba8 04:18:42 Removing intermediate container 25224ee44ba8 04:18:42 ---> cb511cb52c6e 04:18:42 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:18:42 ---> Running in 76b1e98590ad 04:18:42 Removing intermediate container 76b1e98590ad 04:18:42 ---> d668de820c8c 04:18:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:18:42 ---> Running in a2c28de0a60b 04:18:44 Removing intermediate container a2c28de0a60b 04:18:44 ---> 87c3f194dfdd 04:18:44 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:18:44 ---> Running in daa6d6e919bb 04:18:45 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:18:46 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:18:47 OK: 221 MiB in 51 packages 04:18:48 Removing intermediate container daa6d6e919bb 04:18:48 ---> 4b0cc2553731 04:18:48 Step 8/25 : COPY go.mod vendor* ./ 04:18:49 ---> ee11377ebb55 04:18:49 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:18:49 ---> Running in 876630fceaba 04:18:51 Removing intermediate container 876630fceaba 04:18:51 ---> df2d281d8d0f 04:18:51 Step 10/25 : COPY . . 04:18:52 ---> 1936d8a2ffc0 04:18:52 Step 11/25 : RUN ${MAKE} 04:18:52 ---> Running in 4adb82d11e98 04:18:53 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:21:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:21:30 Removing intermediate container 4adb82d11e98 04:21:30 ---> 5fadcf9c8d53 04:21:30 Step 12/25 : FROM alpine:3.16 04:21:30 3.16: Pulling from library/alpine 04:21:30 9b18e9b68314: Pulling fs layer 04:21:30 9b18e9b68314: Verifying Checksum 04:21:30 9b18e9b68314: Download complete 04:21:30 9b18e9b68314: Pull complete 04:21:30 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:21:30 Status: Downloaded newer image for alpine:3.16 04:21:30 ---> a6215f271958 04:21:30 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:21:30 ---> Running in d26db96ddbf5 04:21:30 Removing intermediate container d26db96ddbf5 04:21:30 ---> 70db6c56d7f7 04:21:30 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:21:30 ---> Running in bf3ba5542c82 04:21:30 Removing intermediate container bf3ba5542c82 04:21:30 ---> 41ef1c1594f6 04:21:30 Step 15/25 : RUN apk add --update --no-cache zeromq 04:21:30 ---> Running in 65c8a08568ae 04:21:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:21:32 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:21:34 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:21:34 (2/5) Installing libsodium (1.0.18-r0) 04:21:34 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:21:34 (4/5) Installing libzmq (4.3.4-r0) 04:21:34 (5/5) Installing zeromq (4.3.4-r0) 04:21:34 Executing busybox-1.35.0-r17.trigger 04:21:34 OK: 8 MiB in 19 packages 04:21:36 Removing intermediate container 65c8a08568ae 04:21:36 ---> 575032739d91 04:21:36 Step 16/25 : WORKDIR / 04:21:36 ---> Running in 4681d3809745 04:21:36 Removing intermediate container 4681d3809745 04:21:36 ---> 5fef31f47ebf 04:21:36 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:21:36 ---> 6194df632196 04:21:36 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:21:38 ---> d8d755bb26a8 04:21:38 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:21:38 ---> 5eac7930d1ce 04:21:38 Step 20/25 : EXPOSE 59999 04:21:38 ---> Running in 08c50af342cf 04:21:39 Removing intermediate container 08c50af342cf 04:21:39 ---> 9c07b4530d0f 04:21:39 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:21:39 ---> Running in b3f7eeab7b63 04:21:39 Removing intermediate container b3f7eeab7b63 04:21:39 ---> 9e849692d931 04:21:39 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:21:39 ---> Running in 4d7adc6d0c15 04:21:39 Removing intermediate container 4d7adc6d0c15 04:21:39 ---> 1c705fc64721 04:21:39 Step 23/25 : LABEL arch=arm64 04:21:40 ---> Running in 568d401a22e6 04:21:40 Removing intermediate container 568d401a22e6 04:21:40 ---> c174631c31a1 04:21:40 Step 24/25 : LABEL git_sha=e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 04:21:40 ---> Running in 46c0fca6931d 04:21:40 Removing intermediate container 46c0fca6931d 04:21:40 ---> f91236f76814 04:21:40 Step 25/25 : LABEL version=0.0.0 04:21:41 ---> Running in 08e3c1eee962 04:21:41 Removing intermediate container 08e3c1eee962 04:21:41 ---> b905e330556d 04:21:41 [Warning] One or more build-args [ARCH] were not consumed 04:21:41 Successfully built b905e330556d 04:21:41 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:42 04:21:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:21:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:21:42 arm64: Pulling from edgex-lftools-log-publisher 04:21:42 8998bd30e6a1: Pulling fs layer 04:21:42 04944245beec: Pulling fs layer 04:21:42 699f458cf7ca: Pulling fs layer 04:21:42 765212b225bb: Pulling fs layer 04:21:42 f23df028b6ca: Pulling fs layer 04:21:42 d65c8cfc05b1: Pulling fs layer 04:21:42 2437ff75d9bd: Pulling fs layer 04:21:42 765212b225bb: Waiting 04:21:42 f23df028b6ca: Waiting 04:21:42 2437ff75d9bd: Waiting 04:21:42 d65c8cfc05b1: Waiting 04:21:42 04944245beec: Verifying Checksum 04:21:42 04944245beec: Download complete 04:21:42 765212b225bb: Verifying Checksum 04:21:42 765212b225bb: Download complete 04:21:42 f23df028b6ca: Download complete 04:21:42 d65c8cfc05b1: Verifying Checksum 04:21:42 d65c8cfc05b1: Download complete 04:21:43 699f458cf7ca: Verifying Checksum 04:21:43 699f458cf7ca: Download complete 04:21:43 8998bd30e6a1: Download complete 04:21:46 2437ff75d9bd: Verifying Checksum 04:21:46 2437ff75d9bd: Download complete 04:21:47 8998bd30e6a1: Pull complete 04:21:48 04944245beec: Pull complete 04:21:49 699f458cf7ca: Pull complete 04:21:49 765212b225bb: Pull complete 04:21:50 f23df028b6ca: Pull complete 04:21:50 d65c8cfc05b1: Pull complete 04:22:05 2437ff75d9bd: Pull complete 04:22:05 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:22:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:22:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:06 prd-ubuntu20.04-docker-arm64-4c-16g-5856 does not seem to be running inside a container 04:22:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:22:08 $ docker top 01779f0561ef04ac4658726bb75eec7e74ee4247dddd6f58c2a29400c55e9aad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:22:09 ---> job-cost.sh 04:22:09 lf-activate-venv: SKIPPING 04:22:09 INFO: No Stack... 04:22:10 INFO: Retrieving Pricing Info for: v3-standard-4 04:22:10 INFO: Archiving Costs [Pipeline] sh 04:22:11 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:22:11 + cut -d, -f6 [Pipeline] lock 04:22:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1223-1-stack-cost] 04:22:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1223-1-stack-cost] did not exist. Created. 04:22:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1223-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:22:12 /w/workspace/device-sdk-go/1@tmp/durable-e883b238/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:22:13 + echo total: 0.10999999940395355 [Pipeline] stash 04:22:13 Warning: overwriting stash ‘stack-cost’ 04:22:13 Stashed 1 file(s) [Pipeline] } 04:22:13 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1223-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:22:13 $ docker stop --time=1 01779f0561ef04ac4658726bb75eec7e74ee4247dddd6f58c2a29400c55e9aad 04:22:14 $ docker rm -f 01779f0561ef04ac4658726bb75eec7e74ee4247dddd6f58c2a29400c55e9aad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:22:15 provisioning config files... 04:22:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp/config1032707661872109868tmp [Pipeline] { [Pipeline] sh 04:22:15 + set +x 04:22:15 + + bash -s -- 04:22:15 curl -s https://codecov.io/bash 04:22:15 04:22:15 _____ _ 04:22:15 / ____| | | 04:22:15 | | ___ __| | ___ ___ _____ __ 04:22:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:22:15 | |___| (_) | (_| | __/ (_| (_) \ V / 04:22:15 \_____\___/ \__,_|\___|\___\___/ \_/ 04:22:15 Bash-1.0.6 04:22:15 04:22:15 04:22:15 ==> git version 2.25.1 found 04:22:15 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:22:15 Release-Date: 2020-01-08 04:22:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:22:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:22:15 ==> Jenkins CI detected. 04:22:15 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1223 04:22:15 project root: . 04:22:15 --> token set from env 04:22:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:22:15 ==> Running gcov in . (disable via -X gcov) 04:22:15 ==> Python coveragepy not found 04:22:15 ==> Searching for coverage reports in: 04:22:15 + . 04:22:15 -> Found 1 reports 04:22:15 ==> Detecting git/mercurial file structure 04:22:15 ==> Reading reports 04:22:15 + ./coverage.out bytes=100927 04:22:15 ==> Appending adjustments 04:22:15 https://docs.codecov.io/docs/fixing-reports 04:22:16 + Found adjustments 04:22:16 ==> Gzipping contents 04:22:16 16K /tmp/codecov.9uytb9.gz 04:22:16 ==> Uploading reports 04:22:16 url: https://codecov.io 04:22:16 query: branch=PR-1223&commit=e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1223%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1223&job=&cmd_args= 04:22:16 -> Pinging Codecov 04:22:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1223&commit=e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1223%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1223&job=&cmd_args= 04:22:16 -> Uploading to 04:22:16 https://storage.googleapis.com/codecov/v4/raw/2022-09-30/7E55EF52A471D76F132DFD9A03CDDE97/e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56/6262514f-f1bd-4c53-826c-e239533a086d.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220930%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220930T042216Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=357d136ec524c54cc24941d20ab4f3e4d5c2bf91b95b1c676994a8ce0567c3d1 04:22:16 % Total % Received % Xferd Average Speed Time Time Time Current 04:22:16 Dload Upload Total Spent Left Speed 04:22:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14505 0 0 100 14505 0 71453 --:--:-- --:--:-- --:--:-- 71102 100 14505 0 0 100 14505 0 68744 --:--:-- --:--:-- --:--:-- 68744 04:22:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/e5fbbac3e99b638f0b4ecf616dc8526e3b4aac56 [Pipeline] } 04:22:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:22:18 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1223/archives ] 04:22:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1223/archives 04:22:18 total 16 04:22:18 drwxr-xr-x 3 root root 4096 Sep 30 04:12 . 04:22:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 04:12 .. 04:22:18 drwxr-xr-x 2 root root 4096 Sep 30 04:12 cost 04:22:18 -rw-r--r-- 1 root root 86 Sep 30 04:12 cost.csv 04:22:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1223/archives 04:22:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1223/archives 04:22:18 total 16 04:22:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 30 04:12 . 04:22:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 30 04:12 .. 04:22:18 drwxr-xr-x 2 jenkins jenkins 4096 Sep 30 04:12 cost 04:22:18 -rw-r--r-- 1 jenkins jenkins 86 Sep 30 04:12 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:22:19 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:22:19 ---> package-listing.sh 04:22:19 ++ facter osfamily 04:22:19 ++ tr '[:upper:]' '[:lower:]' 04:22:20 + OS_FAMILY=debian 04:22:20 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1223 04:22:20 + START_PACKAGES=/tmp/packages_start.txt 04:22:20 + END_PACKAGES=/tmp/packages_end.txt 04:22:20 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:22:20 + PACKAGES=/tmp/packages_start.txt 04:22:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1223 ']' 04:22:20 + PACKAGES=/tmp/packages_end.txt 04:22:20 + case "${OS_FAMILY}" in 04:22:20 + dpkg -l 04:22:20 + grep '^ii' 04:22:20 + '[' -f /tmp/packages_start.txt ']' 04:22:20 + '[' -f /tmp/packages_end.txt ']' 04:22:20 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:22:20 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1223 ']' 04:22:20 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1223/archives/ 04:22:20 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1223/archives/ [Pipeline] echo 04:22:20 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-1223/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:22:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:22:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:22:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:22:21 prd-ubuntu20.04-docker-8c-8g-5854 does not seem to be running inside a container 04:22:21 $ 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-1223/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-1223 -v /w/workspace/gexfoundry_device-sdk-go_PR-1223:/w/workspace/gexfoundry_device-sdk-go_PR-1223:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1223@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:22:21 $ docker top ca6f731c07791e58eca416c6225b562407418af60122a3f18015084ed7eea883 -eo pid,comm [Pipeline] { [Pipeline] sh 04:22:21 + touch /tmp/pre-build-complete [Pipeline] sh 04:22:22 + mkdir -p /var/log/sysstat [Pipeline] sh 04:22:22 + ls /var/log/sa-host 04:22:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:22:22 provisioning config files... 04:22:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1223@tmp/config6489792504142749726tmp [Pipeline] { [Pipeline] echo 04:22:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:22:22 ---> create-netrc.sh [Pipeline] } 04:22:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:22:23 ---> python-tools-install.sh [Pipeline] echo 04:22:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:22:23 ---> sudo-logs.sh 04:22:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:22:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:22:24 ---> job-cost.sh 04:22:24 lf-activate-venv: SKIPPING 04:22:24 DEBUG: total: 0.2199999988079071 04:22:24 INFO: Retrieving Stack Cost... 04:22:24 INFO: Retrieving Pricing Info for: v3-standard-8 04:22:24 INFO: Archiving Costs [Pipeline] echo 04:22:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:22:25 ---> logs-deploy.sh 04:22:25 lf-activate-venv: SKIPPING 04:22:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1223/1 04:22:25 INFO: archiving workspace using pattern(s): 04:22:26 Archives upload complete. 04:22:26 INFO: archiving logs to Nexus