Pull request #1177 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at f6d939e94ec53612eabda502d541349231dbf6bf rather than 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 Obtained Jenkinsfile from f6d939e94ec53612eabda502d541349231dbf6bf 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-ssh8241025680612825790.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-ssh1700019292108318978.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-1177/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-1177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1667720634258227055.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-1177/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh723639801657215143.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-ssh14869929983438254177.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-1177/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-1177/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15268956189508295427.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2533 in /w/workspace/gexfoundry_device-sdk-go_PR-1177 [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-1177 # 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 f6d939e94ec53612eabda502d541349231dbf6bf into PR head commit 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 Merge succeeded, producing 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 Checking out Revision 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 (PR-1177) > 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/1177/head:refs/remotes/origin/PR-1177 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 # 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 f6d939e94ec53612eabda502d541349231dbf6bf # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 # timeout=10 Commit message: "build: Upgrade go-mod-messaging and paho.mqtt lib" 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 03:14:14 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:14:14 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:14:14 ========================================================= 03:14:14 EdgeX Global Pipelines Version Info 03:14:14 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:14:15 ------------------- 03:14:15 stable info: 03:14:15 ------------------- 03:14:15 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:14:15 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 03:14:15 Message: update stable to v1.0.234 03:14:15 ------------------- 03:14:15 experimental info: 03:14:15 ------------------- 03:14:15 Commited By: **** collab-it+edgex@linuxfoundation.org 03:14:15 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 03:14:15 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:14:16 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1177 [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1177 [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1177 [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 874504b [Pipeline] echo 03:14:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:17 provisioning config files... 03:14:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/config5158131240889170591tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:18 ---> docker-login.sh 03:14:18 nexus3.edgexfoundry.org:10001 03:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:18 Configure a credential helper to remove this warning. See 03:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:18 03:14:18 Login Succeeded 03:14:18 nexus3.edgexfoundry.org:10002 03:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:18 Configure a credential helper to remove this warning. See 03:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:18 03:14:18 Login Succeeded 03:14:18 nexus3.edgexfoundry.org:10003 03:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:18 Configure a credential helper to remove this warning. See 03:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:18 03:14:18 Login Succeeded 03:14:18 nexus3.edgexfoundry.org:10004 03:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:18 Configure a credential helper to remove this warning. See 03:14:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:18 03:14:18 Login Succeeded 03:14:18 docker.io 03:14:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:19 Configure a credential helper to remove this warning. See 03:14:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:19 03:14:19 Login Succeeded 03:14:19 ---> docker-login.sh ends [Pipeline] } 03:14:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:14:19 + git rev-list -1 --merges 874504b6ed41d91b5a3cde9fef16e2f9cda97e40~1..874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] echo 03:14:19 -----------> git rev-list -1 --merges 874504b6ed41d91b5a3cde9fef16e2f9cda97e40~1..874504b6ed41d91b5a3cde9fef16e2f9cda97e40 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [false] [Pipeline] sh 03:14:20 + git log --format=format:%s -1 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] echo 03:14:20 ========================================================= 03:14:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:14:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:14:20 + git log --format=format:%s -1 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] echo 03:14:20 [semverPrep] GIT_COMMIT: 874504b6ed41d91b5a3cde9fef16e2f9cda97e40, Commit Message: build: Upgrade go-mod-messaging and paho.mqtt lib [Pipeline] echo 03:14:20 [semverPrep] This is not a build commit. [Pipeline] sh 03:14:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:14:21 + grep -v github /etc/ssh/ssh_known_hosts 03:14:21 + [ -e /tmp/ssh_known_hosts ] 03:14:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:14:21 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:14:21 + sudo tee -a /etc/ssh/ssh_known_hosts 03:14:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:14:21 03:14:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:14:22 0.1.4: Pulling from edgex-devops/py-git-semver 03:14:22 42c077c10790: Pulling fs layer 03:14:22 f63e77b7563a: Pulling fs layer 03:14:22 bd5fdadae976: Pulling fs layer 03:14:22 205491f53016: Pulling fs layer 03:14:22 df18705c85c3: Pulling fs layer 03:14:22 bdb3f477010e: Pulling fs layer 03:14:22 c8a8fc8e1c8f: Pulling fs layer 03:14:22 2c6e9b1d212d: Pulling fs layer 03:14:22 bdb8f0575790: Pulling fs layer 03:14:22 386e3cb2ff24: Pulling fs layer 03:14:22 2343380bae48: Pulling fs layer 03:14:22 c8a8fc8e1c8f: Waiting 03:14:22 bdb8f0575790: Waiting 03:14:22 386e3cb2ff24: Waiting 03:14:22 205491f53016: Waiting 03:14:22 2343380bae48: Waiting 03:14:22 df18705c85c3: Waiting 03:14:22 bdb3f477010e: Waiting 03:14:22 2c6e9b1d212d: Waiting 03:14:22 f63e77b7563a: Verifying Checksum 03:14:22 f63e77b7563a: Download complete 03:14:22 205491f53016: Verifying Checksum 03:14:22 205491f53016: Download complete 03:14:22 df18705c85c3: Verifying Checksum 03:14:22 df18705c85c3: Download complete 03:14:22 bdb3f477010e: Verifying Checksum 03:14:22 bdb3f477010e: Download complete 03:14:22 bd5fdadae976: Verifying Checksum 03:14:22 bd5fdadae976: Download complete 03:14:22 2c6e9b1d212d: Verifying Checksum 03:14:22 2c6e9b1d212d: Download complete 03:14:22 bdb8f0575790: Verifying Checksum 03:14:22 bdb8f0575790: Download complete 03:14:22 386e3cb2ff24: Verifying Checksum 03:14:22 386e3cb2ff24: Download complete 03:14:22 2343380bae48: Verifying Checksum 03:14:22 2343380bae48: Download complete 03:14:22 42c077c10790: Verifying Checksum 03:14:22 42c077c10790: Download complete 03:14:22 c8a8fc8e1c8f: Download complete 03:14:23 42c077c10790: Pull complete 03:14:23 f63e77b7563a: Pull complete 03:14:24 bd5fdadae976: Pull complete 03:14:24 205491f53016: Pull complete 03:14:24 df18705c85c3: Pull complete 03:14:24 bdb3f477010e: Pull complete 03:14:27 c8a8fc8e1c8f: Pull complete 03:14:27 2c6e9b1d212d: Pull complete 03:14:27 bdb8f0575790: Pull complete 03:14:27 386e3cb2ff24: Pull complete 03:14:27 2343380bae48: Pull complete 03:14:27 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 03:14:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:14:27 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:27 prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container 03:14:27 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@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-devops/py-git-semver:0.1.4 cat 03:14:29 $ docker top 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 -eo pid,comm 03:14:29 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). 03:14:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:14:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:14:29 [ssh-agent] Looking for ssh-agent implementation... 03:14:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:14:29 $ docker exec 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 ssh-agent 03:14:29 SSH_AUTH_SOCK=/tmp/ssh-h2qf8L1aDO20/agent.34 03:14:29 SSH_AGENT_PID=40 03:14:29 Running ssh-add (command line suppressed) 03:14:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/private_key_3121340121200550333.key (/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/private_key_3121340121200550333.key) 03:14:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:14:30 + git tag --points-at HEAD [Pipeline] } 03:14:30 $ docker exec --env ******** --env ******** 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 ssh-agent -k 03:14:30 unset SSH_AUTH_SOCK; 03:14:30 unset SSH_AGENT_PID; 03:14:30 echo Agent pid 40 killed; 03:14:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:14:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:14:30 [ssh-agent] Looking for ssh-agent implementation... 03:14:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:14:30 $ docker exec 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 ssh-agent 03:14:30 SSH_AUTH_SOCK=/tmp/ssh-rRlJhPVoOWnT/agent.75 03:14:30 SSH_AGENT_PID=81 03:14:30 Running ssh-add (command line suppressed) 03:14:30 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/private_key_8444598917823491036.key (/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/private_key_8444598917823491036.key) 03:14:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:14:31 + git semver init 03:14:31 2022-06-17 03:14:31,287 [run_init] DEBUG init version:0.0.0 force:False 03:14:31 2022-06-17 03:14:31,288 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver 03:14:31 2022-06-17 03:14:31,289 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver 03:14:31 2022-06-17 03:14:31,289 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1177, universal_newlines=False, shell=None, istream=None) 03:14:32 2022-06-17 03:14:32,081 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177/.git/info/exclude 03:14:32 2022-06-17 03:14:32,081 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver/PR-1177 with force:False 03:14:32 2022-06-17 03:14:32,081 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver/PR-1177 03:14:32 2022-06-17 03:14:32,086 [execute] INFO git cat-file --batch-check 03:14:32 2022-06-17 03:14:32,087 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver, universal_newlines=False, shell=None, istream=) 03:14:32 2022-06-17 03:14:32,093 [execute] INFO git cat-file --batch 03:14:32 2022-06-17 03:14:32,093 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver, universal_newlines=False, shell=None, istream=) 03:14:32 2022-06-17 03:14:32,098 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1177/.semver/PR-1177 03:14:32 0.0.0 [Pipeline] } 03:14:32 $ docker exec --env ******** --env ******** 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 ssh-agent -k 03:14:32 unset SSH_AUTH_SOCK; 03:14:32 unset SSH_AGENT_PID; 03:14:32 echo Agent pid 81 killed; 03:14:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:14:32 + git semver [Pipeline] } 03:14:33 $ docker stop --time=1 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 03:14:34 $ docker rm -f 65aa177f4e3859cb6b6f6f16f3faf61f73ceb8ace26bebc3261548bba5ff1ed0 [Pipeline] // withDockerContainer [Pipeline] sh 03:14:34 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:14:35 Stashed 1 file(s) [Pipeline] echo 03:14:35 [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 03:14:35 provisioning config files... 03:14:35 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/config7309743408697210232tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:36 ---> docker-login.sh 03:14:36 nexus3.edgexfoundry.org:10001 03:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:36 Configure a credential helper to remove this warning. See 03:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:36 03:14:36 Login Succeeded 03:14:36 nexus3.edgexfoundry.org:10002 03:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:36 Configure a credential helper to remove this warning. See 03:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:36 03:14:36 Login Succeeded 03:14:36 nexus3.edgexfoundry.org:10003 03:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:36 Configure a credential helper to remove this warning. See 03:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:36 03:14:36 Login Succeeded 03:14:36 nexus3.edgexfoundry.org:10004 03:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:36 Configure a credential helper to remove this warning. See 03:14:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:36 03:14:36 Login Succeeded 03:14:36 docker.io 03:14:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:37 Configure a credential helper to remove this warning. See 03:14:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:37 03:14:37 Login Succeeded 03:14:37 ---> docker-login.sh ends [Pipeline] } 03:14:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:14:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:14:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:14:37 ========================================================= 03:14:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:14:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:37 + 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 . 03:14:37 Sending build context to Docker daemon 9.738MB 03:14:37 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 03:14:37 Step 2/11 : FROM ${BASE} AS builder 03:14:37 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:14:37 59bf1c3509f3: Pulling fs layer 03:14:37 666ba61612fd: Pulling fs layer 03:14:37 8ed8ca486205: Pulling fs layer 03:14:37 cc1cd167ecdc: Pulling fs layer 03:14:37 c516ae0d96e1: Pulling fs layer 03:14:37 684cea983483: Pulling fs layer 03:14:37 dd3240ac7de5: Pulling fs layer 03:14:37 b1e948a4e11c: Pulling fs layer 03:14:37 a8fd76ee1af6: Pulling fs layer 03:14:37 646ad004c059: Pulling fs layer 03:14:37 cc1cd167ecdc: Waiting 03:14:37 a8fd76ee1af6: Waiting 03:14:37 dd3240ac7de5: Waiting 03:14:37 c516ae0d96e1: Waiting 03:14:37 b1e948a4e11c: Waiting 03:14:37 684cea983483: Waiting 03:14:37 646ad004c059: Waiting 03:14:37 8ed8ca486205: Download complete 03:14:38 666ba61612fd: Download complete 03:14:38 c516ae0d96e1: Verifying Checksum 03:14:38 c516ae0d96e1: Download complete 03:14:38 684cea983483: Download complete 03:14:38 59bf1c3509f3: Verifying Checksum 03:14:38 59bf1c3509f3: Download complete 03:14:38 dd3240ac7de5: Download complete 03:14:38 b1e948a4e11c: Verifying Checksum 03:14:38 b1e948a4e11c: Download complete 03:14:38 59bf1c3509f3: Pull complete 03:14:38 666ba61612fd: Pull complete 03:14:38 8ed8ca486205: Pull complete 03:14:38 646ad004c059: Verifying Checksum 03:14:38 646ad004c059: Download complete 03:14:38 a8fd76ee1af6: Verifying Checksum 03:14:38 a8fd76ee1af6: Download complete 03:14:38 cc1cd167ecdc: Download complete 03:14:42 cc1cd167ecdc: Pull complete 03:14:42 c516ae0d96e1: Pull complete 03:14:42 684cea983483: Pull complete 03:14:42 dd3240ac7de5: Pull complete 03:14:43 b1e948a4e11c: Pull complete 03:14:45 a8fd76ee1af6: Pull complete 03:14:46 646ad004c059: Pull complete 03:14:46 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 03:14:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:14:46 ---> 8f69c11f6b0c 03:14:46 Step 3/11 : ARG MAKE=make build 03:14:47 ---> Running in e5db5ca1b706 03:14:47 Removing intermediate container e5db5ca1b706 03:14:47 ---> a66af8885dd7 03:14:47 Step 4/11 : WORKDIR /device-sdk-go 03:14:47 ---> Running in ed5340d52d0c 03:14:47 Removing intermediate container ed5340d52d0c 03:14:47 ---> d0a789a75001 03:14:47 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:14:47 ---> Running in f1e72b4392d3 03:14:48 Removing intermediate container f1e72b4392d3 03:14:48 ---> 275e07defc7e 03:14:48 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:14:48 ---> Running in 80b19c453842 03:14:48 Removing intermediate container 80b19c453842 03:14:48 ---> a05a488daebd 03:14:48 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:14:48 ---> Running in 32f7e1dae7c3 03:14:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:14:49 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:14:50 OK: 221 MiB in 52 packages 03:14:50 Removing intermediate container 32f7e1dae7c3 03:14:50 ---> bbb021124589 03:14:50 Step 8/11 : COPY go.mod vendor* ./ 03:14:50 Still waiting to schedule task 03:14:50 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 03:14:50 ---> ecd22c9a3086 03:14:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:14:50 ---> Running in 740c671656ec 03:15:05 Removing intermediate container 740c671656ec 03:15:05 ---> 52a57b712d41 03:15:05 Step 10/11 : COPY . . 03:15:05 ---> 45e5692bea7b 03:15:05 Step 11/11 : RUN ${MAKE} 03:15:05 ---> Running in e2df10809c5a 03:15:05 noop 03:15:05 Removing intermediate container e2df10809c5a 03:15:05 ---> f26ab2d11bba 03:15:05 Successfully built f26ab2d11bba 03:15:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:06 + docker inspect -f . ci-base-image-x86_64 03:15:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:06 prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container 03:15:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:15:07 $ docker top e0876b85516bfe9d4f88a07ddd446f2161fb8dcf6d9399bb904dd1142e2f615b -eo pid,comm [Pipeline] { [Pipeline] sh 03:15:07 + go version 03:15:07 go version go1.17.7 linux/amd64 [Pipeline] } 03:15:07 $ docker stop --time=1 e0876b85516bfe9d4f88a07ddd446f2161fb8dcf6d9399bb904dd1142e2f615b 03:15:08 $ docker rm -f e0876b85516bfe9d4f88a07ddd446f2161fb8dcf6d9399bb904dd1142e2f615b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:09 + docker inspect -f . ci-base-image-x86_64 03:15:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:15:09 prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container 03:15:09 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:15:10 $ docker top e0d66be67a90af309525f21e63a25c17ddcde0cd03e16bd70cc429c903ae6753 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:15:10 + make test 03:15:10 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:15:16 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.105s coverage: 23.3% of statements 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.107s coverage: 78.9% of statements 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.077s coverage: 10.8% of statements 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.075s coverage: 60.0% of statements 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.095s coverage: 34.8% of statements 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.066s coverage: 85.4% of statements 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.116s coverage: 65.1% of statements 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.863s coverage: 89.2% of statements 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:15:30 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 03:15:30 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:15:45 GO111MODULE=on go vet ./... 03:15:49 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:15:49 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:15:49 ./bin/test-attribution-txt.sh [Pipeline] echo 03:15:49 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:15:49 $ docker stop --time=1 e0d66be67a90af309525f21e63a25c17ddcde0cd03e16bd70cc429c903ae6753 03:15:52 $ docker rm -f e0d66be67a90af309525f21e63a25c17ddcde0cd03e16bd70cc429c903ae6753 [Pipeline] // withDockerContainer [Pipeline] sh 03:15:52 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:15:52 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:15:53 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:15:53 + ls -al . 03:15:53 total 300 03:15:53 drwxrwxr-x 11 jenkins jenkins 4096 Jun 17 03:15 . 03:15:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:14 .. 03:15:53 -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 03:14 .dockerignore 03:15:53 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 03:14 .git 03:15:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:14 .github 03:15:53 -rw-rw-r-- 1 jenkins jenkins 131 Jun 17 03:14 .gitignore 03:15:53 -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 03:14 .golangci.yml 03:15:53 drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 03:14 .semver 03:15:53 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 17 03:14 CHANGELOG.md 03:15:53 -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 03:14 GOVERNANCE.md 03:15:53 -rw-rw-r-- 1 jenkins jenkins 880 Jun 17 03:14 Jenkinsfile 03:15:53 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 03:14 LICENSE 03:15:53 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 17 03:14 Makefile 03:15:53 -rw-rw-r-- 1 jenkins jenkins 619 Jun 17 03:14 OWNERS.md 03:15:53 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 17 03:14 README.md 03:15:53 -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 03:14 VERSION 03:15:53 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:14 bin 03:15:53 -rw-r--r-- 1 jenkins jenkins 131010 Jun 17 03:15 coverage.out 03:15:53 drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 03:14 example 03:15:53 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 17 03:14 go.mod 03:15:53 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 17 03:14 go.sum 03:15:53 drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 03:14 internal 03:15:53 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 03:14 openapi 03:15:53 drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 03:14 pkg 03:15:53 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:14 snap 03:15:53 -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 03:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:54 + 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=874504b6ed41d91b5a3cde9fef16e2f9cda97e40 --label arch=amd64 --label version=0.0.0 . 03:15:54 Sending build context to Docker daemon 9.87MB 03:15:54 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:15:54 Step 2/25 : FROM ${BASE} AS builder 03:15:54 ---> f26ab2d11bba 03:15:54 Step 3/25 : ARG MAKE=make build 03:15:54 ---> Running in 30b7108678b1 03:15:54 Removing intermediate container 30b7108678b1 03:15:54 ---> 828bfed3ff7d 03:15:54 Step 4/25 : WORKDIR /device-sdk-go 03:15:54 ---> Running in d48b535bebae 03:15:54 Removing intermediate container d48b535bebae 03:15:54 ---> 78b4bb39499f 03:15:54 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:15:54 ---> Running in a0826fe23071 03:15:54 Removing intermediate container a0826fe23071 03:15:54 ---> d906e96094f6 03:15:54 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:15:54 ---> Running in bc51cd618c0b 03:15:55 Removing intermediate container bc51cd618c0b 03:15:55 ---> 90e6553c0ef1 03:15:55 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:15:55 ---> Running in 9e1d83a21ad1 03:15:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:15:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:15:56 OK: 221 MiB in 52 packages 03:15:57 Removing intermediate container 9e1d83a21ad1 03:15:57 ---> 09f71d107d0c 03:15:57 Step 8/25 : COPY go.mod vendor* ./ 03:15:57 ---> 15138171ccf2 03:15:57 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:15:57 ---> Running in 0e85deadcdcf 03:15:58 Removing intermediate container 0e85deadcdcf 03:15:58 ---> 40e7e464a0c7 03:15:58 Step 10/25 : COPY . . 03:15:58 ---> d336d1d93c57 03:15:58 Step 11/25 : RUN ${MAKE} 03:15:58 ---> Running in 1c4189e3c24f 03:15:58 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 03:16:16 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:16:19 Removing intermediate container 1c4189e3c24f 03:16:19 ---> 951a0c0afba8 03:16:19 Step 12/25 : FROM alpine:3.14 03:16:19 3.14: Pulling from library/alpine 03:16:19 8663204ce13b: Pulling fs layer 03:16:20 8663204ce13b: Verifying Checksum 03:16:20 8663204ce13b: Pull complete 03:16:20 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:16:20 Status: Downloaded newer image for alpine:3.14 03:16:20 ---> e04c818066af 03:16:20 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:16:20 ---> Running in d6d3ce7762f8 03:16:20 Removing intermediate container d6d3ce7762f8 03:16:20 ---> d7521a57a014 03:16:20 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:16:20 ---> Running in 57c8ee66f9d9 03:16:21 Removing intermediate container 57c8ee66f9d9 03:16:21 ---> 8d20b8f9c8e3 03:16:21 Step 15/25 : RUN apk add --update --no-cache zeromq 03:16:21 ---> Running in 022c7fdf4298 03:16:21 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:16:22 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:16:22 (1/5) Installing libgcc (10.3.1_git20210424-r2) 03:16:22 (2/5) Installing libsodium (1.0.18-r0) 03:16:22 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 03:16:22 (4/5) Installing libzmq (4.3.4-r0) 03:16:22 (5/5) Installing zeromq (4.3.4-r0) 03:16:22 Executing busybox-1.33.1-r7.trigger 03:16:22 OK: 8 MiB in 19 packages 03:16:23 Removing intermediate container 022c7fdf4298 03:16:23 ---> be59301d26b5 03:16:23 Step 16/25 : WORKDIR / 03:16:23 ---> Running in 3458a0e80382 03:16:23 Removing intermediate container 3458a0e80382 03:16:23 ---> 7ebb83306a2d 03:16:23 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:16:23 ---> 61f664b3283b 03:16:23 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:16:24 ---> 2e21c7c24446 03:16:24 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:16:24 ---> 624af2791bde 03:16:24 Step 20/25 : EXPOSE 59999 03:16:24 ---> Running in f3a427a07e6d 03:16:24 Removing intermediate container f3a427a07e6d 03:16:24 ---> c7d6e7254e3a 03:16:24 Step 21/25 : ENTRYPOINT ["/device-simple"] 03:16:24 ---> Running in d98bfb6d6c76 03:16:24 Removing intermediate container d98bfb6d6c76 03:16:24 ---> 993b310b77c2 03:16:24 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:16:24 ---> Running in 7b6ffe59b128 03:16:24 Removing intermediate container 7b6ffe59b128 03:16:24 ---> 0d8711d6f66d 03:16:24 Step 23/25 : LABEL arch=amd64 03:16:24 ---> Running in c1a941f49317 03:16:24 Removing intermediate container c1a941f49317 03:16:24 ---> dac83d0c88bd 03:16:24 Step 24/25 : LABEL git_sha=874504b6ed41d91b5a3cde9fef16e2f9cda97e40 03:16:25 ---> Running in 2d778ecfc124 03:16:25 Removing intermediate container 2d778ecfc124 03:16:25 ---> 0318de56decb 03:16:25 Step 25/25 : LABEL version=0.0.0 03:16:25 ---> Running in eb7f067ba1a3 03:16:25 Removing intermediate container eb7f067ba1a3 03:16:25 ---> 31d3367ae6e0 03:16:25 [Warning] One or more build-args [ARCH] were not consumed 03:16:25 Successfully built 31d3367ae6e0 03:16:25 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 03:16:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:25 03:16:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:16:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:26 latest: Pulling from edgex-lftools-log-publisher 03:16:26 5eb5b503b376: Pulling fs layer 03:16:26 5c69ac0246d0: Pulling fs layer 03:16:26 ec43610c2a17: Pulling fs layer 03:16:26 3a2ae6a8a46f: Pulling fs layer 03:16:26 33b1e0a273af: Pulling fs layer 03:16:26 5d3b04190fa2: Pulling fs layer 03:16:26 2f39f015ded8: Pulling fs layer 03:16:26 3a2ae6a8a46f: Waiting 03:16:26 33b1e0a273af: Waiting 03:16:26 5d3b04190fa2: Waiting 03:16:26 2f39f015ded8: Waiting 03:16:26 5c69ac0246d0: Verifying Checksum 03:16:26 5c69ac0246d0: Download complete 03:16:26 3a2ae6a8a46f: Download complete 03:16:26 33b1e0a273af: Verifying Checksum 03:16:26 33b1e0a273af: Download complete 03:16:26 5d3b04190fa2: Verifying Checksum 03:16:26 5d3b04190fa2: Download complete 03:16:26 ec43610c2a17: Verifying Checksum 03:16:26 ec43610c2a17: Download complete 03:16:26 5eb5b503b376: Verifying Checksum 03:16:26 5eb5b503b376: Download complete 03:16:27 2f39f015ded8: Download complete 03:16:27 5eb5b503b376: Pull complete 03:16:28 5c69ac0246d0: Pull complete 03:16:28 ec43610c2a17: Pull complete 03:16:28 3a2ae6a8a46f: Pull complete 03:16:28 33b1e0a273af: Pull complete 03:16:28 5d3b04190fa2: Pull complete 03:16:34 2f39f015ded8: Pull complete 03:16:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:16:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:16:34 prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container 03:16:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:16:36 $ docker top b491f4d7aafea8d1cf1484beefb6d822d935d3d18f76bf39f709e8d3b06b5efc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:36 ---> job-cost.sh 03:16:36 lf-activate-venv: SKIPPING 03:16:36 INFO: No Stack... 03:16:36 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:37 INFO: Archiving Costs [Pipeline] sh 03:16:37 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives/cost.csv 03:16:37 + cut -d, -f6 [Pipeline] lock 03:16:38 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] 03:16:38 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] did not exist. Created. 03:16:38 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:38 + echo total: 0.2199999988079071 [Pipeline] stash 03:16:38 Stashed 1 file(s) [Pipeline] } 03:16:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:16:38 $ docker stop --time=1 b491f4d7aafea8d1cf1484beefb6d822d935d3d18f76bf39f709e8d3b06b5efc 03:16:39 $ docker rm -f b491f4d7aafea8d1cf1484beefb6d822d935d3d18f76bf39f709e8d3b06b5efc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:17:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2535 in /w/workspace/gexfoundry_device-sdk-go_PR-1177 [Pipeline] { [Pipeline] ws 03:17:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 03:17:36 The recommended git tool is: git 03:17:43 using credential edgex-jenkins-ssh 03:17:43 Cloning the remote Git repository 03:17:43 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 03:17:43 > git init /w/workspace/device-sdk-go/1 # timeout=10 03:17:43 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:17:43 > git --version # timeout=10 03:17:43 > git --version # 'git version 2.25.1' 03:17:43 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:17:45 Merging remotes/origin/main commit f6d939e94ec53612eabda502d541349231dbf6bf into PR head commit 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 03:17:45 Merge succeeded, producing 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 03:17:45 Checking out Revision 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 (PR-1177) 03:17:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:17:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:17:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 03:17:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 03:17:44 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1177/head:refs/remotes/origin/PR-1177 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:17:45 > git config core.sparsecheckout # timeout=10 03:17:45 > git checkout -f 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 # timeout=10 03:17:45 > git remote # timeout=10 03:17:45 > git config --get remote.origin.url # timeout=10 03:17:45 using GIT_SSH to set credentials SSH Credentials for GitHub 03:17:45 > git merge f6d939e94ec53612eabda502d541349231dbf6bf # timeout=10 03:17:45 > git rev-parse HEAD^{commit} # timeout=10 03:17:45 > git config core.sparsecheckout # timeout=10 03:17:45 > git checkout -f 874504b6ed41d91b5a3cde9fef16e2f9cda97e40 # timeout=10 03:17:49 Commit message: "build: Upgrade go-mod-messaging and paho.mqtt lib" 03:17:50 > git --version # timeout=10 03:17:50 > git --version # 'git version 2.25.1' 03:17:50 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:17:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:17:51 % Total % Received % Xferd Average Speed Time Time Time Current 03:17:51 Dload Upload Total Spent Left Speed 03:17:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12253 86 10502 0 0 54134 0 --:--:-- --:--:-- --:--:-- 54134 100 12253 100 12253 0 0 62835 0 --:--:-- --:--:-- --:--:-- 62515 [Pipeline] sh 03:17:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:17:52 + sudo tee /etc/docker/daemon.new 03:17:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:17:52 { 03:17:52 "registry-mirrors": [ 03:17:52 "https://nexus3.edgexfoundry.org:10001" 03:17:52 ], 03:17:52 "bip": "10.250.0.254/24", 03:17:52 "hosts": [ 03:17:52 "tcp://0.0.0.0:5555", 03:17:52 "unix:///var/run/docker.sock" 03:17:52 ], 03:17:52 "mtu": 1458, 03:17:52 "selinux-enabled": true, 03:17:52 "seccomp-profile": "/etc/docker/seccomp.json" 03:17:52 } [Pipeline] sh 03:17:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:17:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:18:11 provisioning config files... 03:18:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8287846191137280442tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:18:11 ---> docker-login.sh 03:18:11 nexus3.edgexfoundry.org:10001 03:18:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:12 Configure a credential helper to remove this warning. See 03:18:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:12 03:18:12 Login Succeeded 03:18:12 nexus3.edgexfoundry.org:10002 03:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:13 Configure a credential helper to remove this warning. See 03:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:13 03:18:13 Login Succeeded 03:18:13 nexus3.edgexfoundry.org:10003 03:18:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:13 Configure a credential helper to remove this warning. See 03:18:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:13 03:18:13 Login Succeeded 03:18:13 nexus3.edgexfoundry.org:10004 03:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:14 Configure a credential helper to remove this warning. See 03:18:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:14 03:18:14 Login Succeeded 03:18:14 docker.io 03:18:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:18:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:18:15 Configure a credential helper to remove this warning. See 03:18:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:18:15 03:18:15 Login Succeeded 03:18:15 ---> docker-login.sh ends [Pipeline] } 03:18:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:18:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:18:15 ========================================================= 03:18:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:18:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:16 + 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 . 03:18:16 Sending build context to Docker daemon 5.224MB 03:18:16 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 03:18:16 Step 2/11 : FROM ${BASE} AS builder 03:18:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:18:16 9b3977197b4f: Pulling fs layer 03:18:16 1a89e8eeedd5: Pulling fs layer 03:18:16 94645a83ff95: Pulling fs layer 03:18:16 e6fb740bc735: Pulling fs layer 03:18:16 3a77bd46dcc9: Pulling fs layer 03:18:16 355e64cbe906: Pulling fs layer 03:18:16 63ab81a10011: Pulling fs layer 03:18:16 555d1d1c4555: Pulling fs layer 03:18:16 7d9057610161: Pulling fs layer 03:18:16 e6fb740bc735: Waiting 03:18:16 555d1d1c4555: Waiting 03:18:16 355e64cbe906: Waiting 03:18:16 7d9057610161: Waiting 03:18:16 63ab81a10011: Waiting 03:18:16 94645a83ff95: Download complete 03:18:16 1a89e8eeedd5: Verifying Checksum 03:18:16 1a89e8eeedd5: Download complete 03:18:16 3a77bd46dcc9: Download complete 03:18:16 355e64cbe906: Verifying Checksum 03:18:16 355e64cbe906: Download complete 03:18:17 63ab81a10011: Verifying Checksum 03:18:17 63ab81a10011: Download complete 03:18:17 9b3977197b4f: Verifying Checksum 03:18:17 9b3977197b4f: Download complete 03:18:18 9b3977197b4f: Pull complete 03:18:18 7d9057610161: Verifying Checksum 03:18:18 7d9057610161: Download complete 03:18:18 1a89e8eeedd5: Pull complete 03:18:18 94645a83ff95: Pull complete 03:18:19 555d1d1c4555: Verifying Checksum 03:18:19 555d1d1c4555: Download complete 03:18:19 e6fb740bc735: Verifying Checksum 03:18:19 e6fb740bc735: Download complete 03:18:32 e6fb740bc735: Pull complete 03:18:32 3a77bd46dcc9: Pull complete 03:18:32 355e64cbe906: Pull complete 03:18:32 63ab81a10011: Pull complete 03:18:38 555d1d1c4555: Pull complete 03:18:39 7d9057610161: Pull complete 03:18:39 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 03:18:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:18:39 ---> 819e984ddca1 03:18:39 Step 3/11 : ARG MAKE=make build 03:18:41 ---> Running in 324188dd80bd 03:18:42 Removing intermediate container 324188dd80bd 03:18:42 ---> 77ac47cde3fa 03:18:42 Step 4/11 : WORKDIR /device-sdk-go 03:18:42 ---> Running in 710c483e05c9 03:18:42 Removing intermediate container 710c483e05c9 03:18:42 ---> 07f1d419350a 03:18:42 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:18:42 ---> Running in 1715d26e21b5 03:18:44 Removing intermediate container 1715d26e21b5 03:18:44 ---> 33f1a9fab876 03:18:44 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:18:44 ---> Running in a0361191b0cf 03:18:46 Removing intermediate container a0361191b0cf 03:18:46 ---> f19a0a8c6fe9 03:18:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:18:46 ---> Running in 74acf4d653f9 03:18:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:18:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:18:49 OK: 220 MiB in 52 packages 03:18:50 Removing intermediate container 74acf4d653f9 03:18:50 ---> eb79ffe5c835 03:18:50 Step 8/11 : COPY go.mod vendor* ./ 03:18:50 ---> 97489ddd8166 03:18:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:18:50 ---> Running in f743b97af220 03:19:37 Removing intermediate container f743b97af220 03:19:37 ---> 707fb1ce5ae8 03:19:37 Step 10/11 : COPY . . 03:19:37 ---> 7f20a2bb59cf 03:19:37 Step 11/11 : RUN ${MAKE} 03:19:37 ---> Running in e6ceca9fa0e2 03:19:37 noop 03:19:38 Removing intermediate container e6ceca9fa0e2 03:19:38 ---> c6e90cf62087 03:19:38 Successfully built c6e90cf62087 03:19:38 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:39 + docker inspect -f . ci-base-image-arm64 03:19:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:39 prd-ubuntu20.04-docker-arm64-4c-16g-2535 does not seem to be running inside a container 03:19:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:19:40 $ docker top 397a55d2e4e02477a9069b69dafdfa929e239fbf64d93243f8f3ebfbf87e4155 -eo pid,comm [Pipeline] { [Pipeline] sh 03:19:41 + go version 03:19:41 go version go1.17.7 linux/arm64 [Pipeline] } 03:19:41 $ docker stop --time=1 397a55d2e4e02477a9069b69dafdfa929e239fbf64d93243f8f3ebfbf87e4155 03:19:43 $ docker rm -f 397a55d2e4e02477a9069b69dafdfa929e239fbf64d93243f8f3ebfbf87e4155 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:19:44 + docker inspect -f . ci-base-image-arm64 03:19:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:19:44 prd-ubuntu20.04-docker-arm64-4c-16g-2535 does not seem to be running inside a container 03:19:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 03:19:46 $ docker top 79504277d7f22706a3d1f20bb9f264f3972042545bdb5a197e5b0439078e8fab -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:19:47 + make test 03:19:47 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 03:20:19 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 03:22:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 03:22:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 03:22:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 03:22:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.370s coverage: 23.3% of statements 03:22:12 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 03:22:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.285s coverage: 27.6% of statements 03:22:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.321s coverage: 78.9% of statements 03:22:12 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.248s coverage: 10.8% of statements 03:22:15 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.594s coverage: 60.0% of statements 03:22:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 03:22:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 03:22:19 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.414s coverage: 34.8% of statements 03:22:19 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 03:22:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.336s coverage: 85.4% of statements 03:22:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 03:22:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 03:22:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.556s coverage: 65.1% of statements 03:22:23 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.139s coverage: 89.2% of statements 03:22:23 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 03:22:26 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.254s coverage: 4.7% of statements 03:22:26 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 03:22:26 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:22:26 GO111MODULE=on go vet ./... 03:23:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:23:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:23:48 ./bin/test-attribution-txt.sh [Pipeline] echo 03:23:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:23:50 $ docker stop --time=1 79504277d7f22706a3d1f20bb9f264f3972042545bdb5a197e5b0439078e8fab 03:23:52 $ docker rm -f 79504277d7f22706a3d1f20bb9f264f3972042545bdb5a197e5b0439078e8fab [Pipeline] // withDockerContainer [Pipeline] sh 03:23:53 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:23:53 Warning: overwriting stash ‘coverage-report’ 03:23:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:23:54 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:23:54 + ls -al . 03:23:54 total 296 03:23:54 drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 03:23 . 03:23:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:17 .. 03:23:54 -rw-rw-r-- 1 jenkins jenkins 140 Jun 17 03:17 .dockerignore 03:23:54 drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 03:17 .git 03:23:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:17 .github 03:23:54 -rw-rw-r-- 1 jenkins jenkins 131 Jun 17 03:17 .gitignore 03:23:54 -rw-rw-r-- 1 jenkins jenkins 42 Jun 17 03:17 .golangci.yml 03:23:54 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 17 03:17 CHANGELOG.md 03:23:54 -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 03:17 GOVERNANCE.md 03:23:54 -rw-rw-r-- 1 jenkins jenkins 880 Jun 17 03:17 Jenkinsfile 03:23:54 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 17 03:17 LICENSE 03:23:54 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 17 03:17 Makefile 03:23:54 -rw-rw-r-- 1 jenkins jenkins 619 Jun 17 03:17 OWNERS.md 03:23:54 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 17 03:17 README.md 03:23:54 -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 03:14 VERSION 03:23:54 drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 03:17 bin 03:23:54 -rw-r--r-- 1 jenkins jenkins 131011 Jun 17 03:22 coverage.out 03:23:54 drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 03:17 example 03:23:54 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 17 03:17 go.mod 03:23:54 -rw-rw-r-- 1 jenkins jenkins 34801 Jun 17 03:17 go.sum 03:23:54 drwxrwxr-x 15 jenkins jenkins 4096 Jun 17 03:17 internal 03:23:54 drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 03:17 openapi 03:23:54 drwxrwxr-x 5 jenkins jenkins 4096 Jun 17 03:17 pkg 03:23:54 drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 03:17 snap 03:23:54 -rw-rw-r-- 1 jenkins jenkins 222 Jun 17 03:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23: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=874504b6ed41d91b5a3cde9fef16e2f9cda97e40 --label arch=arm64 --label version=0.0.0 . 03:23:55 Sending build context to Docker daemon 5.356MB 03:23:55 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:23:55 Step 2/25 : FROM ${BASE} AS builder 03:23:55 ---> c6e90cf62087 03:23:55 Step 3/25 : ARG MAKE=make build 03:23:55 ---> Running in 914031b64613 03:23:56 Removing intermediate container 914031b64613 03:23:56 ---> 1e07e4dbf10d 03:23:56 Step 4/25 : WORKDIR /device-sdk-go 03:23:56 ---> Running in ec042b00ea91 03:23:56 Removing intermediate container ec042b00ea91 03:23:56 ---> c07e1f316633 03:23:56 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:23:56 ---> Running in 5fd29bb70e37 03:23:57 Removing intermediate container 5fd29bb70e37 03:23:57 ---> 252406d27ecf 03:23:57 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:23:57 ---> Running in dda588f343b5 03:23:59 Removing intermediate container dda588f343b5 03:23:59 ---> 808b53d87b7f 03:23:59 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 03:23:59 ---> Running in 7d7ef1522a73 03:23:59 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:24:00 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:24:01 OK: 220 MiB in 52 packages 03:24:02 Removing intermediate container 7d7ef1522a73 03:24:02 ---> aae651ce19ce 03:24:02 Step 8/25 : COPY go.mod vendor* ./ 03:24:02 ---> f2ef50b27374 03:24:02 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:24:02 ---> Running in 915db8d4d8ca 03:24:04 Removing intermediate container 915db8d4d8ca 03:24:04 ---> fbc7c4a71a97 03:24:04 Step 10/25 : COPY . . 03:24:05 ---> 66d8f4d5db9e 03:24:05 Step 11/25 : RUN ${MAKE} 03:24:05 ---> Running in a8d3c75d3d68 03:24: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 03:25:58 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 03:26:01 Removing intermediate container a8d3c75d3d68 03:26:01 ---> 1f228ecbf0a7 03:26:01 Step 12/25 : FROM alpine:3.14 03:26:02 3.14: Pulling from library/alpine 03:26:02 455c02918c45: Pulling fs layer 03:26:02 455c02918c45: Download complete 03:26:02 455c02918c45: Pull complete 03:26:03 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:26:03 Status: Downloaded newer image for alpine:3.14 03:26:03 ---> ac73e934f311 03:26:03 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 03:26:03 ---> Running in 661f537c553c 03:26:03 Removing intermediate container 661f537c553c 03:26:03 ---> 582954e7ebfe 03:26:03 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:26:03 ---> Running in f3f4974a778d 03:26:05 Removing intermediate container f3f4974a778d 03:26:05 ---> 7b04d731c8d0 03:26:05 Step 15/25 : RUN apk add --update --no-cache zeromq 03:26:05 ---> Running in 6f0413e80609 03:26:05 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:26:06 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:26:07 (1/5) Installing libgcc (10.3.1_git20210424-r2) 03:26:07 (2/5) Installing libsodium (1.0.18-r0) 03:26:07 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 03:26:07 (4/5) Installing libzmq (4.3.4-r0) 03:26:08 (5/5) Installing zeromq (4.3.4-r0) 03:26:08 Executing busybox-1.33.1-r7.trigger 03:26:08 OK: 8 MiB in 19 packages 03:26:09 Removing intermediate container 6f0413e80609 03:26:09 ---> a555e955df2f 03:26:09 Step 16/25 : WORKDIR / 03:26:09 ---> Running in 798c4793840d 03:26:09 Removing intermediate container 798c4793840d 03:26:09 ---> 7bae4f55fe1a 03:26:09 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 03:26:09 ---> 849971ae00e8 03:26:09 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 03:26:11 ---> 478dfa8b3d80 03:26:11 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 03:26:12 ---> 5561b2d7c169 03:26:12 Step 20/25 : EXPOSE 59999 03:26:12 ---> Running in bbdea586d8e6 03:26:12 Removing intermediate container bbdea586d8e6 03:26:12 ---> d1717a2950d8 03:26:12 Step 21/25 : ENTRYPOINT ["/device-simple"] 03:26:12 ---> Running in 59bcacc61a7f 03:26:12 Removing intermediate container 59bcacc61a7f 03:26:12 ---> 30ef37ec6aae 03:26:12 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 03:26:12 ---> Running in 2e18b9fe4c80 03:26:13 Removing intermediate container 2e18b9fe4c80 03:26:13 ---> 451cfd87a976 03:26:13 Step 23/25 : LABEL arch=arm64 03:26:13 ---> Running in 62c672efa912 03:26:13 Removing intermediate container 62c672efa912 03:26:13 ---> dc078a203394 03:26:13 Step 24/25 : LABEL git_sha=874504b6ed41d91b5a3cde9fef16e2f9cda97e40 03:26:13 ---> Running in 00c5b1ec8ee2 03:26:13 Removing intermediate container 00c5b1ec8ee2 03:26:13 ---> c504213f739c 03:26:13 Step 25/25 : LABEL version=0.0.0 03:26:14 ---> Running in 2c3af4c64259 03:26:14 Removing intermediate container 2c3af4c64259 03:26:14 ---> 124f0c780c9a 03:26:14 [Warning] One or more build-args [ARCH] were not consumed 03:26:14 Successfully built 124f0c780c9a 03:26:14 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 03:26:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:15 03:26:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:15 arm64: Pulling from edgex-lftools-log-publisher 03:26:15 8998bd30e6a1: Pulling fs layer 03:26:15 04944245beec: Pulling fs layer 03:26:15 699f458cf7ca: Pulling fs layer 03:26:15 765212b225bb: Pulling fs layer 03:26:15 f23df028b6ca: Pulling fs layer 03:26:15 d65c8cfc05b1: Pulling fs layer 03:26:15 2437ff75d9bd: Pulling fs layer 03:26:15 765212b225bb: Waiting 03:26:15 f23df028b6ca: Waiting 03:26:15 d65c8cfc05b1: Waiting 03:26:15 2437ff75d9bd: Waiting 03:26:15 04944245beec: Verifying Checksum 03:26:15 04944245beec: Download complete 03:26:15 765212b225bb: Verifying Checksum 03:26:15 765212b225bb: Download complete 03:26:15 f23df028b6ca: Download complete 03:26:15 d65c8cfc05b1: Verifying Checksum 03:26:15 d65c8cfc05b1: Download complete 03:26:16 699f458cf7ca: Verifying Checksum 03:26:16 699f458cf7ca: Download complete 03:26:16 8998bd30e6a1: Verifying Checksum 03:26:16 8998bd30e6a1: Download complete 03:26:19 2437ff75d9bd: Verifying Checksum 03:26:19 2437ff75d9bd: Download complete 03:26:21 8998bd30e6a1: Pull complete 03:26:21 04944245beec: Pull complete 03:26:22 699f458cf7ca: Pull complete 03:26:23 765212b225bb: Pull complete 03:26:24 f23df028b6ca: Pull complete 03:26:24 d65c8cfc05b1: Pull complete 03:26:39 2437ff75d9bd: Pull complete 03:26:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:26:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:26:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:39 prd-ubuntu20.04-docker-arm64-4c-16g-2535 does not seem to be running inside a container 03:26:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:26:42 $ docker top 789b82d438f7ca05bd948d3ca77335815d7bf196606661cedf1c67f37da398b4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:26:43 ---> job-cost.sh 03:26:43 lf-activate-venv: SKIPPING 03:26:43 INFO: No Stack... 03:26:43 INFO: Retrieving Pricing Info for: v3-standard-4 03:26:44 INFO: Archiving Costs [Pipeline] sh 03:26:45 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 03:26:45 + cut -d, -f6 [Pipeline] lock 03:26:45 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] 03:26:45 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] did not exist. Created. 03:26:45 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:26:46 /w/workspace/device-sdk-go/1@tmp/durable-5996d2f5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:26:46 + echo total: 0.10999999940395355 [Pipeline] stash 03:26:46 Warning: overwriting stash ‘stack-cost’ 03:26:46 Stashed 1 file(s) [Pipeline] } 03:26:46 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1177-1-stack-cost] [Pipeline] // lock [Pipeline] } 03:26:47 $ docker stop --time=1 789b82d438f7ca05bd948d3ca77335815d7bf196606661cedf1c67f37da398b4 03:26:48 $ docker rm -f 789b82d438f7ca05bd948d3ca77335815d7bf196606661cedf1c67f37da398b4 [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 03:26:49 provisioning config files... 03:26:49 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/config6585225472784183885tmp [Pipeline] { [Pipeline] sh 03:26:49 + set +x 03:26:49 + curl -s https://codecov.io/bash 03:26:49 + bash -s -- 03:26:49 03:26:49 _____ _ 03:26:49 / ____| | | 03:26:49 | | ___ __| | ___ ___ _____ __ 03:26:49 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:26:49 | |___| (_) | (_| | __/ (_| (_) \ V / 03:26:49 \_____\___/ \__,_|\___|\___\___/ \_/ 03:26:49 Bash-1.0.6 03:26:49 03:26:49 03:26:49 ==> git version 2.25.1 found 03:26:49 ==> 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 03:26:49 Release-Date: 2020-01-08 03:26:49 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:26:49 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:26:49 ==> Jenkins CI detected. 03:26:49 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1177 03:26:49 project root: . 03:26:49 --> token set from env 03:26:49 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:26:49 ==> Running gcov in . (disable via -X gcov) 03:26:49 ==> Python coveragepy not found 03:26:49 ==> Searching for coverage reports in: 03:26:49 + . 03:26:49 -> Found 1 reports 03:26:49 ==> Detecting git/mercurial file structure 03:26:49 ==> Reading reports 03:26:50 + ./coverage.out bytes=131011 03:26:50 ==> Appending adjustments 03:26:50 https://docs.codecov.io/docs/fixing-reports 03:26:50 + Found adjustments 03:26:50 ==> Gzipping contents 03:26:50 20K /tmp/codecov.aRWbHU.gz 03:26:50 ==> Uploading reports 03:26:50 url: https://codecov.io 03:26:50 query: branch=PR-1177&commit=874504b6ed41d91b5a3cde9fef16e2f9cda97e40&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1177&job=&cmd_args= 03:26:50 -> Pinging Codecov 03:26:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1177&commit=874504b6ed41d91b5a3cde9fef16e2f9cda97e40&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1177&job=&cmd_args= 03:26:50 -> Uploading to 03:26:50 https://storage.googleapis.com/codecov/v4/raw/2022-06-17/7E55EF52A471D76F132DFD9A03CDDE97/874504b6ed41d91b5a3cde9fef16e2f9cda97e40/7ca06240-68e1-4780-84e7-df8c1e26d732.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T032650Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5d10472984425f77b36928b106d64250ba9b6b26830c3087045b6ab2ae0923c0 03:26:50 % Total % Received % Xferd Average Speed Time Time Time Current 03:26:50 Dload Upload Total Spent Left Speed 03:26:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16836 0 0 100 16836 0 70443 --:--:-- --:--:-- --:--:-- 70443 03:26:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/874504b6ed41d91b5a3cde9fef16e2f9cda97e40 [Pipeline] } 03:26:51 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 03:26:52 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives ] 03:26:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives 03:26:52 total 16 03:26:52 drwxr-xr-x 3 root root 4096 Jun 17 03:16 . 03:26:52 drwxrwxr-x 12 jenkins jenkins 4096 Jun 17 03:16 .. 03:26:52 drwxr-xr-x 2 root root 4096 Jun 17 03:16 cost 03:26:52 -rw-r--r-- 1 root root 85 Jun 17 03:16 cost.csv 03:26:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives 03:26:52 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives 03:26:52 total 16 03:26:52 drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 03:16 . 03:26:52 drwxrwxr-x 12 jenkins jenkins 4096 Jun 17 03:16 .. 03:26:52 drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 03:16 cost 03:26:52 -rw-r--r-- 1 jenkins jenkins 85 Jun 17 03:16 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:26:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:26:53 ---> package-listing.sh 03:26:53 ++ facter osfamily 03:26:53 ++ tr '[:upper:]' '[:lower:]' 03:26:54 + OS_FAMILY=debian 03:26:54 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1177 03:26:54 + START_PACKAGES=/tmp/packages_start.txt 03:26:54 + END_PACKAGES=/tmp/packages_end.txt 03:26:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:26:54 + PACKAGES=/tmp/packages_start.txt 03:26:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1177 ']' 03:26:54 + PACKAGES=/tmp/packages_end.txt 03:26:54 + case "${OS_FAMILY}" in 03:26:54 + dpkg -l 03:26:54 + grep '^ii' 03:26:54 + '[' -f /tmp/packages_start.txt ']' 03:26:54 + '[' -f /tmp/packages_end.txt ']' 03:26:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:26:54 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1177 ']' 03:26:54 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives/ 03:26:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1177/archives/ [Pipeline] echo 03:26:54 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-1177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:26:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:26:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:26:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:26:55 prd-ubuntu20.04-docker-8c-8g-2533 does not seem to be running inside a container 03:26:55 $ 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-1177/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-1177 -v /w/workspace/gexfoundry_device-sdk-go_PR-1177:/w/workspace/gexfoundry_device-sdk-go_PR-1177:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:26:55 $ docker top 9fe07670798e9a3884fe8e63da5b91c21dce7d3a4f000a09b0270e265faa1e53 -eo pid,comm [Pipeline] { [Pipeline] sh 03:26:56 + touch /tmp/pre-build-complete [Pipeline] sh 03:26:56 + mkdir -p /var/log/sysstat [Pipeline] sh 03:26:56 + ls /var/log/sa-host 03:26:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:26:56 provisioning config files... 03:26:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1177@tmp/config8411405669270186847tmp [Pipeline] { [Pipeline] echo 03:26:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:26:57 ---> create-netrc.sh [Pipeline] } 03:26:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:26:57 ---> python-tools-install.sh [Pipeline] echo 03:26:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:26:57 ---> sudo-logs.sh 03:26:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:26:58 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:26:58 ---> job-cost.sh 03:26:58 lf-activate-venv: SKIPPING 03:26:58 DEBUG: total: 0.2199999988079071 03:26:58 INFO: Retrieving Stack Cost... 03:26:58 INFO: Retrieving Pricing Info for: v3-standard-8 03:26:59 INFO: Archiving Costs [Pipeline] echo 03:26:59 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:26:59 ---> logs-deploy.sh 03:26:59 lf-activate-venv: SKIPPING 03:26:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1177/1 03:26:59 INFO: archiving workspace using pattern(s): 03:27:00 Archives upload complete. 03:27:01 INFO: archiving logs to Nexus