Pull request #1491 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 282c48342c89778cfb5ff3e9e635a94e7bcdf715+9643316300e59272a09f9c1d01562286ee215d0b (fb21801a5eaa4d933dd899f7dba4faa7d0f3fa24) 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-ssh16728788349689696125.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh5201919262590005769.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-1491/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-1491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14127355906224666976.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-1491/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5139531548479222973.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh7470313598359438172.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-1491/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-1491/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3929379942158195168.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-2868 in /w/workspace/gexfoundry_device-sdk-go_PR-1491 [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-1491 # 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/1491/head:refs/remotes/origin/PR-1491 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 9643316300e59272a09f9c1d01562286ee215d0b into PR head commit 282c48342c89778cfb5ff3e9e635a94e7bcdf715 Merge succeeded, producing 282c48342c89778cfb5ff3e9e635a94e7bcdf715 Checking out Revision 282c48342c89778cfb5ff3e9e635a94e7bcdf715 (PR-1491) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 282c48342c89778cfb5ff3e9e635a94e7bcdf715 # 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 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 282c48342c89778cfb5ff3e9e635a94e7bcdf715 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:41:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:41:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:41:48 ========================================================= 00:41:48 EdgeX Global Pipelines Version Info 00:41:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:41:49 ------------------- 00:41:49 stable info: 00:41:49 ------------------- 00:41:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:41:49 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:41:49 Message: update stable to v1.0.250 00:41:49 ------------------- 00:41:49 experimental info: 00:41:49 ------------------- 00:41:49 Commited By: **** collab-it+edgex@linuxfoundation.org 00:41:49 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 00:41:49 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:41:50 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1491 [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1491 [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1491 [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 282c483 [Pipeline] echo 00:41:51 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:41:51 provisioning config files... 00:41:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/config9945208831822824602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:41:52 ---> docker-login.sh 00:41:52 nexus3.edgexfoundry.org:10001 00:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:52 Configure a credential helper to remove this warning. See 00:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:52 00:41:52 Login Succeeded 00:41:52 nexus3.edgexfoundry.org:10002 00:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:52 Configure a credential helper to remove this warning. See 00:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:52 00:41:52 Login Succeeded 00:41:52 nexus3.edgexfoundry.org:10003 00:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:52 Configure a credential helper to remove this warning. See 00:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:52 00:41:52 Login Succeeded 00:41:52 nexus3.edgexfoundry.org:10004 00:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:52 Configure a credential helper to remove this warning. See 00:41:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:52 00:41:52 Login Succeeded 00:41:52 docker.io 00:41:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:41:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:41:53 Configure a credential helper to remove this warning. See 00:41:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:41:53 00:41:53 Login Succeeded 00:41:53 ---> docker-login.sh ends [Pipeline] } 00:41:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:41:53 + git rev-list -1 --merges 282c48342c89778cfb5ff3e9e635a94e7bcdf715~1..282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] echo 00:41:53 -----------> git rev-list -1 --merges 282c48342c89778cfb5ff3e9e635a94e7bcdf715~1..282c48342c89778cfb5ff3e9e635a94e7bcdf715 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [false] [Pipeline] sh 00:41:54 + git log --format=format:%s -1 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] echo 00:41:54 ========================================================= 00:41:54 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:41:54 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:41:54 + git log --format=format:%s -1 282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] echo 00:41:54 [semverPrep] GIT_COMMIT: 282c48342c89778cfb5ff3e9e635a94e7bcdf715, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo 00:41:54 [semverPrep] This is not a build commit. [Pipeline] sh 00:41:55 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:41:55 + grep -v github /etc/ssh/ssh_known_hosts 00:41:55 + [ -e /tmp/ssh_known_hosts ] 00:41:55 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:41:55 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:41:55 + sudo tee -a /etc/ssh/ssh_known_hosts 00:41:55 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:41:55 00:41:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:41:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:41:55 0.1.4: Pulling from edgex-devops/py-git-semver 00:41:55 b85a868b505f: Pulling fs layer 00:41:55 e2be974225ed: Pulling fs layer 00:41:55 339a4e72a1f5: Pulling fs layer 00:41:55 988bab9f4d93: Pulling fs layer 00:41:55 1469e6f7b9e6: Pulling fs layer 00:41:55 eaf3925da568: Pulling fs layer 00:41:55 bab4dde63d76: Pulling fs layer 00:41:55 bde34c3a00c8: Pulling fs layer 00:41:55 b352a97aabf1: Pulling fs layer 00:41:55 4872d77fe225: Pulling fs layer 00:41:55 5851b861e8e6: Pulling fs layer 00:41:55 988bab9f4d93: Waiting 00:41:55 1469e6f7b9e6: Waiting 00:41:55 bde34c3a00c8: Waiting 00:41:55 eaf3925da568: Waiting 00:41:55 bab4dde63d76: Waiting 00:41:55 5851b861e8e6: Waiting 00:41:55 4872d77fe225: Waiting 00:41:55 e2be974225ed: Download complete 00:41:55 988bab9f4d93: Verifying Checksum 00:41:55 988bab9f4d93: Download complete 00:41:55 1469e6f7b9e6: Verifying Checksum 00:41:55 1469e6f7b9e6: Download complete 00:41:56 eaf3925da568: Verifying Checksum 00:41:56 eaf3925da568: Download complete 00:41:56 339a4e72a1f5: Verifying Checksum 00:41:56 339a4e72a1f5: Download complete 00:41:56 bde34c3a00c8: Verifying Checksum 00:41:56 bde34c3a00c8: Download complete 00:41:56 b352a97aabf1: Verifying Checksum 00:41:56 b352a97aabf1: Download complete 00:41:56 4872d77fe225: Verifying Checksum 00:41:56 4872d77fe225: Download complete 00:41:56 5851b861e8e6: Verifying Checksum 00:41:56 5851b861e8e6: Download complete 00:41:56 b85a868b505f: Verifying Checksum 00:41:56 b85a868b505f: Download complete 00:41:56 bab4dde63d76: Verifying Checksum 00:41:56 bab4dde63d76: Download complete 00:41:57 b85a868b505f: Pull complete 00:41:57 e2be974225ed: Pull complete 00:41:58 339a4e72a1f5: Pull complete 00:41:58 988bab9f4d93: Pull complete 00:41:58 1469e6f7b9e6: Pull complete 00:41:58 eaf3925da568: Pull complete 00:42:00 bab4dde63d76: Pull complete 00:42:00 bde34c3a00c8: Pull complete 00:42:00 b352a97aabf1: Pull complete 00:42:00 4872d77fe225: Pull complete 00:42:00 5851b861e8e6: Pull complete 00:42:00 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 00:42:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:42:00 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:00 prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container 00:42:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@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 00:42:03 $ docker top 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 -eo pid,comm 00:42:03 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). 00:42:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:42:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:03 [ssh-agent] Looking for ssh-agent implementation... 00:42:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:03 $ docker exec 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 ssh-agent 00:42:03 SSH_AUTH_SOCK=/tmp/ssh-oGMp9pW4BHRe/agent.32 00:42:03 SSH_AGENT_PID=38 00:42:03 Running ssh-add (command line suppressed) 00:42:04 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/private_key_5379003603356474128.key (/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/private_key_5379003603356474128.key) 00:42:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:04 + git tag --points-at HEAD [Pipeline] } 00:42:04 $ docker exec --env ******** --env ******** 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 ssh-agent -k 00:42:04 unset SSH_AUTH_SOCK; 00:42:04 unset SSH_AGENT_PID; 00:42:04 echo Agent pid 38 killed; 00:42:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 00:42:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:42:04 [ssh-agent] Looking for ssh-agent implementation... 00:42:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:42:04 $ docker exec 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 ssh-agent 00:42:04 SSH_AUTH_SOCK=/tmp/ssh-YAfZfuoGiTUR/agent.70 00:42:04 SSH_AGENT_PID=76 00:42:04 Running ssh-add (command line suppressed) 00:42:04 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/private_key_12095079419812381242.key (/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/private_key_12095079419812381242.key) 00:42:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:42:05 + git semver init 00:42:05 2023-08-04 00:42:05,485 [run_init] DEBUG init version:0.0.0 force:False 00:42:05 2023-08-04 00:42:05,486 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver 00:42:05 2023-08-04 00:42:05,486 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver 00:42:05 2023-08-04 00:42:05,486 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1491, universal_newlines=False, shell=None, istream=None) 00:42:06 2023-08-04 00:42:06,493 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491/.git/info/exclude 00:42:06 2023-08-04 00:42:06,493 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver/PR-1491 with force:False 00:42:06 2023-08-04 00:42:06,494 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver/PR-1491 00:42:06 2023-08-04 00:42:06,498 [execute] INFO git cat-file --batch-check 00:42:06 2023-08-04 00:42:06,498 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver, universal_newlines=False, shell=None, istream=) 00:42:06 2023-08-04 00:42:06,504 [execute] INFO git cat-file --batch 00:42:06 2023-08-04 00:42:06,505 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver, universal_newlines=False, shell=None, istream=) 00:42:06 2023-08-04 00:42:06,509 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1491/.semver/PR-1491 00:42:06 0.0.0 [Pipeline] } 00:42:06 $ docker exec --env ******** --env ******** 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 ssh-agent -k 00:42:07 unset SSH_AUTH_SOCK; 00:42:07 unset SSH_AGENT_PID; 00:42:07 echo Agent pid 76 killed; 00:42:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:42:07 + git semver [Pipeline] } 00:42:07 $ docker stop --time=1 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 00:42:09 $ docker rm -f --volumes 2a2019fcf7436d7681b60650787afe71914ea0d6db33a53dd3fcc9951d3a3e85 [Pipeline] // withDockerContainer [Pipeline] sh 00:42:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 00:42:09 Stashed 1 file(s) [Pipeline] echo 00:42:09 [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 00:42:10 provisioning config files... 00:42:10 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/config2490059932730043202tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:42:10 ---> docker-login.sh 00:42:10 nexus3.edgexfoundry.org:10001 00:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:10 Configure a credential helper to remove this warning. See 00:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:10 00:42:10 Login Succeeded 00:42:10 nexus3.edgexfoundry.org:10002 00:42:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:10 Configure a credential helper to remove this warning. See 00:42:10 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:10 00:42:10 Login Succeeded 00:42:10 nexus3.edgexfoundry.org:10003 00:42:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:11 Configure a credential helper to remove this warning. See 00:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:11 00:42:11 Login Succeeded 00:42:11 nexus3.edgexfoundry.org:10004 00:42:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:11 Configure a credential helper to remove this warning. See 00:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:11 00:42:11 Login Succeeded 00:42:11 docker.io 00:42:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:42:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:42:11 Configure a credential helper to remove this warning. See 00:42:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:42:11 00:42:11 Login Succeeded 00:42:11 ---> docker-login.sh ends [Pipeline] } 00:42:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:42:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:42:11 ========================================================= 00:42:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 00:42:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:12 + 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 . 00:42:12 Sending build context to Docker daemon 11.03MB 00:42:12 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:42:12 Step 2/10 : FROM ${BASE} AS builder 00:42:12 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 00:42:12 4db1b89c0bd1: Pulling fs layer 00:42:12 6911f1a30b25: Pulling fs layer 00:42:12 e194b8c5c2a9: Pulling fs layer 00:42:12 6863d3e3a2b1: Pulling fs layer 00:42:12 ec0bb842ea78: Pulling fs layer 00:42:12 40a00589a448: Pulling fs layer 00:42:12 6c08303d61cc: Pulling fs layer 00:42:12 798269fcf238: Pulling fs layer 00:42:12 6c08303d61cc: Waiting 00:42:12 798269fcf238: Waiting 00:42:12 ec0bb842ea78: Waiting 00:42:12 40a00589a448: Waiting 00:42:12 6863d3e3a2b1: Waiting 00:42:12 6911f1a30b25: Download complete 00:42:12 6863d3e3a2b1: Verifying Checksum 00:42:12 6863d3e3a2b1: Download complete 00:42:12 ec0bb842ea78: Verifying Checksum 00:42:12 ec0bb842ea78: Download complete 00:42:12 4db1b89c0bd1: Verifying Checksum 00:42:12 4db1b89c0bd1: Download complete 00:42:12 40a00589a448: Verifying Checksum 00:42:12 40a00589a448: Download complete 00:42:12 4db1b89c0bd1: Pull complete 00:42:12 6911f1a30b25: Pull complete 00:42:12 798269fcf238: Verifying Checksum 00:42:12 798269fcf238: Download complete 00:42:13 e194b8c5c2a9: Verifying Checksum 00:42:13 e194b8c5c2a9: Download complete 00:42:13 6c08303d61cc: Verifying Checksum 00:42:13 6c08303d61cc: Download complete 00:42:16 e194b8c5c2a9: Pull complete 00:42:16 6863d3e3a2b1: Pull complete 00:42:16 ec0bb842ea78: Pull complete 00:42:16 40a00589a448: Pull complete 00:42:19 6c08303d61cc: Pull complete 00:42:19 798269fcf238: Pull complete 00:42:20 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 00:42:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 00:42:20 ---> ec979cd7f677 00:42:20 Step 3/10 : ARG MAKE=make build 00:42:24 ---> Running in e4a0389854b1 00:42:24 Removing intermediate container e4a0389854b1 00:42:24 ---> 155c656de2a2 00:42:24 Step 4/10 : WORKDIR /device-sdk-go 00:42:24 ---> Running in b1bbb5290cb0 00:42:24 Removing intermediate container b1bbb5290cb0 00:42:24 ---> 3eda1c250d34 00:42:24 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:42:24 ---> Running in 6508c43ca0d8 00:42:24 Removing intermediate container 6508c43ca0d8 00:42:24 ---> 1889a0257a33 00:42:24 Step 6/10 : RUN apk add --update --no-cache make git 00:42:24 ---> Running in 055f089f5e60 00:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:42:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:42:25 OK: 265 MiB in 53 packages 00:42:25 Still waiting to schedule task 00:42:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2864’ 00:42:25 Removing intermediate container 055f089f5e60 00:42:25 ---> a5330c04321e 00:42:25 Step 7/10 : COPY go.mod vendor* ./ 00:42:25 ---> cc65094cf9dd 00:42:25 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:42:25 ---> Running in ff9da7036282 00:42:57 Removing intermediate container ff9da7036282 00:42:57 ---> 81044b8b2a22 00:42:57 Step 9/10 : COPY . . 00:42:57 ---> b4ab67d975a8 00:42:57 Step 10/10 : RUN ${MAKE} 00:42:57 ---> Running in 8e8b3356c343 00:42:57 noop 00:42:57 Removing intermediate container 8e8b3356c343 00:42:57 ---> a3b647a7bd41 00:42:57 Successfully built a3b647a7bd41 00:42:57 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:42:58 + docker inspect -f . ci-base-image-x86_64 00:42:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:42:58 prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container 00:42:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@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 00:42:58 $ docker top 80bd2a5b2683c0651705ecc83f3e1a10417fed2656f35cce1bf303d978370e33 -eo pid,comm [Pipeline] { [Pipeline] sh 00:42:58 + go version 00:42:58 go version go1.20.6 linux/amd64 [Pipeline] } 00:42:59 $ docker stop --time=1 80bd2a5b2683c0651705ecc83f3e1a10417fed2656f35cce1bf303d978370e33 00:43:00 $ docker rm -f --volumes 80bd2a5b2683c0651705ecc83f3e1a10417fed2656f35cce1bf303d978370e33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:43:00 + docker inspect -f . ci-base-image-x86_64 00:43:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:43:01 prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container 00:43:01 $ 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-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@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 00:43:01 $ docker top 1a103a98f0fd252243d8a8b915e02c03f630f59504144c2dcece8c2ae0691346 -eo pid,comm [Pipeline] { [Pipeline] sh 00:43:01 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1491 [Pipeline] fileExists [Pipeline] sh 00:43:02 + make test 00:43:02 go test -race -coverprofile=coverage.out ./... 00:43:10 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:43:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:43:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:43:22 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:43:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:43:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:43:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.075s coverage: 27.6% of statements 00:43:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.051s coverage: 80.2% of statements 00:43:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:43:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:43:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 86.0% of statements 00:43:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:43:23 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.091s coverage: 71.8% of statements 00:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:43:25 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 14.3% of statements 00:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.052s coverage: 43.8% of statements 00:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.079s coverage: 68.5% of statements 00:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.131s coverage: 89.2% of statements 00:43:27 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements 00:43:54 GO111MODULE=on go vet ./... 00:43:54 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:43:54 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:43:54 ./bin/test-attribution-txt.sh 00:43:54 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 00:43:54 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 00:43:54 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 00:43:54 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 00:43:54 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 00:43:54 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:43:54 $ docker stop --time=1 1a103a98f0fd252243d8a8b915e02c03f630f59504144c2dcece8c2ae0691346 00:43:59 $ docker rm -f --volumes 1a103a98f0fd252243d8a8b915e02c03f630f59504144c2dcece8c2ae0691346 [Pipeline] // withDockerContainer [Pipeline] sh 00:44:00 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:44:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 00:44:01 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:44:01 + ls -al . 00:44:01 total 304 00:44:01 drwxrwxr-x 11 jenkins jenkins 4096 Aug 4 00:43 . 00:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:41 .. 00:44:01 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 00:41 .dockerignore 00:44:01 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 00:42 .git 00:44:01 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:41 .github 00:44:01 -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 00:41 .gitignore 00:44:01 -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 00:41 .golangci.yml 00:44:01 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 00:42 .semver 00:44:01 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 00:41 CHANGELOG.md 00:44:01 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 00:41 GOVERNANCE.md 00:44:01 -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 00:41 Jenkinsfile 00:44:01 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 00:41 LICENSE 00:44:01 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 00:41 Makefile 00:44:01 -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 00:41 OWNERS.md 00:44:01 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 00:41 README.md 00:44:01 -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 00:42 VERSION 00:44:01 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:41 bin 00:44:01 -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 00:43 coverage.out 00:44:01 drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 00:41 example 00:44:01 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 00:41 go.mod 00:44:01 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 00:41 go.sum 00:44:01 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:41 internal 00:44:01 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 00:41 openapi 00:44:01 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 00:41 pkg 00:44:01 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:41 snap 00:44:01 -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 00:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:02 + 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=282c48342c89778cfb5ff3e9e635a94e7bcdf715 --label arch=amd64 --label version=0.0.0 . 00:44:02 Sending build context to Docker daemon 11.15MB 00:44:02 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:44:02 Step 2/23 : FROM ${BASE} AS builder 00:44:02 ---> a3b647a7bd41 00:44:02 Step 3/23 : ARG MAKE=make build 00:44:02 ---> Running in ccb722482578 00:44:02 Removing intermediate container ccb722482578 00:44:02 ---> 0fc12c8a013d 00:44:02 Step 4/23 : WORKDIR /device-sdk-go 00:44:02 ---> Running in a01ff4b2fadb 00:44:02 Removing intermediate container a01ff4b2fadb 00:44:02 ---> 32e79dd6e261 00:44:02 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:44:02 ---> Running in 7d1c1cabde40 00:44:02 Removing intermediate container 7d1c1cabde40 00:44:02 ---> 0cc43751e284 00:44:02 Step 6/23 : RUN apk add --update --no-cache make git 00:44:02 ---> Running in a9c277d6c8bd 00:44:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:44:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:44:03 OK: 265 MiB in 53 packages 00:44:03 Removing intermediate container a9c277d6c8bd 00:44:03 ---> fae739ff2467 00:44:03 Step 7/23 : COPY go.mod vendor* ./ 00:44:03 ---> b9d4a051730f 00:44:03 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:44:03 ---> Running in 458c9c6a1f9e 00:44:04 Removing intermediate container 458c9c6a1f9e 00:44:04 ---> 20b6a3b53d29 00:44:04 Step 9/23 : COPY . . 00:44:05 ---> f4dae99b3f25 00:44:05 Step 10/23 : RUN ${MAKE} 00:44:05 ---> Running in 7b49f2f83b44 00:44:05 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 00:44:31 Removing intermediate container 7b49f2f83b44 00:44:31 ---> 3989e3cc5641 00:44:31 Step 11/23 : FROM alpine:3.17 00:44:31 3.17: Pulling from library/alpine 00:44:31 4db1b89c0bd1: Already exists 00:44:31 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:44:31 Status: Downloaded newer image for alpine:3.17 00:44:31 ---> 1f73a9d63274 00:44:31 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:44:31 ---> Running in 42025e9fa35b 00:44:31 Removing intermediate container 42025e9fa35b 00:44:31 ---> d87a8d5db488 00:44:31 Step 13/23 : RUN apk add --update --no-cache 00:44:31 ---> Running in 730661f18c2c 00:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 00:44:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 00:44:31 OK: 7 MiB in 15 packages 00:44:31 Removing intermediate container 730661f18c2c 00:44:31 ---> 8e8d3633e287 00:44:31 Step 14/23 : WORKDIR / 00:44:31 ---> Running in 1544c3b7826f 00:44:31 Removing intermediate container 1544c3b7826f 00:44:31 ---> 5446e19faac5 00:44:31 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:44:31 ---> a9d0ea980791 00:44:31 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:44:32 ---> fb1e9baed753 00:44:32 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:44:32 ---> 12510d59ede6 00:44:32 Step 18/23 : EXPOSE 59999 00:44:32 ---> Running in 54b884dcd454 00:44:32 Removing intermediate container 54b884dcd454 00:44:32 ---> 6662a1c58c45 00:44:32 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:44:32 ---> Running in d61fe682a2db 00:44:32 Removing intermediate container d61fe682a2db 00:44:32 ---> a5191dc6e506 00:44:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:44:32 ---> Running in 9128715bf797 00:44:32 Removing intermediate container 9128715bf797 00:44:32 ---> 5f8b1c56f9da 00:44:32 Step 21/23 : LABEL arch=amd64 00:44:32 ---> Running in af96268399ef 00:44:32 Removing intermediate container af96268399ef 00:44:32 ---> 38272be929e7 00:44:32 Step 22/23 : LABEL git_sha=282c48342c89778cfb5ff3e9e635a94e7bcdf715 00:44:32 ---> Running in d152151ab73e 00:44:32 Removing intermediate container d152151ab73e 00:44:32 ---> f5501e331b5f 00:44:32 Step 23/23 : LABEL version=0.0.0 00:44:32 ---> Running in 73a24b384e54 00:44:32 Removing intermediate container 73a24b384e54 00:44:32 ---> 0c07d961c33e 00:44:32 [Warning] One or more build-args [ARCH] were not consumed 00:44:32 Successfully built 0c07d961c33e 00:44:32 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 00:44:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:33 00:44:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:44:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:34 latest: Pulling from edgex-lftools-log-publisher 00:44:34 5eb5b503b376: Pulling fs layer 00:44:34 5c69ac0246d0: Pulling fs layer 00:44:34 ec43610c2a17: Pulling fs layer 00:44:34 3a2ae6a8a46f: Pulling fs layer 00:44:34 33b1e0a273af: Pulling fs layer 00:44:34 5d3b04190fa2: Pulling fs layer 00:44:34 33b1e0a273af: Waiting 00:44:34 2f39f015ded8: Pulling fs layer 00:44:34 2f39f015ded8: Waiting 00:44:34 5d3b04190fa2: Waiting 00:44:34 5c69ac0246d0: Verifying Checksum 00:44:34 5c69ac0246d0: Download complete 00:44:34 3a2ae6a8a46f: Verifying Checksum 00:44:34 3a2ae6a8a46f: Download complete 00:44:34 33b1e0a273af: Verifying Checksum 00:44:34 33b1e0a273af: Download complete 00:44:34 ec43610c2a17: Verifying Checksum 00:44:34 ec43610c2a17: Download complete 00:44:34 5d3b04190fa2: Verifying Checksum 00:44:34 5d3b04190fa2: Download complete 00:44:34 5eb5b503b376: Verifying Checksum 00:44:34 5eb5b503b376: Download complete 00:44:35 2f39f015ded8: Verifying Checksum 00:44:35 2f39f015ded8: Download complete 00:44:35 5eb5b503b376: Pull complete 00:44:35 5c69ac0246d0: Pull complete 00:44:36 ec43610c2a17: Pull complete 00:44:36 3a2ae6a8a46f: Pull complete 00:44:36 33b1e0a273af: Pull complete 00:44:36 5d3b04190fa2: Pull complete 00:44:40 2f39f015ded8: Pull complete 00:44:40 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 00:44:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:44:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:44:40 prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container 00:44:40 $ 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-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@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 00:44:48 $ docker top 6a36265934e9b8be8e9a53700c9009dcdac51cf431301838bdf2ca90f6ef8265 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:44:49 ---> job-cost.sh 00:44:49 lf-activate-venv: SKIPPING 00:44:49 INFO: No Stack... 00:44:49 INFO: Retrieving Pricing Info for: v3-standard-8 00:44:49 INFO: Archiving Costs [Pipeline] sh 00:44:50 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives/cost.csv 00:44:50 + cut -d, -f6 [Pipeline] lock 00:44:50 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] 00:44:50 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] did not exist. Created. 00:44:50 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:44:50 + echo total: 0.2199999988079071 [Pipeline] stash 00:44:50 Stashed 1 file(s) [Pipeline] } 00:44:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:44:50 $ docker stop --time=1 6a36265934e9b8be8e9a53700c9009dcdac51cf431301838bdf2ca90f6ef8265 00:44:51 $ docker rm -f --volumes 6a36265934e9b8be8e9a53700c9009dcdac51cf431301838bdf2ca90f6ef8265 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 00:45:33 Running on prd-ubuntu20.04-docker-arm64-4c-16g-2871 in /w/workspace/gexfoundry_device-sdk-go_PR-1491 [Pipeline] { [Pipeline] ws 00:45:33 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 00:45:33 The recommended git tool is: git 00:45:38 using credential edgex-jenkins-ssh 00:45:38 Cloning the remote Git repository 00:45:38 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 00:45:39 > git init /w/workspace/device-sdk-go/1 # timeout=10 00:45:39 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:45:39 > git --version # timeout=10 00:45:39 > git --version # 'git version 2.25.1' 00:45:39 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:41 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:45:41 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 00:45:42 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 00:45:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 00:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:42 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1491/head:refs/remotes/origin/PR-1491 +refs/heads/main:refs/remotes/origin/main # timeout=10 00:45:42 Merging remotes/origin/main commit 9643316300e59272a09f9c1d01562286ee215d0b into PR head commit 282c48342c89778cfb5ff3e9e635a94e7bcdf715 00:45:42 Merge succeeded, producing 282c48342c89778cfb5ff3e9e635a94e7bcdf715 00:45:42 Checking out Revision 282c48342c89778cfb5ff3e9e635a94e7bcdf715 (PR-1491) 00:45:43 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" 00:45:43 > git --version # timeout=10 00:45:43 > git --version # 'git version 2.25.1' 00:45:43 fatal: bad object d4291cbe28daa2a40ca94d44cc831565108a4ea5 [Pipeline] withEnv [Pipeline] { 00:45:42 > git config core.sparsecheckout # timeout=10 00:45:42 > git checkout -f 282c48342c89778cfb5ff3e9e635a94e7bcdf715 # timeout=10 00:45:42 > git remote # timeout=10 00:45:42 > git config --get remote.origin.url # timeout=10 00:45:42 using GIT_SSH to set credentials SSH Credentials for GitHub 00:45:42 > git merge 9643316300e59272a09f9c1d01562286ee215d0b # timeout=10 00:45:42 > git rev-parse HEAD^{commit} # timeout=10 00:45:42 > git config core.sparsecheckout # timeout=10 00:45:43 > git checkout -f 282c48342c89778cfb5ff3e9e635a94e7bcdf715 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:45:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 00:45:44 % Total % Received % Xferd Average Speed Time Time Time Current 00:45:44 Dload Upload Total Spent Left Speed 00:45:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 226k [Pipeline] sh 00:45:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 00:45:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 00:45:45 + sudo tee /etc/docker/daemon.new 00:45:45 { 00:45:45 "registry-mirrors": [ 00:45:45 "https://nexus3.edgexfoundry.org:10001" 00:45:45 ], 00:45:45 "bip": "10.250.0.254/24", 00:45:45 "hosts": [ 00:45:45 "tcp://0.0.0.0:5555", 00:45:45 "unix:///var/run/docker.sock" 00:45:45 ], 00:45:45 "mtu": 1458, 00:45:45 "selinux-enabled": true, 00:45:45 "seccomp-profile": "/etc/docker/seccomp.json" 00:45:45 } [Pipeline] sh 00:45:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 00:45:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:46:06 provisioning config files... 00:46:06 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8498743092852439120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:46:06 ---> docker-login.sh 00:46:06 nexus3.edgexfoundry.org:10001 00:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:07 Configure a credential helper to remove this warning. See 00:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:07 00:46:07 Login Succeeded 00:46:07 nexus3.edgexfoundry.org:10002 00:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:07 Configure a credential helper to remove this warning. See 00:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:07 00:46:07 Login Succeeded 00:46:07 nexus3.edgexfoundry.org:10003 00:46:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:07 Configure a credential helper to remove this warning. See 00:46:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:07 00:46:07 Login Succeeded 00:46:07 nexus3.edgexfoundry.org:10004 00:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:08 Configure a credential helper to remove this warning. See 00:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:08 00:46:08 Login Succeeded 00:46:08 docker.io 00:46:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:46:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:46:08 Configure a credential helper to remove this warning. See 00:46:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:46:08 00:46:08 Login Succeeded 00:46:08 ---> docker-login.sh ends [Pipeline] } 00:46:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 00:46:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:46:09 ========================================================= 00:46:09 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 00:46:09 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:46:09 + 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 . 00:46:09 Sending build context to Docker daemon 5.893MB 00:46:09 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 00:46:09 Step 2/10 : FROM ${BASE} AS builder 00:46:10 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 00:46:10 edb6bdbacee9: Pulling fs layer 00:46:10 5f9638ab2659: Pulling fs layer 00:46:10 8d51d6327a98: Pulling fs layer 00:46:10 8b374f2dd631: Pulling fs layer 00:46:10 ec14aa9079de: Pulling fs layer 00:46:10 2f466654f4bb: Pulling fs layer 00:46:10 554e91adad29: Pulling fs layer 00:46:10 2f466654f4bb: Waiting 00:46:10 8b374f2dd631: Waiting 00:46:10 ec14aa9079de: Waiting 00:46:10 554e91adad29: Waiting 00:46:10 5f9638ab2659: Download complete 00:46:10 8b374f2dd631: Verifying Checksum 00:46:10 8b374f2dd631: Download complete 00:46:10 ec14aa9079de: Verifying Checksum 00:46:10 ec14aa9079de: Download complete 00:46:10 edb6bdbacee9: Verifying Checksum 00:46:11 edb6bdbacee9: Pull complete 00:46:11 554e91adad29: Verifying Checksum 00:46:11 554e91adad29: Download complete 00:46:11 5f9638ab2659: Pull complete 00:46:13 8d51d6327a98: Verifying Checksum 00:46:13 8d51d6327a98: Download complete 00:46:13 2f466654f4bb: Verifying Checksum 00:46:13 2f466654f4bb: Download complete 00:46:25 8d51d6327a98: Pull complete 00:46:25 8b374f2dd631: Pull complete 00:46:25 ec14aa9079de: Pull complete 00:46:31 2f466654f4bb: Pull complete 00:46:33 554e91adad29: Pull complete 00:46:33 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 00:46:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 00:46:33 ---> 1e15ea492957 00:46:33 Step 3/10 : ARG MAKE=make build 00:46:35 ---> Running in c80fca59ac86 00:46:35 Removing intermediate container c80fca59ac86 00:46:35 ---> 1e923dafdbb0 00:46:35 Step 4/10 : WORKDIR /device-sdk-go 00:46:35 ---> Running in 4d80b1ad106b 00:46:36 Removing intermediate container 4d80b1ad106b 00:46:36 ---> 3082fd93850d 00:46:36 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:46:36 ---> Running in 316338257ec5 00:46:36 Removing intermediate container 316338257ec5 00:46:36 ---> 9eff4e1203ad 00:46:36 Step 6/10 : RUN apk add --update --no-cache make git 00:46:36 ---> Running in 74b51ab38a05 00:46:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:46:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:46:39 OK: 263 MiB in 53 packages 00:46:40 Removing intermediate container 74b51ab38a05 00:46:40 ---> fb8820134c43 00:46:40 Step 7/10 : COPY go.mod vendor* ./ 00:46:40 ---> 977ecaaf3c54 00:46:40 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:46:40 ---> Running in e49b7023f9ab 00:47:48 Removing intermediate container e49b7023f9ab 00:47:48 ---> b61c4f6dc2f7 00:47:48 Step 9/10 : COPY . . 00:47:48 ---> 47b84a55817b 00:47:48 Step 10/10 : RUN ${MAKE} 00:47:48 ---> Running in 053aa95703e4 00:47:48 noop 00:47:48 Removing intermediate container 053aa95703e4 00:47:48 ---> c1b3128c5e3c 00:47:48 Successfully built c1b3128c5e3c 00:47:48 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:49 + docker inspect -f . ci-base-image-arm64 00:47:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:49 prd-ubuntu20.04-docker-arm64-4c-16g-2871 does not seem to be running inside a container 00:47:49 $ 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 00:47:53 $ docker top 1943744f05de4fad3b2a915916779194f3f9f0f0b12c2f44f4cebfa7c96524c3 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:54 + go version 00:47:54 go version go1.20.6 linux/arm64 [Pipeline] } 00:47:54 $ docker stop --time=1 1943744f05de4fad3b2a915916779194f3f9f0f0b12c2f44f4cebfa7c96524c3 00:47:55 $ docker rm -f --volumes 1943744f05de4fad3b2a915916779194f3f9f0f0b12c2f44f4cebfa7c96524c3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:47:56 + docker inspect -f . ci-base-image-arm64 00:47:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:47:57 prd-ubuntu20.04-docker-arm64-4c-16g-2871 does not seem to be running inside a container 00:47:57 $ 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 00:47:58 $ docker top e078165c464f3124d0a619a996ac242f044a0489a22b33b27a9917d6290f5977 -eo pid,comm [Pipeline] { [Pipeline] sh 00:47:59 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 00:47:59 + make test 00:47:59 go test -race -coverprofile=coverage.out ./... 00:48:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 00:51:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 00:51:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 00:51:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 00:51:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 00:51:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 00:51:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.223s coverage: 27.6% of statements 00:51:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.282s coverage: 80.2% of statements 00:51:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 00:51:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 00:51:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.385s coverage: 86.0% of statements 00:51:56 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 00:51:56 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.444s coverage: 71.8% of statements 00:51:58 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.292s coverage: 14.3% of statements 00:52:01 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.187s coverage: 43.8% of statements 00:52:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 00:52:02 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 00:52:02 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.412s coverage: 68.5% of statements 00:52:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.483s coverage: 89.2% of statements 00:52:08 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 00:52:08 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.271s coverage: 5.5% of statements 00:52:09 WARNING: Linting skipped (not on x86_64 or linter not installed) 00:52:09 GO111MODULE=on go vet ./... 00:54:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 00:54:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 00:54:46 ./bin/test-attribution-txt.sh 00:54:46 An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add 00:54:46 An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add 00:54:46 An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add 00:54:46 An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add 00:54:46 An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo 00:54:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 00:54:46 $ docker stop --time=1 e078165c464f3124d0a619a996ac242f044a0489a22b33b27a9917d6290f5977 00:54:48 $ docker rm -f --volumes e078165c464f3124d0a619a996ac242f044a0489a22b33b27a9917d6290f5977 [Pipeline] // withDockerContainer [Pipeline] sh 00:54:50 + sudo chown -R jenkins:jenkins . [Pipeline] stash 00:54:50 Warning: overwriting stash ‘coverage-report’ 00:54:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 00:54:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 00:54:51 + ls -al . 00:54:51 total 300 00:54:51 drwxrwxr-x 10 jenkins jenkins 4096 Aug 4 00:48 . 00:54:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:45 .. 00:54:51 -rw-rw-r-- 1 jenkins jenkins 140 Aug 4 00:45 .dockerignore 00:54:51 drwxrwxr-x 8 jenkins jenkins 4096 Aug 4 00:45 .git 00:54:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:45 .github 00:54:51 -rw-rw-r-- 1 jenkins jenkins 137 Aug 4 00:45 .gitignore 00:54:51 -rw-rw-r-- 1 jenkins jenkins 42 Aug 4 00:45 .golangci.yml 00:54:51 -rw-rw-r-- 1 jenkins jenkins 44878 Aug 4 00:45 CHANGELOG.md 00:54:51 -rw-rw-r-- 1 jenkins jenkins 677 Aug 4 00:45 GOVERNANCE.md 00:54:51 -rw-rw-r-- 1 jenkins jenkins 885 Aug 4 00:45 Jenkinsfile 00:54:51 -rw-rw-r-- 1 jenkins jenkins 11341 Aug 4 00:45 LICENSE 00:54:51 -rw-rw-r-- 1 jenkins jenkins 1842 Aug 4 00:45 Makefile 00:54:51 -rw-rw-r-- 1 jenkins jenkins 619 Aug 4 00:45 OWNERS.md 00:54:51 -rw-rw-r-- 1 jenkins jenkins 4933 Aug 4 00:45 README.md 00:54:51 -rw-rw-r-- 1 jenkins jenkins 5 Aug 4 00:42 VERSION 00:54:51 drwxrwxr-x 2 jenkins jenkins 4096 Aug 4 00:45 bin 00:54:51 -rw-r--r-- 1 jenkins jenkins 120271 Aug 4 00:52 coverage.out 00:54:51 drwxrwxr-x 5 jenkins jenkins 4096 Aug 4 00:45 example 00:54:51 -rw-rw-r-- 1 jenkins jenkins 3721 Aug 4 00:45 go.mod 00:54:51 -rw-rw-r-- 1 jenkins jenkins 33545 Aug 4 00:45 go.sum 00:54:51 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:45 internal 00:54:51 drwxrwxr-x 3 jenkins jenkins 4096 Aug 4 00:45 openapi 00:54:51 drwxrwxr-x 6 jenkins jenkins 4096 Aug 4 00:45 pkg 00:54:51 drwxrwxr-x 4 jenkins jenkins 4096 Aug 4 00:45 snap 00:54:51 -rw-rw-r-- 1 jenkins jenkins 222 Aug 4 00:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:54:55 + docker build -t device-sdk-simple-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=282c48342c89778cfb5ff3e9e635a94e7bcdf715 --label arch=arm64 --label version=0.0.0 . 00:54:55 Sending build context to Docker daemon 6.013MB 00:54:55 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 00:54:55 Step 2/23 : FROM ${BASE} AS builder 00:54:55 ---> c1b3128c5e3c 00:54:55 Step 3/23 : ARG MAKE=make build 00:54:55 ---> Running in fdd327f59827 00:54:55 Removing intermediate container fdd327f59827 00:54:55 ---> d51c0b9a818a 00:54:55 Step 4/23 : WORKDIR /device-sdk-go 00:54:55 ---> Running in aa214a7d5f72 00:54:55 Removing intermediate container aa214a7d5f72 00:54:55 ---> af140659d987 00:54:55 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 00:54:55 ---> Running in fb229d6f50d5 00:54:55 Removing intermediate container fb229d6f50d5 00:54:55 ---> c8647f28cbee 00:54:55 Step 6/23 : RUN apk add --update --no-cache make git 00:54:56 ---> Running in 7a0b502d73df 00:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:54:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:54:58 OK: 263 MiB in 53 packages 00:54:59 Removing intermediate container 7a0b502d73df 00:54:59 ---> 3ca34f64e52d 00:54:59 Step 7/23 : COPY go.mod vendor* ./ 00:54:59 ---> 19899ac90305 00:54:59 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 00:55:00 ---> Running in e9b5508ef417 00:55:02 Removing intermediate container e9b5508ef417 00:55:02 ---> 14f98a35c79c 00:55:02 Step 9/23 : COPY . . 00:55:03 ---> fe28a97140d6 00:55:03 Step 10/23 : RUN ${MAKE} 00:55:03 ---> Running in 194e76b0df71 00:55:04 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 00:57:25 Removing intermediate container 194e76b0df71 00:57:25 ---> b28777904036 00:57:25 Step 11/23 : FROM alpine:3.17 00:57:25 3.17: Pulling from library/alpine 00:57:25 edb6bdbacee9: Already exists 00:57:25 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 00:57:25 Status: Downloaded newer image for alpine:3.17 00:57:25 ---> 779605e5fbc0 00:57:25 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:57:25 ---> Running in c2cd2253ab0a 00:57:26 Removing intermediate container c2cd2253ab0a 00:57:26 ---> c79cbf63a937 00:57:26 Step 13/23 : RUN apk add --update --no-cache 00:57:26 ---> Running in d3f9918fa9a7 00:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:57:27 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:57:28 OK: 7 MiB in 15 packages 00:57:29 Removing intermediate container d3f9918fa9a7 00:57:29 ---> dce1ce2751ed 00:57:29 Step 14/23 : WORKDIR / 00:57:29 ---> Running in 94018d1b429f 00:57:29 Removing intermediate container 94018d1b429f 00:57:29 ---> ee56fac51ae5 00:57:29 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 00:57:30 ---> 4d4e9c7157d2 00:57:30 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 00:57:31 ---> a3a9e7977ff2 00:57:31 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 00:57:32 ---> 88c4ed1273d3 00:57:32 Step 18/23 : EXPOSE 59999 00:57:32 ---> Running in 589ac1421376 00:57:32 Removing intermediate container 589ac1421376 00:57:32 ---> 8c78d96b5664 00:57:32 Step 19/23 : ENTRYPOINT ["/device-simple"] 00:57:32 ---> Running in 8c562215ce10 00:57:32 Removing intermediate container 8c562215ce10 00:57:32 ---> 398920f9c7f7 00:57:32 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 00:57:32 ---> Running in f276fe8914fa 00:57:33 Removing intermediate container f276fe8914fa 00:57:33 ---> 7cc0485f53b2 00:57:33 Step 21/23 : LABEL arch=arm64 00:57:33 ---> Running in b858ea5b5c11 00:57:33 Removing intermediate container b858ea5b5c11 00:57:33 ---> c4191062a449 00:57:33 Step 22/23 : LABEL git_sha=282c48342c89778cfb5ff3e9e635a94e7bcdf715 00:57:33 ---> Running in 1c5947df40ea 00:57:33 Removing intermediate container 1c5947df40ea 00:57:33 ---> a2148ac9ee37 00:57:33 Step 23/23 : LABEL version=0.0.0 00:57:33 ---> Running in 1a5eadb79364 00:57:34 Removing intermediate container 1a5eadb79364 00:57:34 ---> 5255b401bd6a 00:57:34 [Warning] One or more build-args [ARCH] were not consumed 00:57:34 Successfully built 5255b401bd6a 00:57:34 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 00:57:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:57:35 00:57:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:57:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:57:35 arm64: Pulling from edgex-lftools-log-publisher 00:57:35 8998bd30e6a1: Pulling fs layer 00:57:35 04944245beec: Pulling fs layer 00:57:35 699f458cf7ca: Pulling fs layer 00:57:35 765212b225bb: Pulling fs layer 00:57:35 f23df028b6ca: Pulling fs layer 00:57:35 d65c8cfc05b1: Pulling fs layer 00:57:35 2437ff75d9bd: Pulling fs layer 00:57:35 765212b225bb: Waiting 00:57:35 f23df028b6ca: Waiting 00:57:35 d65c8cfc05b1: Waiting 00:57:35 2437ff75d9bd: Waiting 00:57:36 04944245beec: Verifying Checksum 00:57:36 04944245beec: Download complete 00:57:36 765212b225bb: Verifying Checksum 00:57:36 765212b225bb: Download complete 00:57:36 f23df028b6ca: Download complete 00:57:36 d65c8cfc05b1: Verifying Checksum 00:57:36 d65c8cfc05b1: Download complete 00:57:36 699f458cf7ca: Verifying Checksum 00:57:36 699f458cf7ca: Download complete 00:57:36 8998bd30e6a1: Verifying Checksum 00:57:36 8998bd30e6a1: Download complete 00:57:39 2437ff75d9bd: Verifying Checksum 00:57:39 2437ff75d9bd: Download complete 00:57:40 8998bd30e6a1: Pull complete 00:57:40 04944245beec: Pull complete 00:57:42 699f458cf7ca: Pull complete 00:57:42 765212b225bb: Pull complete 00:57:43 f23df028b6ca: Pull complete 00:57:43 d65c8cfc05b1: Pull complete 00:57:58 2437ff75d9bd: Pull complete 00:57:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:57:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:57:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:57:58 prd-ubuntu20.04-docker-arm64-4c-16g-2871 does not seem to be running inside a container 00:57:58 $ 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 00:58:01 $ docker top d6b91a29db8412694f8b38a2be4c0d5b66ac93c26de49af9f26e8891a5cf5b61 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:58:02 ---> job-cost.sh 00:58:02 lf-activate-venv: SKIPPING 00:58:02 INFO: No Stack... 00:58:02 INFO: Retrieving Pricing Info for: v3-standard-4 00:58:03 INFO: Archiving Costs [Pipeline] sh 00:58:03 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 00:58:03 + cut -d, -f6 [Pipeline] lock 00:58:04 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] 00:58:04 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] did not exist. Created. 00:58:04 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:58:04 /w/workspace/device-sdk-go/1@tmp/durable-e7cf8af6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:58:04 + echo total: 0.10999999940395355 [Pipeline] stash 00:58:04 Warning: overwriting stash ‘stack-cost’ 00:58:05 Stashed 1 file(s) [Pipeline] } 00:58:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1491-1-stack-cost] [Pipeline] // lock [Pipeline] } 00:58:05 $ docker stop --time=1 d6b91a29db8412694f8b38a2be4c0d5b66ac93c26de49af9f26e8891a5cf5b61 00:58:06 $ docker rm -f --volumes d6b91a29db8412694f8b38a2be4c0d5b66ac93c26de49af9f26e8891a5cf5b61 [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 00:58:07 provisioning config files... 00:58:07 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/config11953259297838099369tmp [Pipeline] { [Pipeline] sh 00:58:07 + set +x 00:58:07 + curl -s https://codecov.io/bash 00:58:07 + bash -s -- 00:58:07 00:58:07 _____ _ 00:58:07 / ____| | | 00:58:07 | | ___ __| | ___ ___ _____ __ 00:58:07 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:58:07 | |___| (_) | (_| | __/ (_| (_) \ V / 00:58:07 \_____\___/ \__,_|\___|\___\___/ \_/ 00:58:07 Bash-1.0.6 00:58:07 00:58:07 00:58:07 ==> git version 2.25.1 found 00:58: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 00:58:07 Release-Date: 2020-01-08 00:58: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 00:58:07 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:58:07 ==> Jenkins CI detected. 00:58:07 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1491 00:58:07 project root: . 00:58:07 --> token set from env 00:58:07 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:58:07 ==> Running gcov in . (disable via -X gcov) 00:58:07 ==> Python coveragepy not found 00:58:07 ==> Searching for coverage reports in: 00:58:07 + . 00:58:07 -> Found 1 reports 00:58:07 ==> Detecting git/mercurial file structure 00:58:08 ==> Reading reports 00:58:08 + ./coverage.out bytes=120271 00:58:08 ==> Appending adjustments 00:58:08 https://docs.codecov.io/docs/fixing-reports 00:58:08 + Found adjustments 00:58:08 ==> Gzipping contents 00:58:08 20K /tmp/codecov.xIbGrN.gz 00:58:08 ==> Uploading reports 00:58:08 url: https://codecov.io 00:58:08 query: branch=PR-1491&commit=282c48342c89778cfb5ff3e9e635a94e7bcdf715&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1491%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1491&job=&cmd_args= 00:58:08 -> Pinging Codecov 00:58: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-1491&commit=282c48342c89778cfb5ff3e9e635a94e7bcdf715&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1491%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1491&job=&cmd_args= 00:58:08 -> Uploading to 00:58:08 https://storage.googleapis.com/codecov/v4/raw/2023-08-04/7E55EF52A471D76F132DFD9A03CDDE97/282c48342c89778cfb5ff3e9e635a94e7bcdf715/3a3c6105-4857-4286-9899-481f6ce99574.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230804%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230804T005808Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e8cbf2a951a45ab0d48e0bb0875d5df39bdd0c0062146643f41563a6d1e6e094 00:58:08 % Total % Received % Xferd Average Speed Time Time Time Current 00:58:08 Dload Upload Total Spent Left Speed 00:58:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16434 0 0 100 16434 0 391k --:--:-- --:--:-- --:--:-- 382k 100 16434 0 0 100 16434 0 84276 --:--:-- --:--:-- --:--:-- 83846 00:58:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/282c48342c89778cfb5ff3e9e635a94e7bcdf715 [Pipeline] } 00:58: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 00:58:10 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives ] 00:58:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives 00:58:10 total 16 00:58:10 drwxr-xr-x 3 root root 4096 Aug 4 00:44 . 00:58:10 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:44 .. 00:58:10 drwxr-xr-x 2 root root 4096 Aug 4 00:44 cost 00:58:10 -rw-r--r-- 1 root root 86 Aug 4 00:44 cost.csv 00:58:10 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives 00:58:10 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives 00:58:10 total 16 00:58:10 drwxr-xr-x 3 jenkins jenkins 4096 Aug 4 00:44 . 00:58:10 drwxrwxr-x 12 jenkins jenkins 4096 Aug 4 00:44 .. 00:58:10 drwxr-xr-x 2 jenkins jenkins 4096 Aug 4 00:44 cost 00:58:10 -rw-r--r-- 1 jenkins jenkins 86 Aug 4 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:58:10 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:58:11 ---> package-listing.sh 00:58:11 ++ facter osfamily 00:58:11 ++ tr '[:upper:]' '[:lower:]' 00:58:12 + OS_FAMILY=debian 00:58:12 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1491 00:58:12 + START_PACKAGES=/tmp/packages_start.txt 00:58:12 + END_PACKAGES=/tmp/packages_end.txt 00:58:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:58:12 + PACKAGES=/tmp/packages_start.txt 00:58:12 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1491 ']' 00:58:12 + PACKAGES=/tmp/packages_end.txt 00:58:12 + case "${OS_FAMILY}" in 00:58:12 + dpkg -l 00:58:12 + grep '^ii' 00:58:12 + '[' -f /tmp/packages_start.txt ']' 00:58:12 + '[' -f /tmp/packages_end.txt ']' 00:58:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:58:12 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1491 ']' 00:58:12 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives/ 00:58:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1491/archives/ [Pipeline] echo 00:58:12 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-1491/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 00:58:12 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:58:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:58:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:58:13 prd-ubuntu20.04-docker-8c-8g-2868 does not seem to be running inside a container 00:58:13 $ 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-1491/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-1491 -v /w/workspace/gexfoundry_device-sdk-go_PR-1491:/w/workspace/gexfoundry_device-sdk-go_PR-1491:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1491@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 00:58:13 $ docker top 386443b1f15d3222d3b805a4895ffd6928d589f9fe89b5e689c9b8881dd840c6 -eo pid,comm [Pipeline] { [Pipeline] sh 00:58:13 + touch /tmp/pre-build-complete [Pipeline] sh 00:58:14 + mkdir -p /var/log/sysstat [Pipeline] sh 00:58:14 + ls /var/log/sa-host 00:58:14 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:58:14 provisioning config files... 00:58:14 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1491@tmp/config8443813773735093552tmp [Pipeline] { [Pipeline] echo 00:58:14 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:58:15 ---> create-netrc.sh [Pipeline] } 00:58:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:58:15 ---> python-tools-install.sh [Pipeline] echo 00:58:15 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:58:15 ---> sudo-logs.sh 00:58:15 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:58:15 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:58:16 ---> job-cost.sh 00:58:16 lf-activate-venv: SKIPPING 00:58:16 DEBUG: total: 0.2199999988079071 00:58:16 INFO: Retrieving Stack Cost... 00:58:16 INFO: Retrieving Pricing Info for: v3-standard-8 00:58:17 INFO: Archiving Costs [Pipeline] echo 00:58:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:58:17 ---> logs-deploy.sh 00:58:17 lf-activate-venv: SKIPPING 00:58:17 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1491/1 00:58:17 INFO: archiving workspace using pattern(s): 00:58:18 Archives upload complete. 00:58:18 INFO: archiving logs to Nexus