Pull request #1517 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ernestojeda for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 526596b2a1c7dd5155db82aafa89415c2e504d1d+c9092965fc0e73fdbee605785b6ca16e2186cbeb (74afd165b5e170ff26f1fd229d9b5d6ea3e225c5) 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-ssh15443704792370898111.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh3033997753296331777.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1517/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-1517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2709025202002945494.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-1517/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh185260485869152533.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh18384294132630137900.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-1517/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-1517/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2769711417112697898.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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.21 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 Running on prd-ubuntu20.04-docker-8c-8g-6739 in /w/workspace/gexfoundry_device-sdk-go_PR-1517 [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-1517 # 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/1517/head:refs/remotes/origin/PR-1517 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c9092965fc0e73fdbee605785b6ca16e2186cbeb into PR head commit 526596b2a1c7dd5155db82aafa89415c2e504d1d Merge succeeded, producing 526596b2a1c7dd5155db82aafa89415c2e504d1d Checking out Revision 526596b2a1c7dd5155db82aafa89415c2e504d1d (PR-1517) > git config core.sparsecheckout # timeout=10 > git checkout -f 526596b2a1c7dd5155db82aafa89415c2e504d1d # 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 c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 526596b2a1c7dd5155db82aafa89415c2e504d1d # timeout=10 Commit message: "ci: add automated release workflow on tag creation" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 17:23:29 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 17:23:29 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 17:23:29 ========================================================= 17:23:29 EdgeX Global Pipelines Version Info 17:23:29 ========================================================= [Pipeline] libraryResource [Pipeline] sh 17:23:30 ------------------- 17:23:30 stable info: 17:23:30 ------------------- 17:23:30 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 17:23:30 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:23:30 Message: update stable to v1.0.254 17:23:31 ------------------- 17:23:31 experimental info: 17:23:31 ------------------- 17:23:31 Commited By: **** collab-it+edgex@linuxfoundation.org 17:23:31 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 17:23:31 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 17:23:31 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1517 [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1517 [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1517 [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 526596b [Pipeline] echo 17:23:32 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:23:33 provisioning config files... 17:23:33 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/config8487125647899413691tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:33 ---> docker-login.sh 17:23:33 nexus3.edgexfoundry.org:10001 17:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:33 Configure a credential helper to remove this warning. See 17:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:33 17:23:33 Login Succeeded 17:23:33 nexus3.edgexfoundry.org:10002 17:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:33 Configure a credential helper to remove this warning. See 17:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:33 17:23:33 Login Succeeded 17:23:33 nexus3.edgexfoundry.org:10003 17:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:33 Configure a credential helper to remove this warning. See 17:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:33 17:23:33 Login Succeeded 17:23:33 nexus3.edgexfoundry.org:10004 17:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:34 Configure a credential helper to remove this warning. See 17:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:34 17:23:34 Login Succeeded 17:23:34 docker.io 17:23:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:34 Configure a credential helper to remove this warning. See 17:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:34 17:23:34 Login Succeeded 17:23:34 ---> docker-login.sh ends [Pipeline] } 17:23:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 17:23:35 + git rev-list -1 --merges 526596b2a1c7dd5155db82aafa89415c2e504d1d~1..526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] echo 17:23:35 -----------> git rev-list -1 --merges 526596b2a1c7dd5155db82aafa89415c2e504d1d~1..526596b2a1c7dd5155db82aafa89415c2e504d1d 526596b2a1c7dd5155db82aafa89415c2e504d1d [false] [Pipeline] sh 17:23:35 + git log --format=format:%s -1 526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] echo 17:23:35 ========================================================= 17:23:35 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 17:23:35 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:23:35 + git log --format=format:%s -1 526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] echo 17:23:35 [semverPrep] GIT_COMMIT: 526596b2a1c7dd5155db82aafa89415c2e504d1d, Commit Message: ci: add automated release workflow on tag creation [Pipeline] echo 17:23:35 [semverPrep] This is not a build commit. [Pipeline] sh 17:23:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 17:23:36 + grep -v github /etc/ssh/ssh_known_hosts 17:23:36 + [ -e /tmp/ssh_known_hosts ] 17:23:36 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 17:23:36 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 17:23:36 + sudo tee -a /etc/ssh/ssh_known_hosts 17:23:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:36 17:23:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:37 0.1.4: Pulling from edgex-devops/py-git-semver 17:23:37 b85a868b505f: Pulling fs layer 17:23:37 e2be974225ed: Pulling fs layer 17:23:37 339a4e72a1f5: Pulling fs layer 17:23:37 988bab9f4d93: Pulling fs layer 17:23:37 1469e6f7b9e6: Pulling fs layer 17:23:37 eaf3925da568: Pulling fs layer 17:23:37 bab4dde63d76: Pulling fs layer 17:23:37 bde34c3a00c8: Pulling fs layer 17:23:37 988bab9f4d93: Waiting 17:23:37 eaf3925da568: Waiting 17:23:37 1469e6f7b9e6: Waiting 17:23:37 bab4dde63d76: Waiting 17:23:37 b352a97aabf1: Pulling fs layer 17:23:37 4872d77fe225: Pulling fs layer 17:23:37 b352a97aabf1: Waiting 17:23:37 5851b861e8e6: Pulling fs layer 17:23:37 5851b861e8e6: Waiting 17:23:37 e2be974225ed: Verifying Checksum 17:23:37 e2be974225ed: Download complete 17:23:37 988bab9f4d93: Verifying Checksum 17:23:37 988bab9f4d93: Download complete 17:23:37 339a4e72a1f5: Verifying Checksum 17:23:37 339a4e72a1f5: Download complete 17:23:37 1469e6f7b9e6: Verifying Checksum 17:23:37 1469e6f7b9e6: Download complete 17:23:37 eaf3925da568: Verifying Checksum 17:23:37 eaf3925da568: Download complete 17:23:37 bde34c3a00c8: Verifying Checksum 17:23:37 bde34c3a00c8: Download complete 17:23:37 b352a97aabf1: Download complete 17:23:37 4872d77fe225: Download complete 17:23:37 5851b861e8e6: Verifying Checksum 17:23:37 5851b861e8e6: Download complete 17:23:37 b85a868b505f: Verifying Checksum 17:23:37 b85a868b505f: Download complete 17:23:37 bab4dde63d76: Verifying Checksum 17:23:37 bab4dde63d76: Download complete 17:23:38 b85a868b505f: Pull complete 17:23:38 e2be974225ed: Pull complete 17:23:39 339a4e72a1f5: Pull complete 17:23:39 988bab9f4d93: Pull complete 17:23:39 1469e6f7b9e6: Pull complete 17:23:39 eaf3925da568: Pull complete 17:23:41 bab4dde63d76: Pull complete 17:23:41 bde34c3a00c8: Pull complete 17:23:41 b352a97aabf1: Pull complete 17:23:41 4872d77fe225: Pull complete 17:23:41 5851b861e8e6: Pull complete 17:23:41 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 17:23:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 17:23:41 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:23:41 prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container 17:23:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 17:23:44 $ docker top 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 -eo pid,comm 17:23:44 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). 17:23:44 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 17:23:44 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:44 [ssh-agent] Looking for ssh-agent implementation... 17:23:44 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:44 $ docker exec 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 ssh-agent 17:23:44 SSH_AUTH_SOCK=/tmp/ssh-Gw4H5eHa5Yep/agent.32 17:23:44 SSH_AGENT_PID=39 17:23:44 Running ssh-add (command line suppressed) 17:23:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/private_key_12227460688771599673.key (/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/private_key_12227460688771599673.key) 17:23:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:45 + git tag --points-at HEAD [Pipeline] } 17:23:45 $ docker exec --env ******** --env ******** 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 ssh-agent -k 17:23:45 unset SSH_AUTH_SOCK; 17:23:45 unset SSH_AGENT_PID; 17:23:45 echo Agent pid 39 killed; 17:23:45 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 17:23:45 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 17:23:45 [ssh-agent] Looking for ssh-agent implementation... 17:23:45 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 17:23:45 $ docker exec 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 ssh-agent 17:23:45 SSH_AUTH_SOCK=/tmp/ssh-pZr5qqxeP4OM/agent.71 17:23:45 SSH_AGENT_PID=77 17:23:45 Running ssh-add (command line suppressed) 17:23:45 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/private_key_3988855799462624310.key (/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/private_key_3988855799462624310.key) 17:23:45 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 17:23:46 + git semver init 17:23:46 2023-09-20 17:23:46,492 [run_init] DEBUG init version:0.0.0 force:False 17:23:46 2023-09-20 17:23:46,492 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver 17:23:46 2023-09-20 17:23:46,493 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver 17:23:46 2023-09-20 17:23:46,493 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1517, universal_newlines=False, shell=None, istream=None) 17:23:47 2023-09-20 17:23:47,358 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517/.git/info/exclude 17:23:47 2023-09-20 17:23:47,358 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver/PR-1517 with force:False 17:23:47 2023-09-20 17:23:47,358 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver/PR-1517 17:23:47 2023-09-20 17:23:47,363 [execute] INFO git cat-file --batch-check 17:23:47 2023-09-20 17:23:47,363 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver, universal_newlines=False, shell=None, istream=) 17:23:47 2023-09-20 17:23:47,369 [execute] INFO git cat-file --batch 17:23:47 2023-09-20 17:23:47,370 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver, universal_newlines=False, shell=None, istream=) 17:23:47 2023-09-20 17:23:47,374 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1517/.semver/PR-1517 17:23:47 0.0.0 [Pipeline] } 17:23:47 $ docker exec --env ******** --env ******** 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 ssh-agent -k 17:23:47 unset SSH_AUTH_SOCK; 17:23:47 unset SSH_AGENT_PID; 17:23:47 echo Agent pid 77 killed; 17:23:47 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 17:23:48 + git semver [Pipeline] } 17:23:48 $ docker stop --time=1 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 17:23:50 $ docker rm -f --volumes 5bcbe6c095c679e2dc46ffadfd89e40283de9b2fdd66990e17980d19824b7e37 [Pipeline] // withDockerContainer [Pipeline] sh 17:23:50 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 17:23:50 Stashed 1 file(s) [Pipeline] echo 17:23:50 [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 17:23:51 provisioning config files... 17:23:51 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/config13238437813979833986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:23:51 ---> docker-login.sh 17:23:51 nexus3.edgexfoundry.org:10001 17:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:51 Configure a credential helper to remove this warning. See 17:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:51 17:23:51 Login Succeeded 17:23:51 nexus3.edgexfoundry.org:10002 17:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:51 Configure a credential helper to remove this warning. See 17:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:51 17:23:51 Login Succeeded 17:23:51 nexus3.edgexfoundry.org:10003 17:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:52 Configure a credential helper to remove this warning. See 17:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:52 17:23:52 Login Succeeded 17:23:52 nexus3.edgexfoundry.org:10004 17:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:52 Configure a credential helper to remove this warning. See 17:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:52 17:23:52 Login Succeeded 17:23:52 docker.io 17:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:23:52 Configure a credential helper to remove this warning. See 17:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:23:52 17:23:52 Login Succeeded 17:23:52 ---> docker-login.sh ends [Pipeline] } 17:23:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:23:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:23:52 ========================================================= 17:23:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 17:23:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:23:53 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 17:23:53 Sending build context to Docker daemon 11.18MB 17:23:53 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 17:23:53 Step 2/10 : FROM ${BASE} AS builder 17:23:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 17:23:53 7264a8db6415: Pulling fs layer 17:23:53 c4d48a809fc2: Pulling fs layer 17:23:53 4f1c88b9dad5: Pulling fs layer 17:23:53 ad3a456e5733: Pulling fs layer 17:23:53 33e27b845d1e: Pulling fs layer 17:23:53 c68163c4e522: Pulling fs layer 17:23:53 33e27b845d1e: Waiting 17:23:53 ad3a456e5733: Waiting 17:23:53 50da416c3ac9: Pulling fs layer 17:23:53 23d2d4c4bb30: Pulling fs layer 17:23:53 c68163c4e522: Waiting 17:23:53 23d2d4c4bb30: Waiting 17:23:53 50da416c3ac9: Waiting 17:23:53 c4d48a809fc2: Download complete 17:23:53 ad3a456e5733: Verifying Checksum 17:23:53 ad3a456e5733: Download complete 17:23:53 33e27b845d1e: Verifying Checksum 17:23:53 33e27b845d1e: Download complete 17:23:53 7264a8db6415: Download complete 17:23:53 c68163c4e522: Download complete 17:23:54 7264a8db6415: Pull complete 17:23:54 23d2d4c4bb30: Verifying Checksum 17:23:54 23d2d4c4bb30: Download complete 17:23:54 4f1c88b9dad5: Verifying Checksum 17:23:54 4f1c88b9dad5: Download complete 17:23:54 50da416c3ac9: Verifying Checksum 17:23:54 50da416c3ac9: Download complete 17:23:54 c4d48a809fc2: Pull complete 17:23:58 4f1c88b9dad5: Pull complete 17:23:58 ad3a456e5733: Pull complete 17:23:58 33e27b845d1e: Pull complete 17:23:58 c68163c4e522: Pull complete 17:24:00 50da416c3ac9: Pull complete 17:24:00 23d2d4c4bb30: Pull complete 17:24:01 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 17:24:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 17:24:01 ---> 0786185ac409 17:24:01 Step 3/10 : ARG MAKE=make build 17:24:05 ---> Running in 4c6b39c6d40c 17:24:05 Removing intermediate container 4c6b39c6d40c 17:24:05 ---> e5428b05a60f 17:24:05 Step 4/10 : WORKDIR /device-sdk-go 17:24:05 ---> Running in 4322f8813cd4 17:24:05 Removing intermediate container 4322f8813cd4 17:24:05 ---> f7277ff5130d 17:24:05 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:24:05 ---> Running in 9c9c68d2702c 17:24:05 Removing intermediate container 9c9c68d2702c 17:24:05 ---> 37427e6d235e 17:24:05 Step 6/10 : RUN apk add --update --no-cache make git 17:24:05 ---> Running in 23c3c73b180e 17:24:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:24:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:24:05 OK: 264 MiB in 52 packages 17:24:06 Removing intermediate container 23c3c73b180e 17:24:06 ---> 9fa7a2e67466 17:24:06 Step 7/10 : COPY go.mod vendor* ./ 17:24:06 ---> c70cc2049405 17:24:06 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:24:06 ---> Running in 35a07769add2 17:24:06 Still waiting to schedule task 17:24:06 ‘prd-centos7-blackbox-4c-2g-6296’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:24:06 ‘prd-centos7-blackbox-4c-2g-6297’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 17:24:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6741’ is offline 17:24:06 ‘prd-ubuntu20.04-docker-arm64-4c-16g-6742’ is offline 17:24:38 Removing intermediate container 35a07769add2 17:24:38 ---> 2008c7c4f46a 17:24:38 Step 9/10 : COPY . . 17:24:38 ---> c7eccd2ac02f 17:24:38 Step 10/10 : RUN ${MAKE} 17:24:38 ---> Running in 424257806bdf 17:24:38 noop 17:24:38 Removing intermediate container 424257806bdf 17:24:38 ---> 98bc9b6aaf2f 17:24:38 Successfully built 98bc9b6aaf2f 17:24:38 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:38 + docker inspect -f . ci-base-image-x86_64 17:24:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:38 prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container 17:24:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:39 $ docker top 6deeb339124d669b4568dfb16b0717663db31b9cfa1d39ebccfd1c31eea908e2 -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:39 + go version 17:24:39 go version go1.21.0 linux/amd64 [Pipeline] } 17:24:39 $ docker stop --time=1 6deeb339124d669b4568dfb16b0717663db31b9cfa1d39ebccfd1c31eea908e2 17:24:41 $ docker rm -f --volumes 6deeb339124d669b4568dfb16b0717663db31b9cfa1d39ebccfd1c31eea908e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:24:41 + docker inspect -f . ci-base-image-x86_64 17:24:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:24:41 prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container 17:24:41 $ 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-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 17:24:42 $ docker top c67862a3857df49f4356e904bff40c46a78bca1bed3cf2398a6dfe2642c2316a -eo pid,comm [Pipeline] { [Pipeline] sh 17:24:42 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1517 [Pipeline] fileExists [Pipeline] sh 17:24:43 + make test 17:24:43 go test -race -coverprofile=coverage.out ./... 17:24:51 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:25:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:25:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:25:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:25:06 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:25:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:25:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:25:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:25:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.042s coverage: 27.6% of statements 17:25:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.071s coverage: 80.2% of statements 17:25:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.073s coverage: 86.0% of statements 17:25:06 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:25:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:25:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:25:07 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.084s coverage: 71.8% of statements 17:25:07 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:25:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.066s coverage: 14.4% of statements 17:25:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.106s coverage: 45.6% of statements 17:25:11 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.065s coverage: 68.5% of statements 17:25:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.115s coverage: 89.2% of statements 17:25:11 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements 17:25:29 GO111MODULE=on go vet ./... 17:25:32 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:25:32 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:25:32 ./bin/test-attribution-txt.sh [Pipeline] echo 17:25:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:25:32 $ docker stop --time=1 c67862a3857df49f4356e904bff40c46a78bca1bed3cf2398a6dfe2642c2316a 17:25:35 $ docker rm -f --volumes c67862a3857df49f4356e904bff40c46a78bca1bed3cf2398a6dfe2642c2316a [Pipeline] // withDockerContainer [Pipeline] sh 17:25:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:25:36 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 17:25:36 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:25:37 + ls -al . 17:25:37 total 304 17:25:37 drwxrwxr-x 11 jenkins jenkins 4096 Sep 20 17:24 . 17:25:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 .. 17:25:37 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:23 .dockerignore 17:25:37 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:25 .git 17:25:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:23 .github 17:25:37 -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 17:23 .gitignore 17:25:37 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 17:23 .golangci.yml 17:25:37 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:23 .semver 17:25:37 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 17:23 CHANGELOG.md 17:25:37 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:23 GOVERNANCE.md 17:25:37 -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 17:23 Jenkinsfile 17:25:37 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 17:23 LICENSE 17:25:37 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 17:23 Makefile 17:25:37 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 17:23 OWNERS.md 17:25:37 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 17:23 README.md 17:25:37 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION 17:25:37 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:23 bin 17:25:37 -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 17:25 coverage.out 17:25:37 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 17:23 example 17:25:37 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 17:23 go.mod 17:25:37 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 17:23 go.sum 17:25:37 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:23 internal 17:25:37 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:23 openapi 17:25:37 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 17:23 pkg 17:25:37 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:23 snap 17:25:37 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 17:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:25:37 + 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=526596b2a1c7dd5155db82aafa89415c2e504d1d --label arch=amd64 --label version=0.0.0 . 17:25:37 Sending build context to Docker daemon 11.3MB 17:25:37 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 17:25:37 Step 2/23 : FROM ${BASE} AS builder 17:25:37 ---> 98bc9b6aaf2f 17:25:37 Step 3/23 : ARG MAKE=make build 17:25:37 ---> Running in 82352a1cb4e6 17:25:37 Removing intermediate container 82352a1cb4e6 17:25:37 ---> e9ccd66cfb64 17:25:37 Step 4/23 : WORKDIR /device-sdk-go 17:25:37 ---> Running in ccfaa2d46245 17:25:37 Removing intermediate container ccfaa2d46245 17:25:37 ---> e675370abc6a 17:25:37 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:25:38 ---> Running in aaef96b0901c 17:25:38 Removing intermediate container aaef96b0901c 17:25:38 ---> 217434f78805 17:25:38 Step 6/23 : RUN apk add --update --no-cache make git 17:25:38 ---> Running in d7bd7674211b 17:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:25:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:25:38 OK: 264 MiB in 52 packages 17:25:39 Removing intermediate container d7bd7674211b 17:25:39 ---> a9076c80bcb7 17:25:39 Step 7/23 : COPY go.mod vendor* ./ 17:25:39 ---> 2aaf0ca38fb5 17:25:39 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:25:39 ---> Running in 0fb2b08467ed 17:25:39 Removing intermediate container 0fb2b08467ed 17:25:39 ---> ab048b100ff8 17:25:39 Step 9/23 : COPY . . 17:25:40 ---> 6b71f264d4b4 17:25:40 Step 10/23 : RUN ${MAKE} 17:25:40 ---> Running in e0faa69577b3 17:25:40 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 17:26:02 Removing intermediate container e0faa69577b3 17:26:02 ---> 3136f89bf4f2 17:26:02 Step 11/23 : FROM alpine:3.18 17:26:02 3.18: Pulling from library/alpine 17:26:02 7264a8db6415: Already exists 17:26:02 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:26:02 Status: Downloaded newer image for alpine:3.18 17:26:02 ---> 7e01a0d0a1dc 17:26:02 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:26:02 ---> Running in 2fee881a8192 17:26:02 Removing intermediate container 2fee881a8192 17:26:02 ---> 18c53f242f8e 17:26:02 Step 13/23 : RUN apk add --update --no-cache 17:26:02 ---> Running in c932e188abf7 17:26:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 17:26:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 17:26:02 OK: 7 MiB in 15 packages 17:26:02 Removing intermediate container c932e188abf7 17:26:02 ---> 24a68f0a3407 17:26:02 Step 14/23 : WORKDIR / 17:26:02 ---> Running in b82d1eb70f48 17:26:02 Removing intermediate container b82d1eb70f48 17:26:02 ---> 65b73a4e60cc 17:26:02 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:26:02 ---> 1c7a20bca554 17:26:02 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:26:02 ---> 641eddac0d03 17:26:02 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:26:02 ---> c67e9cc6550e 17:26:02 Step 18/23 : EXPOSE 59999 17:26:02 ---> Running in 881116cfc6f0 17:26:02 Removing intermediate container 881116cfc6f0 17:26:02 ---> c570085921fb 17:26:02 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:26:02 ---> Running in 9cbdb33a5ccc 17:26:02 Removing intermediate container 9cbdb33a5ccc 17:26:02 ---> 3dfe8493bffa 17:26:02 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:26:02 ---> Running in e6be4449dc0f 17:26:02 Removing intermediate container e6be4449dc0f 17:26:02 ---> c13805b3af54 17:26:02 Step 21/23 : LABEL arch=amd64 17:26:02 ---> Running in 42b8a99f5d0c 17:26:03 Removing intermediate container 42b8a99f5d0c 17:26:03 ---> 84cc3c0e80d4 17:26:03 Step 22/23 : LABEL git_sha=526596b2a1c7dd5155db82aafa89415c2e504d1d 17:26:03 ---> Running in b85e82e88e3b 17:26:03 Removing intermediate container b85e82e88e3b 17:26:03 ---> 4b934e4baad1 17:26:03 Step 23/23 : LABEL version=0.0.0 17:26:03 ---> Running in d544d7a68a86 17:26:03 Removing intermediate container d544d7a68a86 17:26:03 ---> 78721cfaa753 17:26:03 [Warning] One or more build-args [ARCH] were not consumed 17:26:03 Successfully built 78721cfaa753 17:26:03 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 17:26:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:03 17:26:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:26:04 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:04 latest: Pulling from edgex-lftools-log-publisher 17:26:04 5eb5b503b376: Pulling fs layer 17:26:04 5c69ac0246d0: Pulling fs layer 17:26:04 ec43610c2a17: Pulling fs layer 17:26:04 3a2ae6a8a46f: Pulling fs layer 17:26:04 33b1e0a273af: Pulling fs layer 17:26:04 5d3b04190fa2: Pulling fs layer 17:26:04 2f39f015ded8: Pulling fs layer 17:26:04 33b1e0a273af: Waiting 17:26:04 5d3b04190fa2: Waiting 17:26:04 2f39f015ded8: Waiting 17:26:04 3a2ae6a8a46f: Waiting 17:26:04 5c69ac0246d0: Verifying Checksum 17:26:04 5c69ac0246d0: Download complete 17:26:04 3a2ae6a8a46f: Verifying Checksum 17:26:04 3a2ae6a8a46f: Download complete 17:26:04 33b1e0a273af: Verifying Checksum 17:26:04 33b1e0a273af: Download complete 17:26:04 5d3b04190fa2: Verifying Checksum 17:26:04 5d3b04190fa2: Download complete 17:26:04 ec43610c2a17: Verifying Checksum 17:26:04 ec43610c2a17: Download complete 17:26:04 5eb5b503b376: Verifying Checksum 17:26:04 5eb5b503b376: Download complete 17:26:05 2f39f015ded8: Download complete 17:26:05 5eb5b503b376: Pull complete 17:26:05 5c69ac0246d0: Pull complete 17:26:06 ec43610c2a17: Pull complete 17:26:06 3a2ae6a8a46f: Pull complete 17:26:06 33b1e0a273af: Pull complete 17:26:06 5d3b04190fa2: Pull complete 17:26:10 2f39f015ded8: Pull complete 17:26:11 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 17:26:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:26:11 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:26:11 prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container 17:26:11 $ 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-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:26:14 $ docker top 39a863189bd973718c2eb8b91c66c500a96ef8dccd80c9de8fd10699674cf394 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:26:15 ---> job-cost.sh 17:26:15 lf-activate-venv: SKIPPING 17:26:15 INFO: No Stack... 17:26:15 INFO: Retrieving Pricing Info for: v3-standard-8 17:26:15 INFO: Archiving Costs [Pipeline] sh 17:26:15 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives/cost.csv 17:26:15 + cut -d, -f6 [Pipeline] lock 17:26:15 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] 17:26:15 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] did not exist. Created. 17:26:15 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:26:16 + echo total: 0.2199999988079071 [Pipeline] stash 17:26:16 Stashed 1 file(s) [Pipeline] } 17:26:16 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:26:16 $ docker stop --time=1 39a863189bd973718c2eb8b91c66c500a96ef8dccd80c9de8fd10699674cf394 17:26:17 $ docker rm -f --volumes 39a863189bd973718c2eb8b91c66c500a96ef8dccd80c9de8fd10699674cf394 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 17:27:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6754 in /w/workspace/gexfoundry_device-sdk-go_PR-1517 [Pipeline] { [Pipeline] ws 17:27:12 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 17:27:12 The recommended git tool is: git 17:27:22 using credential edgex-jenkins-ssh 17:27:22 Cloning the remote Git repository 17:27:22 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 17:27:23 > git init /w/workspace/device-sdk-go/1 # timeout=10 17:27:23 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:27:23 > git --version # timeout=10 17:27:23 > git --version # 'git version 2.25.1' 17:27:23 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:23 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:26 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:27:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 17:27:27 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 17:27:27 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 17:27:27 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:28 Merging remotes/origin/main commit c9092965fc0e73fdbee605785b6ca16e2186cbeb into PR head commit 526596b2a1c7dd5155db82aafa89415c2e504d1d 17:27:29 Merge succeeded, producing 526596b2a1c7dd5155db82aafa89415c2e504d1d 17:27:29 Checking out Revision 526596b2a1c7dd5155db82aafa89415c2e504d1d (PR-1517) 17:27:27 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1517/head:refs/remotes/origin/PR-1517 +refs/heads/main:refs/remotes/origin/main # timeout=10 17:27:28 > git config core.sparsecheckout # timeout=10 17:27:28 > git checkout -f 526596b2a1c7dd5155db82aafa89415c2e504d1d # timeout=10 17:27:29 > git remote # timeout=10 17:27:29 > git config --get remote.origin.url # timeout=10 17:27:29 using GIT_SSH to set credentials SSH Credentials for GitHub 17:27:29 > git merge c9092965fc0e73fdbee605785b6ca16e2186cbeb # timeout=10 17:27:29 > git rev-parse HEAD^{commit} # timeout=10 17:27:29 > git config core.sparsecheckout # timeout=10 17:27:29 > git checkout -f 526596b2a1c7dd5155db82aafa89415c2e504d1d # timeout=10 17:27:33 Commit message: "ci: add automated release workflow on tag creation" 17:27:33 > git --version # timeout=10 17:27:33 > git --version # 'git version 2.25.1' 17:27:33 fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 17:27:35 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 17:27:35 % Total % Received % Xferd Average Speed Time Time Time Current 17:27:35 Dload Upload Total Spent Left Speed 17:27:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 148k 0 --:--:-- --:--:-- --:--:-- 148k [Pipeline] sh 17:27:36 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 17:27:36 + sudo tee /etc/docker/daemon.new 17:27:36 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 17:27:36 { 17:27:36 "registry-mirrors": [ 17:27:36 "https://nexus3.edgexfoundry.org:10001" 17:27:36 ], 17:27:36 "bip": "10.250.0.254/24", 17:27:36 "hosts": [ 17:27:36 "tcp://0.0.0.0:5555", 17:27:36 "unix:///var/run/docker.sock" 17:27:36 ], 17:27:36 "mtu": 1458, 17:27:36 "selinux-enabled": true, 17:27:36 "seccomp-profile": "/etc/docker/seccomp.json" 17:27:36 } [Pipeline] sh 17:27:37 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 17:27:37 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:27:56 provisioning config files... 17:27:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13541406132345904552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:27:56 ---> docker-login.sh 17:27:56 nexus3.edgexfoundry.org:10001 17:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:57 Configure a credential helper to remove this warning. See 17:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:57 17:27:57 Login Succeeded 17:27:57 nexus3.edgexfoundry.org:10002 17:27:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:57 Configure a credential helper to remove this warning. See 17:27:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:57 17:27:57 Login Succeeded 17:27:57 nexus3.edgexfoundry.org:10003 17:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:58 Configure a credential helper to remove this warning. See 17:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:58 17:27:58 Login Succeeded 17:27:58 nexus3.edgexfoundry.org:10004 17:27:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:58 Configure a credential helper to remove this warning. See 17:27:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:58 17:27:58 Login Succeeded 17:27:58 docker.io 17:27:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 17:27:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 17:27:59 Configure a credential helper to remove this warning. See 17:27:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 17:27:59 17:27:59 Login Succeeded 17:27:59 ---> docker-login.sh ends [Pipeline] } 17:27:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 17:27:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 17:27:59 ========================================================= 17:27:59 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 17:27:59 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:28:00 + 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.21-alpine --build-arg MAKE=echo noop --target=builder . 17:28:01 Sending build context to Docker daemon 5.976MB 17:28:01 Step 1/10 : ARG BASE=golang:1.21-alpine3.18 17:28:01 Step 2/10 : FROM ${BASE} AS builder 17:28:01 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 17:28:01 9fda8d8052c6: Pulling fs layer 17:28:01 5d54e960e981: Pulling fs layer 17:28:01 c4a7e357bf2a: Pulling fs layer 17:28:01 f0e02332f6b5: Pulling fs layer 17:28:01 cefa15bbcfad: Pulling fs layer 17:28:01 17808c966233: Pulling fs layer 17:28:01 f4c1fc716caa: Pulling fs layer 17:28:01 f0e02332f6b5: Waiting 17:28:01 cefa15bbcfad: Waiting 17:28:01 17808c966233: Waiting 17:28:01 f4c1fc716caa: Waiting 17:28:01 5d54e960e981: Download complete 17:28:01 f0e02332f6b5: Verifying Checksum 17:28:01 f0e02332f6b5: Download complete 17:28:01 cefa15bbcfad: Verifying Checksum 17:28:01 cefa15bbcfad: Download complete 17:28:01 9fda8d8052c6: Verifying Checksum 17:28:01 9fda8d8052c6: Download complete 17:28:02 f4c1fc716caa: Verifying Checksum 17:28:02 f4c1fc716caa: Download complete 17:28:02 9fda8d8052c6: Pull complete 17:28:03 5d54e960e981: Pull complete 17:28:03 c4a7e357bf2a: Verifying Checksum 17:28:03 c4a7e357bf2a: Download complete 17:28:04 17808c966233: Verifying Checksum 17:28:04 17808c966233: Download complete 17:28:16 c4a7e357bf2a: Pull complete 17:28:16 f0e02332f6b5: Pull complete 17:28:16 cefa15bbcfad: Pull complete 17:28:22 17808c966233: Pull complete 17:28:23 f4c1fc716caa: Pull complete 17:28:23 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 17:28:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 17:28:23 ---> ea914061e18c 17:28:23 Step 3/10 : ARG MAKE=make build 17:28:26 ---> Running in ccb45b6ab9c2 17:28:26 Removing intermediate container ccb45b6ab9c2 17:28:26 ---> 268e2ef19b2a 17:28:26 Step 4/10 : WORKDIR /device-sdk-go 17:28:26 ---> Running in 11d94d873080 17:28:27 Removing intermediate container 11d94d873080 17:28:27 ---> 98f307f6d86c 17:28:27 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:28:27 ---> Running in ff9b0eaace60 17:28:27 Removing intermediate container ff9b0eaace60 17:28:27 ---> 0ca7a41c3f54 17:28:27 Step 6/10 : RUN apk add --update --no-cache make git 17:28:27 ---> Running in 85c0f3f3c0ba 17:28:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:28:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:28:30 OK: 266 MiB in 52 packages 17:28:31 Removing intermediate container 85c0f3f3c0ba 17:28:31 ---> bcdaedf3a86c 17:28:31 Step 7/10 : COPY go.mod vendor* ./ 17:28:32 ---> 7a75c8dad019 17:28:32 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:28:32 ---> Running in c291bdbfb21b 17:29:54 Removing intermediate container c291bdbfb21b 17:29:54 ---> f979b5572f7c 17:29:54 Step 9/10 : COPY . . 17:29:54 ---> 04eb8d3e8f6b 17:29:54 Step 10/10 : RUN ${MAKE} 17:29:54 ---> Running in c7fc20eac77f 17:29:54 noop 17:29:54 Removing intermediate container c7fc20eac77f 17:29:54 ---> 9d046bb39ad5 17:29:54 Successfully built 9d046bb39ad5 17:29:54 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:29:54 + docker inspect -f . ci-base-image-arm64 17:29:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:29:55 prd-ubuntu20.04-docker-arm64-4c-16g-6754 does not seem to be running inside a container 17:29:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:29:56 $ docker top d3fbee1bd92c37d8af83d6ebfbc3314e52d6eeabfd4900bfb4a68ede6e02fb98 -eo pid,comm [Pipeline] { [Pipeline] sh 17:29:57 + go version 17:29:57 go version go1.21.0 linux/arm64 [Pipeline] } 17:29:57 $ docker stop --time=1 d3fbee1bd92c37d8af83d6ebfbc3314e52d6eeabfd4900bfb4a68ede6e02fb98 17:29:59 $ docker rm -f --volumes d3fbee1bd92c37d8af83d6ebfbc3314e52d6eeabfd4900bfb4a68ede6e02fb98 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:30:00 + docker inspect -f . ci-base-image-arm64 17:30:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:30:00 prd-ubuntu20.04-docker-arm64-4c-16g-6754 does not seem to be running inside a container 17:30:01 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 17:30:02 $ docker top 3c17a6ed55cf8ea718e7d8f2c6531ec5437077e0e770b234e4fcbfda3fd6b830 -eo pid,comm [Pipeline] { [Pipeline] sh 17:30:03 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 17:30:04 + make test 17:30:04 go test -race -coverprofile=coverage.out ./... 17:31:00 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 17:33:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 17:33:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 17:33:23 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 17:33:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 17:33:23 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 17:33:26 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.251s coverage: 27.6% of statements 17:33:33 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.317s coverage: 80.2% of statements 17:33:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 17:33:48 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 17:33:48 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.376s coverage: 86.0% of statements 17:33:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 17:33:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.495s coverage: 71.8% of statements 17:33:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.339s coverage: 14.4% of statements 17:33:57 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.910s coverage: 45.6% of statements 17:33:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 17:33:59 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 17:34:00 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.583s coverage: 68.5% of statements 17:34:03 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.509s coverage: 89.2% of statements 17:34:05 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 17:34:06 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.283s coverage: 5.5% of statements 17:34:07 WARNING: Linting skipped (not on x86_64 or linter not installed) 17:34:07 GO111MODULE=on go vet ./... 17:36:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 17:36:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 17:36:14 ./bin/test-attribution-txt.sh [Pipeline] echo 17:36:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 17:36:14 $ docker stop --time=1 3c17a6ed55cf8ea718e7d8f2c6531ec5437077e0e770b234e4fcbfda3fd6b830 17:36:16 $ docker rm -f --volumes 3c17a6ed55cf8ea718e7d8f2c6531ec5437077e0e770b234e4fcbfda3fd6b830 [Pipeline] // withDockerContainer [Pipeline] sh 17:36:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 17:36:18 Warning: overwriting stash ‘coverage-report’ 17:36:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 17:36:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 17:36:20 + ls -al . 17:36:20 total 300 17:36:20 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 17:30 . 17:36:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 .. 17:36:20 -rw-rw-r-- 1 jenkins jenkins 140 Sep 20 17:27 .dockerignore 17:36:20 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 17:27 .git 17:36:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:27 .github 17:36:20 -rw-rw-r-- 1 jenkins jenkins 137 Sep 20 17:27 .gitignore 17:36:20 -rw-rw-r-- 1 jenkins jenkins 42 Sep 20 17:27 .golangci.yml 17:36:20 -rw-rw-r-- 1 jenkins jenkins 44878 Sep 20 17:27 CHANGELOG.md 17:36:20 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 17:27 GOVERNANCE.md 17:36:20 -rw-rw-r-- 1 jenkins jenkins 885 Sep 20 17:27 Jenkinsfile 17:36:20 -rw-rw-r-- 1 jenkins jenkins 11341 Sep 20 17:27 LICENSE 17:36:20 -rw-rw-r-- 1 jenkins jenkins 1842 Sep 20 17:27 Makefile 17:36:20 -rw-rw-r-- 1 jenkins jenkins 619 Sep 20 17:27 OWNERS.md 17:36:20 -rw-rw-r-- 1 jenkins jenkins 4933 Sep 20 17:27 README.md 17:36:20 -rw-rw-r-- 1 jenkins jenkins 5 Sep 20 17:23 VERSION 17:36:20 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 17:27 bin 17:36:20 -rw-r--r-- 1 jenkins jenkins 121385 Sep 20 17:34 coverage.out 17:36:20 drwxrwxr-x 5 jenkins jenkins 4096 Sep 20 17:27 example 17:36:20 -rw-rw-r-- 1 jenkins jenkins 3722 Sep 20 17:27 go.mod 17:36:20 -rw-rw-r-- 1 jenkins jenkins 34806 Sep 20 17:27 go.sum 17:36:20 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:27 internal 17:36:20 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 17:27 openapi 17:36:20 drwxrwxr-x 6 jenkins jenkins 4096 Sep 20 17:27 pkg 17:36:20 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 17:27 snap 17:36:20 -rw-rw-r-- 1 jenkins jenkins 222 Sep 20 17:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:36:20 + 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=526596b2a1c7dd5155db82aafa89415c2e504d1d --label arch=arm64 --label version=0.0.0 . 17:36:21 Sending build context to Docker daemon 6.098MB 17:36:21 Step 1/23 : ARG BASE=golang:1.21-alpine3.18 17:36:21 Step 2/23 : FROM ${BASE} AS builder 17:36:21 ---> 9d046bb39ad5 17:36:21 Step 3/23 : ARG MAKE=make build 17:36:21 ---> Running in af668a52cfcb 17:36:21 Removing intermediate container af668a52cfcb 17:36:21 ---> e133323480cc 17:36:21 Step 4/23 : WORKDIR /device-sdk-go 17:36:21 ---> Running in ecca2e2612d6 17:36:21 Removing intermediate container ecca2e2612d6 17:36:21 ---> 7b04fff77eea 17:36:21 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 17:36:21 ---> Running in 972ccf8534be 17:36:22 Removing intermediate container 972ccf8534be 17:36:22 ---> 1f562a654e02 17:36:22 Step 6/23 : RUN apk add --update --no-cache make git 17:36:22 ---> Running in 1e788797f2f2 17:36:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:36:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:36:26 OK: 266 MiB in 52 packages 17:36:26 Removing intermediate container 1e788797f2f2 17:36:26 ---> efa75d6b39f6 17:36:26 Step 7/23 : COPY go.mod vendor* ./ 17:36:27 ---> 6efb325cdf71 17:36:27 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 17:36:27 ---> Running in 993fe9eeb9e5 17:36:30 Removing intermediate container 993fe9eeb9e5 17:36:30 ---> a688c3fc3ef6 17:36:30 Step 9/23 : COPY . . 17:36:31 ---> cd3a32191ead 17:36:31 Step 10/23 : RUN ${MAKE} 17:36:31 ---> Running in b13fb41cfcaa 17:36:32 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 17:38:39 Removing intermediate container b13fb41cfcaa 17:38:39 ---> f8a23f55bd1d 17:38:39 Step 11/23 : FROM alpine:3.18 17:38:39 3.18: Pulling from library/alpine 17:38:39 9fda8d8052c6: Already exists 17:38:39 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 17:38:39 Status: Downloaded newer image for alpine:3.18 17:38:39 ---> f6648c04cd6c 17:38:39 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 17:38:39 ---> Running in b6c278e92f8e 17:38:39 Removing intermediate container b6c278e92f8e 17:38:39 ---> 4b19f14b0170 17:38:39 Step 13/23 : RUN apk add --update --no-cache 17:38:39 ---> Running in 73c5e5da5421 17:38:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 17:38:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 17:38:39 OK: 8 MiB in 15 packages 17:38:39 Removing intermediate container 73c5e5da5421 17:38:39 ---> 302c1bcd0cf0 17:38:39 Step 14/23 : WORKDIR / 17:38:39 ---> Running in 1747aac76bec 17:38:39 Removing intermediate container 1747aac76bec 17:38:39 ---> bbf4dcebf12c 17:38:39 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 17:38:39 ---> 60d9f6e3cf73 17:38:39 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 17:38:39 ---> 8da28cb9de34 17:38:39 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 17:38:39 ---> f4f5c904c2bb 17:38:39 Step 18/23 : EXPOSE 59999 17:38:39 ---> Running in 748d65ec3920 17:38:39 Removing intermediate container 748d65ec3920 17:38:39 ---> 8eb6dc318885 17:38:39 Step 19/23 : ENTRYPOINT ["/device-simple"] 17:38:39 ---> Running in 6bb88057c210 17:38:39 Removing intermediate container 6bb88057c210 17:38:39 ---> 34cab3b66950 17:38:39 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 17:38:39 ---> Running in 4c5276825b7c 17:38:39 Removing intermediate container 4c5276825b7c 17:38:39 ---> 305e5c6fca34 17:38:39 Step 21/23 : LABEL arch=arm64 17:38:39 ---> Running in e63aeee2989e 17:38:40 Removing intermediate container e63aeee2989e 17:38:40 ---> 6a1e1e5521b3 17:38:40 Step 22/23 : LABEL git_sha=526596b2a1c7dd5155db82aafa89415c2e504d1d 17:38:40 ---> Running in 43b45ce7ed53 17:38:40 Removing intermediate container 43b45ce7ed53 17:38:40 ---> 9529236cc961 17:38:40 Step 23/23 : LABEL version=0.0.0 17:38:40 ---> Running in dd22e3da92db 17:38:40 Removing intermediate container dd22e3da92db 17:38:40 ---> 544260a61c7a 17:38:40 [Warning] One or more build-args [ARCH] were not consumed 17:38:40 Successfully built 544260a61c7a 17:38:40 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 17:38:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:41 17:38:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:38:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:38:42 arm64: Pulling from edgex-lftools-log-publisher 17:38:42 8998bd30e6a1: Pulling fs layer 17:38:42 04944245beec: Pulling fs layer 17:38:42 699f458cf7ca: Pulling fs layer 17:38:42 765212b225bb: Pulling fs layer 17:38:42 f23df028b6ca: Pulling fs layer 17:38:42 d65c8cfc05b1: Pulling fs layer 17:38:42 2437ff75d9bd: Pulling fs layer 17:38:42 765212b225bb: Waiting 17:38:42 f23df028b6ca: Waiting 17:38:42 2437ff75d9bd: Waiting 17:38:42 d65c8cfc05b1: Waiting 17:38:42 04944245beec: Verifying Checksum 17:38:42 04944245beec: Download complete 17:38:42 765212b225bb: Download complete 17:38:42 f23df028b6ca: Download complete 17:38:42 d65c8cfc05b1: Verifying Checksum 17:38:42 d65c8cfc05b1: Download complete 17:38:42 699f458cf7ca: Verifying Checksum 17:38:42 699f458cf7ca: Download complete 17:38:43 8998bd30e6a1: Verifying Checksum 17:38:43 8998bd30e6a1: Download complete 17:38:45 2437ff75d9bd: Verifying Checksum 17:38:45 2437ff75d9bd: Download complete 17:38:47 8998bd30e6a1: Pull complete 17:38:47 04944245beec: Pull complete 17:38:48 699f458cf7ca: Pull complete 17:38:49 765212b225bb: Pull complete 17:38:49 f23df028b6ca: Pull complete 17:38:49 d65c8cfc05b1: Pull complete 17:39:04 2437ff75d9bd: Pull complete 17:39:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 17:39:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 17:39:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:05 prd-ubuntu20.04-docker-arm64-4c-16g-6754 does not seem to be running inside a container 17:39:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 17:39:08 $ docker top de4079c29ac0ca0aa4a6c0f14096fdd521d68b417b1b6cd94b5a737b0d197ebb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 17:39:09 ---> job-cost.sh 17:39:09 lf-activate-venv: SKIPPING 17:39:09 INFO: No Stack... 17:39:09 INFO: Retrieving Pricing Info for: v3-standard-4 17:39:10 INFO: Archiving Costs [Pipeline] sh 17:39:11 + cut -d, -f6 17:39:11 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 17:39:11 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] 17:39:11 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] did not exist. Created. 17:39:11 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 17:39:11 /w/workspace/device-sdk-go/1@tmp/durable-8d2f0a50/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 17:39:12 + echo total: 0.10999999940395355 [Pipeline] stash 17:39:12 Warning: overwriting stash ‘stack-cost’ 17:39:12 Stashed 1 file(s) [Pipeline] } 17:39:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1517-1-stack-cost] [Pipeline] // lock [Pipeline] } 17:39:12 $ docker stop --time=1 de4079c29ac0ca0aa4a6c0f14096fdd521d68b417b1b6cd94b5a737b0d197ebb 17:39:14 $ docker rm -f --volumes de4079c29ac0ca0aa4a6c0f14096fdd521d68b417b1b6cd94b5a737b0d197ebb [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 17:39:15 provisioning config files... 17:39:15 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/config13391418993224154403tmp [Pipeline] { [Pipeline] sh 17:39:15 + set +x 17:39:15 + curl -s https://codecov.io/bash 17:39:15 + bash -s -- 17:39:15 17:39:15 _____ _ 17:39:15 / ____| | | 17:39:15 | | ___ __| | ___ ___ _____ __ 17:39:15 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 17:39:15 | |___| (_) | (_| | __/ (_| (_) \ V / 17:39:15 \_____\___/ \__,_|\___|\___\___/ \_/ 17:39:15 Bash-1.0.6 17:39:15 17:39:15 17:39:15 ==> git version 2.25.1 found 17:39:15 ==> 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 17:39:15 Release-Date: 2020-01-08 17:39:15 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 17:39:15 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 17:39:15 ==> Jenkins CI detected. 17:39:15 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1517 17:39:15 project root: . 17:39:15 --> token set from env 17:39:15 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 17:39:15 ==> Running gcov in . (disable via -X gcov) 17:39:15 ==> Python coveragepy not found 17:39:15 ==> Searching for coverage reports in: 17:39:15 + . 17:39:15 -> Found 1 reports 17:39:15 ==> Detecting git/mercurial file structure 17:39:15 ==> Reading reports 17:39:15 + ./coverage.out bytes=121385 17:39:15 ==> Appending adjustments 17:39:15 https://docs.codecov.io/docs/fixing-reports 17:39:16 + Found adjustments 17:39:16 ==> Gzipping contents 17:39:16 20K /tmp/codecov.VQrHIj.gz 17:39:16 ==> Uploading reports 17:39:16 url: https://codecov.io 17:39:16 query: branch=PR-1517&commit=526596b2a1c7dd5155db82aafa89415c2e504d1d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1517%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1517&job=&cmd_args= 17:39:16 -> Pinging Codecov 17:39:16 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1517&commit=526596b2a1c7dd5155db82aafa89415c2e504d1d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1517%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1517&job=&cmd_args= 17:39:16 -> Uploading to 17:39:16 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/7E55EF52A471D76F132DFD9A03CDDE97/526596b2a1c7dd5155db82aafa89415c2e504d1d/62c2cc96-3429-40ee-b5cf-d55467f609ef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T173916Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cafdd65ec0f7b29b6864fbeea8f9e657ce1d36c572b33eabf77f9878218aae9c 17:39:16 % Total % Received % Xferd Average Speed Time Time Time Current 17:39:16 Dload Upload Total Spent Left Speed 17:39:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16545 0 0 100 16545 0 83560 --:--:-- --:--:-- --:--:-- 83560 17:39:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/526596b2a1c7dd5155db82aafa89415c2e504d1d [Pipeline] } 17:39:16 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 17:39:18 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives ] 17:39:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives 17:39:18 total 16 17:39:18 drwxr-xr-x 3 root root 4096 Sep 20 17:26 . 17:39:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:26 .. 17:39:18 drwxr-xr-x 2 root root 4096 Sep 20 17:26 cost 17:39:18 -rw-r--r-- 1 root root 86 Sep 20 17:26 cost.csv 17:39:18 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives 17:39:18 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives 17:39:18 total 16 17:39:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 17:26 . 17:39:18 drwxrwxr-x 12 jenkins jenkins 4096 Sep 20 17:26 .. 17:39:18 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 17:26 cost 17:39:18 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 17:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 17:39:18 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 17:39:19 ---> package-listing.sh 17:39:19 ++ facter osfamily 17:39:19 ++ tr '[:upper:]' '[:lower:]' 17:39:19 + OS_FAMILY=debian 17:39:19 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1517 17:39:19 + START_PACKAGES=/tmp/packages_start.txt 17:39:19 + END_PACKAGES=/tmp/packages_end.txt 17:39:19 + DIFF_PACKAGES=/tmp/packages_diff.txt 17:39:19 + PACKAGES=/tmp/packages_start.txt 17:39:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1517 ']' 17:39:19 + PACKAGES=/tmp/packages_end.txt 17:39:19 + case "${OS_FAMILY}" in 17:39:19 + dpkg -l 17:39:19 + grep '^ii' 17:39:19 + '[' -f /tmp/packages_start.txt ']' 17:39:19 + '[' -f /tmp/packages_end.txt ']' 17:39:19 + diff /tmp/packages_start.txt /tmp/packages_end.txt 17:39:19 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1517 ']' 17:39:19 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives/ 17:39:19 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1517/archives/ [Pipeline] echo 17:39:19 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-1517/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 17:39:20 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 17:39:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 17:39:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 17:39:21 prd-ubuntu20.04-docker-8c-8g-6739 does not seem to be running inside a container 17:39:21 $ 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-1517/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-1517 -v /w/workspace/gexfoundry_device-sdk-go_PR-1517:/w/workspace/gexfoundry_device-sdk-go_PR-1517:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 17:39:21 $ docker top f61f217cf83e3fa8cd01dfc9acd726329add64fb531d71f50406386d7c8156ca -eo pid,comm [Pipeline] { [Pipeline] sh 17:39:21 + touch /tmp/pre-build-complete [Pipeline] sh 17:39:21 + mkdir -p /var/log/sysstat [Pipeline] sh 17:39:22 + ls /var/log/sa-host 17:39:22 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 17:39:22 provisioning config files... 17:39:22 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1517@tmp/config8712466440871112692tmp [Pipeline] { [Pipeline] echo 17:39:22 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 17:39:22 ---> create-netrc.sh [Pipeline] } 17:39:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 17:39:23 ---> python-tools-install.sh [Pipeline] echo 17:39:23 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 17:39:23 ---> sudo-logs.sh 17:39:23 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 17:39:23 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 17:39:23 ---> job-cost.sh 17:39:23 lf-activate-venv: SKIPPING 17:39:23 DEBUG: total: 0.2199999988079071 17:39:23 INFO: Retrieving Stack Cost... 17:39:24 INFO: Retrieving Pricing Info for: v3-standard-8 17:39:24 INFO: Archiving Costs [Pipeline] echo 17:39:24 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 17:39:25 ---> logs-deploy.sh 17:39:25 lf-activate-venv: SKIPPING 17:39:25 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1517/1 17:39:25 INFO: archiving workspace using pattern(s): 17:39:26 Archives upload complete. 17:39:26 INFO: archiving logs to Nexus