Pull request #1185 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2+387354420b6c024391aeac33674ce5c69e12b92e (93f992a4e921746c98425ba6df3942f87c50b4c2) 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-ssh4874231361026464756.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh832621080590397331.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-1185/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-1185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6950577571150853354.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-1185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14540557984687403191.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh12940152534395387970.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-1185/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-1185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5040219678552016835.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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 SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-16312 in /w/workspace/gexfoundry_device-sdk-go_PR-1185 [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-1185 # 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/main commit 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 Merge succeeded, producing 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 Checking out Revision 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 (PR-1185) > 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/1185/head:refs/remotes/origin/PR-1185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 # 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 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 # timeout=10 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:05:10 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:05:10 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:05:10 ========================================================= 04:05:10 EdgeX Global Pipelines Version Info 04:05:10 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:05:11 ------------------- 04:05:11 stable info: 04:05:11 ------------------- 04:05:11 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:05:11 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:05:11 Message: update stable to v1.0.234 04:05:12 ------------------- 04:05:12 experimental info: 04:05:12 ------------------- 04:05:12 Commited By: **** collab-it+edgex@linuxfoundation.org 04:05:12 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:05:12 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:05:12 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1185 [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1185 [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1185 [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1aa922a [Pipeline] echo 04:05:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:13 provisioning config files... 04:05:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/config5025045837994917694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:14 ---> docker-login.sh 04:05:14 nexus3.edgexfoundry.org:10001 04:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:14 Configure a credential helper to remove this warning. See 04:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:14 04:05:14 Login Succeeded 04:05:14 nexus3.edgexfoundry.org:10002 04:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:14 Configure a credential helper to remove this warning. See 04:05:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:14 04:05:14 Login Succeeded 04:05:14 nexus3.edgexfoundry.org:10003 04:05:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:15 Configure a credential helper to remove this warning. See 04:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:15 04:05:15 Login Succeeded 04:05:15 nexus3.edgexfoundry.org:10004 04:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:15 Configure a credential helper to remove this warning. See 04:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:15 04:05:15 Login Succeeded 04:05:15 docker.io 04:05:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:15 Configure a credential helper to remove this warning. See 04:05:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:15 04:05:15 Login Succeeded 04:05:15 ---> docker-login.sh ends [Pipeline] } 04:05:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:05:16 + git rev-list -1 --merges 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2~1..1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] echo 04:05:16 -----------> git rev-list -1 --merges 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2~1..1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [false] [Pipeline] sh 04:05:16 + git log --format=format:%s -1 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] echo 04:05:16 ========================================================= 04:05:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:05:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:05:17 + git log --format=format:%s -1 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] echo 04:05:17 [semverPrep] GIT_COMMIT: 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:05:17 [semverPrep] This is not a build commit. [Pipeline] sh 04:05:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:05:17 + grep -v github /etc/ssh/ssh_known_hosts 04:05:17 + [ -e /tmp/ssh_known_hosts ] 04:05:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:05:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:05:17 + sudo tee -a /etc/ssh/ssh_known_hosts 04:05:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:18 04:05:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:18 0.1.4: Pulling from edgex-devops/py-git-semver 04:05:18 42c077c10790: Pulling fs layer 04:05:18 f63e77b7563a: Pulling fs layer 04:05:18 bd5fdadae976: Pulling fs layer 04:05:18 205491f53016: Pulling fs layer 04:05:18 df18705c85c3: Pulling fs layer 04:05:18 bdb3f477010e: Pulling fs layer 04:05:18 c8a8fc8e1c8f: Pulling fs layer 04:05:18 2c6e9b1d212d: Pulling fs layer 04:05:18 bdb8f0575790: Pulling fs layer 04:05:18 386e3cb2ff24: Pulling fs layer 04:05:18 bdb3f477010e: Waiting 04:05:18 c8a8fc8e1c8f: Waiting 04:05:18 205491f53016: Waiting 04:05:18 2c6e9b1d212d: Waiting 04:05:18 df18705c85c3: Waiting 04:05:18 bdb8f0575790: Waiting 04:05:18 2343380bae48: Pulling fs layer 04:05:18 386e3cb2ff24: Waiting 04:05:18 2343380bae48: Waiting 04:05:18 f63e77b7563a: Download complete 04:05:18 205491f53016: Verifying Checksum 04:05:18 205491f53016: Download complete 04:05:18 df18705c85c3: Verifying Checksum 04:05:18 df18705c85c3: Download complete 04:05:18 bd5fdadae976: Verifying Checksum 04:05:18 bd5fdadae976: Download complete 04:05:18 bdb3f477010e: Verifying Checksum 04:05:18 bdb3f477010e: Download complete 04:05:18 2c6e9b1d212d: Verifying Checksum 04:05:18 2c6e9b1d212d: Download complete 04:05:18 bdb8f0575790: Verifying Checksum 04:05:18 bdb8f0575790: Download complete 04:05:18 386e3cb2ff24: Verifying Checksum 04:05:18 386e3cb2ff24: Download complete 04:05:18 2343380bae48: Verifying Checksum 04:05:18 2343380bae48: Download complete 04:05:18 42c077c10790: Download complete 04:05:18 c8a8fc8e1c8f: Download complete 04:05:20 42c077c10790: Pull complete 04:05:20 f63e77b7563a: Pull complete 04:05:20 bd5fdadae976: Pull complete 04:05:20 205491f53016: Pull complete 04:05:21 df18705c85c3: Pull complete 04:05:21 bdb3f477010e: Pull complete 04:05:23 c8a8fc8e1c8f: Pull complete 04:05:23 2c6e9b1d212d: Pull complete 04:05:23 bdb8f0575790: Pull complete 04:05:23 386e3cb2ff24: Pull complete 04:05:23 2343380bae48: Pull complete 04:05:23 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:05:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:05:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:23 prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container 04:05:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:05:25 $ docker top 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a -eo pid,comm 04:05:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:05:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:05:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:25 [ssh-agent] Looking for ssh-agent implementation... 04:05:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:25 $ docker exec 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a ssh-agent 04:05:25 SSH_AUTH_SOCK=/tmp/ssh-DPPWiSbI7scC/agent.32 04:05:25 SSH_AGENT_PID=38 04:05:25 Running ssh-add (command line suppressed) 04:05:25 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/private_key_7827224022372116872.key (/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/private_key_7827224022372116872.key) 04:05:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:26 + git tag --points-at HEAD [Pipeline] } 04:05:26 $ docker exec --env ******** --env ******** 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a ssh-agent -k 04:05:26 unset SSH_AUTH_SOCK; 04:05:26 unset SSH_AGENT_PID; 04:05:26 echo Agent pid 38 killed; 04:05:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:05:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:05:26 [ssh-agent] Looking for ssh-agent implementation... 04:05:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:05:26 $ docker exec 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a ssh-agent 04:05:26 SSH_AUTH_SOCK=/tmp/ssh-7sMyOy5adBjW/agent.70 04:05:26 SSH_AGENT_PID=76 04:05:26 Running ssh-add (command line suppressed) 04:05:26 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/private_key_6933449185362474078.key (/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/private_key_6933449185362474078.key) 04:05:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:05:27 + git semver init 04:05:27 2022-06-29 04:05:27,346 [run_init] DEBUG init version:0.0.0 force:False 04:05:27 2022-06-29 04:05:27,347 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver 04:05:27 2022-06-29 04:05:27,347 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver 04:05:27 2022-06-29 04:05:27,347 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1185, universal_newlines=False, shell=None, istream=None) 04:05:28 2022-06-29 04:05:28,133 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185/.git/info/exclude 04:05:28 2022-06-29 04:05:28,134 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver/PR-1185 with force:False 04:05:28 2022-06-29 04:05:28,134 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver/PR-1185 04:05:28 2022-06-29 04:05:28,139 [execute] INFO git cat-file --batch-check 04:05:28 2022-06-29 04:05:28,139 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver, universal_newlines=False, shell=None, istream=) 04:05:28 2022-06-29 04:05:28,145 [execute] INFO git cat-file --batch 04:05:28 2022-06-29 04:05:28,145 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver, universal_newlines=False, shell=None, istream=) 04:05:28 2022-06-29 04:05:28,149 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1185/.semver/PR-1185 04:05:28 0.0.0 [Pipeline] } 04:05:28 $ docker exec --env ******** --env ******** 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a ssh-agent -k 04:05:28 unset SSH_AUTH_SOCK; 04:05:28 unset SSH_AGENT_PID; 04:05:28 echo Agent pid 76 killed; 04:05:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:05:28 + git semver [Pipeline] } 04:05:29 $ docker stop --time=1 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a 04:05:30 $ docker rm -f 14d95fee1562950ee4426d2eabbf2a7131883ab2ff56652fd9a6b0bbfbe8078a [Pipeline] // withDockerContainer [Pipeline] sh 04:05:30 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:05:31 Stashed 1 file(s) [Pipeline] echo 04:05:31 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:05:31 provisioning config files... 04:05:31 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/config4743871157417847263tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:05:32 ---> docker-login.sh 04:05:32 nexus3.edgexfoundry.org:10001 04:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:32 Configure a credential helper to remove this warning. See 04:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:32 04:05:32 Login Succeeded 04:05:32 nexus3.edgexfoundry.org:10002 04:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:32 Configure a credential helper to remove this warning. See 04:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:32 04:05:32 Login Succeeded 04:05:32 nexus3.edgexfoundry.org:10003 04:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:32 Configure a credential helper to remove this warning. See 04:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:32 04:05:32 Login Succeeded 04:05:32 nexus3.edgexfoundry.org:10004 04:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:32 Configure a credential helper to remove this warning. See 04:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:32 04:05:32 Login Succeeded 04:05:32 docker.io 04:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:05:33 Configure a credential helper to remove this warning. See 04:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:05:33 04:05:33 Login Succeeded 04:05:33 ---> docker-login.sh ends [Pipeline] } 04:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:05:33 ========================================================= 04:05:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:05:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:33 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:05:33 Sending build context to Docker daemon 9.681MB 04:05:33 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:05:33 Step 2/11 : FROM ${BASE} AS builder 04:05:34 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:05:34 59bf1c3509f3: Pulling fs layer 04:05:34 666ba61612fd: Pulling fs layer 04:05:34 8ed8ca486205: Pulling fs layer 04:05:34 cc1cd167ecdc: Pulling fs layer 04:05:34 c516ae0d96e1: Pulling fs layer 04:05:34 684cea983483: Pulling fs layer 04:05:34 dd3240ac7de5: Pulling fs layer 04:05:34 b1e948a4e11c: Pulling fs layer 04:05:34 a8fd76ee1af6: Pulling fs layer 04:05:34 646ad004c059: Pulling fs layer 04:05:34 dd3240ac7de5: Waiting 04:05:34 b1e948a4e11c: Waiting 04:05:34 a8fd76ee1af6: Waiting 04:05:34 646ad004c059: Waiting 04:05:34 cc1cd167ecdc: Waiting 04:05:34 c516ae0d96e1: Waiting 04:05:34 684cea983483: Waiting 04:05:34 8ed8ca486205: Verifying Checksum 04:05:34 8ed8ca486205: Download complete 04:05:34 666ba61612fd: Verifying Checksum 04:05:34 c516ae0d96e1: Verifying Checksum 04:05:34 c516ae0d96e1: Download complete 04:05:34 59bf1c3509f3: Verifying Checksum 04:05:34 59bf1c3509f3: Download complete 04:05:34 684cea983483: Verifying Checksum 04:05:34 684cea983483: Download complete 04:05:34 dd3240ac7de5: Verifying Checksum 04:05:34 dd3240ac7de5: Download complete 04:05:34 b1e948a4e11c: Verifying Checksum 04:05:34 b1e948a4e11c: Download complete 04:05:34 59bf1c3509f3: Pull complete 04:05:34 666ba61612fd: Pull complete 04:05:34 8ed8ca486205: Pull complete 04:05:34 646ad004c059: Verifying Checksum 04:05:34 646ad004c059: Download complete 04:05:34 a8fd76ee1af6: Verifying Checksum 04:05:34 a8fd76ee1af6: Download complete 04:05:34 cc1cd167ecdc: Verifying Checksum 04:05:34 cc1cd167ecdc: Download complete 04:05:39 cc1cd167ecdc: Pull complete 04:05:39 c516ae0d96e1: Pull complete 04:05:39 684cea983483: Pull complete 04:05:39 dd3240ac7de5: Pull complete 04:05:39 b1e948a4e11c: Pull complete 04:05:40 a8fd76ee1af6: Pull complete 04:05:41 646ad004c059: Pull complete 04:05:41 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:05:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:05:41 ---> 8f69c11f6b0c 04:05:41 Step 3/11 : ARG MAKE=make build 04:05:42 ---> Running in b99892d497ac 04:05:42 Removing intermediate container b99892d497ac 04:05:42 ---> 1608a6d68a1e 04:05:42 Step 4/11 : WORKDIR /device-sdk-go 04:05:42 ---> Running in 5949ab8cf84b 04:05:43 Removing intermediate container 5949ab8cf84b 04:05:43 ---> f98c58f6c1e6 04:05:43 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:05:43 ---> Running in 6a0373938b4f 04:05:43 Removing intermediate container 6a0373938b4f 04:05:43 ---> 710c809bd058 04:05:43 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:43 ---> Running in c3e626088e0f 04:05:44 Removing intermediate container c3e626088e0f 04:05:44 ---> e2b2c005a5dd 04:05:44 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:44 ---> Running in 3da14936a159 04:05:44 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:05:45 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:05:45 OK: 221 MiB in 52 packages 04:05:46 Removing intermediate container 3da14936a159 04:05:46 ---> 6e8270798d26 04:05:46 Step 8/11 : COPY go.mod vendor* ./ 04:05:46 ---> 2664dd43bb23 04:05:46 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:46 ---> Running in da935fb16867 04:05:46 Still waiting to schedule task 04:05:46 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:06:01 Removing intermediate container da935fb16867 04:06:01 ---> dd8312a8d58d 04:06:01 Step 10/11 : COPY . . 04:06:01 ---> 5bacbe3c3189 04:06:01 Step 11/11 : RUN ${MAKE} 04:06:01 ---> Running in 3906b42247b4 04:06:01 noop 04:06:01 Removing intermediate container 3906b42247b4 04:06:01 ---> f9a08910c368 04:06:01 Successfully built f9a08910c368 04:06:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:01 + docker inspect -f . ci-base-image-x86_64 04:06:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:01 prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container 04:06:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:06:02 $ docker top 168fcab993432786ab73ac74db8ca91263f6f4c763ee91c2132224a3aabdb5e9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:06:02 + go version 04:06:02 go version go1.17.7 linux/amd64 [Pipeline] } 04:06:02 $ docker stop --time=1 168fcab993432786ab73ac74db8ca91263f6f4c763ee91c2132224a3aabdb5e9 04:06:04 $ docker rm -f 168fcab993432786ab73ac74db8ca91263f6f4c763ee91c2132224a3aabdb5e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:04 + docker inspect -f . ci-base-image-x86_64 04:06:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:04 prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container 04:06:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:06:05 $ docker top cd9ee1b7cdd03240857ce8fb07943908351b13a81580ac876bc45123257e6856 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:06:05 + make test 04:06:05 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:06:11 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:06:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:06:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:06:21 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:06:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.130s coverage: 23.7% of statements 04:06:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:06:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 04:06:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements 04:06:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.081s coverage: 10.8% of statements 04:06:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.059s coverage: 60.0% of statements 04:06:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:06:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:06:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.105s coverage: 34.8% of statements 04:06:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:06:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.075s coverage: 85.4% of statements 04:06:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:06:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:06:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.133s coverage: 65.1% of statements 04:06:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.747s coverage: 89.2% of statements 04:06:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:06:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 04:06:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:06:38 GO111MODULE=on go vet ./... 04:06:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:42 ./bin/test-attribution-txt.sh [Pipeline] echo 04:06:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:42 $ docker stop --time=1 cd9ee1b7cdd03240857ce8fb07943908351b13a81580ac876bc45123257e6856 04:06:44 $ docker rm -f cd9ee1b7cdd03240857ce8fb07943908351b13a81580ac876bc45123257e6856 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:45 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:06:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:46 + ls -al . 04:06:46 total 304 04:06:46 drwxrwxr-x 11 jenkins jenkins 4096 Jun 29 04:06 . 04:06:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 04:05 .. 04:06:46 -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 04:05 .dockerignore 04:06:46 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 04:05 .git 04:06:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 04:05 .github 04:06:46 -rw-rw-r-- 1 jenkins jenkins 131 Jun 29 04:05 .gitignore 04:06:46 -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 04:05 .golangci.yml 04:06:46 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 04:05 .semver 04:06:46 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 29 04:05 CHANGELOG.md 04:06:46 -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 04:05 GOVERNANCE.md 04:06:46 -rw-rw-r-- 1 jenkins jenkins 880 Jun 29 04:05 Jenkinsfile 04:06:46 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 29 04:05 LICENSE 04:06:46 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 29 04:05 Makefile 04:06:46 -rw-rw-r-- 1 jenkins jenkins 619 Jun 29 04:05 OWNERS.md 04:06:46 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 29 04:05 README.md 04:06:46 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 04:05 VERSION 04:06:46 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 04:05 bin 04:06:46 -rw-r--r-- 1 jenkins jenkins 131190 Jun 29 04:06 coverage.out 04:06:46 drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 04:05 example 04:06:46 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 29 04:05 go.mod 04:06:46 -rw-rw-r-- 1 jenkins jenkins 35551 Jun 29 04:05 go.sum 04:06:46 drwxrwxr-x 15 jenkins jenkins 4096 Jun 29 04:05 internal 04:06:46 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 04:05 openapi 04:06:46 drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 04:05 pkg 04:06:46 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 04:05 snap 04:06:46 -rw-rw-r-- 1 jenkins jenkins 222 Jun 29 04:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:46 + 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=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 --label arch=amd64 --label version=0.0.0 . 04:06:46 Sending build context to Docker daemon 9.813MB 04:06:46 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:06:46 Step 2/25 : FROM ${BASE} AS builder 04:06:46 ---> f9a08910c368 04:06:46 Step 3/25 : ARG MAKE=make build 04:06:47 ---> Running in c75df9f687f1 04:06:47 Removing intermediate container c75df9f687f1 04:06:47 ---> b3a5f6570cc2 04:06:47 Step 4/25 : WORKDIR /device-sdk-go 04:06:47 ---> Running in 10eb95151c15 04:06:47 Removing intermediate container 10eb95151c15 04:06:47 ---> abb26e2f3cf8 04:06:47 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:47 ---> Running in f56239139142 04:06:47 Removing intermediate container f56239139142 04:06:47 ---> dabc508a7578 04:06:47 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:47 ---> Running in 0d2e1130e216 04:06:47 Removing intermediate container 0d2e1130e216 04:06:47 ---> 8369de9faa95 04:06:47 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:48 ---> Running in 64eb0143a83a 04:06:48 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:06:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:06:49 OK: 221 MiB in 52 packages 04:06:50 Removing intermediate container 64eb0143a83a 04:06:50 ---> bb4fc68f377b 04:06:50 Step 8/25 : COPY go.mod vendor* ./ 04:06:50 ---> 038afdf57d59 04:06:50 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:50 ---> Running in c96169849936 04:06:50 Removing intermediate container c96169849936 04:06:50 ---> 1f3a6a33adfb 04:06:50 Step 10/25 : COPY . . 04:06:51 ---> 51472940d4ac 04:06:51 Step 11/25 : RUN ${MAKE} 04:06:51 ---> Running in a2bfee32b26b 04:06:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:07:09 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:07:09 Removing intermediate container a2bfee32b26b 04:07:09 ---> 6ecd64a2cb51 04:07:09 Step 12/25 : FROM alpine:3.14 04:07:10 3.14: Pulling from library/alpine 04:07:10 8663204ce13b: Pulling fs layer 04:07:10 8663204ce13b: Verifying Checksum 04:07:10 8663204ce13b: Download complete 04:07:10 8663204ce13b: Pull complete 04:07:10 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:07:10 Status: Downloaded newer image for alpine:3.14 04:07:10 ---> e04c818066af 04:07:10 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:07:10 ---> Running in ac815580b451 04:07:10 Removing intermediate container ac815580b451 04:07:10 ---> defd1dab723a 04:07:10 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:10 ---> Running in 748448c28739 04:07:11 Removing intermediate container 748448c28739 04:07:11 ---> c3b903a506e1 04:07:11 Step 15/25 : RUN apk add --update --no-cache zeromq 04:07:11 ---> Running in a02302f98ba1 04:07:11 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:07:13 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:07:13 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:07:13 (2/5) Installing libsodium (1.0.18-r0) 04:07:13 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:07:13 (4/5) Installing libzmq (4.3.4-r0) 04:07:13 (5/5) Installing zeromq (4.3.4-r0) 04:07:13 Executing busybox-1.33.1-r7.trigger 04:07:13 OK: 8 MiB in 19 packages 04:07:14 Removing intermediate container a02302f98ba1 04:07:14 ---> bc84f186a9c7 04:07:14 Step 16/25 : WORKDIR / 04:07:14 ---> Running in eb004cf8a98a 04:07:14 Removing intermediate container eb004cf8a98a 04:07:14 ---> a96d9017b0cc 04:07:14 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:14 ---> 97c97fec7b03 04:07:14 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:15 ---> 309f7b4dfc69 04:07:15 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:15 ---> 6956ff248424 04:07:15 Step 20/25 : EXPOSE 59999 04:07:15 ---> Running in 40b6d6fedf5d 04:07:15 Removing intermediate container 40b6d6fedf5d 04:07:15 ---> c9005d8d6e34 04:07:15 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:07:15 ---> Running in 695b9bed0d19 04:07:15 Removing intermediate container 695b9bed0d19 04:07:15 ---> 86c4f6773712 04:07:15 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:15 ---> Running in 52b7b4bde24a 04:07:15 Removing intermediate container 52b7b4bde24a 04:07:15 ---> 854a315d1c6b 04:07:15 Step 23/25 : LABEL arch=amd64 04:07:15 ---> Running in 4d5b75b42aed 04:07:15 Removing intermediate container 4d5b75b42aed 04:07:15 ---> 9bef08bb2b35 04:07:15 Step 24/25 : LABEL git_sha=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 04:07:15 ---> Running in b67a9ad7196b 04:07:16 Removing intermediate container b67a9ad7196b 04:07:16 ---> 456754c8d562 04:07:16 Step 25/25 : LABEL version=0.0.0 04:07:16 ---> Running in 2df98251c57d 04:07:16 Removing intermediate container 2df98251c57d 04:07:16 ---> c41a21060caa 04:07:16 [Warning] One or more build-args [ARCH] were not consumed 04:07:16 Successfully built c41a21060caa 04:07:16 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:17 04:07:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:17 latest: Pulling from edgex-lftools-log-publisher 04:07:17 5eb5b503b376: Pulling fs layer 04:07:17 5c69ac0246d0: Pulling fs layer 04:07:17 ec43610c2a17: Pulling fs layer 04:07:17 3a2ae6a8a46f: Pulling fs layer 04:07:17 33b1e0a273af: Pulling fs layer 04:07:17 5d3b04190fa2: Pulling fs layer 04:07:17 2f39f015ded8: Pulling fs layer 04:07:17 3a2ae6a8a46f: Waiting 04:07:17 33b1e0a273af: Waiting 04:07:17 5d3b04190fa2: Waiting 04:07:17 2f39f015ded8: Waiting 04:07:17 5c69ac0246d0: Verifying Checksum 04:07:17 5c69ac0246d0: Download complete 04:07:17 3a2ae6a8a46f: Verifying Checksum 04:07:17 3a2ae6a8a46f: Download complete 04:07:17 33b1e0a273af: Verifying Checksum 04:07:17 33b1e0a273af: Download complete 04:07:17 5d3b04190fa2: Verifying Checksum 04:07:17 5d3b04190fa2: Download complete 04:07:17 ec43610c2a17: Verifying Checksum 04:07:17 ec43610c2a17: Download complete 04:07:17 5eb5b503b376: Download complete 04:07:18 2f39f015ded8: Download complete 04:07:18 5eb5b503b376: Pull complete 04:07:19 5c69ac0246d0: Pull complete 04:07:19 ec43610c2a17: Pull complete 04:07:19 3a2ae6a8a46f: Pull complete 04:07:19 33b1e0a273af: Pull complete 04:07:19 5d3b04190fa2: Pull complete 04:07:23 2f39f015ded8: Pull complete 04:07:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:07:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:24 prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container 04:07:24 $ 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-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:07:25 $ docker top fca11ad50897f6d54b07b5a00bc5fda89de8d38a0e8fd6fd265ae0bf3de14ed3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:26 ---> job-cost.sh 04:07:26 lf-activate-venv: SKIPPING 04:07:26 INFO: No Stack... 04:07:26 INFO: Retrieving Pricing Info for: v3-standard-8 04:07:27 INFO: Archiving Costs [Pipeline] sh 04:07:27 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives/cost.csv 04:07:27 + cut -d, -f6 [Pipeline] lock 04:07:27 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] 04:07:27 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] did not exist. Created. 04:07:27 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:27 + echo total: 0.2199999988079071 [Pipeline] stash 04:07:27 Stashed 1 file(s) [Pipeline] } 04:07:27 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:07:28 $ docker stop --time=1 fca11ad50897f6d54b07b5a00bc5fda89de8d38a0e8fd6fd265ae0bf3de14ed3 04:07:29 $ docker rm -f fca11ad50897f6d54b07b5a00bc5fda89de8d38a0e8fd6fd265ae0bf3de14ed3 04:07:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16314 in /w/workspace/gexfoundry_device-sdk-go_PR-1185 [Pipeline] { [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] ws 04:07:29 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:07:29 The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:07:35 using credential edgex-jenkins-ssh 04:07:35 Cloning the remote Git repository 04:07:35 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:07:35 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:07:35 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:35 > git --version # timeout=10 04:07:35 > git --version # 'git version 2.25.1' 04:07:35 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:37 Merging remotes/origin/main commit 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 04:07:38 Merge succeeded, producing 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 04:07:38 Checking out Revision 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 (PR-1185) 04:07:37 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:07:37 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:07:37 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:07:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:37 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1185/head:refs/remotes/origin/PR-1185 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:07:37 > git config core.sparsecheckout # timeout=10 04:07:37 > git checkout -f 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 # timeout=10 04:07:37 > git remote # timeout=10 04:07:37 > git config --get remote.origin.url # timeout=10 04:07:37 using GIT_SSH to set credentials SSH Credentials for GitHub 04:07:38 > git merge 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 04:07:38 > git rev-parse HEAD^{commit} # timeout=10 04:07:38 > git config core.sparsecheckout # timeout=10 04:07:38 > git checkout -f 1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 # timeout=10 04:07:42 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:07:42 > git --version # timeout=10 04:07:42 > git --version # 'git version 2.25.1' 04:07:42 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:43 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:07:43 % Total % Received % Xferd Average Speed Time Time Time Current 04:07:43 Dload Upload Total Spent Left Speed 04:07:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh 04:07:44 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:07:44 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:07:44 + sudo tee /etc/docker/daemon.new 04:07:44 { 04:07:44 "registry-mirrors": [ 04:07:44 "https://nexus3.edgexfoundry.org:10001" 04:07:44 ], 04:07:44 "bip": "10.250.0.254/24", 04:07:44 "hosts": [ 04:07:44 "tcp://0.0.0.0:5555", 04:07:44 "unix:///var/run/docker.sock" 04:07:44 ], 04:07:44 "mtu": 1458, 04:07:44 "selinux-enabled": true, 04:07:44 "seccomp-profile": "/etc/docker/seccomp.json" 04:07:44 } [Pipeline] sh 04:07:45 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:07:45 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:08:03 provisioning config files... 04:08:03 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5752486676327425617tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:08:04 ---> docker-login.sh 04:08:04 nexus3.edgexfoundry.org:10001 04:08:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:05 Configure a credential helper to remove this warning. See 04:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:05 04:08:05 Login Succeeded 04:08:05 nexus3.edgexfoundry.org:10002 04:08:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:05 Configure a credential helper to remove this warning. See 04:08:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:05 04:08:05 Login Succeeded 04:08:05 nexus3.edgexfoundry.org:10003 04:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:06 Configure a credential helper to remove this warning. See 04:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:06 04:08:06 Login Succeeded 04:08:06 nexus3.edgexfoundry.org:10004 04:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:06 Configure a credential helper to remove this warning. See 04:08:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:06 04:08:06 Login Succeeded 04:08:06 docker.io 04:08:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:08:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:08:07 Configure a credential helper to remove this warning. See 04:08:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:08:07 04:08:07 Login Succeeded 04:08:07 ---> docker-login.sh ends [Pipeline] } 04:08:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:08:07 ========================================================= 04:08:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:08:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:08 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:08:08 Sending build context to Docker daemon 5.189MB 04:08:08 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:08:08 Step 2/11 : FROM ${BASE} AS builder 04:08:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:08:08 9b3977197b4f: Pulling fs layer 04:08:08 1a89e8eeedd5: Pulling fs layer 04:08:08 94645a83ff95: Pulling fs layer 04:08:08 e6fb740bc735: Pulling fs layer 04:08:08 3a77bd46dcc9: Pulling fs layer 04:08:08 355e64cbe906: Pulling fs layer 04:08:08 63ab81a10011: Pulling fs layer 04:08:08 555d1d1c4555: Pulling fs layer 04:08:08 7d9057610161: Pulling fs layer 04:08:08 355e64cbe906: Waiting 04:08:08 63ab81a10011: Waiting 04:08:08 555d1d1c4555: Waiting 04:08:08 7d9057610161: Waiting 04:08:08 e6fb740bc735: Waiting 04:08:08 3a77bd46dcc9: Waiting 04:08:08 94645a83ff95: Download complete 04:08:08 1a89e8eeedd5: Verifying Checksum 04:08:08 1a89e8eeedd5: Download complete 04:08:08 3a77bd46dcc9: Verifying Checksum 04:08:08 3a77bd46dcc9: Download complete 04:08:09 9b3977197b4f: Download complete 04:08:09 355e64cbe906: Verifying Checksum 04:08:09 355e64cbe906: Download complete 04:08:09 63ab81a10011: Verifying Checksum 04:08:09 63ab81a10011: Download complete 04:08:10 9b3977197b4f: Pull complete 04:08:10 7d9057610161: Verifying Checksum 04:08:10 7d9057610161: Download complete 04:08:10 1a89e8eeedd5: Pull complete 04:08:10 94645a83ff95: Pull complete 04:08:11 555d1d1c4555: Verifying Checksum 04:08:11 555d1d1c4555: Download complete 04:08:11 e6fb740bc735: Verifying Checksum 04:08:11 e6fb740bc735: Download complete 04:08:24 e6fb740bc735: Pull complete 04:08:24 3a77bd46dcc9: Pull complete 04:08:24 355e64cbe906: Pull complete 04:08:24 63ab81a10011: Pull complete 04:08:31 555d1d1c4555: Pull complete 04:08:32 7d9057610161: Pull complete 04:08:32 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:08:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:08:32 ---> 819e984ddca1 04:08:32 Step 3/11 : ARG MAKE=make build 04:08:34 ---> Running in a1ee3df057d7 04:08:34 Removing intermediate container a1ee3df057d7 04:08:34 ---> dc3eda0e212f 04:08:34 Step 4/11 : WORKDIR /device-sdk-go 04:08:34 ---> Running in 7159d363a255 04:08:35 Removing intermediate container 7159d363a255 04:08:35 ---> dd0308c56f77 04:08:35 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:35 ---> Running in c4df0383bc3c 04:08:36 Removing intermediate container c4df0383bc3c 04:08:36 ---> 91b48b926211 04:08:36 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:36 ---> Running in e3f9d1e30818 04:08:38 Removing intermediate container e3f9d1e30818 04:08:38 ---> e9ba11b58193 04:08:38 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:38 ---> Running in 1e6798c9e7c9 04:08:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:08:57 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:09:36 OK: 220 MiB in 52 packages 04:09:36 Removing intermediate container 1e6798c9e7c9 04:09:36 ---> f222b155f544 04:09:36 Step 8/11 : COPY go.mod vendor* ./ 04:09:36 ---> 569a8d3b9b1d 04:09:36 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:36 ---> Running in 233d38d05c39 04:10:15 Removing intermediate container 233d38d05c39 04:10:15 ---> a04729e7889b 04:10:15 Step 10/11 : COPY . . 04:10:15 ---> f1d0b3e46a3f 04:10:15 Step 11/11 : RUN ${MAKE} 04:10:15 ---> Running in c3a360d0f8cd 04:10:16 noop 04:10:17 Removing intermediate container c3a360d0f8cd 04:10:17 ---> 8fc8f4f8877b 04:10:17 Successfully built 8fc8f4f8877b 04:10:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:17 + docker inspect -f . ci-base-image-arm64 04:10:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:18 prd-ubuntu20.04-docker-arm64-4c-16g-16314 does not seem to be running inside a container 04:10:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:19 $ docker top b883abb27a9386aee4086c602e7558abdefe6432534fc561ad58543e9fd7186c -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:20 + go version 04:10:20 go version go1.17.7 linux/arm64 [Pipeline] } 04:10:20 $ docker stop --time=1 b883abb27a9386aee4086c602e7558abdefe6432534fc561ad58543e9fd7186c 04:10:22 $ docker rm -f b883abb27a9386aee4086c602e7558abdefe6432534fc561ad58543e9fd7186c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:22 + docker inspect -f . ci-base-image-arm64 04:10:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:23 prd-ubuntu20.04-docker-arm64-4c-16g-16314 does not seem to be running inside a container 04:10:23 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:24 $ docker top 950a96d916d81dec5d3de61a59afc212c05fff9d2c48f4763bc4ab8b9ca7ebb0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:10:25 + make test 04:10:25 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:10:57 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:12:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:12:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:12:34 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:12:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.345s coverage: 23.7% of statements 04:12:41 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:12:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.276s coverage: 27.6% of statements 04:12:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.375s coverage: 78.9% of statements 04:12:41 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.276s coverage: 10.8% of statements 04:12:45 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.391s coverage: 60.0% of statements 04:12:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:12:45 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:12:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.532s coverage: 34.8% of statements 04:12:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:12:49 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.462s coverage: 85.4% of statements 04:12:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:12:49 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:12:51 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.460s coverage: 65.1% of statements 04:12:53 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.220s coverage: 89.2% of statements 04:12:53 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:12:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.251s coverage: 4.7% of statements 04:12:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:12:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:12:56 GO111MODULE=on go vet ./... 04:14:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:14:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:14:33 ./bin/test-attribution-txt.sh [Pipeline] echo 04:14:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:14:33 $ docker stop --time=1 950a96d916d81dec5d3de61a59afc212c05fff9d2c48f4763bc4ab8b9ca7ebb0 04:14:35 $ docker rm -f 950a96d916d81dec5d3de61a59afc212c05fff9d2c48f4763bc4ab8b9ca7ebb0 [Pipeline] // withDockerContainer [Pipeline] sh 04:14:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:14:36 Warning: overwriting stash ‘coverage-report’ 04:14:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:14:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:14:38 + ls -al . 04:14:38 total 300 04:14:38 drwxrwxr-x 10 jenkins jenkins 4096 Jun 29 04:14 . 04:14:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 04:07 .. 04:14:38 -rw-rw-r-- 1 jenkins jenkins 140 Jun 29 04:07 .dockerignore 04:14:38 drwxrwxr-x 8 jenkins jenkins 4096 Jun 29 04:07 .git 04:14:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 04:07 .github 04:14:38 -rw-rw-r-- 1 jenkins jenkins 131 Jun 29 04:07 .gitignore 04:14:38 -rw-rw-r-- 1 jenkins jenkins 42 Jun 29 04:07 .golangci.yml 04:14:38 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 29 04:07 CHANGELOG.md 04:14:38 -rw-rw-r-- 1 jenkins jenkins 677 Jun 29 04:07 GOVERNANCE.md 04:14:38 -rw-rw-r-- 1 jenkins jenkins 880 Jun 29 04:07 Jenkinsfile 04:14:38 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 29 04:07 LICENSE 04:14:38 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 29 04:07 Makefile 04:14:38 -rw-rw-r-- 1 jenkins jenkins 619 Jun 29 04:07 OWNERS.md 04:14:38 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 29 04:07 README.md 04:14:38 -rw-rw-r-- 1 jenkins jenkins 5 Jun 29 04:05 VERSION 04:14:38 drwxrwxr-x 2 jenkins jenkins 4096 Jun 29 04:07 bin 04:14:38 -rw-r--r-- 1 jenkins jenkins 131191 Jun 29 04:12 coverage.out 04:14:38 drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 04:07 example 04:14:38 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 29 04:07 go.mod 04:14:38 -rw-rw-r-- 1 jenkins jenkins 35551 Jun 29 04:07 go.sum 04:14:38 drwxrwxr-x 15 jenkins jenkins 4096 Jun 29 04:07 internal 04:14:38 drwxrwxr-x 3 jenkins jenkins 4096 Jun 29 04:07 openapi 04:14:38 drwxrwxr-x 5 jenkins jenkins 4096 Jun 29 04:07 pkg 04:14:38 drwxrwxr-x 4 jenkins jenkins 4096 Jun 29 04:07 snap 04:14:38 -rw-rw-r-- 1 jenkins jenkins 222 Jun 29 04:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:14:38 + 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=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 --label arch=arm64 --label version=0.0.0 . 04:14:39 Sending build context to Docker daemon 5.321MB 04:14:39 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:14:39 Step 2/25 : FROM ${BASE} AS builder 04:14:39 ---> 8fc8f4f8877b 04:14:39 Step 3/25 : ARG MAKE=make build 04:14:39 ---> Running in f1bf2801c90a 04:14:39 Removing intermediate container f1bf2801c90a 04:14:39 ---> 4f3906509bb2 04:14:39 Step 4/25 : WORKDIR /device-sdk-go 04:14:39 ---> Running in 2e89125bda40 04:14:40 Removing intermediate container 2e89125bda40 04:14:40 ---> 6a87b7014c68 04:14:40 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:14:40 ---> Running in 5771f4d47a2c 04:14:40 Removing intermediate container 5771f4d47a2c 04:14:40 ---> 48064e5a8572 04:14:40 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:14:40 ---> Running in 736143d8d454 04:14:42 Removing intermediate container 736143d8d454 04:14:42 ---> 9b0c76514f87 04:14:42 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:14:42 ---> Running in 2fc0dfbfdc42 04:14:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:14:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:14:45 OK: 220 MiB in 52 packages 04:14:46 Removing intermediate container 2fc0dfbfdc42 04:14:46 ---> ffb57c4aa37b 04:14:46 Step 8/25 : COPY go.mod vendor* ./ 04:14:46 ---> 013dd2ebff3d 04:14:46 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:14:46 ---> Running in 2fe78667d583 04:14:48 Removing intermediate container 2fe78667d583 04:14:48 ---> 9e8532710ff8 04:14:48 Step 10/25 : COPY . . 04:14:50 ---> f759efa0144d 04:14:50 Step 11/25 : RUN ${MAKE} 04:14:50 ---> Running in 27621b3c611a 04:14:51 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:16:57 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:16:57 Removing intermediate container 27621b3c611a 04:16:57 ---> eb8be46c5975 04:16:57 Step 12/25 : FROM alpine:3.14 04:16:57 3.14: Pulling from library/alpine 04:16:57 455c02918c45: Pulling fs layer 04:16:57 455c02918c45: Verifying Checksum 04:16:57 455c02918c45: Download complete 04:16:57 455c02918c45: Pull complete 04:16:57 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:16:57 Status: Downloaded newer image for alpine:3.14 04:16:57 ---> ac73e934f311 04:16:57 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:16:57 ---> Running in 265ef29de9d2 04:16:57 Removing intermediate container 265ef29de9d2 04:16:57 ---> 6e8d93223752 04:16:57 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:57 ---> Running in 87f3e1ea8b6c 04:16:59 Removing intermediate container 87f3e1ea8b6c 04:16:59 ---> 0921476426ee 04:16:59 Step 15/25 : RUN apk add --update --no-cache zeromq 04:16:59 ---> Running in ba75e5e63873 04:17:00 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:17:02 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:17:03 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:17:03 (2/5) Installing libsodium (1.0.18-r0) 04:17:03 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:17:03 (4/5) Installing libzmq (4.3.4-r0) 04:17:03 (5/5) Installing zeromq (4.3.4-r0) 04:17:03 Executing busybox-1.33.1-r7.trigger 04:17:03 OK: 8 MiB in 19 packages 04:17:04 Removing intermediate container ba75e5e63873 04:17:04 ---> 3834d0733d93 04:17:04 Step 16/25 : WORKDIR / 04:17:04 ---> Running in f052fde4ba30 04:17:04 Removing intermediate container f052fde4ba30 04:17:04 ---> ce0ae05e5168 04:17:04 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:05 ---> db243140d90b 04:17:05 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:06 ---> 0d771f4ebabf 04:17:06 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:07 ---> c4e8ee979264 04:17:07 Step 20/25 : EXPOSE 59999 04:17:07 ---> Running in 533d0e5d032f 04:17:07 Removing intermediate container 533d0e5d032f 04:17:07 ---> 325daa65bfbc 04:17:07 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:17:07 ---> Running in 0167c2f940ae 04:17:08 Removing intermediate container 0167c2f940ae 04:17:08 ---> 676b70bb2b7f 04:17:08 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:17:08 ---> Running in eef96bf4970c 04:17:08 Removing intermediate container eef96bf4970c 04:17:08 ---> 65773ef80b05 04:17:08 Step 23/25 : LABEL arch=arm64 04:17:08 ---> Running in e98fb479e488 04:17:08 Removing intermediate container e98fb479e488 04:17:08 ---> 81c59d8e510b 04:17:08 Step 24/25 : LABEL git_sha=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 04:17:08 ---> Running in d924d4c6c336 04:17:09 Removing intermediate container d924d4c6c336 04:17:09 ---> b588fcce67bc 04:17:09 Step 25/25 : LABEL version=0.0.0 04:17:09 ---> Running in bcb78ecbccb5 04:17:09 Removing intermediate container bcb78ecbccb5 04:17:09 ---> d4b804a01343 04:17:09 [Warning] One or more build-args [ARCH] were not consumed 04:17:09 Successfully built d4b804a01343 04:17:09 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:10 04:17:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:10 arm64: Pulling from edgex-lftools-log-publisher 04:17:10 8998bd30e6a1: Pulling fs layer 04:17:10 04944245beec: Pulling fs layer 04:17:10 699f458cf7ca: Pulling fs layer 04:17:10 765212b225bb: Pulling fs layer 04:17:10 f23df028b6ca: Pulling fs layer 04:17:10 d65c8cfc05b1: Pulling fs layer 04:17:10 2437ff75d9bd: Pulling fs layer 04:17:10 765212b225bb: Waiting 04:17:10 f23df028b6ca: Waiting 04:17:10 d65c8cfc05b1: Waiting 04:17:10 2437ff75d9bd: Waiting 04:17:10 04944245beec: Verifying Checksum 04:17:10 04944245beec: Download complete 04:17:10 765212b225bb: Verifying Checksum 04:17:10 765212b225bb: Download complete 04:17:10 f23df028b6ca: Verifying Checksum 04:17:10 f23df028b6ca: Download complete 04:17:10 d65c8cfc05b1: Verifying Checksum 04:17:10 d65c8cfc05b1: Download complete 04:17:11 699f458cf7ca: Verifying Checksum 04:17:11 699f458cf7ca: Download complete 04:17:11 8998bd30e6a1: Verifying Checksum 04:17:11 8998bd30e6a1: Download complete 04:17:14 2437ff75d9bd: Verifying Checksum 04:17:14 2437ff75d9bd: Download complete 04:17:15 8998bd30e6a1: Pull complete 04:17:16 04944245beec: Pull complete 04:17:17 699f458cf7ca: Pull complete 04:17:17 765212b225bb: Pull complete 04:17:18 f23df028b6ca: Pull complete 04:17:18 d65c8cfc05b1: Pull complete 04:17:33 2437ff75d9bd: Pull complete 04:17:33 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:17:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:33 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:34 prd-ubuntu20.04-docker-arm64-4c-16g-16314 does not seem to be running inside a container 04:17:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:17:37 $ docker top a34ba0e163afd3a424d5edcfcce77c21dc826e9972fa64650b62b8f15d9a0a2f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:17:38 ---> job-cost.sh 04:17:38 lf-activate-venv: SKIPPING 04:17:38 INFO: No Stack... 04:17:38 INFO: Retrieving Pricing Info for: v3-standard-4 04:17:39 INFO: Archiving Costs [Pipeline] sh 04:17:39 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:17:39 + cut -d, -f6 [Pipeline] lock 04:17:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] 04:17:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] did not exist. Created. 04:17:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:17:40 /w/workspace/device-sdk-go/1@tmp/durable-bc833ec2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:17:41 + echo total: 0.10999999940395355 [Pipeline] stash 04:17:41 Warning: overwriting stash ‘stack-cost’ 04:17:41 Stashed 1 file(s) [Pipeline] } 04:17:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1185-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:17:41 $ docker stop --time=1 a34ba0e163afd3a424d5edcfcce77c21dc826e9972fa64650b62b8f15d9a0a2f 04:17:43 $ docker rm -f a34ba0e163afd3a424d5edcfcce77c21dc826e9972fa64650b62b8f15d9a0a2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:17:44 provisioning config files... 04:17:44 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/config295929402053873918tmp [Pipeline] { [Pipeline] sh 04:17:44 + set +x 04:17:44 + + curl -s https://codecov.io/bash 04:17:44 bash -s -- 04:17:44 04:17:44 _____ _ 04:17:44 / ____| | | 04:17:44 | | ___ __| | ___ ___ _____ __ 04:17:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:17:44 | |___| (_) | (_| | __/ (_| (_) \ V / 04:17:44 \_____\___/ \__,_|\___|\___\___/ \_/ 04:17:44 Bash-1.0.6 04:17:44 04:17:44 04:17:44 ==> git version 2.25.1 found 04:17:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:17:44 Release-Date: 2020-01-08 04:17:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:17:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:17:44 ==> Jenkins CI detected. 04:17:44 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1185 04:17:44 project root: . 04:17:44 --> token set from env 04:17:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:17:44 ==> Running gcov in . (disable via -X gcov) 04:17:44 ==> Python coveragepy not found 04:17:44 ==> Searching for coverage reports in: 04:17:44 + . 04:17:44 -> Found 1 reports 04:17:44 ==> Detecting git/mercurial file structure 04:17:45 ==> Reading reports 04:17:45 + ./coverage.out bytes=131191 04:17:45 ==> Appending adjustments 04:17:45 https://docs.codecov.io/docs/fixing-reports 04:17:45 + Found adjustments 04:17:45 ==> Gzipping contents 04:17:45 20K /tmp/codecov.SpYpXM.gz 04:17:45 ==> Uploading reports 04:17:45 url: https://codecov.io 04:17:45 query: branch=PR-1185&commit=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1185&job=&cmd_args= 04:17:45 -> Pinging Codecov 04:17:45 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1185&commit=1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1185%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1185&job=&cmd_args= 04:17:45 -> Uploading to 04:17:45 https://storage.googleapis.com/codecov/v4/raw/2022-06-29/7E55EF52A471D76F132DFD9A03CDDE97/1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2/ddb7c4c1-aa45-4fbb-81bc-adb67d7ef85a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220629%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220629T041745Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a2f46e77f9d78e938c3b58b4c0a42a8a9678ddab12429987601ff0eb4bf50e93 04:17:45 % Total % Received % Xferd Average Speed Time Time Time Current 04:17:45 Dload Upload Total Spent Left Speed 04:17:45 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16872 0 0 100 16872 0 73038 --:--:-- --:--:-- --:--:-- 73038 04:17:45 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1aa922af3a4b4a8f52437cf22cfe0e728a3bedb2 [Pipeline] } 04:17:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:17:47 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives ] 04:17:47 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives 04:17:47 total 16 04:17:47 drwxr-xr-x 3 root root 4096 Jun 29 04:07 . 04:17:47 drwxrwxr-x 12 jenkins jenkins 4096 Jun 29 04:07 .. 04:17:47 drwxr-xr-x 2 root root 4096 Jun 29 04:07 cost 04:17:47 -rw-r--r-- 1 root root 85 Jun 29 04:07 cost.csv 04:17:47 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives 04:17:47 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives 04:17:47 total 16 04:17:47 drwxr-xr-x 3 jenkins jenkins 4096 Jun 29 04:07 . 04:17:47 drwxrwxr-x 12 jenkins jenkins 4096 Jun 29 04:07 .. 04:17:47 drwxr-xr-x 2 jenkins jenkins 4096 Jun 29 04:07 cost 04:17:47 -rw-r--r-- 1 jenkins jenkins 85 Jun 29 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:17:48 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:17:48 ---> package-listing.sh 04:17:48 ++ facter osfamily 04:17:48 ++ tr '[:upper:]' '[:lower:]' 04:17:49 + OS_FAMILY=debian 04:17:49 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1185 04:17:49 + START_PACKAGES=/tmp/packages_start.txt 04:17:49 + END_PACKAGES=/tmp/packages_end.txt 04:17:49 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:17:49 + PACKAGES=/tmp/packages_start.txt 04:17:49 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1185 ']' 04:17:49 + PACKAGES=/tmp/packages_end.txt 04:17:49 + case "${OS_FAMILY}" in 04:17:49 + dpkg -l 04:17:49 + grep '^ii' 04:17:49 + '[' -f /tmp/packages_start.txt ']' 04:17:49 + '[' -f /tmp/packages_end.txt ']' 04:17:49 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:17:49 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1185 ']' 04:17:49 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives/ 04:17:49 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1185/archives/ [Pipeline] echo 04:17:49 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-1185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:17:49 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:50 prd-ubuntu20.04-docker-8c-8g-16312 does not seem to be running inside a container 04:17:50 $ 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-1185/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-1185 -v /w/workspace/gexfoundry_device-sdk-go_PR-1185:/w/workspace/gexfoundry_device-sdk-go_PR-1185:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:17:50 $ docker top 915ac94d60e73b512640ac8aecd7f9fc5d33fbf3e7247f2cd840a63c1949dca5 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:50 + touch /tmp/pre-build-complete [Pipeline] sh 04:17:51 + mkdir -p /var/log/sysstat [Pipeline] sh 04:17:51 + ls /var/log/sa-host 04:17:51 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:51 provisioning config files... 04:17:51 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1185@tmp/config306066884117746141tmp [Pipeline] { [Pipeline] echo 04:17:51 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:52 ---> create-netrc.sh [Pipeline] } 04:17:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:17:52 ---> python-tools-install.sh [Pipeline] echo 04:17:52 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:53 ---> sudo-logs.sh 04:17:53 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:53 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:53 ---> job-cost.sh 04:17:53 lf-activate-venv: SKIPPING 04:17:53 DEBUG: total: 0.2199999988079071 04:17:53 INFO: Retrieving Stack Cost... 04:17:53 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:54 INFO: Archiving Costs [Pipeline] echo 04:17:54 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:17:54 ---> logs-deploy.sh 04:17:54 lf-activate-venv: SKIPPING 04:17:54 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1185/1 04:17:54 INFO: archiving workspace using pattern(s): 04:17:55 Archives upload complete. 04:17:55 INFO: archiving logs to Nexus