Pull request #1497 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4+b58b30e7bb628030941072b2ed6fa4c53da1af43 (eda5f2183237316c38639c3ce349d99142080c6f) 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-ssh13829390685295499956.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh1729462950616074989.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-1497/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-1497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8312347049952293084.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-1497/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13739322363942860033.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh7378774604324621883.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-1497/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-1497/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12731610113802951751.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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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/v3]] ========================================================= [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.20 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/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-4216’ Running on prd-ubuntu20.04-docker-8c-8g-4220 in /w/workspace/gexfoundry_device-sdk-go_PR-1497 [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-1497 # 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 > 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/1497/head:refs/remotes/origin/PR-1497 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b58b30e7bb628030941072b2ed6fa4c53da1af43 into PR head commit 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 Merge succeeded, producing 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 Checking out Revision 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 (PR-1497) Commit message: "build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 # 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 b58b30e7bb628030941072b2ed6fa4c53da1af43 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:45:50 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:45:50 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:45:50 ========================================================= 04:45:50 EdgeX Global Pipelines Version Info 04:45:50 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:45:51 ------------------- 04:45:51 stable info: 04:45:51 ------------------- 04:45:51 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:45:51 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:45:51 Message: update stable to v1.0.253 04:45:51 ------------------- 04:45:51 experimental info: 04:45:51 ------------------- 04:45:51 Commited By: **** collab-it+edgex@linuxfoundation.org 04:45:51 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:45:51 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:45:52 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1497 [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1497 [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1497 [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7639e3c [Pipeline] echo 04:45:53 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:45:53 provisioning config files... 04:45:53 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp/config14741451679618642670tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:45:54 ---> docker-login.sh 04:45:54 nexus3.edgexfoundry.org:10001 04:45:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:55 Configure a credential helper to remove this warning. See 04:45:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:55 04:45:55 Login Succeeded 04:45:55 nexus3.edgexfoundry.org:10002 04:45:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:56 Configure a credential helper to remove this warning. See 04:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:56 04:45:56 Login Succeeded 04:45:56 nexus3.edgexfoundry.org:10003 04:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:56 Configure a credential helper to remove this warning. See 04:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:56 04:45:56 Login Succeeded 04:45:56 nexus3.edgexfoundry.org:10004 04:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:56 Configure a credential helper to remove this warning. See 04:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:56 04:45:56 Login Succeeded 04:45:56 docker.io 04:45:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:45:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:45:56 Configure a credential helper to remove this warning. See 04:45:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:45:56 04:45:56 Login Succeeded 04:45:56 ---> docker-login.sh ends [Pipeline] } 04:45:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:45:57 + git rev-list -1 --merges 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4~1..7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 [Pipeline] echo 04:45:57 -----------> git rev-list -1 --merges 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4~1..7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 [false] [Pipeline] sh 04:45:57 + git log --format=format:%s -1 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 [Pipeline] echo 04:45:57 ========================================================= 04:45:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:45:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:45:58 + git log --format=format:%s -1 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 [Pipeline] echo 04:45:58 [semverPrep] GIT_COMMIT: 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4, Commit Message: build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1 [Pipeline] echo 04:45:58 [semverPrep] This is not a build commit. [Pipeline] sh 04:45:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:45:58 + grep -v github /etc/ssh/ssh_known_hosts 04:45:58 + [ -e /tmp/ssh_known_hosts ] 04:45:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:45:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:45:58 + sudo tee -a /etc/ssh/ssh_known_hosts 04:45:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:59 04:45:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:45:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:45:59 0.1.4: Pulling from edgex-devops/py-git-semver 04:45:59 b85a868b505f: Pulling fs layer 04:45:59 e2be974225ed: Pulling fs layer 04:45:59 339a4e72a1f5: Pulling fs layer 04:45:59 988bab9f4d93: Pulling fs layer 04:45:59 1469e6f7b9e6: Pulling fs layer 04:45:59 eaf3925da568: Pulling fs layer 04:45:59 bab4dde63d76: Pulling fs layer 04:45:59 bde34c3a00c8: Pulling fs layer 04:45:59 b352a97aabf1: Pulling fs layer 04:45:59 4872d77fe225: Pulling fs layer 04:45:59 5851b861e8e6: Pulling fs layer 04:45:59 bab4dde63d76: Waiting 04:45:59 bde34c3a00c8: Waiting 04:45:59 b352a97aabf1: Waiting 04:45:59 4872d77fe225: Waiting 04:45:59 988bab9f4d93: Waiting 04:45:59 5851b861e8e6: Waiting 04:45:59 1469e6f7b9e6: Waiting 04:45:59 eaf3925da568: Waiting 04:45:59 e2be974225ed: Verifying Checksum 04:45:59 e2be974225ed: Download complete 04:45:59 988bab9f4d93: Verifying Checksum 04:45:59 988bab9f4d93: Download complete 04:45:59 1469e6f7b9e6: Verifying Checksum 04:45:59 1469e6f7b9e6: Download complete 04:45:59 339a4e72a1f5: Verifying Checksum 04:45:59 339a4e72a1f5: Download complete 04:45:59 eaf3925da568: Download complete 04:45:59 bde34c3a00c8: Verifying Checksum 04:45:59 bde34c3a00c8: Download complete 04:45:59 b352a97aabf1: Verifying Checksum 04:45:59 b352a97aabf1: Download complete 04:45:59 4872d77fe225: Verifying Checksum 04:45:59 4872d77fe225: Download complete 04:45:59 5851b861e8e6: Verifying Checksum 04:45:59 5851b861e8e6: Download complete 04:45:59 b85a868b505f: Verifying Checksum 04:45:59 b85a868b505f: Download complete 04:45:59 bab4dde63d76: Verifying Checksum 04:45:59 bab4dde63d76: Download complete 04:46:00 b85a868b505f: Pull complete 04:46:01 e2be974225ed: Pull complete 04:46:01 339a4e72a1f5: Pull complete 04:46:01 988bab9f4d93: Pull complete 04:46:01 1469e6f7b9e6: Pull complete 04:46:01 eaf3925da568: Pull complete 04:46:03 bab4dde63d76: Pull complete 04:46:03 bde34c3a00c8: Pull complete 04:46:03 b352a97aabf1: Pull complete 04:46:04 4872d77fe225: Pull complete 04:46:04 5851b861e8e6: Pull complete 04:46:04 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:46:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:46:04 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:46:04 prd-ubuntu20.04-docker-8c-8g-4220 does not seem to be running inside a container 04:46:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1497 -v /w/workspace/gexfoundry_device-sdk-go_PR-1497:/w/workspace/gexfoundry_device-sdk-go_PR-1497:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1497@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:46:07 $ docker top f67067e50f16d11045fbce02e956ae922df0feceeadee74f8abcc5d1d17c8fa2 -eo pid,comm 04:46:07 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:46:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:46:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:07 [ssh-agent] Looking for ssh-agent implementation... 04:46:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:07 $ docker exec f67067e50f16d11045fbce02e956ae922df0feceeadee74f8abcc5d1d17c8fa2 ssh-agent 04:46:07 SSH_AUTH_SOCK=/tmp/ssh-O49zjakzgFe3/agent.32 04:46:07 SSH_AGENT_PID=38 04:46:07 Running ssh-add (command line suppressed) 04:46:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp/private_key_4107195246384742712.key (/w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp/private_key_4107195246384742712.key) 04:46:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:08 + git tag --points-at HEAD [Pipeline] } 04:46:08 $ docker exec --env ******** --env ******** f67067e50f16d11045fbce02e956ae922df0feceeadee74f8abcc5d1d17c8fa2 ssh-agent -k 04:46:08 unset SSH_AUTH_SOCK; 04:46:08 unset SSH_AGENT_PID; 04:46:08 echo Agent pid 38 killed; 04:46:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:46:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:46:08 [ssh-agent] Looking for ssh-agent implementation... 04:46:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:46:08 $ docker exec f67067e50f16d11045fbce02e956ae922df0feceeadee74f8abcc5d1d17c8fa2 ssh-agent 04:46:08 SSH_AUTH_SOCK=/tmp/ssh-7pC2Fnsx0emk/agent.70 04:46:08 SSH_AGENT_PID=76 04:46:08 Running ssh-add (command line suppressed) 04:46:08 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp/private_key_2051009550670112499.key (/w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp/private_key_2051009550670112499.key) 04:46:08 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:46:09 + git semver init 04:46:09 2023-08-22 04:46:09,453 [run_init] DEBUG init version:0.0.0 force:False 04:46:09 2023-08-22 04:46:09,454 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1497/.semver 04:46:09 2023-08-22 04:46:09,454 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1497/.semver 04:46:09 2023-08-22 04:46:09,454 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1497/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1497, universal_newlines=False, shell=None, istream=None) 04:46:10 2023-08-22 04:46:10,317 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1497/.git/info/exclude 04:46:10 2023-08-22 04:46:10,317 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1497/.semver/PR-1497 with force:False 04:46:10 2023-08-22 04:46:10,317 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1497/.semver/PR-1497 04:46:10 2023-08-22 04:46:10,322 [execute] INFO git cat-file --batch-check 04:46:10 2023-08-22 04:46:10,323 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1497/.semver, universal_newlines=False, shell=None, istream=) 04:46:10 2023-08-22 04:46:10,330 [execute] INFO git cat-file --batch 04:46:10 2023-08-22 04:46:10,330 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1497/.semver, universal_newlines=False, shell=None, istream=) 04:46:10 2023-08-22 04:46:10,336 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1497/.semver/PR-1497 04:46:10 0.0.0 [Pipeline] } 04:46:10 $ docker exec --env ******** --env ******** f67067e50f16d11045fbce02e956ae922df0feceeadee74f8abcc5d1d17c8fa2 ssh-agent -k 04:46:10 unset SSH_AUTH_SOCK; 04:46:10 unset SSH_AGENT_PID; 04:46:10 echo Agent pid 76 killed; 04:46:10 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:46:11 + git semver [Pipeline] } 04:46:11 $ docker stop --time=1 f67067e50f16d11045fbce02e956ae922df0feceeadee74f8abcc5d1d17c8fa2 04:46:12 $ docker rm -f --volumes f67067e50f16d11045fbce02e956ae922df0feceeadee74f8abcc5d1d17c8fa2 [Pipeline] // withDockerContainer [Pipeline] sh 04:46:13 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:46:13 Stashed 1 file(s) [Pipeline] echo 04:46:13 [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:46:13 provisioning config files... 04:46:13 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp/config7111157316185289135tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:46:14 ---> docker-login.sh 04:46:14 nexus3.edgexfoundry.org:10001 04:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:14 Configure a credential helper to remove this warning. See 04:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:14 04:46:14 Login Succeeded 04:46:14 nexus3.edgexfoundry.org:10002 04:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:14 Configure a credential helper to remove this warning. See 04:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:14 04:46:14 Login Succeeded 04:46:14 nexus3.edgexfoundry.org:10003 04:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:14 Configure a credential helper to remove this warning. See 04:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:14 04:46:14 Login Succeeded 04:46:14 nexus3.edgexfoundry.org:10004 04:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:14 Configure a credential helper to remove this warning. See 04:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:14 04:46:14 Login Succeeded 04:46:14 docker.io 04:46:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:46:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:46:14 Configure a credential helper to remove this warning. See 04:46:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:46:14 04:46:14 Login Succeeded 04:46:14 ---> docker-login.sh ends [Pipeline] } 04:46:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:46:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:46:14 ========================================================= 04:46:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:46:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:46:15 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 04:46:15 Sending build context to Docker daemon 11.07MB 04:46:15 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:46:15 Step 2/10 : FROM ${BASE} AS builder 04:46:15 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:46:15 4db1b89c0bd1: Pulling fs layer 04:46:15 6911f1a30b25: Pulling fs layer 04:46:15 e194b8c5c2a9: Pulling fs layer 04:46:15 6863d3e3a2b1: Pulling fs layer 04:46:15 ec0bb842ea78: Pulling fs layer 04:46:15 40a00589a448: Pulling fs layer 04:46:15 6c08303d61cc: Pulling fs layer 04:46:15 798269fcf238: Pulling fs layer 04:46:15 6863d3e3a2b1: Waiting 04:46:15 ec0bb842ea78: Waiting 04:46:15 40a00589a448: Waiting 04:46:15 6c08303d61cc: Waiting 04:46:15 798269fcf238: Waiting 04:46:15 6911f1a30b25: Verifying Checksum 04:46:15 6911f1a30b25: Download complete 04:46:15 6863d3e3a2b1: Verifying Checksum 04:46:15 6863d3e3a2b1: Download complete 04:46:15 ec0bb842ea78: Verifying Checksum 04:46:15 ec0bb842ea78: Download complete 04:46:15 4db1b89c0bd1: Verifying Checksum 04:46:15 4db1b89c0bd1: Download complete 04:46:15 40a00589a448: Verifying Checksum 04:46:15 40a00589a448: Download complete 04:46:15 4db1b89c0bd1: Pull complete 04:46:15 6911f1a30b25: Pull complete 04:46:15 798269fcf238: Verifying Checksum 04:46:15 798269fcf238: Download complete 04:46:16 e194b8c5c2a9: Verifying Checksum 04:46:16 e194b8c5c2a9: Download complete 04:46:16 6c08303d61cc: Verifying Checksum 04:46:16 6c08303d61cc: Download complete 04:46:19 e194b8c5c2a9: Pull complete 04:46:19 6863d3e3a2b1: Pull complete 04:46:19 ec0bb842ea78: Pull complete 04:46:19 40a00589a448: Pull complete 04:46:22 6c08303d61cc: Pull complete 04:46:23 798269fcf238: Pull complete 04:46:23 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 04:46:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:46:23 ---> ec979cd7f677 04:46:23 Step 3/10 : ARG MAKE=make build 04:46:27 ---> Running in c176615c00b0 04:46:27 Removing intermediate container c176615c00b0 04:46:27 ---> b7be7b627643 04:46:27 Step 4/10 : WORKDIR /device-sdk-go 04:46:27 ---> Running in 4e64fad37ae3 04:46:27 Removing intermediate container 4e64fad37ae3 04:46:27 ---> 4aeadf9b4c4c 04:46:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:46:27 ---> Running in 1d13c1315f68 04:46:27 Removing intermediate container 1d13c1315f68 04:46:27 ---> c318c203d293 04:46:27 Step 6/10 : RUN apk add --update --no-cache make git 04:46:27 ---> Running in d7faa5044421 04:46:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:46:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:46:28 Still waiting to schedule task 04:46:28 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4218’ 04:46:28 OK: 265 MiB in 53 packages 04:46:28 Removing intermediate container d7faa5044421 04:46:28 ---> c2f424cbf033 04:46:28 Step 7/10 : COPY go.mod vendor* ./ 04:46:28 ---> ee3d95a84b48 04:46:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:46:28 ---> Running in 4568adae46ed 04:47:01 Removing intermediate container 4568adae46ed 04:47:01 ---> be214f094c83 04:47:01 Step 9/10 : COPY . . 04:47:01 ---> 9362944bcb4c 04:47:01 Step 10/10 : RUN ${MAKE} 04:47:01 ---> Running in d46a8f05219d 04:47:01 noop 04:47:01 Removing intermediate container d46a8f05219d 04:47:01 ---> 02dbb1e43347 04:47:01 Successfully built 02dbb1e43347 04:47:01 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:01 + docker inspect -f . ci-base-image-x86_64 04:47:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:01 prd-ubuntu20.04-docker-8c-8g-4220 does not seem to be running inside a container 04:47:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1497 -v /w/workspace/gexfoundry_device-sdk-go_PR-1497:/w/workspace/gexfoundry_device-sdk-go_PR-1497:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1497@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:47:02 $ docker top 4b701bc1fb3d772f0e98cd94f46d05d3def0db6d785203006cbe71c1fa8959ff -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:02 + go version 04:47:02 go version go1.20.6 linux/amd64 [Pipeline] } 04:47:02 $ docker stop --time=1 4b701bc1fb3d772f0e98cd94f46d05d3def0db6d785203006cbe71c1fa8959ff 04:47:04 $ docker rm -f --volumes 4b701bc1fb3d772f0e98cd94f46d05d3def0db6d785203006cbe71c1fa8959ff [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:04 + docker inspect -f . ci-base-image-x86_64 04:47:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:47:04 prd-ubuntu20.04-docker-8c-8g-4220 does not seem to be running inside a container 04:47:04 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-sdk-go_PR-1497 -v /w/workspace/gexfoundry_device-sdk-go_PR-1497:/w/workspace/gexfoundry_device-sdk-go_PR-1497:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1497@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:47:05 $ docker top 4d3a4f5446a0e5ae37cc4d5b07ace3a368cf0facc938924531c1021aa250a29d -eo pid,comm [Pipeline] { [Pipeline] sh 04:47:05 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1497 [Pipeline] fileExists [Pipeline] sh 04:47:05 + make test 04:47:05 go test -race -coverprofile=coverage.out ./... 04:47:12 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:47:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:47:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:47:24 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:47:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:47:24 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:47:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.104s coverage: 27.6% of statements 04:47:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.070s coverage: 80.2% of statements 04:47:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:47:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:47:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.103s coverage: 86.0% of statements 04:47:26 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:47:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.071s coverage: 71.8% of statements 04:47:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:47:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:47:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:47:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.082s coverage: 14.3% of statements 04:47:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.621s coverage: 43.8% of statements 04:47:30 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.072s coverage: 68.5% of statements 04:47:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.126s coverage: 89.2% of statements 04:47:30 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 5.5% of statements 04:47:52 GO111MODULE=on go vet ./... 04:47:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:47:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:47:53 ./bin/test-attribution-txt.sh 04:47:53 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 04:47:53 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 04:47:53 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 04:47:53 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 04:47:53 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:47:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:47:53 $ docker stop --time=1 4d3a4f5446a0e5ae37cc4d5b07ace3a368cf0facc938924531c1021aa250a29d 04:47:58 $ docker rm -f --volumes 4d3a4f5446a0e5ae37cc4d5b07ace3a368cf0facc938924531c1021aa250a29d [Pipeline] // withDockerContainer [Pipeline] sh 04:47:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:47:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:47:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:47:59 + ls -al . 04:47:59 total 304 04:47:59 drwxrwxr-x 11 jenkins jenkins 4096 Aug 22 04:47 . 04:47:59 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 04:45 .. 04:47:59 -rw-rw-r-- 1 jenkins jenkins 140 Aug 22 04:45 .dockerignore 04:47:59 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 04:46 .git 04:47:59 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 04:45 .github 04:47:59 -rw-rw-r-- 1 jenkins jenkins 137 Aug 22 04:45 .gitignore 04:47:59 -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 04:45 .golangci.yml 04:47:59 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 04:46 .semver 04:47:59 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 22 04:45 CHANGELOG.md 04:47:59 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 04:45 GOVERNANCE.md 04:47:59 -rw-rw-r-- 1 jenkins jenkins 885 Aug 22 04:45 Jenkinsfile 04:47:59 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 22 04:45 LICENSE 04:47:59 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 22 04:45 Makefile 04:47:59 -rw-rw-r-- 1 jenkins jenkins 619 Aug 22 04:45 OWNERS.md 04:47:59 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 22 04:45 README.md 04:47:59 -rw-rw-r-- 1 jenkins jenkins 5 Aug 22 04:46 VERSION 04:47:59 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 04:45 bin 04:47:59 -rw-r--r-- 1 jenkins jenkins 120273 Aug 22 04:47 coverage.out 04:47:59 drwxrwxr-x 5 jenkins jenkins 4096 Aug 22 04:45 example 04:47:59 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 22 04:45 go.mod 04:47:59 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 22 04:45 go.sum 04:47:59 drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 04:45 internal 04:47:59 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 04:45 openapi 04:47:59 drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 04:45 pkg 04:47:59 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 04:45 snap 04:47:59 -rw-rw-r-- 1 jenkins jenkins 222 Aug 22 04:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:00 + 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=7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 --label arch=amd64 --label version=0.0.0 . 04:48:00 Sending build context to Docker daemon 11.19MB 04:48:00 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:48:00 Step 2/23 : FROM ${BASE} AS builder 04:48:00 ---> 02dbb1e43347 04:48:00 Step 3/23 : ARG MAKE=make build 04:48:00 ---> Running in 81ddbf0c3916 04:48:00 Removing intermediate container 81ddbf0c3916 04:48:00 ---> 12b0ceb22ec4 04:48:00 Step 4/23 : WORKDIR /device-sdk-go 04:48:00 ---> Running in 2890d1d405c6 04:48:00 Removing intermediate container 2890d1d405c6 04:48:00 ---> 4f81310dc8ef 04:48:00 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:48:00 ---> Running in 0d3e71111382 04:48:00 Removing intermediate container 0d3e71111382 04:48:00 ---> dbacc6758a27 04:48:00 Step 6/23 : RUN apk add --update --no-cache make git 04:48:01 ---> Running in ce44ccc0c234 04:48:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:48:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:48:01 OK: 265 MiB in 53 packages 04:48:02 Removing intermediate container ce44ccc0c234 04:48:02 ---> cafc33f61d8a 04:48:02 Step 7/23 : COPY go.mod vendor* ./ 04:48:02 ---> 886c4212152f 04:48:02 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:48:02 ---> Running in 70dc661cce29 04:48:02 Removing intermediate container 70dc661cce29 04:48:02 ---> 4f4200631c4e 04:48:02 Step 9/23 : COPY . . 04:48:03 ---> 79f53a0e0dac 04:48:03 Step 10/23 : RUN ${MAKE} 04:48:03 ---> Running in 4bd577faaca0 04:48:03 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 04:48:25 Removing intermediate container 4bd577faaca0 04:48:25 ---> 7b2483f87dc2 04:48:25 Step 11/23 : FROM alpine:3.17 04:48:25 3.17: Pulling from library/alpine 04:48:25 9398808236ff: Pulling fs layer 04:48:25 9398808236ff: Verifying Checksum 04:48:25 9398808236ff: Download complete 04:48:25 9398808236ff: Pull complete 04:48:25 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 04:48:25 Status: Downloaded newer image for alpine:3.17 04:48:25 ---> 1e0b8b5322fc 04:48:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:48:25 ---> Running in b02da89b2116 04:48:25 Removing intermediate container b02da89b2116 04:48:25 ---> d4fb7be981fd 04:48:25 Step 13/23 : RUN apk add --update --no-cache 04:48:25 ---> Running in 7ca343519d30 04:48:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:48:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:48:25 OK: 7 MiB in 15 packages 04:48:26 Removing intermediate container 7ca343519d30 04:48:26 ---> 8ca851212019 04:48:26 Step 14/23 : WORKDIR / 04:48:26 ---> Running in 1fddd277e318 04:48:26 Removing intermediate container 1fddd277e318 04:48:26 ---> 001715e3bd70 04:48:26 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:48:26 ---> e4dfe0bdd729 04:48:26 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:48:27 ---> 793870c945c5 04:48:27 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:48:27 ---> 825d9d9b14af 04:48:27 Step 18/23 : EXPOSE 59999 04:48:27 ---> Running in 0dcbe8442847 04:48:27 Removing intermediate container 0dcbe8442847 04:48:27 ---> 785b2d7e5217 04:48:27 Step 19/23 : ENTRYPOINT ["/device-simple"] 04:48:27 ---> Running in fafee397f851 04:48:27 Removing intermediate container fafee397f851 04:48:27 ---> 54f31dde1ad1 04:48:27 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 04:48:27 ---> Running in 0991453887df 04:48:27 Removing intermediate container 0991453887df 04:48:27 ---> 747ba96d1c2f 04:48:27 Step 21/23 : LABEL arch=amd64 04:48:27 ---> Running in c0a8c29f8964 04:48:27 Removing intermediate container c0a8c29f8964 04:48:27 ---> f4d6ae870111 04:48:27 Step 22/23 : LABEL git_sha=7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 04:48:27 ---> Running in 360beefaa689 04:48:27 Removing intermediate container 360beefaa689 04:48:27 ---> 30a738ef91ec 04:48:27 Step 23/23 : LABEL version=0.0.0 04:48:27 ---> Running in f70d6af4cf22 04:48:27 Removing intermediate container f70d6af4cf22 04:48:27 ---> aec419bd86cc 04:48:27 [Warning] One or more build-args [ARCH] were not consumed 04:48:27 Successfully built aec419bd86cc 04:48:27 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:48:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:28 04:48:28 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:48:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:29 latest: Pulling from edgex-lftools-log-publisher 04:48:29 5eb5b503b376: Pulling fs layer 04:48:29 5c69ac0246d0: Pulling fs layer 04:48:29 ec43610c2a17: Pulling fs layer 04:48:29 3a2ae6a8a46f: Pulling fs layer 04:48:29 33b1e0a273af: Pulling fs layer 04:48:29 5d3b04190fa2: Pulling fs layer 04:48:29 2f39f015ded8: Pulling fs layer 04:48:29 33b1e0a273af: Waiting 04:48:29 5d3b04190fa2: Waiting 04:48:29 2f39f015ded8: Waiting 04:48:29 3a2ae6a8a46f: Waiting 04:48:29 5c69ac0246d0: Download complete 04:48:29 3a2ae6a8a46f: Download complete 04:48:29 ec43610c2a17: Verifying Checksum 04:48:29 ec43610c2a17: Download complete 04:48:29 33b1e0a273af: Verifying Checksum 04:48:29 33b1e0a273af: Download complete 04:48:29 5d3b04190fa2: Download complete 04:48:29 5eb5b503b376: Verifying Checksum 04:48:29 5eb5b503b376: Download complete 04:48:29 2f39f015ded8: Download complete 04:48:30 5eb5b503b376: Pull complete 04:48:30 5c69ac0246d0: Pull complete 04:48:31 ec43610c2a17: Pull complete 04:48:31 3a2ae6a8a46f: Pull complete 04:48:31 33b1e0a273af: Pull complete 04:48:31 5d3b04190fa2: Pull complete 04:48:35 2f39f015ded8: Pull complete 04:48:35 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:48:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:48:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:48:35 prd-ubuntu20.04-docker-8c-8g-4220 does not seem to be running inside a container 04:48:35 $ 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-1497 -v /w/workspace/gexfoundry_device-sdk-go_PR-1497:/w/workspace/gexfoundry_device-sdk-go_PR-1497:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1497@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:48:39 $ docker top df0f79245b4e6928e13fb3b93776aafcc788c34233e1e9b3e244ec92b64b5a2d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:48:40 ---> job-cost.sh 04:48:40 lf-activate-venv: SKIPPING 04:48:40 INFO: No Stack... 04:48:40 INFO: Retrieving Pricing Info for: v3-standard-8 04:48:40 INFO: Archiving Costs [Pipeline] sh 04:48:40 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1497/archives/cost.csv 04:48:40 + cut -d, -f6 [Pipeline] lock 04:48:40 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1497-1-stack-cost] 04:48:40 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1497-1-stack-cost] did not exist. Created. 04:48:40 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:48:41 + echo total: 0.2199999988079071 [Pipeline] stash 04:48:41 Stashed 1 file(s) [Pipeline] } 04:48:41 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1497-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:48:41 $ docker stop --time=1 df0f79245b4e6928e13fb3b93776aafcc788c34233e1e9b3e244ec92b64b5a2d 04:48:42 $ docker rm -f --volumes df0f79245b4e6928e13fb3b93776aafcc788c34233e1e9b3e244ec92b64b5a2d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:50:17 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4221 in /w/workspace/gexfoundry_device-sdk-go_PR-1497 [Pipeline] { [Pipeline] ws 04:50:17 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:50:17 The recommended git tool is: git 04:50:23 using credential edgex-jenkins-ssh 04:50:23 Cloning the remote Git repository 04:50:23 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:50:24 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:50:24 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:50:24 > git --version # timeout=10 04:50:24 > git --version # 'git version 2.25.1' 04:50:24 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:50:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:50:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:50:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:50:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:50:27 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1497/head:refs/remotes/origin/PR-1497 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:50:27 Merging remotes/origin/main commit b58b30e7bb628030941072b2ed6fa4c53da1af43 into PR head commit 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 04:50:28 Merge succeeded, producing 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 04:50:28 Checking out Revision 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 (PR-1497) 04:50:28 Commit message: "build(deps): bump github.com/google/uuid from 1.3.0 to 1.3.1" 04:50:28 > git --version # timeout=10 04:50:28 > git --version # 'git version 2.25.1' 04:50:28 fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 04:50:27 > git config core.sparsecheckout # timeout=10 04:50:27 > git checkout -f 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 # timeout=10 04:50:27 > git remote # timeout=10 04:50:27 > git config --get remote.origin.url # timeout=10 04:50:28 using GIT_SSH to set credentials SSH Credentials for GitHub 04:50:28 > git merge b58b30e7bb628030941072b2ed6fa4c53da1af43 # timeout=10 04:50:28 > git rev-parse HEAD^{commit} # timeout=10 04:50:28 > git config core.sparsecheckout # timeout=10 04:50:28 > git checkout -f 7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:50:30 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:50:30 % Total % Received % Xferd Average Speed Time Time Time Current 04:50:30 Dload Upload Total Spent Left Speed 04:50:30 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 105k 0 --:--:-- --:--:-- --:--:-- 106k [Pipeline] sh 04:50:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:50:31 + sudo tee /etc/docker/daemon.new 04:50:31 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:50:31 { 04:50:31 "registry-mirrors": [ 04:50:31 "https://nexus3.edgexfoundry.org:10001" 04:50:31 ], 04:50:31 "bip": "10.250.0.254/24", 04:50:31 "hosts": [ 04:50:31 "tcp://0.0.0.0:5555", 04:50:31 "unix:///var/run/docker.sock" 04:50:31 ], 04:50:31 "mtu": 1458, 04:50:31 "selinux-enabled": true, 04:50:31 "seccomp-profile": "/etc/docker/seccomp.json" 04:50:31 } [Pipeline] sh 04:50:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:50:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:50:50 provisioning config files... 04:50:50 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16654692264676795016tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:50 ---> docker-login.sh 04:50:50 nexus3.edgexfoundry.org:10001 04:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:51 Configure a credential helper to remove this warning. See 04:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:51 04:50:51 Login Succeeded 04:50:51 nexus3.edgexfoundry.org:10002 04:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:51 Configure a credential helper to remove this warning. See 04:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:51 04:50:51 Login Succeeded 04:50:51 nexus3.edgexfoundry.org:10003 04:50:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:51 Configure a credential helper to remove this warning. See 04:50:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:51 04:50:51 Login Succeeded 04:50:51 nexus3.edgexfoundry.org:10004 04:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:52 Configure a credential helper to remove this warning. See 04:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:52 04:50:52 Login Succeeded 04:50:52 docker.io 04:50:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:52 Configure a credential helper to remove this warning. See 04:50:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:52 04:50:52 Login Succeeded 04:50:53 ---> docker-login.sh ends [Pipeline] } 04:50:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:53 ========================================================= 04:50:53 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:50:53 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:54 + 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.20-alpine --build-arg MAKE=echo noop --target=builder . 04:50:54 Sending build context to Docker daemon 5.909MB 04:50:54 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 04:50:54 Step 2/10 : FROM ${BASE} AS builder 04:50:54 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:50:54 edb6bdbacee9: Pulling fs layer 04:50:54 5f9638ab2659: Pulling fs layer 04:50:54 8d51d6327a98: Pulling fs layer 04:50:54 8b374f2dd631: Pulling fs layer 04:50:54 ec14aa9079de: Pulling fs layer 04:50:54 2f466654f4bb: Pulling fs layer 04:50:54 554e91adad29: Pulling fs layer 04:50:54 ec14aa9079de: Waiting 04:50:54 2f466654f4bb: Waiting 04:50:54 554e91adad29: Waiting 04:50:54 8b374f2dd631: Waiting 04:50:54 5f9638ab2659: Verifying Checksum 04:50:54 5f9638ab2659: Download complete 04:50:54 8b374f2dd631: Download complete 04:50:54 ec14aa9079de: Verifying Checksum 04:50:54 ec14aa9079de: Download complete 04:50:54 edb6bdbacee9: Verifying Checksum 04:50:54 edb6bdbacee9: Download complete 04:50:56 edb6bdbacee9: Pull complete 04:50:56 554e91adad29: Verifying Checksum 04:50:56 554e91adad29: Download complete 04:50:56 5f9638ab2659: Pull complete 04:50:57 8d51d6327a98: Verifying Checksum 04:50:57 8d51d6327a98: Download complete 04:50:57 2f466654f4bb: Verifying Checksum 04:50:57 2f466654f4bb: Download complete 04:51:10 8d51d6327a98: Pull complete 04:51:10 8b374f2dd631: Pull complete 04:51:10 ec14aa9079de: Pull complete 04:51:18 2f466654f4bb: Pull complete 04:51:20 554e91adad29: Pull complete 04:51:20 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 04:51:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:51:20 ---> 1e15ea492957 04:51:20 Step 3/10 : ARG MAKE=make build 04:51:22 ---> Running in 8193f05733df 04:51:22 Removing intermediate container 8193f05733df 04:51:22 ---> 75cd021914fd 04:51:22 Step 4/10 : WORKDIR /device-sdk-go 04:51:22 ---> Running in b679b08044f6 04:51:23 Removing intermediate container b679b08044f6 04:51:23 ---> 71bce3cf7ddd 04:51:23 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:51:23 ---> Running in 65e160899c29 04:51:23 Removing intermediate container 65e160899c29 04:51:23 ---> 03d299ad8865 04:51:23 Step 6/10 : RUN apk add --update --no-cache make git 04:51:23 ---> Running in 791e9d3ebd86 04:51:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:51:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:51:26 OK: 263 MiB in 53 packages 04:51:27 Removing intermediate container 791e9d3ebd86 04:51:27 ---> 455252011885 04:51:27 Step 7/10 : COPY go.mod vendor* ./ 04:51:28 ---> ec289884ea07 04:51:28 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:51:28 ---> Running in 466f0083dc46 04:52:49 Removing intermediate container 466f0083dc46 04:52:49 ---> bcd098d4d730 04:52:49 Step 9/10 : COPY . . 04:52:49 ---> 30812b50ce81 04:52:49 Step 10/10 : RUN ${MAKE} 04:52:49 ---> Running in a6f9a2c675ca 04:52:49 noop 04:52:49 Removing intermediate container a6f9a2c675ca 04:52:49 ---> 42fa0c6bc555 04:52:49 Successfully built 42fa0c6bc555 04:52:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:50 + docker inspect -f . ci-base-image-arm64 04:52:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:50 prd-ubuntu20.04-docker-arm64-4c-16g-4221 does not seem to be running inside a container 04:52:50 $ 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:52:51 $ docker top dacefea5c006e95f4db0071df81b8fbf28c542ffdc95b82209a90d896eb6d1ba -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:52 + go version 04:52:52 go version go1.20.6 linux/arm64 [Pipeline] } 04:52:52 $ docker stop --time=1 dacefea5c006e95f4db0071df81b8fbf28c542ffdc95b82209a90d896eb6d1ba 04:52:54 $ docker rm -f --volumes dacefea5c006e95f4db0071df81b8fbf28c542ffdc95b82209a90d896eb6d1ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:52:55 + docker inspect -f . ci-base-image-arm64 04:52:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:52:55 prd-ubuntu20.04-docker-arm64-4c-16g-4221 does not seem to be running inside a container 04:52:55 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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:52:56 $ docker top b5329f9ecf27ee10c7d3b0d1d10cb806e9f434d4b5e95e57881f46d690947dbf -eo pid,comm [Pipeline] { [Pipeline] sh 04:52:57 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:52:57 + make test 04:52:57 go test -race -coverprofile=coverage.out ./... 04:53:44 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 04:56:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 04:56:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 04:56:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 04:56:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 04:56:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 04:56:18 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.244s coverage: 27.6% of statements 04:56:24 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.304s coverage: 80.2% of statements 04:56:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 04:56:39 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 04:56:39 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.409s coverage: 86.0% of statements 04:56:47 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 04:56:47 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.442s coverage: 71.8% of statements 04:56:50 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.304s coverage: 14.3% of statements 04:56:53 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.032s coverage: 43.8% of statements 04:56:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 04:56:53 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 04:56:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.449s coverage: 68.5% of statements 04:56:57 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.501s coverage: 89.2% of statements 04:57:00 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 04:57:00 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.262s coverage: 5.5% of statements 04:57:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:57:01 GO111MODULE=on go vet ./... 04:59:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:59:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:59:37 ./bin/test-attribution-txt.sh 04:59:37 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 04:59:37 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 04:59:37 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 04:59:37 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 04:59:37 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 04:59:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:59:37 $ docker stop --time=1 b5329f9ecf27ee10c7d3b0d1d10cb806e9f434d4b5e95e57881f46d690947dbf 04:59:39 $ docker rm -f --volumes b5329f9ecf27ee10c7d3b0d1d10cb806e9f434d4b5e95e57881f46d690947dbf [Pipeline] // withDockerContainer [Pipeline] sh 04:59:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:59:41 Warning: overwriting stash ‘coverage-report’ 04:59:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:59:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:59:43 + ls -al . 04:59:43 total 300 04:59:43 drwxrwxr-x 10 jenkins jenkins 4096 Aug 22 04:53 . 04:59:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 04:50 .. 04:59:43 -rw-rw-r-- 1 jenkins jenkins 140 Aug 22 04:50 .dockerignore 04:59:43 drwxrwxr-x 8 jenkins jenkins 4096 Aug 22 04:50 .git 04:59:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 04:50 .github 04:59:43 -rw-rw-r-- 1 jenkins jenkins 137 Aug 22 04:50 .gitignore 04:59:43 -rw-rw-r-- 1 jenkins jenkins 42 Aug 22 04:50 .golangci.yml 04:59:43 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 22 04:50 CHANGELOG.md 04:59:43 -rw-rw-r-- 1 jenkins jenkins 677 Aug 22 04:50 GOVERNANCE.md 04:59:43 -rw-rw-r-- 1 jenkins jenkins 885 Aug 22 04:50 Jenkinsfile 04:59:43 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 22 04:50 LICENSE 04:59:43 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 22 04:50 Makefile 04:59:43 -rw-rw-r-- 1 jenkins jenkins 619 Aug 22 04:50 OWNERS.md 04:59:43 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 22 04:50 README.md 04:59:43 -rw-rw-r-- 1 jenkins jenkins 5 Aug 22 04:46 VERSION 04:59:43 drwxrwxr-x 2 jenkins jenkins 4096 Aug 22 04:50 bin 04:59:43 -rw-r--r-- 1 jenkins jenkins 120271 Aug 22 04:57 coverage.out 04:59:43 drwxrwxr-x 5 jenkins jenkins 4096 Aug 22 04:50 example 04:59:43 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 22 04:50 go.mod 04:59:43 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 22 04:50 go.sum 04:59:43 drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 04:50 internal 04:59:43 drwxrwxr-x 3 jenkins jenkins 4096 Aug 22 04:50 openapi 04:59:43 drwxrwxr-x 6 jenkins jenkins 4096 Aug 22 04:50 pkg 04:59:43 drwxrwxr-x 4 jenkins jenkins 4096 Aug 22 04:50 snap 04:59:43 -rw-rw-r-- 1 jenkins jenkins 222 Aug 22 04:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:59:44 + 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=7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 --label arch=arm64 --label version=0.0.0 . 04:59:44 Sending build context to Docker daemon 6.03MB 04:59:44 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 04:59:44 Step 2/23 : FROM ${BASE} AS builder 04:59:44 ---> 42fa0c6bc555 04:59:44 Step 3/23 : ARG MAKE=make build 04:59:44 ---> Running in 0b93caff6686 04:59:44 Removing intermediate container 0b93caff6686 04:59:44 ---> 697f26b9f466 04:59:44 Step 4/23 : WORKDIR /device-sdk-go 04:59:45 ---> Running in 1558bf3ee4e5 04:59:45 Removing intermediate container 1558bf3ee4e5 04:59:45 ---> e0bffc28681d 04:59:45 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:59:45 ---> Running in b34a6005d50e 04:59:45 Removing intermediate container b34a6005d50e 04:59:45 ---> afc0a368e07e 04:59:45 Step 6/23 : RUN apk add --update --no-cache make git 04:59:45 ---> Running in fd8d39a781f5 04:59:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:59:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:59:48 OK: 263 MiB in 53 packages 04:59:51 Removing intermediate container fd8d39a781f5 04:59:51 ---> 3a8e818ac1de 04:59:51 Step 7/23 : COPY go.mod vendor* ./ 04:59:51 ---> 82a08d05d96f 04:59:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:59:52 ---> Running in 5a58f2d7e3db 04:59:54 Removing intermediate container 5a58f2d7e3db 04:59:54 ---> 9b89272bd25d 04:59:54 Step 9/23 : COPY . . 04:59:55 ---> e4c4ffe2ac89 04:59:55 Step 10/23 : RUN ${MAKE} 04:59:55 ---> Running in 58361ad09e35 04:59:56 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 05:02:33 Removing intermediate container 58361ad09e35 05:02:33 ---> d1937d09e78c 05:02:33 Step 11/23 : FROM alpine:3.17 05:02:33 3.17: Pulling from library/alpine 05:02:33 4060ece20d7a: Pulling fs layer 05:02:33 4060ece20d7a: Verifying Checksum 05:02:33 4060ece20d7a: Download complete 05:02:33 4060ece20d7a: Pull complete 05:02:33 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 05:02:33 Status: Downloaded newer image for alpine:3.17 05:02:33 ---> 8650cd65339b 05:02:33 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 05:02:33 ---> Running in 66a128e757f8 05:02:33 Removing intermediate container 66a128e757f8 05:02:33 ---> 4a60f3bc00f0 05:02:33 Step 13/23 : RUN apk add --update --no-cache 05:02:33 ---> Running in 2e63b52635e0 05:02:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 05:02:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 05:02:33 OK: 7 MiB in 15 packages 05:02:33 Removing intermediate container 2e63b52635e0 05:02:33 ---> 22182eb85092 05:02:33 Step 14/23 : WORKDIR / 05:02:33 ---> Running in 94e4c1ea4457 05:02:33 Removing intermediate container 94e4c1ea4457 05:02:33 ---> 23accca7f3f1 05:02:33 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 05:02:33 ---> 4f3c2a672a94 05:02:33 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 05:02:33 ---> a7f4f3e3b07e 05:02:33 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 05:02:33 ---> 30ac9b672a5c 05:02:33 Step 18/23 : EXPOSE 59999 05:02:33 ---> Running in e382869940c7 05:02:33 Removing intermediate container e382869940c7 05:02:33 ---> 2f307fa14c61 05:02:33 Step 19/23 : ENTRYPOINT ["/device-simple"] 05:02:33 ---> Running in 08c0ffc27968 05:02:33 Removing intermediate container 08c0ffc27968 05:02:33 ---> d83956190a9e 05:02:33 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 05:02:33 ---> Running in 0df43c0099d8 05:02:33 Removing intermediate container 0df43c0099d8 05:02:33 ---> 907125be29e5 05:02:33 Step 21/23 : LABEL arch=arm64 05:02:33 ---> Running in 933e1c9b2403 05:02:33 Removing intermediate container 933e1c9b2403 05:02:33 ---> 661a47afac44 05:02:33 Step 22/23 : LABEL git_sha=7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 05:02:33 ---> Running in 90d1c7a2565e 05:02:33 Removing intermediate container 90d1c7a2565e 05:02:33 ---> 7cf7c6c49b06 05:02:33 Step 23/23 : LABEL version=0.0.0 05:02:33 ---> Running in f910853bec28 05:02:33 Removing intermediate container f910853bec28 05:02:33 ---> a222ad03b273 05:02:33 [Warning] One or more build-args [ARCH] were not consumed 05:02:33 Successfully built a222ad03b273 05:02:33 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 05:02:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:34 05:02:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:02:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:34 arm64: Pulling from edgex-lftools-log-publisher 05:02:34 8998bd30e6a1: Pulling fs layer 05:02:34 04944245beec: Pulling fs layer 05:02:34 699f458cf7ca: Pulling fs layer 05:02:34 765212b225bb: Pulling fs layer 05:02:34 f23df028b6ca: Pulling fs layer 05:02:34 d65c8cfc05b1: Pulling fs layer 05:02:34 2437ff75d9bd: Pulling fs layer 05:02:34 765212b225bb: Waiting 05:02:34 f23df028b6ca: Waiting 05:02:34 d65c8cfc05b1: Waiting 05:02:34 2437ff75d9bd: Waiting 05:02:34 04944245beec: Verifying Checksum 05:02:34 04944245beec: Download complete 05:02:34 765212b225bb: Verifying Checksum 05:02:34 765212b225bb: Download complete 05:02:34 f23df028b6ca: Verifying Checksum 05:02:34 f23df028b6ca: Download complete 05:02:34 d65c8cfc05b1: Verifying Checksum 05:02:34 d65c8cfc05b1: Download complete 05:02:34 699f458cf7ca: Verifying Checksum 05:02:34 699f458cf7ca: Download complete 05:02:35 8998bd30e6a1: Download complete 05:02:37 2437ff75d9bd: Verifying Checksum 05:02:37 2437ff75d9bd: Download complete 05:02:39 8998bd30e6a1: Pull complete 05:02:39 04944245beec: Pull complete 05:02:40 699f458cf7ca: Pull complete 05:02:40 765212b225bb: Pull complete 05:02:41 f23df028b6ca: Pull complete 05:02:41 d65c8cfc05b1: Pull complete 05:02:56 2437ff75d9bd: Pull complete 05:02:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 05:02:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 05:02:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:02:57 prd-ubuntu20.04-docker-arm64-4c-16g-4221 does not seem to be running inside a container 05:02:57 $ 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 05:03:00 $ docker top 970e438b2f3ffb680b5db3d288d40b410c732657e1ee8c4cb2909311310d7288 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 05:03:01 ---> job-cost.sh 05:03:01 lf-activate-venv: SKIPPING 05:03:01 INFO: No Stack... 05:03:01 INFO: Retrieving Pricing Info for: v3-standard-4 05:03:02 INFO: Archiving Costs [Pipeline] sh 05:03:02 + cut -d, -f6 05:03:02 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 05:03:03 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1497-1-stack-cost] 05:03:03 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1497-1-stack-cost] did not exist. Created. 05:03:03 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1497-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 05:03:03 /w/workspace/device-sdk-go/1@tmp/durable-b5283063/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 05:03:04 + echo total: 0.10999999940395355 [Pipeline] stash 05:03:04 Warning: overwriting stash ‘stack-cost’ 05:03:04 Stashed 1 file(s) [Pipeline] } 05:03:04 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1497-1-stack-cost] [Pipeline] // lock [Pipeline] } 05:03:04 $ docker stop --time=1 970e438b2f3ffb680b5db3d288d40b410c732657e1ee8c4cb2909311310d7288 05:03:06 $ docker rm -f --volumes 970e438b2f3ffb680b5db3d288d40b410c732657e1ee8c4cb2909311310d7288 [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 05:03:07 provisioning config files... 05:03:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp/config9045175792483761750tmp [Pipeline] { [Pipeline] sh 05:03:07 + set +x 05:03:07 + bash -s -- 05:03:07 + curl -s https://codecov.io/bash 05:03:07 05:03:07 _____ _ 05:03:07 / ____| | | 05:03:07 | | ___ __| | ___ ___ _____ __ 05:03:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 05:03:07 | |___| (_) | (_| | __/ (_| (_) \ V / 05:03:07 \_____\___/ \__,_|\___|\___\___/ \_/ 05:03:07 Bash-1.0.6 05:03:07 05:03:07 05:03:07 ==> git version 2.25.1 found 05:03:07 ==> 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 05:03:07 Release-Date: 2020-01-08 05:03:07 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 05:03:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 05:03:07 ==> Jenkins CI detected. 05:03:07 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1497 05:03:07 project root: . 05:03:07 --> token set from env 05:03:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 05:03:07 ==> Running gcov in . (disable via -X gcov) 05:03:07 ==> Python coveragepy not found 05:03:07 ==> Searching for coverage reports in: 05:03:07 + . 05:03:07 -> Found 1 reports 05:03:07 ==> Detecting git/mercurial file structure 05:03:07 ==> Reading reports 05:03:07 + ./coverage.out bytes=120271 05:03:07 ==> Appending adjustments 05:03:07 https://docs.codecov.io/docs/fixing-reports 05:03:08 + Found adjustments 05:03:08 ==> Gzipping contents 05:03:08 20K /tmp/codecov.cdtmQ2.gz 05:03:08 ==> Uploading reports 05:03:08 url: https://codecov.io 05:03:08 query: branch=PR-1497&commit=7639e3c6b318c4e74f33046ba840b8ccf7b8afa4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1497&job=&cmd_args= 05:03:08 -> Pinging Codecov 05:03:08 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1497&commit=7639e3c6b318c4e74f33046ba840b8ccf7b8afa4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1497%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1497&job=&cmd_args= 05:03:08 -> Uploading to 05:03:08 https://storage.googleapis.com/codecov/v4/raw/2023-08-22/7E55EF52A471D76F132DFD9A03CDDE97/7639e3c6b318c4e74f33046ba840b8ccf7b8afa4/5611aa48-060e-4567-a4e8-377589fcacc1.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230822%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230822T050307Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=9b98963ce926f95598cced82a3ad8088aaaf4b8630afaffbf2440c9b56d278df 05:03:08 % Total % Received % Xferd Average Speed Time Time Time Current 05:03:08 Dload Upload Total Spent Left Speed 05:03:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16434 0 0 100 16434 0 89315 --:--:-- --:--:-- --:--:-- 89315 05:03:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7639e3c6b318c4e74f33046ba840b8ccf7b8afa4 [Pipeline] } 05:03:08 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 05:03:10 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1497/archives ] 05:03:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1497/archives 05:03:10 total 16 05:03:10 drwxr-xr-x 3 root root 4096 Aug 22 04:48 . 05:03:10 drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 04:48 .. 05:03:10 drwxr-xr-x 2 root root 4096 Aug 22 04:48 cost 05:03:10 -rw-r--r-- 1 root root 86 Aug 22 04:48 cost.csv 05:03:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1497/archives 05:03:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1497/archives 05:03:10 total 16 05:03:10 drwxr-xr-x 3 jenkins jenkins 4096 Aug 22 04:48 . 05:03:10 drwxrwxr-x 12 jenkins jenkins 4096 Aug 22 04:48 .. 05:03:10 drwxr-xr-x 2 jenkins jenkins 4096 Aug 22 04:48 cost 05:03:10 -rw-r--r-- 1 jenkins jenkins 86 Aug 22 04:48 cost.csv [Pipeline] libraryResource [Pipeline] sh 05:03:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 05:03:11 ---> package-listing.sh 05:03:11 ++ facter osfamily 05:03:11 ++ tr '[:upper:]' '[:lower:]' 05:03:11 + OS_FAMILY=debian 05:03:11 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1497 05:03:11 + START_PACKAGES=/tmp/packages_start.txt 05:03:11 + END_PACKAGES=/tmp/packages_end.txt 05:03:11 + DIFF_PACKAGES=/tmp/packages_diff.txt 05:03:11 + PACKAGES=/tmp/packages_start.txt 05:03:11 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1497 ']' 05:03:11 + PACKAGES=/tmp/packages_end.txt 05:03:11 + case "${OS_FAMILY}" in 05:03:11 + dpkg -l 05:03:11 + grep '^ii' 05:03:11 + '[' -f /tmp/packages_start.txt ']' 05:03:11 + '[' -f /tmp/packages_end.txt ']' 05:03:11 + diff /tmp/packages_start.txt /tmp/packages_end.txt 05:03:11 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1497 ']' 05:03:11 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1497/archives/ 05:03:11 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1497/archives/ [Pipeline] echo 05:03:11 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-1497/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 05:03:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 05:03:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 05:03:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 05:03:12 prd-ubuntu20.04-docker-8c-8g-4220 does not seem to be running inside a container 05:03:12 $ 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-1497/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-1497 -v /w/workspace/gexfoundry_device-sdk-go_PR-1497:/w/workspace/gexfoundry_device-sdk-go_PR-1497:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1497@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 05:03:12 $ docker top 3232fd2a74f460f710ba87dab9b629aa33eb09f93689dd2d6904056f696194fd -eo pid,comm [Pipeline] { [Pipeline] sh 05:03:12 + touch /tmp/pre-build-complete [Pipeline] sh 05:03:13 + mkdir -p /var/log/sysstat [Pipeline] sh 05:03:13 + ls /var/log/sa-host 05:03:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 05:03:13 provisioning config files... 05:03:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1497@tmp/config3498144818319371443tmp [Pipeline] { [Pipeline] echo 05:03:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 05:03:14 ---> create-netrc.sh [Pipeline] } 05:03:14 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 05:03:14 ---> python-tools-install.sh [Pipeline] echo 05:03:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 05:03:14 ---> sudo-logs.sh 05:03:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 05:03:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 05:03:15 ---> job-cost.sh 05:03:15 lf-activate-venv: SKIPPING 05:03:15 DEBUG: total: 0.2199999988079071 05:03:15 INFO: Retrieving Stack Cost... 05:03:15 INFO: Retrieving Pricing Info for: v3-standard-8 05:03:16 INFO: Archiving Costs [Pipeline] echo 05:03:16 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 05:03:16 ---> logs-deploy.sh 05:03:16 lf-activate-venv: SKIPPING 05:03:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1497/1 05:03:16 INFO: archiving workspace using pattern(s): 05:03:17 Archives upload complete. 05:03:17 INFO: archiving logs to Nexus