Pull request #1181 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1d2b327230836791ee67d209d46e90ff392335da+4287cc1d4c262ca519b36d36f1d06a90bcd6f745 (f436f9c305612d96ebde1d3af22d92377688d3ff) 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-ssh14756557329170764994.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-ssh17554408755159300212.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-1181/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-1181/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2171332988356908412.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-1181/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6803011419712669620.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-ssh8461018893774037940.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-1181/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-1181/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4334966432859501336.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-15210 in /w/workspace/gexfoundry_device-sdk-go_PR-1181 [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-1181 # 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 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 into PR head commit 1d2b327230836791ee67d209d46e90ff392335da Merge succeeded, producing 1d2b327230836791ee67d209d46e90ff392335da Checking out Revision 1d2b327230836791ee67d209d46e90ff392335da (PR-1181) > 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/1181/head:refs/remotes/origin/PR-1181 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d2b327230836791ee67d209d46e90ff392335da # 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 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1d2b327230836791ee67d209d46e90ff392335da # timeout=10 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:06:23 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:06:23 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:06:23 ========================================================= 04:06:23 EdgeX Global Pipelines Version Info 04:06:23 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:06:24 ------------------- 04:06:24 stable info: 04:06:24 ------------------- 04:06:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:06:24 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:06:24 Message: update stable to v1.0.234 04:06:24 ------------------- 04:06:24 experimental info: 04:06:24 ------------------- 04:06:24 Commited By: **** collab-it+edgex@linuxfoundation.org 04:06:24 Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:06:24 Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:06:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1181 [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1181 [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1181 [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1d2b327230836791ee67d209d46e90ff392335da [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1d2b327 [Pipeline] echo 04:06:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:26 provisioning config files... 04:06:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/config3281629551381289522tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:26 ---> docker-login.sh 04:06:26 nexus3.edgexfoundry.org:10001 04:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:27 Configure a credential helper to remove this warning. See 04:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:27 04:06:27 Login Succeeded 04:06:27 nexus3.edgexfoundry.org:10002 04:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:27 Configure a credential helper to remove this warning. See 04:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:27 04:06:27 Login Succeeded 04:06:27 nexus3.edgexfoundry.org:10003 04:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:27 Configure a credential helper to remove this warning. See 04:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:27 04:06:27 Login Succeeded 04:06:27 nexus3.edgexfoundry.org:10004 04:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:27 Configure a credential helper to remove this warning. See 04:06:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:27 04:06:27 Login Succeeded 04:06:27 docker.io 04:06:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:28 Configure a credential helper to remove this warning. See 04:06:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:28 04:06:28 Login Succeeded 04:06:28 ---> docker-login.sh ends [Pipeline] } 04:06:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:06:28 + git rev-list -1 --merges 1d2b327230836791ee67d209d46e90ff392335da~1..1d2b327230836791ee67d209d46e90ff392335da [Pipeline] echo 04:06:28 -----------> git rev-list -1 --merges 1d2b327230836791ee67d209d46e90ff392335da~1..1d2b327230836791ee67d209d46e90ff392335da 1d2b327230836791ee67d209d46e90ff392335da [false] [Pipeline] sh 04:06:29 + git log --format=format:%s -1 1d2b327230836791ee67d209d46e90ff392335da [Pipeline] echo 04:06:29 ========================================================= 04:06:29 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:06:29 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:29 + git log --format=format:%s -1 1d2b327230836791ee67d209d46e90ff392335da [Pipeline] echo 04:06:29 [semverPrep] GIT_COMMIT: 1d2b327230836791ee67d209d46e90ff392335da, Commit Message: build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4 [Pipeline] echo 04:06:29 [semverPrep] This is not a build commit. [Pipeline] sh 04:06:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:06:30 + grep -v github /etc/ssh/ssh_known_hosts 04:06:30 + [ -e /tmp/ssh_known_hosts ] 04:06:30 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:06:30 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:06:30 + sudo tee -a /etc/ssh/ssh_known_hosts 04:06:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:30 04:06:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:31 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:31 0.1.4: Pulling from edgex-devops/py-git-semver 04:06:31 42c077c10790: Pulling fs layer 04:06:31 f63e77b7563a: Pulling fs layer 04:06:31 bd5fdadae976: Pulling fs layer 04:06:31 205491f53016: Pulling fs layer 04:06:31 df18705c85c3: Pulling fs layer 04:06:31 bdb3f477010e: Pulling fs layer 04:06:31 c8a8fc8e1c8f: Pulling fs layer 04:06:31 2c6e9b1d212d: Pulling fs layer 04:06:31 bdb3f477010e: Waiting 04:06:31 df18705c85c3: Waiting 04:06:31 bdb8f0575790: Pulling fs layer 04:06:31 c8a8fc8e1c8f: Waiting 04:06:31 386e3cb2ff24: Pulling fs layer 04:06:31 2343380bae48: Pulling fs layer 04:06:31 2c6e9b1d212d: Waiting 04:06:31 386e3cb2ff24: Waiting 04:06:31 2343380bae48: Waiting 04:06:31 205491f53016: Waiting 04:06:31 bdb8f0575790: Waiting 04:06:31 f63e77b7563a: Download complete 04:06:31 205491f53016: Download complete 04:06:31 df18705c85c3: Verifying Checksum 04:06:31 df18705c85c3: Download complete 04:06:31 bdb3f477010e: Verifying Checksum 04:06:31 bdb3f477010e: Download complete 04:06:31 bd5fdadae976: Verifying Checksum 04:06:31 bd5fdadae976: Download complete 04:06:31 2c6e9b1d212d: Verifying Checksum 04:06:31 2c6e9b1d212d: Download complete 04:06:31 bdb8f0575790: Download complete 04:06:31 386e3cb2ff24: Download complete 04:06:31 2343380bae48: Verifying Checksum 04:06:31 2343380bae48: Download complete 04:06:31 42c077c10790: Verifying Checksum 04:06:31 42c077c10790: Download complete 04:06:31 c8a8fc8e1c8f: Download complete 04:06:32 42c077c10790: Pull complete 04:06:32 f63e77b7563a: Pull complete 04:06:33 bd5fdadae976: Pull complete 04:06:33 205491f53016: Pull complete 04:06:33 df18705c85c3: Pull complete 04:06:34 bdb3f477010e: Pull complete 04:06:35 c8a8fc8e1c8f: Pull complete 04:06:36 2c6e9b1d212d: Pull complete 04:06:36 bdb8f0575790: Pull complete 04:06:36 386e3cb2ff24: Pull complete 04:06:36 2343380bae48: Pull complete 04:06:36 Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 04:06:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:06:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:06:36 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 04:06:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:06:38 $ docker top ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 -eo pid,comm 04:06:38 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:06:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:06:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:38 [ssh-agent] Looking for ssh-agent implementation... 04:06:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:38 $ docker exec ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 ssh-agent 04:06:38 SSH_AUTH_SOCK=/tmp/ssh-kBEnS2N3mI7n/agent.32 04:06:38 SSH_AGENT_PID=38 04:06:38 Running ssh-add (command line suppressed) 04:06:38 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/private_key_5351819710298542014.key (/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/private_key_5351819710298542014.key) 04:06:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:39 + git tag --points-at HEAD [Pipeline] } 04:06:39 $ docker exec --env ******** --env ******** ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 ssh-agent -k 04:06:39 unset SSH_AUTH_SOCK; 04:06:39 unset SSH_AGENT_PID; 04:06:39 echo Agent pid 38 killed; 04:06:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:06:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:06:39 [ssh-agent] Looking for ssh-agent implementation... 04:06:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:06:39 $ docker exec ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 ssh-agent 04:06:39 SSH_AUTH_SOCK=/tmp/ssh-i9xxYNUWF1hu/agent.71 04:06:39 SSH_AGENT_PID=77 04:06:39 Running ssh-add (command line suppressed) 04:06:39 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/private_key_8113117546302863413.key (/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/private_key_8113117546302863413.key) 04:06:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:06:40 + git semver init 04:06:40 2022-06-21 04:06:40,507 [run_init] DEBUG init version:0.0.0 force:False 04:06:40 2022-06-21 04:06:40,508 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver 04:06:40 2022-06-21 04:06:40,508 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver 04:06:40 2022-06-21 04:06:40,508 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1181, universal_newlines=False, shell=None, istream=None) 04:06:41 2022-06-21 04:06:41,305 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181/.git/info/exclude 04:06:41 2022-06-21 04:06:41,306 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver/PR-1181 with force:False 04:06:41 2022-06-21 04:06:41,306 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver/PR-1181 04:06:41 2022-06-21 04:06:41,311 [execute] INFO git cat-file --batch-check 04:06:41 2022-06-21 04:06:41,312 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver, universal_newlines=False, shell=None, istream=) 04:06:41 2022-06-21 04:06:41,318 [execute] INFO git cat-file --batch 04:06:41 2022-06-21 04:06:41,318 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver, universal_newlines=False, shell=None, istream=) 04:06:41 2022-06-21 04:06:41,324 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1181/.semver/PR-1181 04:06:41 0.0.0 [Pipeline] } 04:06:41 $ docker exec --env ******** --env ******** ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 ssh-agent -k 04:06:41 unset SSH_AUTH_SOCK; 04:06:41 unset SSH_AGENT_PID; 04:06:41 echo Agent pid 77 killed; 04:06:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:06:42 + git semver [Pipeline] } 04:06:42 $ docker stop --time=1 ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 04:06:43 $ docker rm -f ddeb598bf56a3c4039a7b07cf57b01be7a51037c9f883505441e413c226f77e3 [Pipeline] // withDockerContainer [Pipeline] sh 04:06:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:06:44 Stashed 1 file(s) [Pipeline] echo 04:06:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:06:44 provisioning config files... 04:06:44 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/config4979560374066090473tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:06:45 ---> docker-login.sh 04:06:45 nexus3.edgexfoundry.org:10001 04:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:45 Configure a credential helper to remove this warning. See 04:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:45 04:06:45 Login Succeeded 04:06:45 nexus3.edgexfoundry.org:10002 04:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:45 Configure a credential helper to remove this warning. See 04:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:45 04:06:45 Login Succeeded 04:06:45 nexus3.edgexfoundry.org:10003 04:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:45 Configure a credential helper to remove this warning. See 04:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:45 04:06:45 Login Succeeded 04:06:45 nexus3.edgexfoundry.org:10004 04:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:45 Configure a credential helper to remove this warning. See 04:06:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:45 04:06:45 Login Succeeded 04:06:45 docker.io 04:06:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:06:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:06:46 Configure a credential helper to remove this warning. See 04:06:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:06:46 04:06:46 Login Succeeded 04:06:46 ---> docker-login.sh ends [Pipeline] } 04:06:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:06:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:06:46 ========================================================= 04:06:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 04:06:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:46 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:06:46 Sending build context to Docker daemon 9.63MB 04:06:46 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:06:46 Step 2/11 : FROM ${BASE} AS builder 04:06:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 04:06:46 59bf1c3509f3: Pulling fs layer 04:06:46 666ba61612fd: Pulling fs layer 04:06:46 8ed8ca486205: Pulling fs layer 04:06:46 cc1cd167ecdc: Pulling fs layer 04:06:46 c516ae0d96e1: Pulling fs layer 04:06:46 684cea983483: Pulling fs layer 04:06:46 dd3240ac7de5: Pulling fs layer 04:06:46 b1e948a4e11c: Pulling fs layer 04:06:46 cc1cd167ecdc: Waiting 04:06:46 c516ae0d96e1: Waiting 04:06:46 684cea983483: Waiting 04:06:46 b1e948a4e11c: Waiting 04:06:46 dd3240ac7de5: Waiting 04:06:46 a8fd76ee1af6: Pulling fs layer 04:06:46 646ad004c059: Pulling fs layer 04:06:46 a8fd76ee1af6: Waiting 04:06:46 8ed8ca486205: Verifying Checksum 04:06:46 8ed8ca486205: Download complete 04:06:47 666ba61612fd: Download complete 04:06:47 c516ae0d96e1: Verifying Checksum 04:06:47 c516ae0d96e1: Download complete 04:06:47 684cea983483: Download complete 04:06:47 59bf1c3509f3: Verifying Checksum 04:06:47 59bf1c3509f3: Download complete 04:06:47 dd3240ac7de5: Verifying Checksum 04:06:47 dd3240ac7de5: Download complete 04:06:47 b1e948a4e11c: Verifying Checksum 04:06:47 b1e948a4e11c: Download complete 04:06:47 59bf1c3509f3: Pull complete 04:06:47 666ba61612fd: Pull complete 04:06:47 8ed8ca486205: Pull complete 04:06:47 646ad004c059: Verifying Checksum 04:06:47 646ad004c059: Download complete 04:06:47 a8fd76ee1af6: Verifying Checksum 04:06:47 a8fd76ee1af6: Download complete 04:06:47 cc1cd167ecdc: Verifying Checksum 04:06:47 cc1cd167ecdc: Download complete 04:06:51 cc1cd167ecdc: Pull complete 04:06:51 c516ae0d96e1: Pull complete 04:06:51 684cea983483: Pull complete 04:06:51 dd3240ac7de5: Pull complete 04:06:52 b1e948a4e11c: Pull complete 04:06:54 a8fd76ee1af6: Pull complete 04:06:55 646ad004c059: Pull complete 04:06:55 Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 04:06:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 04:06:55 ---> 8f69c11f6b0c 04:06:55 Step 3/11 : ARG MAKE=make build 04:06:57 ---> Running in c78f07703f99 04:06:57 Removing intermediate container c78f07703f99 04:06:57 ---> fb83dc2070b9 04:06:57 Step 4/11 : WORKDIR /device-sdk-go 04:06:57 ---> Running in 84eb51ae04e7 04:06:57 Removing intermediate container 84eb51ae04e7 04:06:57 ---> 6db0aa5fdcae 04:06:57 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:06:57 ---> Running in 90cbe850fa18 04:06:57 Removing intermediate container 90cbe850fa18 04:06:57 ---> 73b9bc301754 04:06:57 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:57 ---> Running in de36792f978b 04:06:57 Removing intermediate container de36792f978b 04:06:57 ---> f385516eefc4 04:06:57 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:57 ---> Running in fc1bfef29367 04:06:58 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:06:59 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:06:59 OK: 221 MiB in 52 packages 04:06:59 Removing intermediate container fc1bfef29367 04:06:59 ---> 29532ad40f85 04:06:59 Step 8/11 : COPY go.mod vendor* ./ 04:06:59 Still waiting to schedule task 04:06:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:06:59 ---> 53413b01ac09 04:06:59 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:59 ---> Running in d7b2af962556 04:07:18 Removing intermediate container d7b2af962556 04:07:18 ---> cf989b9ad6b8 04:07:18 Step 10/11 : COPY . . 04:07:18 ---> b2e025e24f7b 04:07:18 Step 11/11 : RUN ${MAKE} 04:07:18 ---> Running in 3fd799794a60 04:07:18 noop 04:07:18 Removing intermediate container 3fd799794a60 04:07:18 ---> 1d0a3d24495e 04:07:18 Successfully built 1d0a3d24495e 04:07:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:19 + docker inspect -f . ci-base-image-x86_64 04:07:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:19 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 04:07:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:07:19 $ docker top 0155927a6e0a759c151e6f13a28dfc944950da70f841214e6fa6ed9ee2f4f844 -eo pid,comm [Pipeline] { [Pipeline] sh 04:07:20 + go version 04:07:20 go version go1.17.7 linux/amd64 [Pipeline] } 04:07:20 $ docker stop --time=1 0155927a6e0a759c151e6f13a28dfc944950da70f841214e6fa6ed9ee2f4f844 04:07:21 $ docker rm -f 0155927a6e0a759c151e6f13a28dfc944950da70f841214e6fa6ed9ee2f4f844 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:22 + docker inspect -f . ci-base-image-x86_64 04:07:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:22 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 04:07:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 04:07:22 $ docker top 3c9ca505e69d99849e0ab212bb283478c4076ed9c256cfe95ecd4bfc00576390 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:07:23 + make test 04:07:23 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:07:28 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.123s coverage: 23.7% of statements 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 27.6% of statements 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.055s coverage: 10.8% of statements 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.078s coverage: 60.0% of statements 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 34.8% of statements 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.070s coverage: 85.4% of statements 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.131s coverage: 65.1% of statements 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.789s coverage: 89.2% of statements 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:07:43 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 04:07:43 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:07:58 GO111MODULE=on go vet ./... 04:08:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:08:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:08:03 ./bin/test-attribution-txt.sh [Pipeline] echo 04:08:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:08:03 $ docker stop --time=1 3c9ca505e69d99849e0ab212bb283478c4076ed9c256cfe95ecd4bfc00576390 04:08:05 $ docker rm -f 3c9ca505e69d99849e0ab212bb283478c4076ed9c256cfe95ecd4bfc00576390 [Pipeline] // withDockerContainer [Pipeline] sh 04:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:08:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:08:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:08:07 + ls -al . 04:08:07 total 304 04:08:07 drwxrwxr-x 11 jenkins jenkins 4096 Jun 21 04:08 . 04:08:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 04:06 .. 04:08:07 -rw-rw-r-- 1 jenkins jenkins 140 Jun 21 04:06 .dockerignore 04:08:07 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 04:06 .git 04:08:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 04:06 .github 04:08:07 -rw-rw-r-- 1 jenkins jenkins 131 Jun 21 04:06 .gitignore 04:08:07 -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 04:06 .golangci.yml 04:08:07 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 04:06 .semver 04:08:07 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 21 04:06 CHANGELOG.md 04:08:07 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 04:06 GOVERNANCE.md 04:08:07 -rw-rw-r-- 1 jenkins jenkins 880 Jun 21 04:06 Jenkinsfile 04:08:07 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 21 04:06 LICENSE 04:08:07 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 21 04:06 Makefile 04:08:07 -rw-rw-r-- 1 jenkins jenkins 619 Jun 21 04:06 OWNERS.md 04:08:07 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 21 04:06 README.md 04:08:07 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 04:06 VERSION 04:08:07 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 04:06 bin 04:08:07 -rw-r--r-- 1 jenkins jenkins 131190 Jun 21 04:07 coverage.out 04:08:07 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 04:06 example 04:08:07 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 21 04:06 go.mod 04:08:07 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 21 04:06 go.sum 04:08:07 drwxrwxr-x 15 jenkins jenkins 4096 Jun 21 04:06 internal 04:08:07 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 04:06 openapi 04:08:07 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 04:06 pkg 04:08:07 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 04:06 snap 04:08:07 -rw-rw-r-- 1 jenkins jenkins 222 Jun 21 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:07 + 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=1d2b327230836791ee67d209d46e90ff392335da --label arch=amd64 --label version=0.0.0 . 04:08:07 Sending build context to Docker daemon 9.762MB 04:08:07 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:08:07 Step 2/25 : FROM ${BASE} AS builder 04:08:07 ---> 1d0a3d24495e 04:08:07 Step 3/25 : ARG MAKE=make build 04:08:07 ---> Running in 799d1ec2bb68 04:08:07 Removing intermediate container 799d1ec2bb68 04:08:07 ---> 80744e3aaee7 04:08:07 Step 4/25 : WORKDIR /device-sdk-go 04:08:07 ---> Running in 4eadf5175696 04:08:08 Removing intermediate container 4eadf5175696 04:08:08 ---> 0c7f0171384b 04:08:08 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:08 ---> Running in 7a60a766645b 04:08:08 Removing intermediate container 7a60a766645b 04:08:08 ---> dba8c944408b 04:08:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:08 ---> Running in a60960767c00 04:08:08 Removing intermediate container a60960767c00 04:08:08 ---> 36ec7f1b21b4 04:08:08 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:08:08 ---> Running in f39d733881c7 04:08:09 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 04:08:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 04:08:10 OK: 221 MiB in 52 packages 04:08:10 Removing intermediate container f39d733881c7 04:08:10 ---> 8ecdfbcfc010 04:08:10 Step 8/25 : COPY go.mod vendor* ./ 04:08:10 ---> 1b3a9f7fa820 04:08:10 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:08:10 ---> Running in dbccb45473e1 04:08:11 Removing intermediate container dbccb45473e1 04:08:11 ---> c209ce749294 04:08:11 Step 10/25 : COPY . . 04:08:11 ---> a97704458e2d 04:08:11 Step 11/25 : RUN ${MAKE} 04:08:11 ---> Running in da85c7caecb2 04:08:12 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:08:30 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:08:32 Removing intermediate container da85c7caecb2 04:08:32 ---> 364a82cd2644 04:08:32 Step 12/25 : FROM alpine:3.14 04:08:32 3.14: Pulling from library/alpine 04:08:32 8663204ce13b: Pulling fs layer 04:08:32 8663204ce13b: Verifying Checksum 04:08:32 8663204ce13b: Download complete 04:08:32 8663204ce13b: Pull complete 04:08:32 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:08:32 Status: Downloaded newer image for alpine:3.14 04:08:32 ---> e04c818066af 04:08:32 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:08:33 ---> Running in 281168ab7eb6 04:08:33 Removing intermediate container 281168ab7eb6 04:08:33 ---> b354945dd133 04:08:33 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:08:33 ---> Running in a7d149663e5c 04:08:33 Removing intermediate container a7d149663e5c 04:08:33 ---> af36a3c050a2 04:08:33 Step 15/25 : RUN apk add --update --no-cache zeromq 04:08:34 ---> Running in a15fd7749783 04:08:34 fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 04:08:34 fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 04:08:35 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:08:35 (2/5) Installing libsodium (1.0.18-r0) 04:08:35 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:08:35 (4/5) Installing libzmq (4.3.4-r0) 04:08:35 (5/5) Installing zeromq (4.3.4-r0) 04:08:35 Executing busybox-1.33.1-r7.trigger 04:08:35 OK: 8 MiB in 19 packages 04:08:36 Removing intermediate container a15fd7749783 04:08:36 ---> cee3852e52d4 04:08:36 Step 16/25 : WORKDIR / 04:08:36 ---> Running in 439d85c19644 04:08:36 Removing intermediate container 439d85c19644 04:08:36 ---> 584a2cbf8bbb 04:08:36 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:08:36 ---> 2767c4c076ad 04:08:36 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:08:36 Running on prd-ubuntu20.04-docker-arm64-4c-16g-15212 in /w/workspace/gexfoundry_device-sdk-go_PR-1181 [Pipeline] { [Pipeline] ws 04:08:36 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:08:36 The recommended git tool is: git 04:08:36 ---> 91dfad961c88 04:08:36 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:08:37 ---> 061ad9cb54eb 04:08:37 Step 20/25 : EXPOSE 59999 04:08:37 ---> Running in 830111aa87ab 04:08:37 Removing intermediate container 830111aa87ab 04:08:37 ---> 9b78dfff592b 04:08:37 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:08:37 ---> Running in 60fe71b38a2a 04:08:37 Removing intermediate container 60fe71b38a2a 04:08:37 ---> 72348f3d974c 04:08:37 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:08:37 ---> Running in 4ccb1e2c6242 04:08:37 Removing intermediate container 4ccb1e2c6242 04:08:37 ---> d648826fdb53 04:08:37 Step 23/25 : LABEL arch=amd64 04:08:37 ---> Running in 263b4b365cb0 04:08:37 Removing intermediate container 263b4b365cb0 04:08:37 ---> 41f2220851df 04:08:37 Step 24/25 : LABEL git_sha=1d2b327230836791ee67d209d46e90ff392335da 04:08:37 ---> Running in 62bd787ab283 04:08:37 Removing intermediate container 62bd787ab283 04:08:37 ---> 23740eb15b16 04:08:37 Step 25/25 : LABEL version=0.0.0 04:08:37 ---> Running in a47b4a17ba1e 04:08:37 Removing intermediate container a47b4a17ba1e 04:08:37 ---> da895fe20bec 04:08:37 [Warning] One or more build-args [ARCH] were not consumed 04:08:37 Successfully built da895fe20bec 04:08:37 Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:38 04:08:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:39 latest: Pulling from edgex-lftools-log-publisher 04:08:39 5eb5b503b376: Pulling fs layer 04:08:39 5c69ac0246d0: Pulling fs layer 04:08:39 ec43610c2a17: Pulling fs layer 04:08:39 3a2ae6a8a46f: Pulling fs layer 04:08:39 33b1e0a273af: Pulling fs layer 04:08:39 5d3b04190fa2: Pulling fs layer 04:08:39 2f39f015ded8: Pulling fs layer 04:08:39 33b1e0a273af: Waiting 04:08:39 3a2ae6a8a46f: Waiting 04:08:39 5d3b04190fa2: Waiting 04:08:39 2f39f015ded8: Waiting 04:08:39 5c69ac0246d0: Verifying Checksum 04:08:39 5c69ac0246d0: Download complete 04:08:39 3a2ae6a8a46f: Download complete 04:08:39 33b1e0a273af: Verifying Checksum 04:08:39 33b1e0a273af: Download complete 04:08:39 ec43610c2a17: Verifying Checksum 04:08:39 ec43610c2a17: Download complete 04:08:39 5d3b04190fa2: Verifying Checksum 04:08:39 5d3b04190fa2: Download complete 04:08:39 5eb5b503b376: Verifying Checksum 04:08:39 5eb5b503b376: Download complete 04:08:39 2f39f015ded8: Download complete 04:08:40 5eb5b503b376: Pull complete 04:08:40 5c69ac0246d0: Pull complete 04:08:41 ec43610c2a17: Pull complete 04:08:41 3a2ae6a8a46f: Pull complete 04:08:41 33b1e0a273af: Pull complete 04:08:41 5d3b04190fa2: Pull complete 04:08:42 using credential edgex-jenkins-ssh 04:08:42 Cloning the remote Git repository 04:08:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:08:42 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:08:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:42 > git --version # timeout=10 04:08:42 > git --version # 'git version 2.25.1' 04:08:42 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:08:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:08:44 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:08:44 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:44 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1181/head:refs/remotes/origin/PR-1181 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:08:44 Merging remotes/origin/main commit 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 into PR head commit 1d2b327230836791ee67d209d46e90ff392335da 04:08:44 Merge succeeded, producing 1d2b327230836791ee67d209d46e90ff392335da 04:08:44 Checking out Revision 1d2b327230836791ee67d209d46e90ff392335da (PR-1181) 04:08:44 > git config core.sparsecheckout # timeout=10 04:08:44 > git checkout -f 1d2b327230836791ee67d209d46e90ff392335da # timeout=10 04:08:44 > git remote # timeout=10 04:08:44 > git config --get remote.origin.url # timeout=10 04:08:44 using GIT_SSH to set credentials SSH Credentials for GitHub 04:08:44 > git merge 4287cc1d4c262ca519b36d36f1d06a90bcd6f745 # timeout=10 04:08:44 > git rev-parse HEAD^{commit} # timeout=10 04:08:44 > git config core.sparsecheckout # timeout=10 04:08:44 > git checkout -f 1d2b327230836791ee67d209d46e90ff392335da # timeout=10 04:08:46 2f39f015ded8: Pull complete 04:08:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:08:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:08:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:47 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 04:08:47 $ 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-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:08:48 $ docker top dd99d6cfaccb8d57670bb3df567627ab1050de2866c677f842b82b67d9dc348e -eo pid,comm [Pipeline] { [Pipeline] libraryResource 04:08:48 Commit message: "build(deps): bump github.com/stretchr/testify from 1.7.2 to 1.7.4" [Pipeline] sh 04:08:49 > git --version # timeout=10 04:08:49 > git --version # 'git version 2.25.1' 04:08:49 fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 04:08:49 ---> job-cost.sh 04:08:49 lf-activate-venv: SKIPPING 04:08:49 INFO: No Stack... 04:08:49 04:08:49 GitHub has been notified of this commit’s build result 04:08:49 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 04:08:49 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh 04:08:50 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:08:50 % Total % Received % Xferd Average Speed Time Time Time Current 04:08:50 Dload Upload Total Spent Left Speed 04:08:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 85090 0 --:--:-- --:--:-- --:--:-- 85090 04:08:50 INFO: Archiving Costs [Pipeline] sh 04:08:50 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives/cost.csv 04:08:50 + cut -d, -f6 [Pipeline] lock 04:08:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] 04:08:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] did not exist. Created. 04:08:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [Pipeline] { [Pipeline] sh [Pipeline] unstash [Pipeline] sh 04:08:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:08:51 + echo total: 0.2199999988079071 [Pipeline] stash 04:08:51 Stashed 1 file(s) [Pipeline] } 04:08:51 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:08:51 $ docker stop --time=1 dd99d6cfaccb8d57670bb3df567627ab1050de2866c677f842b82b67d9dc348e 04:08:51 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:08:51 + sudo tee /etc/docker/daemon.new 04:08:51 { 04:08:51 "registry-mirrors": [ 04:08:51 "https://nexus3.edgexfoundry.org:10001" 04:08:51 ], 04:08:51 "bip": "10.250.0.254/24", 04:08:51 "hosts": [ 04:08:51 "tcp://0.0.0.0:5555", 04:08:51 "unix:///var/run/docker.sock" 04:08:51 ], 04:08:51 "mtu": 1458, 04:08:51 "selinux-enabled": true, 04:08:51 "seccomp-profile": "/etc/docker/seccomp.json" 04:08:51 } 04:08:52 $ docker rm -f dd99d6cfaccb8d57670bb3df567627ab1050de2866c677f842b82b67d9dc348e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:08:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:08:53 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:09:11 provisioning config files... 04:09:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config1007495595926016068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:09:12 ---> docker-login.sh 04:09:12 nexus3.edgexfoundry.org:10001 04:09:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:12 Configure a credential helper to remove this warning. See 04:09:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:12 04:09:12 Login Succeeded 04:09:12 nexus3.edgexfoundry.org:10002 04:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:13 Configure a credential helper to remove this warning. See 04:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:13 04:09:13 Login Succeeded 04:09:13 nexus3.edgexfoundry.org:10003 04:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:13 Configure a credential helper to remove this warning. See 04:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:13 04:09:13 Login Succeeded 04:09:13 nexus3.edgexfoundry.org:10004 04:09:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:13 Configure a credential helper to remove this warning. See 04:09:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:13 04:09:13 Login Succeeded 04:09:13 docker.io 04:09:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:09:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:09:14 Configure a credential helper to remove this warning. See 04:09:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:09:14 04:09:14 Login Succeeded 04:09:14 ---> docker-login.sh ends [Pipeline] } 04:09:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:09:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:09:15 ========================================================= 04:09:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 04:09:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:09:15 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . 04:09:16 Sending build context to Docker daemon 5.16MB 04:09:16 Step 1/11 : ARG BASE=golang:1.17-alpine3.15 04:09:16 Step 2/11 : FROM ${BASE} AS builder 04:09:16 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:09:16 9b3977197b4f: Pulling fs layer 04:09:16 1a89e8eeedd5: Pulling fs layer 04:09:16 94645a83ff95: Pulling fs layer 04:09:16 e6fb740bc735: Pulling fs layer 04:09:16 3a77bd46dcc9: Pulling fs layer 04:09:16 355e64cbe906: Pulling fs layer 04:09:16 63ab81a10011: Pulling fs layer 04:09:16 555d1d1c4555: Pulling fs layer 04:09:16 7d9057610161: Pulling fs layer 04:09:16 e6fb740bc735: Waiting 04:09:16 3a77bd46dcc9: Waiting 04:09:16 355e64cbe906: Waiting 04:09:16 63ab81a10011: Waiting 04:09:16 555d1d1c4555: Waiting 04:09:16 7d9057610161: Waiting 04:09:16 94645a83ff95: Download complete 04:09:16 1a89e8eeedd5: Verifying Checksum 04:09:16 1a89e8eeedd5: Download complete 04:09:16 3a77bd46dcc9: Verifying Checksum 04:09:16 3a77bd46dcc9: Download complete 04:09:16 355e64cbe906: Verifying Checksum 04:09:16 355e64cbe906: Download complete 04:09:16 9b3977197b4f: Verifying Checksum 04:09:16 9b3977197b4f: Download complete 04:09:16 63ab81a10011: Verifying Checksum 04:09:16 63ab81a10011: Download complete 04:09:17 9b3977197b4f: Pull complete 04:09:17 7d9057610161: Verifying Checksum 04:09:17 7d9057610161: Download complete 04:09:17 1a89e8eeedd5: Pull complete 04:09:18 94645a83ff95: Pull complete 04:09:18 555d1d1c4555: Verifying Checksum 04:09:18 555d1d1c4555: Download complete 04:09:19 e6fb740bc735: Download complete 04:09:31 e6fb740bc735: Pull complete 04:09:31 3a77bd46dcc9: Pull complete 04:09:32 355e64cbe906: Pull complete 04:09:32 63ab81a10011: Pull complete 04:09:39 555d1d1c4555: Pull complete 04:09:40 7d9057610161: Pull complete 04:09:40 Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 04:09:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 04:09:40 ---> 819e984ddca1 04:09:40 Step 3/11 : ARG MAKE=make build 04:09:42 ---> Running in 511945e03438 04:09:42 Removing intermediate container 511945e03438 04:09:42 ---> 43dc30e4423f 04:09:42 Step 4/11 : WORKDIR /device-sdk-go 04:09:42 ---> Running in ac2077747fee 04:09:42 Removing intermediate container ac2077747fee 04:09:42 ---> 218ac036d3c3 04:09:42 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:09:42 ---> Running in b11a9ae957a5 04:09:44 Removing intermediate container b11a9ae957a5 04:09:44 ---> 012ac63b86b9 04:09:44 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:09:44 ---> Running in b48f4d8613e2 04:09:46 Removing intermediate container b48f4d8613e2 04:09:46 ---> cd3d1bf90fc2 04:09:46 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:09:46 ---> Running in 1cec363b6c88 04:09:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:09:47 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:09:48 OK: 220 MiB in 52 packages 04:09:49 Removing intermediate container 1cec363b6c88 04:09:49 ---> c44caf8da6a8 04:09:49 Step 8/11 : COPY go.mod vendor* ./ 04:09:50 ---> 8ef92403a591 04:09:50 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:09:50 ---> Running in ecd00dba3fed 04:10:37 Removing intermediate container ecd00dba3fed 04:10:37 ---> a10214c31d6f 04:10:37 Step 10/11 : COPY . . 04:10:37 ---> 8d79f139f022 04:10:37 Step 11/11 : RUN ${MAKE} 04:10:37 ---> Running in f426d884914d 04:10:37 noop 04:10:37 Removing intermediate container f426d884914d 04:10:37 ---> 6794cdccfd91 04:10:37 Successfully built 6794cdccfd91 04:10:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:38 + docker inspect -f . ci-base-image-arm64 04:10:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:38 prd-ubuntu20.04-docker-arm64-4c-16g-15212 does not seem to be running inside a container 04:10:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:39 $ docker top 537173a66265cb7b69e17bfb61b38212fb4811241f8d7ba7d969236d4e55d631 -eo pid,comm [Pipeline] { [Pipeline] sh 04:10:40 + go version 04:10:40 go version go1.17.7 linux/arm64 [Pipeline] } 04:10:40 $ docker stop --time=1 537173a66265cb7b69e17bfb61b38212fb4811241f8d7ba7d969236d4e55d631 04:10:42 $ docker rm -f 537173a66265cb7b69e17bfb61b38212fb4811241f8d7ba7d969236d4e55d631 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:10:43 + docker inspect -f . ci-base-image-arm64 04:10:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:10:43 prd-ubuntu20.04-docker-arm64-4c-16g-15212 does not seem to be running inside a container 04:10:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 04:10:45 $ docker top 4f374cafeaecad1f7034c586af3285d778c7a8364cb36a907431cbb9212d7196 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 04:10:46 + make test 04:10:46 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:11:18 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:13:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:13:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:13:10 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:13:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.462s coverage: 23.7% of statements 04:13:10 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:13:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.335s coverage: 27.6% of statements 04:13:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.331s coverage: 78.9% of statements 04:13:10 ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.273s coverage: 10.8% of statements 04:13:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.374s coverage: 60.0% of statements 04:13:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:13:13 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:13:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.435s coverage: 34.8% of statements 04:13:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:13:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.273s coverage: 85.4% of statements 04:13:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:13:18 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:13:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.538s coverage: 65.1% of statements 04:13:21 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.160s coverage: 89.2% of statements 04:13:21 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:13:24 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.243s coverage: 4.7% of statements 04:13:24 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:13:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:13:24 GO111MODULE=on go vet ./... 04:15:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:15:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:15:01 ./bin/test-attribution-txt.sh [Pipeline] echo 04:15:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:15:01 $ docker stop --time=1 4f374cafeaecad1f7034c586af3285d778c7a8364cb36a907431cbb9212d7196 04:15:03 $ docker rm -f 4f374cafeaecad1f7034c586af3285d778c7a8364cb36a907431cbb9212d7196 [Pipeline] // withDockerContainer [Pipeline] sh 04:15:05 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:15:05 Warning: overwriting stash ‘coverage-report’ 04:15:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:15:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:15:06 + ls -al . 04:15:06 total 300 04:15:06 drwxrwxr-x 10 jenkins jenkins 4096 Jun 21 04:14 . 04:15:06 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 04:08 .. 04:15:06 -rw-rw-r-- 1 jenkins jenkins 140 Jun 21 04:08 .dockerignore 04:15:06 drwxrwxr-x 8 jenkins jenkins 4096 Jun 21 04:08 .git 04:15:06 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 04:08 .github 04:15:06 -rw-rw-r-- 1 jenkins jenkins 131 Jun 21 04:08 .gitignore 04:15:06 -rw-rw-r-- 1 jenkins jenkins 42 Jun 21 04:08 .golangci.yml 04:15:06 -rw-rw-r-- 1 jenkins jenkins 29536 Jun 21 04:08 CHANGELOG.md 04:15:06 -rw-rw-r-- 1 jenkins jenkins 677 Jun 21 04:08 GOVERNANCE.md 04:15:06 -rw-rw-r-- 1 jenkins jenkins 880 Jun 21 04:08 Jenkinsfile 04:15:06 -rw-rw-r-- 1 jenkins jenkins 11341 Jun 21 04:08 LICENSE 04:15:06 -rw-rw-r-- 1 jenkins jenkins 2015 Jun 21 04:08 Makefile 04:15:06 -rw-rw-r-- 1 jenkins jenkins 619 Jun 21 04:08 OWNERS.md 04:15:06 -rw-rw-r-- 1 jenkins jenkins 4881 Jun 21 04:08 README.md 04:15:06 -rw-rw-r-- 1 jenkins jenkins 5 Jun 21 04:06 VERSION 04:15:06 drwxrwxr-x 2 jenkins jenkins 4096 Jun 21 04:08 bin 04:15:06 -rw-r--r-- 1 jenkins jenkins 131190 Jun 21 04:13 coverage.out 04:15:06 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 04:08 example 04:15:06 -rw-rw-r-- 1 jenkins jenkins 3203 Jun 21 04:08 go.mod 04:15:06 -rw-rw-r-- 1 jenkins jenkins 35641 Jun 21 04:08 go.sum 04:15:06 drwxrwxr-x 15 jenkins jenkins 4096 Jun 21 04:08 internal 04:15:06 drwxrwxr-x 3 jenkins jenkins 4096 Jun 21 04:08 openapi 04:15:06 drwxrwxr-x 5 jenkins jenkins 4096 Jun 21 04:08 pkg 04:15:06 drwxrwxr-x 4 jenkins jenkins 4096 Jun 21 04:08 snap 04:15:06 -rw-rw-r-- 1 jenkins jenkins 222 Jun 21 04:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:15:07 + 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=1d2b327230836791ee67d209d46e90ff392335da --label arch=arm64 --label version=0.0.0 . 04:15:08 Sending build context to Docker daemon 5.292MB 04:15:08 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 04:15:08 Step 2/25 : FROM ${BASE} AS builder 04:15:08 ---> 6794cdccfd91 04:15:08 Step 3/25 : ARG MAKE=make build 04:15:08 ---> Running in 35392f297802 04:15:08 Removing intermediate container 35392f297802 04:15:08 ---> ab903f2efb4c 04:15:08 Step 4/25 : WORKDIR /device-sdk-go 04:15:08 ---> Running in 88920d32bfb8 04:15:08 Removing intermediate container 88920d32bfb8 04:15:08 ---> 22bafc42ce2b 04:15:08 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:15:08 ---> Running in dfbb2d9beccf 04:15:09 Removing intermediate container dfbb2d9beccf 04:15:09 ---> 3802ddcf53b2 04:15:09 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:15:09 ---> Running in 09c3c79fff15 04:15:10 Removing intermediate container 09c3c79fff15 04:15:10 ---> 046e9e6211b8 04:15:10 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:15:11 ---> Running in e5f5d782b484 04:15:12 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 04:15:13 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 04:15:13 OK: 220 MiB in 52 packages 04:15:14 Removing intermediate container e5f5d782b484 04:15:14 ---> 92c494beb4ee 04:15:14 Step 8/25 : COPY go.mod vendor* ./ 04:15:15 ---> f04ed67f01b5 04:15:15 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:15:15 ---> Running in f6cec0502d13 04:15:17 Removing intermediate container f6cec0502d13 04:15:17 ---> 385fbe9d17df 04:15:17 Step 10/25 : COPY . . 04:15:18 ---> 3fa943a625ce 04:15:18 Step 11/25 : RUN ${MAKE} 04:15:18 ---> Running in acf418328359 04:15:19 CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:17:26 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:17:26 Removing intermediate container acf418328359 04:17:26 ---> a5a9b9243331 04:17:26 Step 12/25 : FROM alpine:3.14 04:17:26 3.14: Pulling from library/alpine 04:17:26 455c02918c45: Pulling fs layer 04:17:26 455c02918c45: Verifying Checksum 04:17:26 455c02918c45: Download complete 04:17:26 455c02918c45: Pull complete 04:17:26 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 04:17:26 Status: Downloaded newer image for alpine:3.14 04:17:26 ---> ac73e934f311 04:17:26 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' 04:17:26 ---> Running in 8d34ef376534 04:17:26 Removing intermediate container 8d34ef376534 04:17:26 ---> ec455b28e345 04:17:26 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 04:17:26 ---> Running in b24875226191 04:17:28 Removing intermediate container b24875226191 04:17:28 ---> a736c5715de0 04:17:28 Step 15/25 : RUN apk add --update --no-cache zeromq 04:17:28 ---> Running in 3eb5d4674f9b 04:17:29 fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 04:17:30 fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 04:17:31 (1/5) Installing libgcc (10.3.1_git20210424-r2) 04:17:31 (2/5) Installing libsodium (1.0.18-r0) 04:17:31 (3/5) Installing libstdc++ (10.3.1_git20210424-r2) 04:17:31 (4/5) Installing libzmq (4.3.4-r0) 04:17:31 (5/5) Installing zeromq (4.3.4-r0) 04:17:31 Executing busybox-1.33.1-r7.trigger 04:17:31 OK: 8 MiB in 19 packages 04:17:32 Removing intermediate container 3eb5d4674f9b 04:17:32 ---> 62432933c089 04:17:32 Step 16/25 : WORKDIR / 04:17:32 ---> Running in 760ebc737fc5 04:17:32 Removing intermediate container 760ebc737fc5 04:17:32 ---> e88c89c4f6af 04:17:32 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:17:33 ---> fbbd19498772 04:17:33 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:17:34 ---> 99eb2ad3a64b 04:17:34 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:17:35 ---> 558e66be759c 04:17:35 Step 20/25 : EXPOSE 59999 04:17:35 ---> Running in 1519c791c998 04:17:35 Removing intermediate container 1519c791c998 04:17:35 ---> 69dcb2c3524f 04:17:35 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:17:35 ---> Running in 18ba50277583 04:17:36 Removing intermediate container 18ba50277583 04:17:36 ---> 5ce8e81c559f 04:17:36 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:17:36 ---> Running in 4493314e09da 04:17:36 Removing intermediate container 4493314e09da 04:17:36 ---> 86219302f727 04:17:36 Step 23/25 : LABEL arch=arm64 04:17:36 ---> Running in 9a0e1523e5b3 04:17:36 Removing intermediate container 9a0e1523e5b3 04:17:36 ---> ec7707f79dd3 04:17:36 Step 24/25 : LABEL git_sha=1d2b327230836791ee67d209d46e90ff392335da 04:17:36 ---> Running in bc5751a7a962 04:17:37 Removing intermediate container bc5751a7a962 04:17:37 ---> 28c9b91b2817 04:17:37 Step 25/25 : LABEL version=0.0.0 04:17:37 ---> Running in 7888b886f624 04:17:37 Removing intermediate container 7888b886f624 04:17:37 ---> 827fa79ff0be 04:17:37 [Warning] One or more build-args [ARCH] were not consumed 04:17:37 Successfully built 827fa79ff0be 04:17:37 Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:38 04:17:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:17:38 arm64: Pulling from edgex-lftools-log-publisher 04:17:38 8998bd30e6a1: Pulling fs layer 04:17:38 04944245beec: Pulling fs layer 04:17:38 699f458cf7ca: Pulling fs layer 04:17:38 765212b225bb: Pulling fs layer 04:17:38 f23df028b6ca: Pulling fs layer 04:17:38 d65c8cfc05b1: Pulling fs layer 04:17:38 2437ff75d9bd: Pulling fs layer 04:17:38 765212b225bb: Waiting 04:17:38 2437ff75d9bd: Waiting 04:17:38 f23df028b6ca: Waiting 04:17:38 d65c8cfc05b1: Waiting 04:17:38 04944245beec: Verifying Checksum 04:17:38 04944245beec: Download complete 04:17:38 765212b225bb: Download complete 04:17:38 f23df028b6ca: Download complete 04:17:38 d65c8cfc05b1: Verifying Checksum 04:17:38 d65c8cfc05b1: Download complete 04:17:39 699f458cf7ca: Verifying Checksum 04:17:39 699f458cf7ca: Download complete 04:17:39 8998bd30e6a1: Verifying Checksum 04:17:39 8998bd30e6a1: Download complete 04:17:42 2437ff75d9bd: Verifying Checksum 04:17:42 2437ff75d9bd: Download complete 04:17:43 8998bd30e6a1: Pull complete 04:17:43 04944245beec: Pull complete 04:17:45 699f458cf7ca: Pull complete 04:17:45 765212b225bb: Pull complete 04:17:46 f23df028b6ca: Pull complete 04:17:46 d65c8cfc05b1: Pull complete 04:18:01 2437ff75d9bd: Pull complete 04:18:01 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:18:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:18:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:01 prd-ubuntu20.04-docker-arm64-4c-16g-15212 does not seem to be running inside a container 04:18:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:18:04 $ docker top 4ae8b357bfd321083b2614c20bb8b0a337ab5e15e1b8a33a4e101c5ccb3f7649 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:18:05 ---> job-cost.sh 04:18:05 lf-activate-venv: SKIPPING 04:18:05 INFO: No Stack... 04:18:06 INFO: Retrieving Pricing Info for: v3-standard-4 04:18:07 INFO: Archiving Costs [Pipeline] sh 04:18:07 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:18:07 + cut -d, -f6 [Pipeline] lock 04:18:07 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] 04:18:07 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] did not exist. Created. 04:18:07 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:18:08 /w/workspace/device-sdk-go/1@tmp/durable-b82a152b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:18:09 + echo total: 0.10999999940395355 [Pipeline] stash 04:18:09 Warning: overwriting stash ‘stack-cost’ 04:18:09 Stashed 1 file(s) [Pipeline] } 04:18:09 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1181-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:18:09 $ docker stop --time=1 4ae8b357bfd321083b2614c20bb8b0a337ab5e15e1b8a33a4e101c5ccb3f7649 04:18:11 $ docker rm -f 4ae8b357bfd321083b2614c20bb8b0a337ab5e15e1b8a33a4e101c5ccb3f7649 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 04:18:12 provisioning config files... 04:18:12 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/config6823465964686016902tmp [Pipeline] { [Pipeline] sh 04:18:12 + set +x 04:18:12 + curl -s https://codecov.io/bash 04:18:12 + bash -s -- 04:18:12 04:18:12 _____ _ 04:18:12 / ____| | | 04:18:12 | | ___ __| | ___ ___ _____ __ 04:18:12 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:18:12 | |___| (_) | (_| | __/ (_| (_) \ V / 04:18:12 \_____\___/ \__,_|\___|\___\___/ \_/ 04:18:12 Bash-1.0.6 04:18:12 04:18:12 04:18:12 ==> git version 2.25.1 found 04:18:12 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 04:18:12 Release-Date: 2020-01-08 04:18:12 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:18:12 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:18:12 ==> Jenkins CI detected. 04:18:12 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1181 04:18:12 project root: . 04:18:12 --> token set from env 04:18:12 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:18:12 ==> Running gcov in . (disable via -X gcov) 04:18:12 ==> Python coveragepy not found 04:18:12 ==> Searching for coverage reports in: 04:18:12 + . 04:18:12 -> Found 1 reports 04:18:12 ==> Detecting git/mercurial file structure 04:18:12 ==> Reading reports 04:18:13 + ./coverage.out bytes=131190 04:18:13 ==> Appending adjustments 04:18:13 https://docs.codecov.io/docs/fixing-reports 04:18:13 + Found adjustments 04:18:13 ==> Gzipping contents 04:18:13 20K /tmp/codecov.e89mwS.gz 04:18:13 ==> Uploading reports 04:18:13 url: https://codecov.io 04:18:13 query: branch=PR-1181&commit=1d2b327230836791ee67d209d46e90ff392335da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1181%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1181&job=&cmd_args= 04:18:13 -> Pinging Codecov 04:18:13 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1181&commit=1d2b327230836791ee67d209d46e90ff392335da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1181%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1181&job=&cmd_args= 04:18:13 -> Uploading to 04:18:13 https://storage.googleapis.com/codecov/v4/raw/2022-06-21/7E55EF52A471D76F132DFD9A03CDDE97/1d2b327230836791ee67d209d46e90ff392335da/f1d997af-b31d-43e1-8f58-35386e0b4de3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220621%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220621T041813Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e45a0d903e9b1bea8b72a5cf5c421755251c104173a1fca342f01d5bd7453d62 04:18:13 % Total % Received % Xferd Average Speed Time Time Time Current 04:18:13 Dload Upload Total Spent Left Speed 04:18:13 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16852 0 0 100 16852 0 75569 --:--:-- --:--:-- --:--:-- 75569 04:18:13 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/1d2b327230836791ee67d209d46e90ff392335da [Pipeline] } 04:18:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:18:15 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives ] 04:18:15 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives 04:18:15 total 16 04:18:15 drwxr-xr-x 3 root root 4096 Jun 21 04:08 . 04:18:15 drwxrwxr-x 12 jenkins jenkins 4096 Jun 21 04:08 .. 04:18:15 drwxr-xr-x 2 root root 4096 Jun 21 04:08 cost 04:18:15 -rw-r--r-- 1 root root 85 Jun 21 04:08 cost.csv 04:18:15 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives 04:18:15 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives 04:18:15 total 16 04:18:15 drwxr-xr-x 3 jenkins jenkins 4096 Jun 21 04:08 . 04:18:15 drwxrwxr-x 12 jenkins jenkins 4096 Jun 21 04:08 .. 04:18:15 drwxr-xr-x 2 jenkins jenkins 4096 Jun 21 04:08 cost 04:18:15 -rw-r--r-- 1 jenkins jenkins 85 Jun 21 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:18:15 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:18:16 ---> package-listing.sh 04:18:16 ++ facter osfamily 04:18:16 ++ tr '[:upper:]' '[:lower:]' 04:18:17 + OS_FAMILY=debian 04:18:17 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1181 04:18:17 + START_PACKAGES=/tmp/packages_start.txt 04:18:17 + END_PACKAGES=/tmp/packages_end.txt 04:18:17 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:18:17 + PACKAGES=/tmp/packages_start.txt 04:18:17 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1181 ']' 04:18:17 + PACKAGES=/tmp/packages_end.txt 04:18:17 + case "${OS_FAMILY}" in 04:18:17 + dpkg -l 04:18:17 + grep '^ii' 04:18:17 + '[' -f /tmp/packages_start.txt ']' 04:18:17 + '[' -f /tmp/packages_end.txt ']' 04:18:17 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:18:17 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1181 ']' 04:18:17 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives/ 04:18:17 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1181/archives/ [Pipeline] echo 04:18:17 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-1181/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:18:17 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:18:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:18:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:18:18 prd-ubuntu20.04-docker-8c-8g-15210 does not seem to be running inside a container 04:18:18 $ 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-1181/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-1181 -v /w/workspace/gexfoundry_device-sdk-go_PR-1181:/w/workspace/gexfoundry_device-sdk-go_PR-1181:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:18:18 $ docker top 5d8ff04e1ff8af8b22e3fec2a09ad48354ceea2cceb6d48ae6cde17cef2297df -eo pid,comm [Pipeline] { [Pipeline] sh 04:18:18 + touch /tmp/pre-build-complete [Pipeline] sh 04:18:19 + mkdir -p /var/log/sysstat [Pipeline] sh 04:18:19 + ls /var/log/sa-host 04:18:19 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:18:19 provisioning config files... 04:18:19 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1181@tmp/config5207106771380149461tmp [Pipeline] { [Pipeline] echo 04:18:19 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:18:20 ---> create-netrc.sh [Pipeline] } 04:18:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:18:20 ---> python-tools-install.sh [Pipeline] echo 04:18:20 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:18:20 ---> sudo-logs.sh 04:18:20 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:18:20 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:18:21 ---> job-cost.sh 04:18:21 lf-activate-venv: SKIPPING 04:18:21 DEBUG: total: 0.2199999988079071 04:18:21 INFO: Retrieving Stack Cost... 04:18:21 INFO: Retrieving Pricing Info for: v3-standard-8 04:18:22 INFO: Archiving Costs [Pipeline] echo 04:18:22 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:18:22 ---> logs-deploy.sh 04:18:22 lf-activate-venv: SKIPPING 04:18:22 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1181/1 04:18:22 INFO: archiving workspace using pattern(s): 04:18:23 Archives upload complete. 04:18:23 INFO: archiving logs to Nexus