Pull request #1187 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 45ea3baea759e1d08f8e5f42ecb60a489bd1d241+387354420b6c024391aeac33674ce5c69e12b92e (44efc4591c5dcb76d1219d9a20be6fd0da6c8e18) 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-ssh11317861750305858178.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-ssh6925326417229448948.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-1187/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-1187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16394688755052306524.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-1187/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2186843939446606474.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-ssh6939098133577538669.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-1187/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-1187/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6747138406674981984.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-16557 in /w/workspace/gexfoundry_device-sdk-go_PR-1187 [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-1187 # 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 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 Merge succeeded, producing 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 Checking out Revision 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 (PR-1187) > 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/1187/head:refs/remotes/origin/PR-1187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 # 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 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 # 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:06:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:57 ========================================================= 04:06:57 EdgeX Global Pipelines Version Info 04:06:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:58 ------------------- 04:06:58 stable info: 04:06:58 ------------------- 04:06:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:58 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:06:58 Message: update stable to v1.0.234 04:06:59 ------------------- 04:06:59 experimental info: 04:06:59 ------------------- 04:06:59 Commited By: **** collab-it+edgex@linuxfoundation.org 04:06:59 Commit SHA: bc4e646769b4c5265b7fe03fd8295f2cc8e63760 04:06:59 Message: update experimental to v1.0.235 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:06:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1187 [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1187 [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1187 [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 45ea3ba [Pipeline] echo 04:07:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:00 provisioning config files... 04:07:00 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/config7460632447908852953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:01 ---> docker-login.sh 04:07:01 nexus3.edgexfoundry.org:10001 04:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:01 Configure a credential helper to remove this warning. See 04:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:01 04:07:01 Login Succeeded 04:07:01 nexus3.edgexfoundry.org:10002 04:07:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:01 Configure a credential helper to remove this warning. See 04:07:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:01 04:07:01 Login Succeeded 04:07:02 nexus3.edgexfoundry.org:10003 04:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:02 Configure a credential helper to remove this warning. See 04:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:02 04:07:02 Login Succeeded 04:07:02 nexus3.edgexfoundry.org:10004 04:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:02 Configure a credential helper to remove this warning. See 04:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:02 04:07:02 Login Succeeded 04:07:02 docker.io 04:07:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:02 Configure a credential helper to remove this warning. See 04:07:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:02 04:07:02 Login Succeeded 04:07:02 ---> docker-login.sh ends [Pipeline] } 04:07:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:07:03 + git rev-list -1 --merges 45ea3baea759e1d08f8e5f42ecb60a489bd1d241~1..45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] echo 04:07:03 -----------> git rev-list -1 --merges 45ea3baea759e1d08f8e5f42ecb60a489bd1d241~1..45ea3baea759e1d08f8e5f42ecb60a489bd1d241 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [false] [Pipeline] sh 04:07:03 + git log --format=format:%s -1 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] echo 04:07:03 ========================================================= 04:07:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:07:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:07:04 + git log --format=format:%s -1 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] echo 04:07:04 [semverPrep] GIT_COMMIT: 45ea3baea759e1d08f8e5f42ecb60a489bd1d241, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2 [Pipeline] echo 04:07:04 [semverPrep] This is not a build commit. [Pipeline] sh 04:07:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:07:04 + grep -v github /etc/ssh/ssh_known_hosts 04:07:04 + [ -e /tmp/ssh_known_hosts ] 04:07:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:07:04 + echo+ github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:07:04 sudo tee -a /etc/ssh/ssh_known_hosts 04:07:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:05 04:07:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:05 0.1.4: Pulling from edgex-devops/py-git-semver 04:07:05 42c077c10790: Pulling fs layer 04:07:05 f63e77b7563a: Pulling fs layer 04:07:05 bd5fdadae976: Pulling fs layer 04:07:05 205491f53016: Pulling fs layer 04:07:05 df18705c85c3: Pulling fs layer 04:07:05 bdb3f477010e: Pulling fs layer 04:07:05 c8a8fc8e1c8f: Pulling fs layer 04:07:05 2c6e9b1d212d: Pulling fs layer 04:07:05 bdb8f0575790: Pulling fs layer 04:07:05 386e3cb2ff24: Pulling fs layer 04:07:05 2343380bae48: Pulling fs layer 04:07:05 c8a8fc8e1c8f: Waiting 04:07:05 2c6e9b1d212d: Waiting 04:07:05 205491f53016: Waiting 04:07:05 386e3cb2ff24: Waiting 04:07:05 2343380bae48: Waiting 04:07:05 df18705c85c3: Waiting 04:07:05 bdb3f477010e: Waiting 04:07:05 bdb8f0575790: Waiting 04:07:05 f63e77b7563a: Download complete 04:07:05 205491f53016: Download complete 04:07:05 bd5fdadae976: Verifying Checksum 04:07:05 bd5fdadae976: Download complete 04:07:05 df18705c85c3: Verifying Checksum 04:07:05 df18705c85c3: Download complete 04:07:05 bdb3f477010e: Download complete 04:07:05 2c6e9b1d212d: Verifying Checksum 04:07:05 2c6e9b1d212d: Download complete 04:07:05 bdb8f0575790: Verifying Checksum 04:07:05 bdb8f0575790: Download complete 04:07:05 386e3cb2ff24: Verifying Checksum 04:07:05 386e3cb2ff24: Download complete 04:07:05 2343380bae48: Verifying Checksum 04:07:05 2343380bae48: Download complete 04:07:05 42c077c10790: Verifying Checksum 04:07:05 42c077c10790: Download complete 04:07:06 c8a8fc8e1c8f: Verifying Checksum 04:07:06 c8a8fc8e1c8f: Download complete 04:07:06 42c077c10790: Pull complete 04:07:07 f63e77b7563a: Pull complete 04:07:07 bd5fdadae976: Pull complete 04:07:07 205491f53016: Pull complete 04:07:08 df18705c85c3: Pull complete 04:07:08 bdb3f477010e: Pull complete 04:07:10 c8a8fc8e1c8f: Pull complete 04:07:10 2c6e9b1d212d: Pull complete 04:07:10 bdb8f0575790: Pull complete 04:07:10 386e3cb2ff24: Pull complete 04:07:10 2343380bae48: Pull complete 04:07:10 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:07:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:07:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:10 prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container 04:07:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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:07:12 $ docker top 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 -eo pid,comm 04:07:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:07:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:07:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:12 [ssh-agent] Looking for ssh-agent implementation... 04:07:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:12 $ docker exec 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 ssh-agent 04:07:13 SSH_AUTH_SOCK=/tmp/ssh-zwQm6iEEY0fi/agent.35 04:07:13 SSH_AGENT_PID=41 04:07:13 Running ssh-add (command line suppressed) 04:07:13 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/private_key_3192758167851375849.key (/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/private_key_3192758167851375849.key) 04:07:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:13 + git tag --points-at HEAD [Pipeline] } 04:07:13 $ docker exec --env ******** --env ******** 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 ssh-agent -k 04:07:13 unset SSH_AUTH_SOCK; 04:07:13 unset SSH_AGENT_PID; 04:07:13 echo Agent pid 41 killed; 04:07:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:07:13 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:07:13 [ssh-agent] Looking for ssh-agent implementation... 04:07:13 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:07:13 $ docker exec 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 ssh-agent 04:07:13 SSH_AUTH_SOCK=/tmp/ssh-cREXUdfm0Cul/agent.73 04:07:13 SSH_AGENT_PID=79 04:07:13 Running ssh-add (command line suppressed) 04:07:14 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/private_key_5854686559720725355.key (/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/private_key_5854686559720725355.key) 04:07:14 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:07:14 + git semver init 04:07:14 2022-07-01 04:07:14,627 [run_init] DEBUG init version:0.0.0 force:False 04:07:14 2022-07-01 04:07:14,628 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver 04:07:14 2022-07-01 04:07:14,628 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver 04:07:14 2022-07-01 04:07:14,628 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1187, universal_newlines=False, shell=None, istream=None) 04:07:15 2022-07-01 04:07:15,439 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187/.git/info/exclude 04:07:15 2022-07-01 04:07:15,439 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver/PR-1187 with force:False 04:07:15 2022-07-01 04:07:15,440 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver/PR-1187 04:07:15 2022-07-01 04:07:15,444 [execute] INFO git cat-file --batch-check 04:07:15 2022-07-01 04:07:15,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver, universal_newlines=False, shell=None, istream=) 04:07:15 2022-07-01 04:07:15,450 [execute] INFO git cat-file --batch 04:07:15 2022-07-01 04:07:15,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver, universal_newlines=False, shell=None, istream=) 04:07:15 2022-07-01 04:07:15,455 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1187/.semver/PR-1187 04:07:15 0.0.0 [Pipeline] } 04:07:15 $ docker exec --env ******** --env ******** 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 ssh-agent -k 04:07:15 unset SSH_AUTH_SOCK; 04:07:15 unset SSH_AGENT_PID; 04:07:15 echo Agent pid 79 killed; 04:07:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:07:16 + git semver [Pipeline] } 04:07:16 $ docker stop --time=1 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 04:07:17 $ docker rm -f 31e53ccb7a01ce2fe5eadb7f609aa2d4f53fa64ce18ad6b4c3ac4d60947bea02 [Pipeline] // withDockerContainer [Pipeline] sh 04:07:18 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:07:18 Stashed 1 file(s) [Pipeline] echo 04:07:18 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:19 provisioning config files... 04:07:19 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/config8943097876854385015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:07:19 ---> docker-login.sh 04:07:19 nexus3.edgexfoundry.org:10001 04:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:19 Configure a credential helper to remove this warning. See 04:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:19 04:07:19 Login Succeeded 04:07:19 nexus3.edgexfoundry.org:10002 04:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:19 Configure a credential helper to remove this warning. See 04:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:19 04:07:19 Login Succeeded 04:07:19 nexus3.edgexfoundry.org:10003 04:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:19 Configure a credential helper to remove this warning. See 04:07:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:19 04:07:19 Login Succeeded 04:07:19 nexus3.edgexfoundry.org:10004 04:07:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:20 Configure a credential helper to remove this warning. See 04:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:20 04:07:20 Login Succeeded 04:07:20 docker.io 04:07:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:20 Configure a credential helper to remove this warning. See 04:07:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:20 04:07:20 Login Succeeded 04:07:20 ---> docker-login.sh ends [Pipeline] } 04:07:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:07:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:20 ========================================================= 04:07:20 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:07:20 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:21 + 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:07:21 Sending build context to Docker daemon 9.693MB 04:07:21 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:07:21 Step 2/11 : FROM ${BASE} AS builder 04:07:21 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:07:21 59bf1c3509f3: Pulling fs layer 04:07:21 666ba61612fd: Pulling fs layer 04:07:21 8ed8ca486205: Pulling fs layer 04:07:21 cc1cd167ecdc: Pulling fs layer 04:07:21 c516ae0d96e1: Pulling fs layer 04:07:21 684cea983483: Pulling fs layer 04:07:21 dd3240ac7de5: Pulling fs layer 04:07:21 b1e948a4e11c: Pulling fs layer 04:07:21 a8fd76ee1af6: Pulling fs layer 04:07:21 646ad004c059: Pulling fs layer 04:07:21 684cea983483: Waiting 04:07:21 dd3240ac7de5: Waiting 04:07:21 b1e948a4e11c: Waiting 04:07:21 a8fd76ee1af6: Waiting 04:07:21 646ad004c059: Waiting 04:07:21 cc1cd167ecdc: Waiting 04:07:21 c516ae0d96e1: Waiting 04:07:21 8ed8ca486205: Verifying Checksum 04:07:21 8ed8ca486205: Download complete 04:07:21 666ba61612fd: Download complete 04:07:21 c516ae0d96e1: Verifying Checksum 04:07:21 c516ae0d96e1: Download complete 04:07:21 684cea983483: Verifying Checksum 04:07:21 684cea983483: Download complete 04:07:21 dd3240ac7de5: Verifying Checksum 04:07:21 dd3240ac7de5: Download complete 04:07:21 59bf1c3509f3: Download complete 04:07:21 b1e948a4e11c: Verifying Checksum 04:07:21 b1e948a4e11c: Download complete 04:07:21 59bf1c3509f3: Pull complete 04:07:21 666ba61612fd: Pull complete 04:07:21 8ed8ca486205: Pull complete 04:07:21 a8fd76ee1af6: Download complete 04:07:22 cc1cd167ecdc: Verifying Checksum 04:07:22 cc1cd167ecdc: Download complete 04:07:22 646ad004c059: Verifying Checksum 04:07:22 646ad004c059: Download complete 04:07:26 cc1cd167ecdc: Pull complete 04:07:26 c516ae0d96e1: Pull complete 04:07:26 684cea983483: Pull complete 04:07:26 dd3240ac7de5: Pull complete 04:07:26 b1e948a4e11c: Pull complete 04:07:28 a8fd76ee1af6: Pull complete 04:07:28 646ad004c059: Pull complete 04:07:28 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:07:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:07:28 ---> 8f69c11f6b0c 04:07:28 Step 3/11 : ARG MAKE=make build 04:07:30 ---> Running in c8f4b7a39cb3 04:07:30 Removing intermediate container c8f4b7a39cb3 04:07:30 ---> e156b7403b7e 04:07:30 Step 4/11 : WORKDIR /device-sdk-go 04:07:31 ---> Running in d5e88b76f9e9 04:07:31 Removing intermediate container d5e88b76f9e9 04:07:31 ---> c7d482593320 04:07:31 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:07:31 ---> Running in dfe70cb8e254 04:07:31 Removing intermediate container dfe70cb8e254 04:07:31 ---> 8383e6e79ebf 04:07:31 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:31 ---> Running in 22ad5c3cc75e 04:07:31 Removing intermediate container 22ad5c3cc75e 04:07:31 ---> 6c3934f72191 04:07:31 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:07:31 ---> Running in cc01ac624f87 04:07:32 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:07:33 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:07:33 OK: 221 MiB in 52 packages 04:07:33 Removing intermediate container cc01ac624f87 04:07:33 ---> 6d86e361a258 04:07:33 Step 8/11 : COPY go.mod vendor* ./ 04:07:33 ---> 3504663c3fc8 04:07:33 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:33 ---> Running in fe41a631a803 04:07:34 Still waiting to schedule task 04:07:34 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:07:48 Removing intermediate container fe41a631a803 04:07:48 ---> efe999e8ee82 04:07:48 Step 10/11 : COPY . . 04:07:48 ---> 9bcd0499a7c3 04:07:48 Step 11/11 : RUN ${MAKE} 04:07:48 ---> Running in 8459ba2688e0 04:07:49 noop 04:07:49 Removing intermediate container 8459ba2688e0 04:07:49 ---> d2b7282a0d7d 04:07:49 Successfully built d2b7282a0d7d 04:07:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:50 + docker inspect -f . ci-base-image-x86_64 04:07:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:50 prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container 04:07:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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:07:50 $ docker top d4c50b390e7f7365c15b1e58ebd980ccebf361d6f83e7b4b3711a6c6461b1c2e -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:51 + go version 04:07:51 go version go1.17.7 linux/amd64 [Pipeline] } 04:07:51 $ docker stop --time=1 d4c50b390e7f7365c15b1e58ebd980ccebf361d6f83e7b4b3711a6c6461b1c2e 04:07:52 $ docker rm -f d4c50b390e7f7365c15b1e58ebd980ccebf361d6f83e7b4b3711a6c6461b1c2e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:53 + docker inspect -f . ci-base-image-x86_64 04:07:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:53 prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container 04:07:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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:07:53 $ docker top be35f65c2a9db963bb79c7b8516ddb3f55a4a2db3a2e6cc7a7d6994e238e8501 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:07:54 + make test 04:07:54 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:08:00 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:08:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:08:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:08:13 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:08:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.086s coverage: 23.7% of statements 04:08:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:08:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements 04:08:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.083s coverage: 78.9% of statements 04:08:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.061s coverage: 10.8% of statements 04:08:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.082s coverage: 60.0% of statements 04:08:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:08:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:08:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.080s coverage: 34.8% of statements 04:08:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:08:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.088s coverage: 85.4% of statements 04:08:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:08:14 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:08:14 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.123s coverage: 65.1% of statements 04:08:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.801s coverage: 89.2% of statements 04:08:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:08:14 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 04:08:14 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:08:28 GO111MODULE=on go vet ./... 04:08:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:33 ./bin/test-attribution-txt.sh [Pipeline] echo 04:08:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:33 $ docker stop --time=1 be35f65c2a9db963bb79c7b8516ddb3f55a4a2db3a2e6cc7a7d6994e238e8501 04:08:36 $ docker rm -f be35f65c2a9db963bb79c7b8516ddb3f55a4a2db3a2e6cc7a7d6994e238e8501 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:08:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:37 + ls -al . 04:08:37 total 304 04:08:37 drwxrwxr-x 11 jenkins jenkins 4096 Jul 1 04:08 . 04:08:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 04:06 .. 04:08:37 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 04:06 .dockerignore 04:08:37 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 04:07 .git 04:08:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 04:06 .github 04:08:37 -rw-rw-r-- 1 jenkins jenkins 131 Jul 1 04:06 .gitignore 04:08:37 -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 04:06 .golangci.yml 04:08:37 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 04:07 .semver 04:08:37 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 1 04:06 CHANGELOG.md 04:08:37 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 04:06 GOVERNANCE.md 04:08:37 -rw-rw-r-- 1 jenkins jenkins 880 Jul 1 04:06 Jenkinsfile 04:08:37 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 04:06 LICENSE 04:08:37 -rw-rw-r-- 1 jenkins jenkins 2015 Jul 1 04:06 Makefile 04:08:37 -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 04:06 OWNERS.md 04:08:37 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 1 04:06 README.md 04:08:37 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 04:07 VERSION 04:08:37 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 04:06 bin 04:08:37 -rw-r--r-- 1 jenkins jenkins 131190 Jul 1 04:08 coverage.out 04:08:37 drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 04:06 example 04:08:37 -rw-rw-r-- 1 jenkins jenkins 3203 Jul 1 04:06 go.mod 04:08:37 -rw-rw-r-- 1 jenkins jenkins 35551 Jul 1 04:06 go.sum 04:08:37 drwxrwxr-x 15 jenkins jenkins 4096 Jul 1 04:06 internal 04:08:37 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 04:06 openapi 04:08:37 drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 04:06 pkg 04:08:37 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 04:06 snap 04:08:37 -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:38 + 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=45ea3baea759e1d08f8e5f42ecb60a489bd1d241 --label arch=amd64 --label version=0.0.0 . 04:08:38 Sending build context to Docker daemon 9.825MB 04:08:38 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:08:38 Step 2/25 : FROM ${BASE} AS builder 04:08:38 ---> d2b7282a0d7d 04:08:38 Step 3/25 : ARG MAKE=make build 04:08:38 ---> Running in 4ba6ab5680a7 04:08:38 Removing intermediate container 4ba6ab5680a7 04:08:38 ---> 08835881a3b7 04:08:38 Step 4/25 : WORKDIR /device-sdk-go 04:08:38 ---> Running in c0a94fe88c25 04:08:38 Removing intermediate container c0a94fe88c25 04:08:38 ---> 484ab4587882 04:08:38 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:38 ---> Running in 35f00fc7428f 04:08:38 Removing intermediate container 35f00fc7428f 04:08:38 ---> 8a4227f101d4 04:08:38 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:38 ---> Running in 01f77f58d0d9 04:08:39 Removing intermediate container 01f77f58d0d9 04:08:39 ---> c9215653de30 04:08:39 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:39 ---> Running in 39a5f52600c7 04:08:39 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:08:40 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:08:40 OK: 221 MiB in 52 packages 04:08:41 Removing intermediate container 39a5f52600c7 04:08:41 ---> b23e7d32d3ea 04:08:41 Step 8/25 : COPY go.mod vendor* ./ 04:08:41 ---> 12a0f19d19ab 04:08:41 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:41 ---> Running in 7831d1bbdc41 04:08:42 Removing intermediate container 7831d1bbdc41 04:08:42 ---> 324bce772ec4 04:08:42 Step 10/25 : COPY . . 04:08:42 ---> 5539afd79c42 04:08:42 Step 11/25 : RUN ${MAKE} 04:08:42 ---> Running in 86b5a36948ad 04:08:42 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:09:01 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:09:01 Removing intermediate container 86b5a36948ad 04:09:01 ---> 6d3eea2049f1 04:09:01 Step 12/25 : FROM alpine:3.14 04:09:02 3.14: Pulling from library/alpine 04:09:02 8663204ce13b: Pulling fs layer 04:09:02 8663204ce13b: Verifying Checksum 04:09:02 8663204ce13b: Download complete 04:09:02 8663204ce13b: Pull complete 04:09:02 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:09:02 Status: Downloaded newer image for alpine:3.14 04:09:02 ---> e04c818066af 04:09:02 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:09:03 ---> Running in 9102f8af3de7 04:09:03 Removing intermediate container 9102f8af3de7 04:09:03 ---> d32454159962 04:09:03 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:03 ---> Running in 69617a04f4e7 04:09:03 Removing intermediate container 69617a04f4e7 04:09:03 ---> f618739be998 04:09:03 Step 15/25 : RUN apk add --update --no-cache zeromq 04:09:03 ---> Running in 24c49e4b1289 04:09:04 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:09:05 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:09:05 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:09:05 (2/5) Installing libsodium (1.0.18-r0) 04:09:05 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:09:05 (4/5) Installing libzmq (4.3.4-r0) 04:09:05 (5/5) Installing zeromq (4.3.4-r0) 04:09:05 Executing busybox-1.33.1-r7.trigger 04:09:05 OK: 8 MiB in 19 packages 04:09:06 Removing intermediate container 24c49e4b1289 04:09:06 ---> 9165bb3563bd 04:09:06 Step 16/25 : WORKDIR / 04:09:06 ---> Running in 94f2b5b2f1de 04:09:06 Removing intermediate container 94f2b5b2f1de 04:09:06 ---> 3e8ab99257ff 04:09:06 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:09:06 ---> 71698e673074 04:09:06 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:09:07 ---> 7ed911c4f3fb 04:09:07 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:09:07 ---> 062c73e149a3 04:09:07 Step 20/25 : EXPOSE 59999 04:09:07 ---> Running in a8371d64ba70 04:09:07 Removing intermediate container a8371d64ba70 04:09:07 ---> ccf116f882ce 04:09:07 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:09:07 ---> Running in d572d906d282 04:09:07 Removing intermediate container d572d906d282 04:09:07 ---> 57f3dfb57671 04:09:07 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:09:07 ---> Running in 5c30c0857011 04:09:07 Running on prd-ubuntu20.04-docker-arm64-4c-16g-16558 in /w/workspace/gexfoundry_device-sdk-go_PR-1187 [Pipeline] { 04:09:07 Removing intermediate container 5c30c0857011 04:09:07 ---> 3a5580c8e6ae 04:09:07 Step 23/25 : LABEL arch=amd64 04:09:07 ---> Running in a4516c09dcfd 04:09:07 Removing intermediate container a4516c09dcfd 04:09:07 ---> 1159b251d256 04:09:07 Step 24/25 : LABEL git_sha=45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] ws 04:09:07 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:09:07 The recommended git tool is: git 04:09:08 ---> Running in 665fa3aa046e 04:09:08 Removing intermediate container 665fa3aa046e 04:09:08 ---> 0524aa38c6f7 04:09:08 Step 25/25 : LABEL version=0.0.0 04:09:08 ---> Running in 5e5601198f7f 04:09:08 Removing intermediate container 5e5601198f7f 04:09:08 ---> 2696653ba509 04:09:08 [Warning] One or more build-args [ARCH] were not consumed 04:09:08 Successfully built 2696653ba509 04:09:08 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:09 04:09:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:09 latest: Pulling from edgex-lftools-log-publisher 04:09:09 5eb5b503b376: Pulling fs layer 04:09:09 5c69ac0246d0: Pulling fs layer 04:09:09 ec43610c2a17: Pulling fs layer 04:09:09 3a2ae6a8a46f: Pulling fs layer 04:09:09 33b1e0a273af: Pulling fs layer 04:09:09 5d3b04190fa2: Pulling fs layer 04:09:09 3a2ae6a8a46f: Waiting 04:09:09 33b1e0a273af: Waiting 04:09:09 2f39f015ded8: Pulling fs layer 04:09:09 2f39f015ded8: Waiting 04:09:09 5d3b04190fa2: Waiting 04:09:09 5c69ac0246d0: Verifying Checksum 04:09:09 5c69ac0246d0: Download complete 04:09:09 3a2ae6a8a46f: Verifying Checksum 04:09:09 3a2ae6a8a46f: Download complete 04:09:09 33b1e0a273af: Verifying Checksum 04:09:09 33b1e0a273af: Download complete 04:09:09 5d3b04190fa2: Download complete 04:09:09 ec43610c2a17: Verifying Checksum 04:09:09 ec43610c2a17: Download complete 04:09:09 5eb5b503b376: Download complete 04:09:10 2f39f015ded8: Download complete 04:09:10 5eb5b503b376: Pull complete 04:09:10 5c69ac0246d0: Pull complete 04:09:11 ec43610c2a17: Pull complete 04:09:11 3a2ae6a8a46f: Pull complete 04:09:11 33b1e0a273af: Pull complete 04:09:11 5d3b04190fa2: Pull complete 04:09:14 using credential edgex-jenkins-ssh 04:09:14 Cloning the remote Git repository 04:09:14 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:09:14 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:09:14 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:09:14 > git --version # timeout=10 04:09:14 > git --version # 'git version 2.25.1' 04:09:14 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:15 2f39f015ded8: Pull complete 04:09:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:09:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:09:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:09:16 prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container 04:09:16 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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:09:16 Merging remotes/origin/main commit 387354420b6c024391aeac33674ce5c69e12b92e into PR head commit 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 04:09:16 Merge succeeded, producing 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 04:09:16 Checking out Revision 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 (PR-1187) 04:09:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:09:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:09:16 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:09:16 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:09:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1187/head:refs/remotes/origin/PR-1187 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:09:16 > git config core.sparsecheckout # timeout=10 04:09:16 > git checkout -f 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 # timeout=10 04:09:16 > git remote # timeout=10 04:09:16 > git config --get remote.origin.url # timeout=10 04:09:16 using GIT_SSH to set credentials SSH Credentials for GitHub 04:09:16 > git merge 387354420b6c024391aeac33674ce5c69e12b92e # timeout=10 04:09:16 > git rev-parse HEAD^{commit} # timeout=10 04:09:16 > git config core.sparsecheckout # timeout=10 04:09:16 > git checkout -f 45ea3baea759e1d08f8e5f42ecb60a489bd1d241 # timeout=10 04:09:18 $ docker top ac63f462c8e6e06b65d1ea948ca0334d58c16297d246e92f1f9910d9634c5932 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:18 ---> job-cost.sh 04:09:18 lf-activate-venv: SKIPPING 04:09:18 INFO: No Stack... 04:09:19 INFO: Retrieving Pricing Info for: v3-standard-8 04:09:19 INFO: Archiving Costs [Pipeline] sh 04:09:19 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives/cost.csv 04:09:19 + cut -d, -f6 [Pipeline] lock 04:09:19 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] 04:09:19 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] did not exist. Created. 04:09:19 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:09:20 + echo total: 0.2199999988079071 [Pipeline] stash 04:09:20 Stashed 1 file(s) [Pipeline] } 04:09:20 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:09:20 $ docker stop --time=1 ac63f462c8e6e06b65d1ea948ca0334d58c16297d246e92f1f9910d9634c5932 04:09:21 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v2" 04:09:21 > git --version # timeout=10 04:09:21 > git --version # 'git version 2.25.1' 04:09:21 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:09:21 $ docker rm -f ac63f462c8e6e06b65d1ea948ca0334d58c16297d246e92f1f9910d9634c5932 04:09:21 04:09:21 GitHub has been notified of this commit’s build result 04:09:21 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] withEnv [Pipeline] { [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:09:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:09:22 % Total % Received % Xferd Average Speed Time Time Time Current 04:09:22 Dload Upload Total Spent Left Speed 04:09:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 98814 0 --:--:-- --:--:-- --:--:-- 98814 [Pipeline] sh 04:09:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:09:23 + sudo tee /etc/docker/daemon.new 04:09:23 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:09:23 { 04:09:23 "registry-mirrors": [ 04:09:23 "https://nexus3.edgexfoundry.org:10001" 04:09:23 ], 04:09:23 "bip": "10.250.0.254/24", 04:09:23 "hosts": [ 04:09:23 "tcp://0.0.0.0:5555", 04:09:23 "unix:///var/run/docker.sock" 04:09:23 ], 04:09:23 "mtu": 1458, 04:09:23 "selinux-enabled": true, 04:09:23 "seccomp-profile": "/etc/docker/seccomp.json" 04:09:23 } [Pipeline] sh 04:09:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:09:24 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:42 provisioning config files... 04:09:42 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7981264982559400118tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:43 ---> docker-login.sh 04:09:43 nexus3.edgexfoundry.org:10001 04:09:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:44 Configure a credential helper to remove this warning. See 04:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:44 04:09:44 Login Succeeded 04:09:44 nexus3.edgexfoundry.org:10002 04:09:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:44 Configure a credential helper to remove this warning. See 04:09:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:44 04:09:44 Login Succeeded 04:09:44 nexus3.edgexfoundry.org:10003 04:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:45 Configure a credential helper to remove this warning. See 04:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:45 04:09:45 Login Succeeded 04:09:45 nexus3.edgexfoundry.org:10004 04:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:45 Configure a credential helper to remove this warning. See 04:09:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:45 04:09:45 Login Succeeded 04:09:45 docker.io 04:09:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:46 Configure a credential helper to remove this warning. See 04:09:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:46 04:09:46 Login Succeeded 04:09:46 ---> docker-login.sh ends [Pipeline] } 04:09:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:09:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:46 ========================================================= 04:09:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:09:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:47 + 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:09:47 Sending build context to Docker daemon 5.195MB 04:09:47 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:09:47 Step 2/11 : FROM ${BASE} AS builder 04:09:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:09:47 9b3977197b4f: Pulling fs layer 04:09:47 1a89e8eeedd5: Pulling fs layer 04:09:47 94645a83ff95: Pulling fs layer 04:09:47 e6fb740bc735: Pulling fs layer 04:09:47 3a77bd46dcc9: Pulling fs layer 04:09:47 355e64cbe906: Pulling fs layer 04:09:47 63ab81a10011: Pulling fs layer 04:09:47 555d1d1c4555: Pulling fs layer 04:09:47 7d9057610161: Pulling fs layer 04:09:47 e6fb740bc735: Waiting 04:09:47 3a77bd46dcc9: Waiting 04:09:47 355e64cbe906: Waiting 04:09:47 63ab81a10011: Waiting 04:09:47 555d1d1c4555: Waiting 04:09:47 7d9057610161: Waiting 04:09:47 94645a83ff95: Verifying Checksum 04:09:47 94645a83ff95: Download complete 04:09:47 1a89e8eeedd5: Download complete 04:09:47 3a77bd46dcc9: Verifying Checksum 04:09:47 3a77bd46dcc9: Download complete 04:09:47 355e64cbe906: Verifying Checksum 04:09:47 355e64cbe906: Download complete 04:09:47 9b3977197b4f: Download complete 04:09:47 63ab81a10011: Verifying Checksum 04:09:47 63ab81a10011: Download complete 04:09:48 9b3977197b4f: Pull complete 04:09:48 7d9057610161: Verifying Checksum 04:09:48 7d9057610161: Download complete 04:09:49 1a89e8eeedd5: Pull complete 04:09:49 94645a83ff95: Pull complete 04:09:49 555d1d1c4555: Verifying Checksum 04:09:49 555d1d1c4555: Download complete 04:09:50 e6fb740bc735: Verifying Checksum 04:09:50 e6fb740bc735: Download complete 04:10:02 e6fb740bc735: Pull complete 04:10:02 3a77bd46dcc9: Pull complete 04:10:02 355e64cbe906: Pull complete 04:10:02 63ab81a10011: Pull complete 04:10:09 555d1d1c4555: Pull complete 04:10:10 7d9057610161: Pull complete 04:10:10 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:10:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:10:10 ---> 819e984ddca1 04:10:10 Step 3/11 : ARG MAKE=make build 04:10:11 ---> Running in 2928a45467f8 04:10:11 Removing intermediate container 2928a45467f8 04:10:11 ---> 9565586f4fc5 04:10:11 Step 4/11 : WORKDIR /device-sdk-go 04:10:11 ---> Running in 47f274d481f8 04:10:12 Removing intermediate container 47f274d481f8 04:10:12 ---> 73e8bcc5c587 04:10:12 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:10:12 ---> Running in 626a72d04f85 04:10:12 Removing intermediate container 626a72d04f85 04:10:12 ---> 7bf5969b7441 04:10:12 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:10:12 ---> Running in 0c4fb4c14510 04:10:15 Removing intermediate container 0c4fb4c14510 04:10:15 ---> c2590b69088c 04:10:15 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:10:15 ---> Running in 9a212320cacf 04:10:16 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:10:17 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:10:18 OK: 220 MiB in 52 packages 04:10:18 Removing intermediate container 9a212320cacf 04:10:18 ---> f23d93bbb04f 04:10:18 Step 8/11 : COPY go.mod vendor* ./ 04:10:19 ---> bead0fa8bb0b 04:10:19 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:10:19 ---> Running in f566a0e3734a 04:11:06 Removing intermediate container f566a0e3734a 04:11:06 ---> 43401c89b97a 04:11:06 Step 10/11 : COPY . . 04:11:06 ---> bbb4f1eb8dd2 04:11:06 Step 11/11 : RUN ${MAKE} 04:11:06 ---> Running in cb477daa6764 04:11:06 noop 04:11:06 Removing intermediate container cb477daa6764 04:11:06 ---> 89d7046c523f 04:11:06 Successfully built 89d7046c523f 04:11:06 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:07 + docker inspect -f . ci-base-image-arm64 04:11:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:07 prd-ubuntu20.04-docker-arm64-4c-16g-16558 does not seem to be running inside a container 04:11:07 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:11:08 $ docker top 36ccf7fa8e977531ca7696b8e0a654b16705058216e2bc94e648cc93e09820fa -eo pid,comm [Pipeline] { [Pipeline] sh 04:11:34 + go version 04:11:34 go version go1.17.7 linux/arm64 [Pipeline] } 04:11:34 $ docker stop --time=1 36ccf7fa8e977531ca7696b8e0a654b16705058216e2bc94e648cc93e09820fa 04:11:36 $ docker rm -f 36ccf7fa8e977531ca7696b8e0a654b16705058216e2bc94e648cc93e09820fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:11:36 + docker inspect -f . ci-base-image-arm64 04:11:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:11:37 prd-ubuntu20.04-docker-arm64-4c-16g-16558 does not seem to be running inside a container 04:11:37 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:11:38 $ docker top 4cc51d9de7479745606e050e712aee63b02c417497fc84b7e26e6913090859d5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:11:39 + make test 04:11:39 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:12:12 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:13:49 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:14:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.421s coverage: 23.7% of statements 04:14:01 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:14:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.238s coverage: 27.6% of statements 04:14:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.538s coverage: 78.9% of statements 04:14:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.327s coverage: 10.8% of statements 04:14:02 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.753s coverage: 60.0% of statements 04:14:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:14:02 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:14:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.494s coverage: 34.8% of statements 04:14:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:14:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.403s coverage: 85.4% of statements 04:14:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:14:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:14:09 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.423s coverage: 65.1% of statements 04:14:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.221s coverage: 89.2% of statements 04:14:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:14:12 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.230s coverage: 4.7% of statements 04:14:12 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:14:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:14:13 GO111MODULE=on go vet ./... 04:15:50 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:15:50 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:15:50 ./bin/test-attribution-txt.sh [Pipeline] echo 04:15:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:15:50 $ docker stop --time=1 4cc51d9de7479745606e050e712aee63b02c417497fc84b7e26e6913090859d5 04:15:52 $ docker rm -f 4cc51d9de7479745606e050e712aee63b02c417497fc84b7e26e6913090859d5 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:53 Warning: overwriting stash ‘coverage-report’ 04:15:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:55 + ls -al . 04:15:55 total 300 04:15:55 drwxrwxr-x 10 jenkins jenkins 4096 Jul 1 04:15 . 04:15:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 04:09 .. 04:15:55 -rw-rw-r-- 1 jenkins jenkins 140 Jul 1 04:09 .dockerignore 04:15:55 drwxrwxr-x 8 jenkins jenkins 4096 Jul 1 04:09 .git 04:15:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 04:09 .github 04:15:55 -rw-rw-r-- 1 jenkins jenkins 131 Jul 1 04:09 .gitignore 04:15:55 -rw-rw-r-- 1 jenkins jenkins 42 Jul 1 04:09 .golangci.yml 04:15:55 -rw-rw-r-- 1 jenkins jenkins 29536 Jul 1 04:09 CHANGELOG.md 04:15:55 -rw-rw-r-- 1 jenkins jenkins 677 Jul 1 04:09 GOVERNANCE.md 04:15:55 -rw-rw-r-- 1 jenkins jenkins 880 Jul 1 04:09 Jenkinsfile 04:15:55 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 1 04:09 LICENSE 04:15:55 -rw-rw-r-- 1 jenkins jenkins 2015 Jul 1 04:09 Makefile 04:15:55 -rw-rw-r-- 1 jenkins jenkins 619 Jul 1 04:09 OWNERS.md 04:15:55 -rw-rw-r-- 1 jenkins jenkins 4881 Jul 1 04:09 README.md 04:15:55 -rw-rw-r-- 1 jenkins jenkins 5 Jul 1 04:07 VERSION 04:15:55 drwxrwxr-x 2 jenkins jenkins 4096 Jul 1 04:09 bin 04:15:55 -rw-r--r-- 1 jenkins jenkins 131190 Jul 1 04:14 coverage.out 04:15:55 drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 04:09 example 04:15:55 -rw-rw-r-- 1 jenkins jenkins 3203 Jul 1 04:09 go.mod 04:15:55 -rw-rw-r-- 1 jenkins jenkins 35551 Jul 1 04:09 go.sum 04:15:55 drwxrwxr-x 15 jenkins jenkins 4096 Jul 1 04:09 internal 04:15:55 drwxrwxr-x 3 jenkins jenkins 4096 Jul 1 04:09 openapi 04:15:55 drwxrwxr-x 5 jenkins jenkins 4096 Jul 1 04:09 pkg 04:15:55 drwxrwxr-x 4 jenkins jenkins 4096 Jul 1 04:09 snap 04:15:55 -rw-rw-r-- 1 jenkins jenkins 222 Jul 1 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:55 + 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=45ea3baea759e1d08f8e5f42ecb60a489bd1d241 --label arch=arm64 --label version=0.0.0 . 04:15:55 Sending build context to Docker daemon 5.327MB 04:15:56 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:15:56 Step 2/25 : FROM ${BASE} AS builder 04:15:56 ---> 89d7046c523f 04:15:56 Step 3/25 : ARG MAKE=make build 04:15:56 ---> Running in 3af81d232dd8 04:15:56 Removing intermediate container 3af81d232dd8 04:15:56 ---> 4552e7321054 04:15:56 Step 4/25 : WORKDIR /device-sdk-go 04:15:56 ---> Running in 7245315b49f2 04:15:57 Removing intermediate container 7245315b49f2 04:15:57 ---> 59cdc22d1a4f 04:15:57 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:57 ---> Running in e07b8d695ddd 04:15:57 Removing intermediate container e07b8d695ddd 04:15:57 ---> 8e1bc0f8577f 04:15:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:57 ---> Running in 6228a5ad85b4 04:15:58 Removing intermediate container 6228a5ad85b4 04:15:58 ---> 01f645c2cdb5 04:15:58 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:58 ---> Running in c33c15ea9d49 04:15:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:16:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:16:01 OK: 220 MiB in 52 packages 04:16:02 Removing intermediate container c33c15ea9d49 04:16:02 ---> 19632e05998c 04:16:02 Step 8/25 : COPY go.mod vendor* ./ 04:16:02 ---> c6e13449a504 04:16:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:16:02 ---> Running in 87523bef9b00 04:16:04 Removing intermediate container 87523bef9b00 04:16:04 ---> e44375aaadcd 04:16:04 Step 10/25 : COPY . . 04:16:05 ---> 9e01ee1c6cc3 04:16:05 Step 11/25 : RUN ${MAKE} 04:16:05 ---> Running in b69ba2eafd3a 04:16:06 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:18:13 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:18:13 Removing intermediate container b69ba2eafd3a 04:18:13 ---> d2590386484e 04:18:13 Step 12/25 : FROM alpine:3.14 04:18:13 3.14: Pulling from library/alpine 04:18:13 455c02918c45: Pulling fs layer 04:18:13 455c02918c45: Verifying Checksum 04:18:13 455c02918c45: Download complete 04:18:13 455c02918c45: Pull complete 04:18:13 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:18:13 Status: Downloaded newer image for alpine:3.14 04:18:13 ---> ac73e934f311 04:18:13 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:18:13 ---> Running in 7d81895a70a1 04:18:14 Removing intermediate container 7d81895a70a1 04:18:14 ---> f3f6f4774580 04:18:14 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:18:14 ---> Running in 30e78b39af04 04:18:16 Removing intermediate container 30e78b39af04 04:18:16 ---> 6925052f0027 04:18:16 Step 15/25 : RUN apk add --update --no-cache zeromq 04:18:16 ---> Running in 190ee19793fc 04:18:17 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:18:17 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:18:18 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:18:18 (2/5) Installing libsodium (1.0.18-r0) 04:18:19 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:18:19 (4/5) Installing libzmq (4.3.4-r0) 04:18:19 (5/5) Installing zeromq (4.3.4-r0) 04:18:19 Executing busybox-1.33.1-r7.trigger 04:18:19 OK: 8 MiB in 19 packages 04:18:20 Removing intermediate container 190ee19793fc 04:18:20 ---> 3a435e8994a7 04:18:20 Step 16/25 : WORKDIR / 04:18:20 ---> Running in 5fd5fab7d955 04:18:20 Removing intermediate container 5fd5fab7d955 04:18:20 ---> 0a2d4cc2d412 04:18:20 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:18:21 ---> 3243ddcff009 04:18:21 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:18:23 ---> ba178823738e 04:18:23 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:18:23 ---> 8b8ca66b6dc6 04:18:23 Step 20/25 : EXPOSE 59999 04:18:23 ---> Running in 23bcc63614b9 04:18:24 Removing intermediate container 23bcc63614b9 04:18:24 ---> 4a1e0860a2f3 04:18:24 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:18:24 ---> Running in 6bd36c2fbdd1 04:18:24 Removing intermediate container 6bd36c2fbdd1 04:18:24 ---> 036d24190e3c 04:18:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:18:24 ---> Running in fa921f8176bd 04:18:24 Removing intermediate container fa921f8176bd 04:18:24 ---> e4eb49837870 04:18:24 Step 23/25 : LABEL arch=arm64 04:18:24 ---> Running in 58496b53d98a 04:18:25 Removing intermediate container 58496b53d98a 04:18:25 ---> 2e829f3e9a20 04:18:25 Step 24/25 : LABEL git_sha=45ea3baea759e1d08f8e5f42ecb60a489bd1d241 04:18:25 ---> Running in 4e4c8549ee81 04:18:25 Removing intermediate container 4e4c8549ee81 04:18:25 ---> bbaba753a73a 04:18:25 Step 25/25 : LABEL version=0.0.0 04:18:25 ---> Running in b5db5b9228e7 04:18:26 Removing intermediate container b5db5b9228e7 04:18:26 ---> aa60c54800ca 04:18:26 [Warning] One or more build-args [ARCH] were not consumed 04:18:26 Successfully built aa60c54800ca 04:18:26 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:26 04:18:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:27 arm64: Pulling from edgex-lftools-log-publisher 04:18:27 8998bd30e6a1: Pulling fs layer 04:18:27 04944245beec: Pulling fs layer 04:18:27 699f458cf7ca: Pulling fs layer 04:18:27 765212b225bb: Pulling fs layer 04:18:27 f23df028b6ca: Pulling fs layer 04:18:27 d65c8cfc05b1: Pulling fs layer 04:18:27 2437ff75d9bd: Pulling fs layer 04:18:27 f23df028b6ca: Waiting 04:18:27 765212b225bb: Waiting 04:18:27 2437ff75d9bd: Waiting 04:18:27 d65c8cfc05b1: Waiting 04:18:27 04944245beec: Verifying Checksum 04:18:27 04944245beec: Download complete 04:18:27 765212b225bb: Verifying Checksum 04:18:27 765212b225bb: Download complete 04:18:27 f23df028b6ca: Verifying Checksum 04:18:27 f23df028b6ca: Download complete 04:18:27 d65c8cfc05b1: Verifying Checksum 04:18:27 d65c8cfc05b1: Download complete 04:18:27 699f458cf7ca: Verifying Checksum 04:18:27 699f458cf7ca: Download complete 04:18:28 8998bd30e6a1: Verifying Checksum 04:18:28 8998bd30e6a1: Download complete 04:18:30 2437ff75d9bd: Verifying Checksum 04:18:30 2437ff75d9bd: Download complete 04:18:32 8998bd30e6a1: Pull complete 04:18:33 04944245beec: Pull complete 04:18:34 699f458cf7ca: Pull complete 04:18:34 765212b225bb: Pull complete 04:18:35 f23df028b6ca: Pull complete 04:18:35 d65c8cfc05b1: Pull complete 04:18:50 2437ff75d9bd: Pull complete 04:18:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:18:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:51 prd-ubuntu20.04-docker-arm64-4c-16g-16558 does not seem to be running inside a container 04:18:51 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:18:54 $ docker top 2e90fda1c8ab2df85a029982e57cfcffa737df1e790276d8a77edc90bb3ea9bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:55 ---> job-cost.sh 04:18:55 lf-activate-venv: SKIPPING 04:18:55 INFO: No Stack... 04:18:55 INFO: Retrieving Pricing Info for: v3-standard-4 04:18:56 INFO: Archiving Costs [Pipeline] sh 04:18:57 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:18:57 + cut -d, -f6 [Pipeline] lock 04:18:57 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] 04:18:57 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] did not exist. Created. 04:18:57 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:18:58 /w/workspace/device-sdk-go/1@tmp/durable-030a1862/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:18:58 + echo total: 0.10999999940395355 [Pipeline] stash 04:18:58 Warning: overwriting stash ‘stack-cost’ 04:18:58 Stashed 1 file(s) [Pipeline] } 04:18:58 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1187-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:18:58 $ docker stop --time=1 2e90fda1c8ab2df85a029982e57cfcffa737df1e790276d8a77edc90bb3ea9bf 04:19:00 $ docker rm -f 2e90fda1c8ab2df85a029982e57cfcffa737df1e790276d8a77edc90bb3ea9bf [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:19:01 provisioning config files... 04:19:01 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/config4566759853067471696tmp [Pipeline] { [Pipeline] sh 04:19:01 + set +x 04:19:01 + curl -s https://codecov.io/bash 04:19:01 + bash -s -- 04:19:01 04:19:01 _____ _ 04:19:01 / ____| | | 04:19:01 | | ___ __| | ___ ___ _____ __ 04:19:01 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:19:01 | |___| (_) | (_| | __/ (_| (_) \ V / 04:19:01 \_____\___/ \__,_|\___|\___\___/ \_/ 04:19:01 Bash-1.0.6 04:19:01 04:19:01 04:19:01 ==> git version 2.25.1 found 04:19:01 ==> 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:19:01 Release-Date: 2020-01-08 04:19:01 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:19:01 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:19:01 ==> Jenkins CI detected. 04:19:01 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1187 04:19:01 project root: . 04:19:01 --> token set from env 04:19:01 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:19:01 ==> Running gcov in . (disable via -X gcov) 04:19:01 ==> Python coveragepy not found 04:19:01 ==> Searching for coverage reports in: 04:19:01 + . 04:19:01 -> Found 1 reports 04:19:01 ==> Detecting git/mercurial file structure 04:19:01 ==> Reading reports 04:19:01 + ./coverage.out bytes=131190 04:19:01 ==> Appending adjustments 04:19:01 https://docs.codecov.io/docs/fixing-reports 04:19:02 + Found adjustments 04:19:02 ==> Gzipping contents 04:19:02 20K /tmp/codecov.jEUhw9.gz 04:19:02 ==> Uploading reports 04:19:02 url: https://codecov.io 04:19:02 query: branch=PR-1187&commit=45ea3baea759e1d08f8e5f42ecb60a489bd1d241&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1187&job=&cmd_args= 04:19:02 -> Pinging Codecov 04:19:02 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1187&commit=45ea3baea759e1d08f8e5f42ecb60a489bd1d241&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1187%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1187&job=&cmd_args= 04:19:02 -> Uploading to 04:19:02 https://storage.googleapis.com/codecov/v4/raw/2022-07-01/7E55EF52A471D76F132DFD9A03CDDE97/45ea3baea759e1d08f8e5f42ecb60a489bd1d241/3ee268b6-f535-4785-a9fe-262a820bf46e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220701%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220701T041902Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d2f441e345196ede690d5771c6ac4f48cb06300ea2e1353b61df9295d1a30046 04:19:02 % Total % Received % Xferd Average Speed Time Time Time Current 04:19:02 Dload Upload Total Spent Left Speed 04:19:02 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16877 0 0 100 16877 0 70320 --:--:-- --:--:-- --:--:-- 70320 04:19:02 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/45ea3baea759e1d08f8e5f42ecb60a489bd1d241 [Pipeline] } 04:19:02 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:19:04 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives ] 04:19:04 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives 04:19:04 total 16 04:19:04 drwxr-xr-x 3 root root 4096 Jul 1 04:09 . 04:19:04 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 04:09 .. 04:19:04 drwxr-xr-x 2 root root 4096 Jul 1 04:09 cost 04:19:04 -rw-r--r-- 1 root root 85 Jul 1 04:09 cost.csv 04:19:04 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives 04:19:04 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives 04:19:04 total 16 04:19:04 drwxr-xr-x 3 jenkins jenkins 4096 Jul 1 04:09 . 04:19:04 drwxrwxr-x 12 jenkins jenkins 4096 Jul 1 04:09 .. 04:19:04 drwxr-xr-x 2 jenkins jenkins 4096 Jul 1 04:09 cost 04:19:04 -rw-r--r-- 1 jenkins jenkins 85 Jul 1 04:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:19:04 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:19:05 ---> package-listing.sh 04:19:05 ++ facter osfamily 04:19:05 ++ tr '[:upper:]' '[:lower:]' 04:19:06 + OS_FAMILY=debian 04:19:06 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1187 04:19:06 + START_PACKAGES=/tmp/packages_start.txt 04:19:06 + END_PACKAGES=/tmp/packages_end.txt 04:19:06 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:19:06 + PACKAGES=/tmp/packages_start.txt 04:19:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1187 ']' 04:19:06 + PACKAGES=/tmp/packages_end.txt 04:19:06 + case "${OS_FAMILY}" in 04:19:06 + dpkg -l 04:19:06 + grep '^ii' 04:19:06 + '[' -f /tmp/packages_start.txt ']' 04:19:06 + '[' -f /tmp/packages_end.txt ']' 04:19:06 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:19:06 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1187 ']' 04:19:06 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives/ 04:19:06 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1187/archives/ [Pipeline] echo 04:19:06 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:19:06 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:19:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:19:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:19:07 prd-ubuntu20.04-docker-8c-8g-16557 does not seem to be running inside a container 04:19:07 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1187/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-1187 -v /w/workspace/gexfoundry_device-sdk-go_PR-1187:/w/workspace/gexfoundry_device-sdk-go_PR-1187:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1187@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:19:07 $ docker top d0d0658f59ce3180835f14ac8f8b99325bba28d6ab62e419f7f7fcccfd4cd7f2 -eo pid,comm [Pipeline] { [Pipeline] sh 04:19:07 + touch /tmp/pre-build-complete [Pipeline] sh 04:19:08 + mkdir -p /var/log/sysstat [Pipeline] sh 04:19:08 + ls /var/log/sa-host 04:19:08 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:19:08 provisioning config files... 04:19:08 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1187@tmp/config49829373403435032tmp [Pipeline] { [Pipeline] echo 04:19:08 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:19:09 ---> create-netrc.sh [Pipeline] } 04:19:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:19:09 ---> python-tools-install.sh [Pipeline] echo 04:19:09 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:19:09 ---> sudo-logs.sh 04:19:09 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:19:09 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:19:10 ---> job-cost.sh 04:19:10 lf-activate-venv: SKIPPING 04:19:10 DEBUG: total: 0.2199999988079071 04:19:10 INFO: Retrieving Stack Cost... 04:19:10 INFO: Retrieving Pricing Info for: v3-standard-8 04:19:11 INFO: Archiving Costs [Pipeline] echo 04:19:11 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:19:11 ---> logs-deploy.sh 04:19:11 lf-activate-venv: SKIPPING 04:19:11 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1187/1 04:19:11 INFO: archiving workspace using pattern(s): 04:19:12 Archives upload complete. 04:19:12 INFO: archiving logs to Nexus