Pull request #1171 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 2e4502612537125e5dba28ee8f910419ad3e6254+6b28ab18defc125340c64f0ec90f02309642eba1 (cc671acae4e980d5ee0e8a5059356c3e50af76c7) 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-ssh3015994250501476188.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh13095990004151015829.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-1171/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-1171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh829843897041174790.key > 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-1171/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5411977394613455881.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh13210496380622066480.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-1171/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-1171/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh779355982894793052.key > 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 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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.17 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-580 in /w/workspace/gexfoundry_device-sdk-go_PR-1171 [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-1171 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/jakarta commit 6b28ab18defc125340c64f0ec90f02309642eba1 into PR head commit 2e4502612537125e5dba28ee8f910419ad3e6254 Merge succeeded, producing 2e4502612537125e5dba28ee8f910419ad3e6254 Checking out Revision 2e4502612537125e5dba28ee8f910419ad3e6254 (PR-1171) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1171/head:refs/remotes/origin/PR-1171 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e4502612537125e5dba28ee8f910419ad3e6254 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 6b28ab18defc125340c64f0ec90f02309642eba1 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2e4502612537125e5dba28ee8f910419ad3e6254 # timeout=10 Commit message: "build: Update go-mod versions for those that changed for the 2.1.1 patch" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:21:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:21:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:21:37 ========================================================= 21:21:37 EdgeX Global Pipelines Version Info 21:21:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:21:38 ------------------- 21:21:38 stable info: 21:21:38 ------------------- 21:21:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:21:38 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:21:38 Message: update stable to v1.0.230 21:21:38 ------------------- 21:21:38 experimental info: 21:21:38 ------------------- 21:21:38 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:21:38 Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e 21:21:38 Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:21:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:21:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1171 [Pipeline] echo 21:21:40 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1171 [Pipeline] echo 21:21:40 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1171 [Pipeline] echo 21:21:40 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2e4502612537125e5dba28ee8f910419ad3e6254 [Pipeline] echo 21:21:40 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2e45026 [Pipeline] echo 21:21:40 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:40 provisioning config files... 21:21:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp/config1344666418432783392tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:40 ---> docker-login.sh 21:21:40 nexus3.edgexfoundry.org:10001 21:21:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:41 Configure a credential helper to remove this warning. See 21:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:41 21:21:41 Login Succeeded 21:21:41 nexus3.edgexfoundry.org:10002 21:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:41 Configure a credential helper to remove this warning. See 21:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:41 21:21:41 Login Succeeded 21:21:41 nexus3.edgexfoundry.org:10003 21:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:41 Configure a credential helper to remove this warning. See 21:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:41 21:21:41 Login Succeeded 21:21:41 nexus3.edgexfoundry.org:10004 21:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:41 Configure a credential helper to remove this warning. See 21:21:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:41 21:21:41 Login Succeeded 21:21:41 docker.io 21:21:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:42 Configure a credential helper to remove this warning. See 21:21:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:42 21:21:42 Login Succeeded 21:21:42 ---> docker-login.sh ends [Pipeline] } 21:21:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:21:42 + git rev-list -1 --merges 2e4502612537125e5dba28ee8f910419ad3e6254~1..2e4502612537125e5dba28ee8f910419ad3e6254 [Pipeline] echo 21:21:42 -----------> git rev-list -1 --merges 2e4502612537125e5dba28ee8f910419ad3e6254~1..2e4502612537125e5dba28ee8f910419ad3e6254 2e4502612537125e5dba28ee8f910419ad3e6254 [false] [Pipeline] sh 21:21:43 + git log --format=format:%s -1 2e4502612537125e5dba28ee8f910419ad3e6254 [Pipeline] echo 21:21:43 ========================================================= 21:21:43 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:21:43 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:43 + git log --format=format:%s -1 2e4502612537125e5dba28ee8f910419ad3e6254 [Pipeline] echo 21:21:43 [semverPrep] GIT_COMMIT: 2e4502612537125e5dba28ee8f910419ad3e6254, Commit Message: build: Update go-mod versions for those that changed for the 2.1.1 patch [Pipeline] echo 21:21:43 [semverPrep] This is not a build commit. [Pipeline] sh 21:21:43 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:21:43 + grep -v github /etc/ssh/ssh_known_hosts 21:21:43 + [ -e /tmp/ssh_known_hosts ] 21:21:43 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:21:43 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:21:43 + sudo tee -a /etc/ssh/ssh_known_hosts 21:21:43 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:21:44 21:21:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:21:44 latest: Pulling from edgex-devops/py-git-semver 21:21:44 1fe172e4850f: Pulling fs layer 21:21:44 caf521ccaac6: Pulling fs layer 21:21:44 3ead6fa29328: Pulling fs layer 21:21:44 5c2a1cbceb83: Pulling fs layer 21:21:44 a8d5f1318db7: Pulling fs layer 21:21:44 c427282e49a2: Pulling fs layer 21:21:44 1827001aaf11: Pulling fs layer 21:21:44 5c2a1cbceb83: Waiting 21:21:44 a8d5f1318db7: Waiting 21:21:44 c427282e49a2: Waiting 21:21:44 0714d37db230: Pulling fs layer 21:21:44 ac28cf19c067: Pulling fs layer 21:21:44 1827001aaf11: Waiting 21:21:44 0714d37db230: Waiting 21:21:44 ca983d60f3e2: Pulling fs layer 21:21:44 9f894cec8388: Pulling fs layer 21:21:44 ac28cf19c067: Waiting 21:21:44 caf521ccaac6: Download complete 21:21:44 5c2a1cbceb83: Verifying Checksum 21:21:44 5c2a1cbceb83: Download complete 21:21:45 a8d5f1318db7: Verifying Checksum 21:21:45 a8d5f1318db7: Download complete 21:21:45 3ead6fa29328: Verifying Checksum 21:21:45 3ead6fa29328: Download complete 21:21:45 c427282e49a2: Verifying Checksum 21:21:45 c427282e49a2: Download complete 21:21:45 0714d37db230: Verifying Checksum 21:21:45 0714d37db230: Download complete 21:21:45 ac28cf19c067: Download complete 21:21:45 ca983d60f3e2: Verifying Checksum 21:21:45 ca983d60f3e2: Download complete 21:21:45 9f894cec8388: Download complete 21:21:45 1fe172e4850f: Download complete 21:21:45 1827001aaf11: Verifying Checksum 21:21:45 1827001aaf11: Download complete 21:21:46 1fe172e4850f: Pull complete 21:21:46 caf521ccaac6: Pull complete 21:21:47 3ead6fa29328: Pull complete 21:21:47 5c2a1cbceb83: Pull complete 21:21:47 a8d5f1318db7: Pull complete 21:21:47 c427282e49a2: Pull complete 21:21:49 1827001aaf11: Pull complete 21:21:49 0714d37db230: Pull complete 21:21:50 ac28cf19c067: Pull complete 21:21:50 ca983d60f3e2: Pull complete 21:21:50 9f894cec8388: Pull complete 21:21:50 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 21:21:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 21:21:50 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:50 prd-ubuntu20.04-docker-8c-8g-580 does not seem to be running inside a container 21:21:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1171 -v /w/workspace/gexfoundry_device-sdk-go_PR-1171:/w/workspace/gexfoundry_device-sdk-go_PR-1171:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 21:21:51 $ docker top ffda74602be237c202d0ee88cca8a121971cf7e0b359a50cf128a707dd8bd1de -eo pid,comm 21:21:51 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). 21:21:51 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:21:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:52 [ssh-agent] Looking for ssh-agent implementation... 21:21:52 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:52 $ docker exec ffda74602be237c202d0ee88cca8a121971cf7e0b359a50cf128a707dd8bd1de ssh-agent 21:21:52 SSH_AUTH_SOCK=/tmp/ssh-fm5dS0F1ZgSB/agent.33 21:21:52 SSH_AGENT_PID=40 21:21:52 Running ssh-add (command line suppressed) 21:21:52 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp/private_key_6936481830094655694.key (/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp/private_key_6936481830094655694.key) 21:21:52 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:52 + git tag --points-at HEAD [Pipeline] } 21:21:52 $ docker exec --env ******** --env ******** ffda74602be237c202d0ee88cca8a121971cf7e0b359a50cf128a707dd8bd1de ssh-agent -k 21:21:52 unset SSH_AUTH_SOCK; 21:21:52 unset SSH_AGENT_PID; 21:21:52 echo Agent pid 40 killed; 21:21:52 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:21:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:53 [ssh-agent] Looking for ssh-agent implementation... 21:21:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:53 $ docker exec ffda74602be237c202d0ee88cca8a121971cf7e0b359a50cf128a707dd8bd1de ssh-agent 21:21:53 SSH_AUTH_SOCK=/tmp/ssh-PypelRS8UGhs/agent.72 21:21:53 SSH_AGENT_PID=78 21:21:53 Running ssh-add (command line suppressed) 21:21:53 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp/private_key_62724918165657010.key (/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp/private_key_62724918165657010.key) 21:21:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:53 + git semver init 21:21:54 2022-06-01 21:21:54,049 [run_init] DEBUG init version:0.0.0 force:False 21:21:54 2022-06-01 21:21:54,050 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1171/.semver 21:21:54 2022-06-01 21:21:54,051 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1171/.semver 21:21:54 2022-06-01 21:21:54,051 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1171/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1171, universal_newlines=False, shell=None, istream=None) 21:21:55 2022-06-01 21:21:54,837 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1171/.git/info/exclude 21:21:55 2022-06-01 21:21:54,837 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1171/.semver/PR-1171 with force:False 21:21:55 2022-06-01 21:21:54,837 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1171/.semver/PR-1171 21:21:55 2022-06-01 21:21:54,842 [execute] INFO git cat-file --batch-check 21:21:55 2022-06-01 21:21:54,842 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1171/.semver, universal_newlines=False, shell=None, istream=) 21:21:55 2022-06-01 21:21:54,849 [execute] INFO git cat-file --batch 21:21:55 2022-06-01 21:21:54,849 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1171/.semver, universal_newlines=False, shell=None, istream=) 21:21:55 2022-06-01 21:21:54,854 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1171/.semver/PR-1171 21:21:55 0.0.0 [Pipeline] } 21:21:55 $ docker exec --env ******** --env ******** ffda74602be237c202d0ee88cca8a121971cf7e0b359a50cf128a707dd8bd1de ssh-agent -k 21:21:55 unset SSH_AUTH_SOCK; 21:21:55 unset SSH_AGENT_PID; 21:21:55 echo Agent pid 78 killed; 21:21:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:21:55 + git semver [Pipeline] } 21:21:55 $ docker stop --time=1 ffda74602be237c202d0ee88cca8a121971cf7e0b359a50cf128a707dd8bd1de 21:21:57 $ docker rm -f ffda74602be237c202d0ee88cca8a121971cf7e0b359a50cf128a707dd8bd1de [Pipeline] // withDockerContainer [Pipeline] sh 21:21:57 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:21:57 Stashed 1 file(s) [Pipeline] echo 21:21:58 [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 21:21:58 provisioning config files... 21:21:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp/config2382482084529120831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:58 Running on prd-ubuntu20.04-docker-arm64-4c-16g-579 in /w/workspace/gexfoundry_device-sdk-go_PR-1171 [Pipeline] { [Pipeline] ws 21:21:58 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 21:21:58 The recommended git tool is: git 21:21:58 ---> docker-login.sh 21:21:58 nexus3.edgexfoundry.org:10001 21:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:58 Configure a credential helper to remove this warning. See 21:21:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:58 21:21:58 Login Succeeded 21:21:58 nexus3.edgexfoundry.org:10002 21:21:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:59 Configure a credential helper to remove this warning. See 21:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:59 21:21:59 Login Succeeded 21:21:59 nexus3.edgexfoundry.org:10003 21:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:59 Configure a credential helper to remove this warning. See 21:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:59 21:21:59 Login Succeeded 21:21:59 nexus3.edgexfoundry.org:10004 21:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:59 Configure a credential helper to remove this warning. See 21:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:59 21:21:59 Login Succeeded 21:21:59 docker.io 21:21:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:59 Configure a credential helper to remove this warning. See 21:21:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:59 21:21:59 Login Succeeded 21:21:59 ---> docker-login.sh ends [Pipeline] } 21:21:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:21:59 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:59 ========================================================= 21:21:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts] 21:21:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:00 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 21:22:00 Sending build context to Docker daemon 20.73MB 21:22:00 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:22:00 Step 2/10 : FROM ${BASE} AS builder 21:22:00 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base 21:22:00 59bf1c3509f3: Pulling fs layer 21:22:00 666ba61612fd: Pulling fs layer 21:22:00 8ed8ca486205: Pulling fs layer 21:22:00 4fe6c5a15a65: Pulling fs layer 21:22:00 22a0e8bec74d: Pulling fs layer 21:22:00 812f408151ee: Pulling fs layer 21:22:00 bab7bd504b26: Pulling fs layer 21:22:00 070449caade9: Pulling fs layer 21:22:00 8f1a5288e3a6: Pulling fs layer 21:22:00 812f408151ee: Waiting 21:22:00 070449caade9: Waiting 21:22:00 bab7bd504b26: Waiting 21:22:00 22a0e8bec74d: Waiting 21:22:00 4fe6c5a15a65: Waiting 21:22:00 8ed8ca486205: Download complete 21:22:00 666ba61612fd: Verifying Checksum 21:22:00 666ba61612fd: Download complete 21:22:00 22a0e8bec74d: Download complete 21:22:00 812f408151ee: Verifying Checksum 21:22:00 59bf1c3509f3: Verifying Checksum 21:22:00 59bf1c3509f3: Download complete 21:22:00 bab7bd504b26: Verifying Checksum 21:22:00 bab7bd504b26: Download complete 21:22:00 070449caade9: Verifying Checksum 21:22:00 070449caade9: Download complete 21:22:00 59bf1c3509f3: Pull complete 21:22:00 666ba61612fd: Pull complete 21:22:01 8ed8ca486205: Pull complete 21:22:01 8f1a5288e3a6: Verifying Checksum 21:22:01 8f1a5288e3a6: Download complete 21:22:01 4fe6c5a15a65: Verifying Checksum 21:22:01 4fe6c5a15a65: Download complete 21:22:03 using credential edgex-jenkins-ssh 21:22:03 Cloning the remote Git repository 21:22:03 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 21:22:03 > git init /w/workspace/device-sdk-go/1 # timeout=10 21:22:03 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:22:03 > git --version # timeout=10 21:22:03 > git --version # 'git version 2.25.1' 21:22:03 using GIT_SSH to set credentials SSH Credentials for GitHub 21:22:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:22:05 4fe6c5a15a65: Pull complete 21:22:05 22a0e8bec74d: Pull complete 21:22:05 812f408151ee: Pull complete 21:22:05 bab7bd504b26: Pull complete 21:22:06 Merging remotes/origin/jakarta commit 6b28ab18defc125340c64f0ec90f02309642eba1 into PR head commit 2e4502612537125e5dba28ee8f910419ad3e6254 21:22:06 070449caade9: Pull complete 21:22:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:22:05 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:22:05 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 21:22:05 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 21:22:05 using GIT_SSH to set credentials SSH Credentials for GitHub 21:22:05 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1171/head:refs/remotes/origin/PR-1171 +refs/heads/jakarta:refs/remotes/origin/jakarta # timeout=10 21:22:06 > git config core.sparsecheckout # timeout=10 21:22:06 > git checkout -f 2e4502612537125e5dba28ee8f910419ad3e6254 # timeout=10 21:22:06 Merge succeeded, producing 2e4502612537125e5dba28ee8f910419ad3e6254 21:22:06 Checking out Revision 2e4502612537125e5dba28ee8f910419ad3e6254 (PR-1171) 21:22:06 > git remote # timeout=10 21:22:06 > git config --get remote.origin.url # timeout=10 21:22:06 using GIT_SSH to set credentials SSH Credentials for GitHub 21:22:06 > git merge 6b28ab18defc125340c64f0ec90f02309642eba1 # timeout=10 21:22:06 > git rev-parse HEAD^{commit} # timeout=10 21:22:06 > git config core.sparsecheckout # timeout=10 21:22:06 > git checkout -f 2e4502612537125e5dba28ee8f910419ad3e6254 # timeout=10 21:22:08 8f1a5288e3a6: Pull complete 21:22:08 Digest: sha256:53030bcd5b82665afb3cefeba7a6fee19172d9224e433a3be554ad5982a25c96 21:22:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.17-alpine-lts 21:22:08 ---> c47586b81864 21:22:08 Step 3/10 : ARG MAKE=make build 21:22:11 ---> Running in 37ad696156dc 21:22:11 Removing intermediate container 37ad696156dc 21:22:11 ---> 19929126795c 21:22:11 Step 4/10 : WORKDIR /device-sdk-go 21:22:11 ---> Running in da34bb5efa12 21:22:11 Removing intermediate container da34bb5efa12 21:22:11 ---> f8a5b64b653d 21:22:11 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:22:11 ---> Running in b605959a6edb 21:22:11 Commit message: "build: Update go-mod versions for those that changed for the 2.1.1 patch" 21:22:11 > git --version # timeout=10 21:22:11 > git --version # 'git version 2.25.1' 21:22:11 fatal: bad object 95c76d14630896f3c9cf825147e1b1e2bad20cbb 21:22:11 Removing intermediate container b605959a6edb 21:22:11 ---> 26e320e03860 21:22:11 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:22:11 ---> Running in 6057ff49730a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:22:12 Removing intermediate container 6057ff49730a 21:22:12 ---> 1db29ab0b479 21:22:12 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:22:12 ---> Running in b44bc12aef2f 21:22:12 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:22:12 % Total % Received % Xferd Average Speed Time Time Time Current 21:22:12 Dload Upload Total Spent Left Speed 21:22:12 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 95726 0 --:--:-- --:--:-- --:--:-- 96480 21:22:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [Pipeline] sh 21:22:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:22:13 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:22:13 OK: 221 MiB in 52 packages 21:22:13 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:22:13 + sudo tee /etc/docker/daemon.new 21:22:13 { 21:22:13 "registry-mirrors": [ 21:22:13 "https://nexus3.edgexfoundry.org:10001" 21:22:13 ], 21:22:13 "bip": "10.250.0.254/24", 21:22:13 "hosts": [ 21:22:13 "tcp://0.0.0.0:5555", 21:22:13 "unix:///var/run/docker.sock" 21:22:13 ], 21:22:13 "mtu": 1458, 21:22:13 "selinux-enabled": true, 21:22:13 "seccomp-profile": "/etc/docker/seccomp.json" 21:22:13 } [Pipeline] sh 21:22:13 Removing intermediate container b44bc12aef2f 21:22:13 ---> ecd6e31ebc4d 21:22:13 Step 8/10 : COPY . . 21:22:14 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:22:14 + sudo service docker restart 21:22:15 ---> ed029b0625b4 21:22:15 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:15 ---> Running in 688d3fa70831 21:22:15 skipping... 21:22:15 Removing intermediate container 688d3fa70831 21:22:15 ---> febb3493b09a 21:22:15 Step 10/10 : RUN ${MAKE} 21:22:15 ---> Running in 12336ba3c7b3 21:22:16 noop 21:22:16 Removing intermediate container 12336ba3c7b3 21:22:16 ---> a35b85ad2957 21:22:16 Successfully built a35b85ad2957 21:22:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:16 + docker inspect -f . ci-base-image-x86_64 21:22:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:16 prd-ubuntu20.04-docker-8c-8g-580 does not seem to be running inside a container 21:22:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1171 -v /w/workspace/gexfoundry_device-sdk-go_PR-1171:/w/workspace/gexfoundry_device-sdk-go_PR-1171:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:22:17 $ docker top 0a126cf17394f2fcdf561d157853bcd611669b78aad7f10c8d4882eaf91e4c48 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:17 + go version 21:22:17 go version go1.17.6 linux/amd64 [Pipeline] } 21:22:17 $ docker stop --time=1 0a126cf17394f2fcdf561d157853bcd611669b78aad7f10c8d4882eaf91e4c48 21:22:19 $ docker rm -f 0a126cf17394f2fcdf561d157853bcd611669b78aad7f10c8d4882eaf91e4c48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:19 + docker inspect -f . ci-base-image-x86_64 21:22:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:20 prd-ubuntu20.04-docker-8c-8g-580 does not seem to be running inside a container 21:22:20 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1171 -v /w/workspace/gexfoundry_device-sdk-go_PR-1171:/w/workspace/gexfoundry_device-sdk-go_PR-1171:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:22:20 $ docker top 691e030b5c05f861986a58f8324ff50149dd88c2463be79345fb196789799f7a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 21:22:21 + make test 21:22:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:22:27 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:22:32 provisioning config files... 21:22:32 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config116847629720330998tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:33 ---> docker-login.sh 21:22:33 nexus3.edgexfoundry.org:10001 21:22:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:34 Configure a credential helper to remove this warning. See 21:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:34 21:22:34 Login Succeeded 21:22:34 nexus3.edgexfoundry.org:10002 21:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:34 Configure a credential helper to remove this warning. See 21:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:34 21:22:34 Login Succeeded 21:22:34 nexus3.edgexfoundry.org:10003 21:22:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:34 Configure a credential helper to remove this warning. See 21:22:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:34 21:22:34 Login Succeeded 21:22:34 nexus3.edgexfoundry.org:10004 21:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:35 Configure a credential helper to remove this warning. See 21:22:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:35 21:22:35 Login Succeeded 21:22:35 docker.io 21:22:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:36 Configure a credential helper to remove this warning. See 21:22:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:36 21:22:36 Login Succeeded 21:22:36 ---> docker-login.sh ends [Pipeline] } 21:22:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:22:36 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:36 ========================================================= 21:22:36 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts] 21:22:36 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:37 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts --build-arg MAKE=echo noop --target=builder . 21:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.063s coverage: 23.3% of statements 21:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.056s coverage: 27.6% of statements 21:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.057s coverage: 78.9% of statements 21:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.080s coverage: 9.0% of statements 21:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:22:37 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.082s coverage: 28.7% of statements 21:22:37 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:22:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.084s coverage: 82.9% of statements 21:22:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:22:38 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:22:38 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.115s coverage: 57.8% of statements 21:22:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 1.000s coverage: 89.2% of statements 21:22:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:22:38 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.060s coverage: 4.8% of statements 21:22:38 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:22:38 GO111MODULE=on go vet ./... 21:22:38 Sending build context to Docker daemon 16.26MB 21:22:38 Step 1/10 : ARG BASE=golang:1.16-alpine3.14 21:22:38 Step 2/10 : FROM ${BASE} AS builder 21:22:38 1.17-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 21:22:38 9b3977197b4f: Pulling fs layer 21:22:38 1a89e8eeedd5: Pulling fs layer 21:22:38 94645a83ff95: Pulling fs layer 21:22:38 3f3a8bcf1eab: Pulling fs layer 21:22:38 0c92f367c5e7: Pulling fs layer 21:22:38 63b1bc5785f6: Pulling fs layer 21:22:38 626d30ff41c6: Pulling fs layer 21:22:38 de1d54c125be: Pulling fs layer 21:22:38 3f3a8bcf1eab: Waiting 21:22:38 0c92f367c5e7: Waiting 21:22:38 63b1bc5785f6: Waiting 21:22:38 626d30ff41c6: Waiting 21:22:38 de1d54c125be: Waiting 21:22:38 94645a83ff95: Verifying Checksum 21:22:38 94645a83ff95: Download complete 21:22:38 0c92f367c5e7: Verifying Checksum 21:22:38 0c92f367c5e7: Download complete 21:22:38 63b1bc5785f6: Verifying Checksum 21:22:38 63b1bc5785f6: Download complete 21:22:38 9b3977197b4f: Verifying Checksum 21:22:38 9b3977197b4f: Download complete 21:22:38 626d30ff41c6: Verifying Checksum 21:22:38 626d30ff41c6: Download complete 21:22:39 9b3977197b4f: Pull complete 21:22:39 1a89e8eeedd5: Pull complete 21:22:40 94645a83ff95: Pull complete 21:22:40 de1d54c125be: Verifying Checksum 21:22:40 de1d54c125be: Download complete 21:22:40 3f3a8bcf1eab: Verifying Checksum 21:22:40 3f3a8bcf1eab: Download complete 21:22:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:22:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:22:46 ./bin/test-attribution-txt.sh 21:22:46 go: downloading github.com/OneOfOne/xxhash v1.2.8 21:22:46 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 21:22:46 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 21:22:46 go: downloading github.com/google/uuid v1.3.0 21:22:46 go: downloading github.com/stretchr/testify v1.7.0 21:22:46 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 21:22:46 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:22:46 go: downloading github.com/gorilla/mux v1.8.0 21:22:46 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 21:22:46 go: downloading github.com/pelletier/go-toml v1.9.4 21:22:46 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:22:46 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 21:22:46 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:22:46 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 21:22:46 go: downloading github.com/hashicorp/consul/api v1.9.1 21:22:46 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:22:46 go: downloading github.com/hashicorp/go-multierror v1.1.0 21:22:46 go: downloading github.com/go-playground/validator/v10 v10.9.0 21:22:46 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 21:22:46 go: downloading github.com/go-kit/kit v0.11.0 21:22:46 go: downloading github.com/davecgh/go-spew v1.1.1 21:22:46 go: downloading github.com/pmezard/go-difflib v1.0.0 21:22:46 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:22:46 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:22:46 go: downloading github.com/pebbe/zmq4 v1.2.7 21:22:46 go: downloading github.com/stretchr/objx v0.1.1 21:22:46 go: downloading github.com/go-logfmt/logfmt v0.5.0 21:22:46 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:22:46 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:22:46 go: downloading github.com/mitchellh/copystructure v1.0.0 21:22:46 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:22:46 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 21:22:46 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 21:22:46 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:22:46 go: downloading golang.org/x/text v0.3.6 21:22:46 go: downloading github.com/hashicorp/errwrap v1.0.0 21:22:46 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:22:46 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:22:46 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:22:46 go: downloading github.com/hashicorp/serf v0.9.5 21:22:46 go: downloading github.com/x448/float16 v0.8.4 21:22:46 go: downloading github.com/go-playground/universal-translator v0.18.0 21:22:46 go: downloading github.com/leodido/go-urn v1.2.1 21:22:46 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 21:22:46 go: downloading github.com/gorilla/websocket v1.4.2 21:22:46 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:22:46 go: downloading github.com/fatih/color v1.9.0 21:22:46 go: downloading github.com/mattn/go-colorable v0.1.6 21:22:46 go: downloading github.com/mattn/go-isatty v0.0.12 21:22:46 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:22:46 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 21:22:48 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 21:22:48 + go mod tidy 21:22:48 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:22:48 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:22:48 go: downloading github.com/go-stack/stack v1.8.0 21:22:48 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:22:48 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:22:48 go: downloading github.com/onsi/ginkgo v1.10.1 21:22:48 go: downloading github.com/onsi/gomega v1.7.0 21:22:48 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:22:48 go: downloading github.com/hashicorp/memberlist v0.2.2 21:22:48 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:22:48 go: downloading github.com/pkg/errors v0.9.1 21:22:48 go: downloading github.com/kr/pretty v0.3.0 21:22:48 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:22:48 go: downloading github.com/kr/text v0.2.0 21:22:48 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:22:48 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:22:48 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:22:48 go: downloading github.com/miekg/dns v1.1.26 21:22:48 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:22:48 go: downloading gopkg.in/yaml.v2 v2.3.0 21:22:48 go: downloading github.com/hpcloud/tail v1.0.0 21:22:48 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:22:48 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 21:22:49 $ docker stop --time=1 691e030b5c05f861986a58f8324ff50149dd88c2463be79345fb196789799f7a 21:22:51 $ docker rm -f 691e030b5c05f861986a58f8324ff50149dd88c2463be79345fb196789799f7a [Pipeline] // withDockerContainer [Pipeline] sh 21:22:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:22:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:22:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:22:53 3f3a8bcf1eab: Pull complete 21:22:53 0c92f367c5e7: Pull complete 21:22:53 63b1bc5785f6: Pull complete 21:22:53 + ls -al . 21:22:53 total 308 21:22:53 drwxrwxr-x 12 jenkins jenkins 4096 Jun 1 21:22 . 21:22:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 21:21 .. 21:22:53 -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 21:21 .dockerignore 21:22:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 21:21 .git 21:22:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 21:21 .github 21:22:53 -rw-rw-r-- 1 jenkins jenkins 124 Jun 1 21:21 .gitignore 21:22:53 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 21:21 .semver 21:22:53 -rw-rw-r-- 1 jenkins jenkins 26321 Jun 1 21:21 CHANGELOG.md 21:22:53 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 21:21 GOVERNANCE.md 21:22:53 -rw-rw-r-- 1 jenkins jenkins 880 Jun 1 21:21 Jenkinsfile 21:22:53 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 1 21:21 LICENSE 21:22:53 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 1 21:21 Makefile 21:22:53 -rw-rw-r-- 1 jenkins jenkins 619 Jun 1 21:21 OWNERS.md 21:22:53 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 1 21:21 README.md 21:22:53 -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 21:21 VERSION 21:22:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 21:21 bin 21:22:53 -rw-r--r-- 1 jenkins jenkins 128641 Jun 1 21:22 coverage.out 21:22:53 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 21:21 example 21:22:53 -rw-rw-r-- 1 jenkins jenkins 588 Jun 1 21:22 go.mod 21:22:53 -rw-rw-r-- 1 jenkins jenkins 48982 Jun 1 21:21 go.sum 21:22:53 drwxrwxr-x 15 jenkins jenkins 4096 Jun 1 21:21 internal 21:22:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 21:21 openapi 21:22:53 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 21:21 pkg 21:22:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 21:21 snap 21:22:53 drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 21:21 vendor 21:22:53 -rw-rw-r-- 1 jenkins jenkins 222 Jun 1 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:53 626d30ff41c6: Pull complete 21:22:53 + 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=2e4502612537125e5dba28ee8f910419ad3e6254 --label arch=amd64 --label version=0.0.0 . 21:22:54 Sending build context to Docker daemon 20.86MB 21:22:54 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:22:54 Step 2/24 : FROM ${BASE} AS builder 21:22:54 ---> a35b85ad2957 21:22:54 Step 3/24 : ARG MAKE=make build 21:22:54 ---> Running in 732904eb6f66 21:22:54 Removing intermediate container 732904eb6f66 21:22:54 ---> 50d4a7e74000 21:22:54 Step 4/24 : WORKDIR /device-sdk-go 21:22:54 ---> Running in f9ba6cf5a6a8 21:22:54 Removing intermediate container f9ba6cf5a6a8 21:22:54 ---> cffcef416db3 21:22:54 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:22:54 ---> Running in 8a26dd36b345 21:22:54 Removing intermediate container 8a26dd36b345 21:22:54 ---> 34458f218e10 21:22:54 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:22:54 ---> Running in 6e1ebec2ad74 21:22:55 Removing intermediate container 6e1ebec2ad74 21:22:55 ---> 0e836403d283 21:22:55 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:22:55 ---> Running in 7a0eccc8ad8a 21:22:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 21:22:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 21:22:56 OK: 221 MiB in 52 packages 21:22:56 Removing intermediate container 7a0eccc8ad8a 21:22:56 ---> fa6b98798bea 21:22:56 Step 8/24 : COPY . . 21:22:58 ---> f033fb3be175 21:22:58 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:58 ---> Running in 828641e6eb28 21:22:58 skipping... 21:22:58 Removing intermediate container 828641e6eb28 21:22:58 ---> 94b64d657d75 21:22:58 Step 10/24 : RUN ${MAKE} 21:22:58 ---> Running in 80722077fce2 21:22:59 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:23:00 de1d54c125be: Pull complete 21:23:00 Digest: sha256:c13e7f4b3dabbafca41e473b4c3190511df4cc90c6116df0ec0acdea4752f811 21:23:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.17-alpine-lts 21:23:00 ---> 5f011755c4a2 21:23:00 Step 3/10 : ARG MAKE=make build 21:23:01 ---> Running in 805c52a15080 21:23:01 Removing intermediate container 805c52a15080 21:23:01 ---> b832619df649 21:23:01 Step 4/10 : WORKDIR /device-sdk-go 21:23:01 ---> Running in e35335bface4 21:23:01 Removing intermediate container e35335bface4 21:23:01 ---> e64e4cbedf2b 21:23:01 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:23:02 ---> Running in d8b56a2ce48d 21:23:02 Removing intermediate container d8b56a2ce48d 21:23:02 ---> 776b5b50e6eb 21:23:02 Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:23:02 ---> Running in 26e9101e3724 21:23:04 Removing intermediate container 26e9101e3724 21:23:04 ---> 72028e1c9c11 21:23:04 Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:23:04 ---> Running in d3a975bfd824 21:23:04 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:23:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:23:05 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:23:06 OK: 220 MiB in 52 packages 21:23:07 Removing intermediate container 80722077fce2 21:23:07 ---> 5c3577fc0070 21:23:07 Step 11/24 : FROM alpine:3.14 21:23:07 Removing intermediate container d3a975bfd824 21:23:07 ---> f95c4858d576 21:23:07 Step 8/10 : COPY . . 21:23:07 3.14: Pulling from library/alpine 21:23:07 8663204ce13b: Pulling fs layer 21:23:07 8663204ce13b: Verifying Checksum 21:23:07 8663204ce13b: Download complete 21:23:08 8663204ce13b: Pull complete 21:23:08 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:23:08 Status: Downloaded newer image for alpine:3.14 21:23:08 ---> e04c818066af 21:23:08 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:23:08 ---> Running in 55a8f3434443 21:23:08 Removing intermediate container 55a8f3434443 21:23:08 ---> 2dbd116234ce 21:23:08 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:23:08 ---> Running in 701ab9ffa7c1 21:23:09 Removing intermediate container 701ab9ffa7c1 21:23:09 ---> 99befac35c52 21:23:09 Step 14/24 : RUN apk add --update --no-cache zeromq 21:23:09 ---> Running in a22e3bc03574 21:23:09 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 21:23:10 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 21:23:10 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:23:10 (2/5) Installing libsodium (1.0.18-r0) 21:23:10 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:23:10 (4/5) Installing libzmq (4.3.4-r0) 21:23:10 (5/5) Installing zeromq (4.3.4-r0) 21:23:10 Executing busybox-1.33.1-r7.trigger 21:23:10 OK: 8 MiB in 19 packages 21:23:11 Removing intermediate container a22e3bc03574 21:23:11 ---> 63ad4686b9ca 21:23:11 Step 15/24 : WORKDIR / 21:23:11 ---> Running in 53dfd0f88624 21:23:11 Removing intermediate container 53dfd0f88624 21:23:11 ---> 2595c00557a3 21:23:11 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:23:11 ---> 8234a09b7b67 21:23:11 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:23:11 ---> 3b2b7c844cbe 21:23:11 Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:23:11 ---> Running in 06d952567918 21:23:11 ---> dbaf3ebbfc31 21:23:11 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:23:12 skipping... 21:23:12 ---> 31a83ad2694c 21:23:12 Step 19/24 : EXPOSE 59999 21:23:12 ---> Running in c1917c0cfee1 21:23:12 Removing intermediate container c1917c0cfee1 21:23:12 ---> 88c5248ffce0 21:23:12 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:23:12 ---> Running in 54e9a2ebe078 21:23:12 Removing intermediate container 54e9a2ebe078 21:23:12 ---> f61d4ac8523d 21:23:12 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:23:12 ---> Running in 01af87ad8dae 21:23:12 Removing intermediate container 01af87ad8dae 21:23:12 ---> 4eaafcc949a9 21:23:12 Step 22/24 : LABEL arch=amd64 21:23:12 ---> Running in fae303ca2af7 21:23:12 Removing intermediate container 06d952567918 21:23:12 ---> 3123035cffb9 21:23:12 Step 10/10 : RUN ${MAKE} 21:23:12 ---> Running in 9dfcc8b1c38b 21:23:12 Removing intermediate container fae303ca2af7 21:23:12 ---> bfad832e8daf 21:23:12 Step 23/24 : LABEL git_sha=2e4502612537125e5dba28ee8f910419ad3e6254 21:23:12 ---> Running in 743278de0b80 21:23:12 Removing intermediate container 743278de0b80 21:23:12 ---> d4a8d6b9bc53 21:23:12 Step 24/24 : LABEL version=0.0.0 21:23:12 ---> Running in 7b1c4b9e6ab5 21:23:13 Removing intermediate container 7b1c4b9e6ab5 21:23:13 ---> 017246584c30 21:23:13 [Warning] One or more build-args [ARCH] were not consumed 21:23:13 Successfully built 017246584c30 21:23:13 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 21:23:13 noop 21:23:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:13 21:23:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:14 latest: Pulling from edgex-lftools-log-publisher 21:23:14 5eb5b503b376: Pulling fs layer 21:23:14 5c69ac0246d0: Pulling fs layer 21:23:14 ec43610c2a17: Pulling fs layer 21:23:14 3a2ae6a8a46f: Pulling fs layer 21:23:14 33b1e0a273af: Pulling fs layer 21:23:14 5d3b04190fa2: Pulling fs layer 21:23:14 2f39f015ded8: Pulling fs layer 21:23:14 33b1e0a273af: Waiting 21:23:14 2f39f015ded8: Waiting 21:23:14 5d3b04190fa2: Waiting 21:23:14 3a2ae6a8a46f: Waiting 21:23:14 5c69ac0246d0: Download complete 21:23:14 3a2ae6a8a46f: Download complete 21:23:14 33b1e0a273af: Verifying Checksum 21:23:14 33b1e0a273af: Download complete 21:23:14 ec43610c2a17: Verifying Checksum 21:23:14 ec43610c2a17: Download complete 21:23:14 Removing intermediate container 9dfcc8b1c38b 21:23:14 ---> 5b3b31a230b2 21:23:14 5d3b04190fa2: Verifying Checksum 21:23:14 5d3b04190fa2: Download complete 21:23:14 5eb5b503b376: Verifying Checksum 21:23:14 5eb5b503b376: Download complete 21:23:14 Successfully built 5b3b31a230b2 21:23:14 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:15 + docker inspect -f . ci-base-image-arm64 21:23:15 . 21:23:15 2f39f015ded8: Download complete [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:15 prd-ubuntu20.04-docker-arm64-4c-16g-579 does not seem to be running inside a container 21:23:15 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:23:15 5eb5b503b376: Pull complete 21:23:15 5c69ac0246d0: Pull complete 21:23:16 ec43610c2a17: Pull complete 21:23:16 3a2ae6a8a46f: Pull complete 21:23:16 33b1e0a273af: Pull complete 21:23:16 5d3b04190fa2: Pull complete 21:23:16 $ docker top e913d46e40e47c45402cfffccf7ae8d7d460ace3ef27c5666d14b5d700f3edf2 -eo pid,comm [Pipeline] { [Pipeline] sh 21:23:17 + go version 21:23:17 go version go1.17.6 linux/arm64 [Pipeline] } 21:23:17 $ docker stop --time=1 e913d46e40e47c45402cfffccf7ae8d7d460ace3ef27c5666d14b5d700f3edf2 21:23:19 $ docker rm -f e913d46e40e47c45402cfffccf7ae8d7d460ace3ef27c5666d14b5d700f3edf2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:20 + docker inspect -f . ci-base-image-arm64 21:23:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:20 prd-ubuntu20.04-docker-arm64-4c-16g-579 does not seem to be running inside a container 21:23:20 $ 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 ******** -e ******** ci-base-image-arm64 cat 21:23:21 2f39f015ded8: Pull complete 21:23:21 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:23:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:21 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:22 $ docker top fbf0c21c5a82fd19408fac4f0206c78abfb4aae5125102ec1cb8892dd133bc63 -eo pid,comm [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] fileExists [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:22 prd-ubuntu20.04-docker-8c-8g-580 does not seem to be running inside a container 21:23:22 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1171 -v /w/workspace/gexfoundry_device-sdk-go_PR-1171:/w/workspace/gexfoundry_device-sdk-go_PR-1171:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:23:24 $ docker top 436d81283b00e456b7bf93265cfdf3511f74e49db443eca78d07d5f65c9f8af6 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh 21:23:25 ---> job-cost.sh 21:23:25 lf-activate-venv: SKIPPING 21:23:25 INFO: No Stack... 21:23:25 + make test 21:23:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 21:23:25 INFO: Retrieving Pricing Info for: v3-standard-8 21:23:25 INFO: Archiving Costs [Pipeline] sh 21:23:26 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1171/archives/cost.csv 21:23:26 + cut -d, -f6 [Pipeline] lock 21:23:26 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1171-1-stack-cost] 21:23:26 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1171-1-stack-cost] did not exist. Created. 21:23:26 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:23:26 + echo total: 0.2199999988079071 [Pipeline] stash 21:23:26 Stashed 1 file(s) [Pipeline] } 21:23:26 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1171-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:23:26 $ docker stop --time=1 436d81283b00e456b7bf93265cfdf3511f74e49db443eca78d07d5f65c9f8af6 21:23:28 $ docker rm -f 436d81283b00e456b7bf93265cfdf3511f74e49db443eca78d07d5f65c9f8af6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:23:52 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 21:25:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 21:25:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 21:25:00 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 21:25:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.341s coverage: 23.3% of statements 21:25:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 21:25:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.226s coverage: 27.6% of statements 21:25:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.319s coverage: 78.9% of statements 21:25:04 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.268s coverage: 9.0% of statements 21:25:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] 21:25:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 21:25:04 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 21:25:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.371s coverage: 28.7% of statements 21:25:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 21:25:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.312s coverage: 82.9% of statements 21:25:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 21:25:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 21:25:06 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.396s coverage: 57.8% of statements 21:25:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.057s coverage: 89.2% of statements 21:25:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 21:25:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.207s coverage: 4.8% of statements 21:25:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 21:25:11 GO111MODULE=on go vet ./... 21:26:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:26:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:26:08 ./bin/test-attribution-txt.sh 21:26:08 go: downloading github.com/edgexfoundry/go-mod-core-contracts/v2 v2.1.0 21:26:08 go: downloading github.com/edgexfoundry/go-mod-bootstrap/v2 v2.1.1-dev.2 21:26:08 go: downloading github.com/OneOfOne/xxhash v1.2.8 21:26:08 go: downloading github.com/google/uuid v1.3.0 21:26:08 go: downloading github.com/stretchr/testify v1.7.0 21:26:08 go: downloading github.com/edgexfoundry/go-mod-registry/v2 v2.1.0 21:26:08 go: downloading github.com/edgexfoundry/go-mod-messaging/v2 v2.1.1-dev.2 21:26:08 go: downloading github.com/pelletier/go-toml v1.9.4 21:26:08 go: downloading gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b 21:26:08 go: downloading bitbucket.org/bertimus9/systemstat v0.0.0-20180207000608-0eeff89b0690 21:26:08 go: downloading github.com/gorilla/mux v1.8.0 21:26:08 go: downloading github.com/edgexfoundry/go-mod-configuration/v2 v2.1.0 21:26:08 go: downloading github.com/hashicorp/go-immutable-radix v1.0.0 21:26:08 go: downloading github.com/edgexfoundry/go-mod-secrets/v2 v2.1.1-dev.1 21:26:08 go: downloading github.com/hashicorp/go-multierror v1.1.0 21:26:08 go: downloading github.com/hashicorp/consul/api v1.9.1 21:26:08 go: downloading github.com/mitchellh/consulstructure v0.0.0-20190329231841-56fdc4d2da54 21:26:08 go: downloading github.com/fxamacker/cbor/v2 v2.3.0 21:26:08 go: downloading github.com/go-playground/validator/v10 v10.9.0 21:26:08 go: downloading github.com/go-kit/kit v0.11.0 21:26:08 go: downloading github.com/pebbe/zmq4 v1.2.7 21:26:08 go: downloading github.com/eclipse/paho.mqtt.golang v1.3.5 21:26:08 go: downloading github.com/go-redis/redis/v7 v7.3.0 21:26:08 go: downloading github.com/go-logfmt/logfmt v0.5.0 21:26:08 go: downloading github.com/cenkalti/backoff v2.2.1+incompatible 21:26:08 go: downloading github.com/mitchellh/copystructure v1.0.0 21:26:08 go: downloading github.com/mitchellh/mapstructure v1.1.2 21:26:08 go: downloading github.com/davecgh/go-spew v1.1.1 21:26:08 go: downloading github.com/pmezard/go-difflib v1.0.0 21:26:08 go: downloading github.com/stretchr/objx v0.1.1 21:26:08 go: downloading github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da 21:26:08 go: downloading golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4 21:26:08 go: downloading golang.org/x/text v0.3.6 21:26:08 go: downloading golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 21:26:08 go: downloading github.com/hashicorp/golang-lru v0.5.0 21:26:08 go: downloading github.com/hashicorp/errwrap v1.0.0 21:26:08 go: downloading github.com/x448/float16 v0.8.4 21:26:08 go: downloading github.com/hashicorp/go-cleanhttp v0.5.1 21:26:08 go: downloading github.com/hashicorp/go-hclog v0.12.0 21:26:08 go: downloading github.com/hashicorp/go-rootcerts v1.0.2 21:26:08 go: downloading github.com/hashicorp/serf v0.9.5 21:26:08 go: downloading github.com/go-playground/universal-translator v0.18.0 21:26:08 go: downloading github.com/leodido/go-urn v1.2.1 21:26:08 go: downloading golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 21:26:08 go: downloading github.com/gorilla/websocket v1.4.2 21:26:08 go: downloading github.com/mitchellh/reflectwalk v1.0.0 21:26:08 go: downloading github.com/fatih/color v1.9.0 21:26:08 go: downloading github.com/mattn/go-colorable v0.1.6 21:26:08 go: downloading github.com/mattn/go-isatty v0.0.12 21:26:08 go: downloading github.com/mitchellh/go-homedir v1.1.0 21:26:08 go: downloading github.com/go-playground/locales v0.14.0 [Pipeline] echo 21:26:12 [edgeX.isLTS] Checking if [jakarta] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh 21:26:13 + go mod tidy 21:26:13 go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c 21:26:13 go: downloading github.com/go-playground/assert/v2 v2.0.1 21:26:13 go: downloading github.com/go-stack/stack v1.8.0 21:26:13 go: downloading github.com/hashicorp/consul/sdk v0.8.0 21:26:13 go: downloading github.com/hashicorp/go-uuid v1.0.1 21:26:13 go: downloading github.com/onsi/ginkgo v1.10.1 21:26:13 go: downloading github.com/onsi/gomega v1.7.0 21:26:13 go: downloading github.com/kr/pretty v0.3.0 21:26:13 go: downloading github.com/hashicorp/go-msgpack v0.5.3 21:26:13 go: downloading github.com/hashicorp/memberlist v0.2.2 21:26:13 go: downloading github.com/pkg/errors v0.9.1 21:26:13 go: downloading github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c 21:26:14 go: downloading github.com/kr/text v0.2.0 21:26:14 go: downloading github.com/rogpeppe/go-internal v1.8.0 21:26:14 go: downloading github.com/mitchellh/go-testing-interface v1.0.0 21:26:14 go: downloading github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c 21:26:14 go: downloading github.com/hashicorp/go-sockaddr v1.0.0 21:26:14 go: downloading github.com/miekg/dns v1.1.26 21:26:14 go: downloading github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 21:26:14 go: downloading github.com/hpcloud/tail v1.0.0 21:26:14 go: downloading gopkg.in/yaml.v2 v2.3.0 21:26:14 go: downloading gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 21:26:14 go: downloading gopkg.in/fsnotify.v1 v1.4.7 [Pipeline] } 21:26:14 $ docker stop --time=1 fbf0c21c5a82fd19408fac4f0206c78abfb4aae5125102ec1cb8892dd133bc63 21:26:16 $ docker rm -f fbf0c21c5a82fd19408fac4f0206c78abfb4aae5125102ec1cb8892dd133bc63 [Pipeline] // withDockerContainer [Pipeline] sh 21:26:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:26:19 Warning: overwriting stash ‘coverage-report’ 21:26:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:26:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:26:20 + ls -al . 21:26:20 total 304 21:26:20 drwxrwxr-x 11 jenkins jenkins 4096 Jun 1 21:26 . 21:26:20 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 21:22 .. 21:26:20 -rw-rw-r-- 1 jenkins jenkins 140 Jun 1 21:22 .dockerignore 21:26:20 drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 21:22 .git 21:26:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 21:22 .github 21:26:20 -rw-rw-r-- 1 jenkins jenkins 124 Jun 1 21:22 .gitignore 21:26:20 -rw-rw-r-- 1 jenkins jenkins 26321 Jun 1 21:22 CHANGELOG.md 21:26:20 -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 21:22 GOVERNANCE.md 21:26:20 -rw-rw-r-- 1 jenkins jenkins 880 Jun 1 21:22 Jenkinsfile 21:26:20 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 1 21:22 LICENSE 21:26:20 -rw-rw-r-- 1 jenkins jenkins 1120 Jun 1 21:22 Makefile 21:26:20 -rw-rw-r-- 1 jenkins jenkins 619 Jun 1 21:22 OWNERS.md 21:26:20 -rw-rw-r-- 1 jenkins jenkins 4890 Jun 1 21:22 README.md 21:26:20 -rw-rw-r-- 1 jenkins jenkins 5 Jun 1 21:21 VERSION 21:26:20 drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 21:22 bin 21:26:20 -rw-r--r-- 1 jenkins jenkins 128641 Jun 1 21:25 coverage.out 21:26:20 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 21:22 example 21:26:20 -rw-rw-r-- 1 jenkins jenkins 588 Jun 1 21:26 go.mod 21:26:20 -rw-rw-r-- 1 jenkins jenkins 48982 Jun 1 21:22 go.sum 21:26:20 drwxrwxr-x 15 jenkins jenkins 4096 Jun 1 21:22 internal 21:26:20 drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 21:22 openapi 21:26:20 drwxrwxr-x 5 jenkins jenkins 4096 Jun 1 21:22 pkg 21:26:20 drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 21:22 snap 21:26:20 drwxrwxr-x 6 jenkins jenkins 4096 Jun 1 21:22 vendor 21:26:20 -rw-rw-r-- 1 jenkins jenkins 222 Jun 1 21:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:26:21 + 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=2e4502612537125e5dba28ee8f910419ad3e6254 --label arch=arm64 --label version=0.0.0 . 21:26:22 Sending build context to Docker daemon 16.39MB 21:26:22 Step 1/24 : ARG BASE=golang:1.16-alpine3.14 21:26:22 Step 2/24 : FROM ${BASE} AS builder 21:26:22 ---> 5b3b31a230b2 21:26:22 Step 3/24 : ARG MAKE=make build 21:26:22 ---> Running in 99cb3c5a89c7 21:26:23 Removing intermediate container 99cb3c5a89c7 21:26:23 ---> 0ac86dcffcc0 21:26:23 Step 4/24 : WORKDIR /device-sdk-go 21:26:23 ---> Running in 16edeb200949 21:26:23 Removing intermediate container 16edeb200949 21:26:23 ---> 7db13e9939ab 21:26:23 Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:26:23 ---> Running in 780b68496864 21:26:23 Removing intermediate container 780b68496864 21:26:23 ---> 81c3f5d3e136 21:26:23 Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:26:23 ---> Running in 1c4a148acc16 21:26:25 Removing intermediate container 1c4a148acc16 21:26:25 ---> a5c0f3c32ed4 21:26:25 Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 21:26:25 ---> Running in dddbfb31ee4d 21:26:26 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 21:26:27 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 21:26:28 OK: 220 MiB in 52 packages 21:26:29 Removing intermediate container dddbfb31ee4d 21:26:29 ---> 71f1df1c717a 21:26:29 Step 8/24 : COPY . . 21:26:33 ---> 2f33e185ee4f 21:26:33 Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:33 ---> Running in 794e89915c07 21:26:34 skipping... 21:26:35 Removing intermediate container 794e89915c07 21:26:35 ---> 05d99b941040 21:26:35 Step 10/24 : RUN ${MAKE} 21:26:35 ---> Running in d80b88a58f38 21:26:36 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 21:27:15 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 21:27:15 Removing intermediate container d80b88a58f38 21:27:15 ---> e74b896275fa 21:27:15 Step 11/24 : FROM alpine:3.14 21:27:15 3.14: Pulling from library/alpine 21:27:15 455c02918c45: Pulling fs layer 21:27:15 455c02918c45: Verifying Checksum 21:27:15 455c02918c45: Download complete 21:27:15 455c02918c45: Pull complete 21:27:15 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 21:27:15 Status: Downloaded newer image for alpine:3.14 21:27:15 ---> ac73e934f311 21:27:15 Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 21:27:15 ---> Running in 61ed7b1f4e5b 21:27:16 Removing intermediate container 61ed7b1f4e5b 21:27:16 ---> c6c66efe22b2 21:27:16 Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 21:27:16 ---> Running in 992485d93d46 21:27:18 Removing intermediate container 992485d93d46 21:27:18 ---> 2cd0dcc77219 21:27:18 Step 14/24 : RUN apk add --update --no-cache zeromq 21:27:18 ---> Running in 0e123a8ad9f3 21:27:18 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 21:27:19 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 21:27:20 (1/5) Installing libgcc (10.3.1_git20210424-r2) 21:27:20 (2/5) Installing libsodium (1.0.18-r0) 21:27:20 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 21:27:20 (4/5) Installing libzmq (4.3.4-r0) 21:27:21 (5/5) Installing zeromq (4.3.4-r0) 21:27:21 Executing busybox-1.33.1-r7.trigger 21:27:21 OK: 8 MiB in 19 packages 21:27:22 Removing intermediate container 0e123a8ad9f3 21:27:22 ---> 898a6e592d02 21:27:22 Step 15/24 : WORKDIR / 21:27:22 ---> Running in 29e5e1984541 21:27:22 Removing intermediate container 29e5e1984541 21:27:22 ---> 0ec53c1c42a7 21:27:22 Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 21:27:22 ---> 529792a0c41c 21:27:22 Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 21:27:23 ---> 277dfbab10b9 21:27:23 Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 21:27:24 ---> 4bd44df0a5f4 21:27:24 Step 19/24 : EXPOSE 59999 21:27:24 ---> Running in 7abe3c7f3aef 21:27:24 Removing intermediate container 7abe3c7f3aef 21:27:24 ---> 833a52b0f5f1 21:27:24 Step 20/24 : ENTRYPOINT ["/device-simple"] 21:27:24 ---> Running in bb465b729733 21:27:25 Removing intermediate container bb465b729733 21:27:25 ---> b228f2a5f0f4 21:27:25 Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 21:27:25 ---> Running in 8343ce39f48d 21:27:25 Removing intermediate container 8343ce39f48d 21:27:25 ---> 49ea7d0c0737 21:27:25 Step 22/24 : LABEL arch=arm64 21:27:25 ---> Running in 9616d5710fb3 21:27:25 Removing intermediate container 9616d5710fb3 21:27:25 ---> 29a333c64a77 21:27:25 Step 23/24 : LABEL git_sha=2e4502612537125e5dba28ee8f910419ad3e6254 21:27:25 ---> Running in c50d0acc2543 21:27:26 Removing intermediate container c50d0acc2543 21:27:26 ---> 9a7ba14f01f1 21:27:26 Step 24/24 : LABEL version=0.0.0 21:27:26 ---> Running in 64ab915b37fb 21:27:26 Removing intermediate container 64ab915b37fb 21:27:26 ---> abc9942fb257 21:27:26 [Warning] One or more build-args [ARCH] were not consumed 21:27:26 Successfully built abc9942fb257 21:27:26 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 21:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:27 21:27:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:28 arm64: Pulling from edgex-lftools-log-publisher 21:27:28 8998bd30e6a1: Pulling fs layer 21:27:28 04944245beec: Pulling fs layer 21:27:28 699f458cf7ca: Pulling fs layer 21:27:28 765212b225bb: Pulling fs layer 21:27:28 f23df028b6ca: Pulling fs layer 21:27:28 d65c8cfc05b1: Pulling fs layer 21:27:28 2437ff75d9bd: Pulling fs layer 21:27:28 f23df028b6ca: Waiting 21:27:28 d65c8cfc05b1: Waiting 21:27:28 2437ff75d9bd: Waiting 21:27:28 765212b225bb: Waiting 21:27:28 04944245beec: Verifying Checksum 21:27:28 04944245beec: Download complete 21:27:28 765212b225bb: Verifying Checksum 21:27:28 765212b225bb: Download complete 21:27:28 f23df028b6ca: Verifying Checksum 21:27:28 f23df028b6ca: Download complete 21:27:28 d65c8cfc05b1: Verifying Checksum 21:27:28 d65c8cfc05b1: Download complete 21:27:28 699f458cf7ca: Verifying Checksum 21:27:28 699f458cf7ca: Download complete 21:27:28 8998bd30e6a1: Verifying Checksum 21:27:28 8998bd30e6a1: Download complete 21:27:30 2437ff75d9bd: Verifying Checksum 21:27:30 2437ff75d9bd: Download complete 21:27:33 8998bd30e6a1: Pull complete 21:27:33 04944245beec: Pull complete 21:27:34 699f458cf7ca: Pull complete 21:27:35 765212b225bb: Pull complete 21:27:35 f23df028b6ca: Pull complete 21:27:36 d65c8cfc05b1: Pull complete 21:27:51 2437ff75d9bd: Pull complete 21:27:51 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:27:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:27:51 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:51 prd-ubuntu20.04-docker-arm64-4c-16g-579 does not seem to be running inside a container 21:27:51 $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:27:54 $ docker top 6b2e891dbe72a8a937ec1aaef28faa22cf0b10eb0e9787ea0590ba4da3285459 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:27:54 ---> job-cost.sh 21:27:54 lf-activate-venv: SKIPPING 21:27:54 INFO: No Stack... 21:27:55 INFO: Retrieving Pricing Info for: v3-standard-4 21:27:56 INFO: Archiving Costs [Pipeline] sh 21:27:57 + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, 21:27:57 -f6 [Pipeline] lock 21:27:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1171-1-stack-cost] 21:27:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1171-1-stack-cost] did not exist. Created. 21:27:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1171-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:27:58 /w/workspace/device-sdk-go/1@tmp/durable-0e2a9dc6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:27:58 + echo total: 0.10999999940395355 [Pipeline] stash 21:27:58 Warning: overwriting stash ‘stack-cost’ 21:27:59 Stashed 1 file(s) [Pipeline] } 21:27:59 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1171-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:27:59 $ docker stop --time=1 6b2e891dbe72a8a937ec1aaef28faa22cf0b10eb0e9787ea0590ba4da3285459 21:28:00 $ docker rm -f 6b2e891dbe72a8a937ec1aaef28faa22cf0b10eb0e9787ea0590ba4da3285459 [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 21:28:01 provisioning config files... 21:28:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp/config278948306519190670tmp [Pipeline] { [Pipeline] sh 21:28:02 + set +x 21:28:02 + curl -s https://codecov.io/bash 21:28:02 + bash -s -- 21:28:02 21:28:02 _____ _ 21:28:02 / ____| | | 21:28:02 | | ___ __| | ___ ___ _____ __ 21:28:02 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:28:02 | |___| (_) | (_| | __/ (_| (_) \ V / 21:28:02 \_____\___/ \__,_|\___|\___\___/ \_/ 21:28:02 Bash-1.0.6 21:28:02 21:28:02 21:28:02 ==> git version 2.25.1 found 21:28:02 ==> 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 21:28:02 Release-Date: 2020-01-08 21:28:02 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:28:02 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:28:02 ==> Jenkins CI detected. 21:28:02 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1171 21:28:02 project root: . 21:28:02 --> token set from env 21:28:02 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:28:02 ==> Running gcov in . (disable via -X gcov) 21:28:02 ==> Python coveragepy not found 21:28:02 ==> Searching for coverage reports in: 21:28:02 + . 21:28:02 -> Found 1 reports 21:28:02 ==> Detecting git/mercurial file structure 21:28:02 ==> Reading reports 21:28:02 + ./coverage.out bytes=128641 21:28:02 ==> Appending adjustments 21:28:02 https://docs.codecov.io/docs/fixing-reports 21:28:02 + Found adjustments 21:28:02 ==> Gzipping contents 21:28:02 24K /tmp/codecov.vRkCIi.gz 21:28:02 ==> Uploading reports 21:28:02 url: https://codecov.io 21:28:02 query: branch=PR-1171&commit=2e4502612537125e5dba28ee8f910419ad3e6254&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1171&job=&cmd_args= 21:28:02 -> Pinging Codecov 21:28:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1171&commit=2e4502612537125e5dba28ee8f910419ad3e6254&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1171%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1171&job=&cmd_args= 21:28:03 -> Uploading to 21:28:03 https://storage.googleapis.com/codecov/v4/raw/2022-06-01/7E55EF52A471D76F132DFD9A03CDDE97/2e4502612537125e5dba28ee8f910419ad3e6254/1c2ea613-f05e-4312-8196-760dc107a6c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T212802Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=128035edfd1056092a1e3a13a66662d1dcb2142666a8cbb2b9dd679a7d729eb5 21:28:03 % Total % Received % Xferd Average Speed Time Time Time Current 21:28:03 Dload Upload Total Spent Left Speed 21:28:03 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 23076 0 0 100 23076 0 79847 --:--:-- --:--:-- --:--:-- 79847 21:28:03 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2e4502612537125e5dba28ee8f910419ad3e6254 [Pipeline] } 21:28:03 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 21:28:05 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1171/archives ] 21:28:05 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1171/archives 21:28:05 total 16 21:28:05 drwxr-xr-x 3 root root 4096 Jun 1 21:23 . 21:28:05 drwxrwxr-x 13 jenkins jenkins 4096 Jun 1 21:23 .. 21:28:05 drwxr-xr-x 2 root root 4096 Jun 1 21:23 cost 21:28:05 -rw-r--r-- 1 root root 85 Jun 1 21:23 cost.csv 21:28:05 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1171/archives 21:28:05 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1171/archives 21:28:05 total 16 21:28:05 drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 21:23 . 21:28:05 drwxrwxr-x 13 jenkins jenkins 4096 Jun 1 21:23 .. 21:28:05 drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 21:23 cost 21:28:05 -rw-r--r-- 1 jenkins jenkins 85 Jun 1 21:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:28:05 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:28:06 ---> package-listing.sh 21:28:06 ++ facter osfamily 21:28:06 ++ tr '[:upper:]' '[:lower:]' 21:28:06 + OS_FAMILY=debian 21:28:06 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1171 21:28:06 + START_PACKAGES=/tmp/packages_start.txt 21:28:06 + END_PACKAGES=/tmp/packages_end.txt 21:28:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:28:06 + PACKAGES=/tmp/packages_start.txt 21:28:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1171 ']' 21:28:06 + PACKAGES=/tmp/packages_end.txt 21:28:06 + case "${OS_FAMILY}" in 21:28:06 + dpkg -l 21:28:06 + grep '^ii' 21:28:06 + '[' -f /tmp/packages_start.txt ']' 21:28:06 + '[' -f /tmp/packages_end.txt ']' 21:28:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:28:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1171 ']' 21:28:06 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1171/archives/ 21:28:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1171/archives/ [Pipeline] echo 21:28:06 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-1171/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:28:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:28:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:28:07 prd-ubuntu20.04-docker-8c-8g-580 does not seem to be running inside a container 21:28:07 $ 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-1171/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-1171 -v /w/workspace/gexfoundry_device-sdk-go_PR-1171:/w/workspace/gexfoundry_device-sdk-go_PR-1171:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1171@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 21:28:07 $ docker top 8b3a84040092a51e2766ed3be7c6c79cf57b57a80926a703252fca54cd6fc0ca -eo pid,comm [Pipeline] { [Pipeline] sh 21:28:08 + touch /tmp/pre-build-complete [Pipeline] sh 21:28:08 + mkdir -p /var/log/sysstat [Pipeline] sh 21:28:08 + ls /var/log/sa-host 21:28:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:28:09 provisioning config files... 21:28:09 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1171@tmp/config4170469223383038095tmp [Pipeline] { [Pipeline] echo 21:28:09 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:28:09 ---> create-netrc.sh [Pipeline] } 21:28:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:28:09 ---> python-tools-install.sh [Pipeline] echo 21:28:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:28:10 ---> sudo-logs.sh 21:28:10 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:28:10 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:28:10 ---> job-cost.sh 21:28:10 lf-activate-venv: SKIPPING 21:28:10 DEBUG: total: 0.2199999988079071 21:28:10 INFO: Retrieving Stack Cost... 21:28:10 INFO: Retrieving Pricing Info for: v3-standard-8 21:28:11 INFO: Archiving Costs [Pipeline] echo 21:28:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:28:11 ---> logs-deploy.sh 21:28:11 lf-activate-venv: SKIPPING 21:28:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1171/1 21:28:11 INFO: archiving workspace using pattern(s): 21:28:12 Archives upload complete. 21:28:12 INFO: archiving logs to Nexus