Pull request #1471 updated 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 ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from cc7c095b4943943e81fbea6d10399aaf7ce0c0e1+a0da80382c0e288d5b5fa5ac238919125b7cf977 (7d60fa7d669007e283060673b6ddee41e7c12459) 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-ssh339853498277172864.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh11906487413298629338.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1471/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3481141464226710608.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh7016341084998458907.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1471/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10247894862607109935.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-1461’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1463 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [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-1471 # 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/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit cc7c095b4943943e81fbea6d10399aaf7ce0c0e1 Merge succeeded, producing 51f68d3fda4ea4624142784ce0b862c7d227bd6d Checking out Revision 51f68d3fda4ea4624142784ce0b862c7d227bd6d (PR-1471) > git config core.sparsecheckout # timeout=10 > git checkout -f cc7c095b4943943e81fbea6d10399aaf7ce0c0e1 # 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 a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 51f68d3fda4ea4624142784ce0b862c7d227bd6d # timeout=10 Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk eee617f67e6a3f47dc3f9cca9647b6d72480ced5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 19:07:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 19:07:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 19:07:24 ========================================================= 19:07:24 EdgeX Global Pipelines Version Info 19:07:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh 19:07:24 ------------------- 19:07:24 stable info: 19:07:24 ------------------- 19:07:24 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 19:07:24 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:07:24 Message: update stable to v1.0.250 19:07:25 ------------------- 19:07:25 experimental info: 19:07:25 ------------------- 19:07:25 Commited By: **** collab-it+edgex@linuxfoundation.org 19:07:25 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 19:07:25 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 19:07:25 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1471 [Pipeline] echo 19:07:26 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1471 [Pipeline] echo 19:07:26 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1471 [Pipeline] echo 19:07:26 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 51f68d3fda4ea4624142784ce0b862c7d227bd6d [Pipeline] echo 19:07:26 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 51f68d3 [Pipeline] echo 19:07:26 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:07:26 provisioning config files... 19:07:26 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config12303007277098022066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:26 ---> docker-login.sh 19:07:26 nexus3.edgexfoundry.org:10001 19:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:26 Configure a credential helper to remove this warning. See 19:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:26 19:07:26 Login Succeeded 19:07:26 nexus3.edgexfoundry.org:10002 19:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:26 Configure a credential helper to remove this warning. See 19:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:26 19:07:26 Login Succeeded 19:07:26 nexus3.edgexfoundry.org:10003 19:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:26 Configure a credential helper to remove this warning. See 19:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:26 19:07:26 Login Succeeded 19:07:26 nexus3.edgexfoundry.org:10004 19:07:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:26 Configure a credential helper to remove this warning. See 19:07:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:26 19:07:26 Login Succeeded 19:07:26 docker.io 19:07:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:27 Configure a credential helper to remove this warning. See 19:07:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:27 19:07:27 Login Succeeded 19:07:27 ---> docker-login.sh ends [Pipeline] } 19:07:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 19:07:27 + git rev-list -1 --merges 51f68d3fda4ea4624142784ce0b862c7d227bd6d~1..51f68d3fda4ea4624142784ce0b862c7d227bd6d [Pipeline] echo 19:07:27 -----------> git rev-list -1 --merges 51f68d3fda4ea4624142784ce0b862c7d227bd6d~1..51f68d3fda4ea4624142784ce0b862c7d227bd6d 51f68d3fda4ea4624142784ce0b862c7d227bd6d 19:07:27 51f68d3fda4ea4624142784ce0b862c7d227bd6d [false] [Pipeline] sh 19:07:28 + git log --format=format:%s -1 51f68d3fda4ea4624142784ce0b862c7d227bd6d [Pipeline] echo 19:07:28 ========================================================= 19:07:28 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 19:07:28 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:07:28 + git log --format=format:%s -1 51f68d3fda4ea4624142784ce0b862c7d227bd6d [Pipeline] echo 19:07:28 [semverPrep] GIT_COMMIT: 51f68d3fda4ea4624142784ce0b862c7d227bd6d, Commit Message: Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD [Pipeline] echo 19:07:28 [semverPrep] This is not a build commit. [Pipeline] sh 19:07:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 19:07:28 + grep -v github /etc/ssh/ssh_known_hosts 19:07:28 + [ -e /tmp/ssh_known_hosts ] 19:07:28 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 19:07:28 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 19:07:28 + sudo tee -a /etc/ssh/ssh_known_hosts 19:07:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:29 19:07:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:29 0.1.4: Pulling from edgex-devops/py-git-semver 19:07:29 b85a868b505f: Pulling fs layer 19:07:29 e2be974225ed: Pulling fs layer 19:07:29 339a4e72a1f5: Pulling fs layer 19:07:29 988bab9f4d93: Pulling fs layer 19:07:29 1469e6f7b9e6: Pulling fs layer 19:07:29 eaf3925da568: Pulling fs layer 19:07:29 bab4dde63d76: Pulling fs layer 19:07:29 bde34c3a00c8: Pulling fs layer 19:07:29 b352a97aabf1: Pulling fs layer 19:07:29 4872d77fe225: Pulling fs layer 19:07:29 5851b861e8e6: Pulling fs layer 19:07:29 bab4dde63d76: Waiting 19:07:29 bde34c3a00c8: Waiting 19:07:29 b352a97aabf1: Waiting 19:07:29 988bab9f4d93: Waiting 19:07:29 4872d77fe225: Waiting 19:07:29 5851b861e8e6: Waiting 19:07:29 eaf3925da568: Waiting 19:07:29 1469e6f7b9e6: Waiting 19:07:29 e2be974225ed: Verifying Checksum 19:07:29 988bab9f4d93: Verifying Checksum 19:07:29 988bab9f4d93: Download complete 19:07:29 1469e6f7b9e6: Verifying Checksum 19:07:29 1469e6f7b9e6: Download complete 19:07:29 eaf3925da568: Download complete 19:07:29 339a4e72a1f5: Verifying Checksum 19:07:29 339a4e72a1f5: Download complete 19:07:29 bde34c3a00c8: Download complete 19:07:29 b352a97aabf1: Verifying Checksum 19:07:29 b352a97aabf1: Download complete 19:07:29 4872d77fe225: Download complete 19:07:29 5851b861e8e6: Verifying Checksum 19:07:29 5851b861e8e6: Download complete 19:07:29 b85a868b505f: Verifying Checksum 19:07:29 b85a868b505f: Download complete 19:07:30 bab4dde63d76: Verifying Checksum 19:07:30 bab4dde63d76: Download complete 19:07:31 b85a868b505f: Pull complete 19:07:31 e2be974225ed: Pull complete 19:07:31 339a4e72a1f5: Pull complete 19:07:31 988bab9f4d93: Pull complete 19:07:32 1469e6f7b9e6: Pull complete 19:07:32 eaf3925da568: Pull complete 19:07:34 bab4dde63d76: Pull complete 19:07:34 bde34c3a00c8: Pull complete 19:07:34 b352a97aabf1: Pull complete 19:07:34 4872d77fe225: Pull complete 19:07:34 5851b861e8e6: Pull complete 19:07:34 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 19:07:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 19:07:34 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:07:34 prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container 19:07:34 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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-devops/py-git-semver:0.1.4 cat 19:07:37 $ docker top ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 -eo pid,comm 19:07:37 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). 19:07:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 19:07:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:37 [ssh-agent] Looking for ssh-agent implementation... 19:07:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:37 $ docker exec ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 ssh-agent 19:07:37 SSH_AUTH_SOCK=/tmp/ssh-NmEKTSCEFSMD/agent.32 19:07:37 SSH_AGENT_PID=38 19:07:37 Running ssh-add (command line suppressed) 19:07:37 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_12419416095972260937.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_12419416095972260937.key) 19:07:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:38 + git tag --points-at HEAD [Pipeline] } 19:07:38 $ docker exec --env ******** --env ******** ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 ssh-agent -k 19:07:38 unset SSH_AUTH_SOCK; 19:07:38 unset SSH_AGENT_PID; 19:07:38 echo Agent pid 38 killed; 19:07:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 19:07:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 19:07:38 [ssh-agent] Looking for ssh-agent implementation... 19:07:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 19:07:38 $ docker exec ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 ssh-agent 19:07:38 SSH_AUTH_SOCK=/tmp/ssh-Hac3pGEfPJ9B/agent.70 19:07:38 SSH_AGENT_PID=76 19:07:38 Running ssh-add (command line suppressed) 19:07:38 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_4821648564361472235.key (/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/private_key_4821648564361472235.key) 19:07:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 19:07:38 + git semver init 19:07:39 2023-07-18 19:07:39,027 [run_init] DEBUG init version:0.0.0 force:False 19:07:39 2023-07-18 19:07:39,028 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver 19:07:39 2023-07-18 19:07:39,029 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver 19:07:39 2023-07-18 19:07:39,030 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471, universal_newlines=False, shell=None, istream=None) 19:07:40 2023-07-18 19:07:40,183 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.git/info/exclude 19:07:40 2023-07-18 19:07:40,184 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 with force:False 19:07:40 2023-07-18 19:07:40,184 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 19:07:40 2023-07-18 19:07:40,188 [execute] INFO git cat-file --batch-check 19:07:40 2023-07-18 19:07:40,189 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) 19:07:40 2023-07-18 19:07:40,193 [execute] INFO git cat-file --batch 19:07:40 2023-07-18 19:07:40,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver, universal_newlines=False, shell=None, istream=) 19:07:40 2023-07-18 19:07:40,197 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1471/.semver/PR-1471 19:07:40 0.0.0 [Pipeline] } 19:07:40 $ docker exec --env ******** --env ******** ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 ssh-agent -k 19:07:40 unset SSH_AUTH_SOCK; 19:07:40 unset SSH_AGENT_PID; 19:07:40 echo Agent pid 76 killed; 19:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 19:07:40 + git semver [Pipeline] } 19:07:41 $ docker stop --time=1 ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 19:07:42 $ docker rm -f --volumes ec0f51b4ebb2687a553bd88914e0e2249bb2d07aea492324f2a8555e23de30f6 [Pipeline] // withDockerContainer [Pipeline] sh 19:07:42 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 19:07:43 Stashed 1 file(s) [Pipeline] echo 19:07:43 [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 19:07:43 provisioning config files... 19:07:43 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config16698058850944190687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:07:43 ---> docker-login.sh 19:07:43 nexus3.edgexfoundry.org:10001 19:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:43 Configure a credential helper to remove this warning. See 19:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:43 19:07:43 Login Succeeded 19:07:43 nexus3.edgexfoundry.org:10002 19:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:43 Configure a credential helper to remove this warning. See 19:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:43 19:07:43 Login Succeeded 19:07:43 nexus3.edgexfoundry.org:10003 19:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:43 Configure a credential helper to remove this warning. See 19:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:43 19:07:43 Login Succeeded 19:07:43 nexus3.edgexfoundry.org:10004 19:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:43 Configure a credential helper to remove this warning. See 19:07:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:43 19:07:43 Login Succeeded 19:07:43 docker.io 19:07:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:07:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:07:44 Configure a credential helper to remove this warning. See 19:07:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:07:44 19:07:44 Login Succeeded 19:07:44 ---> docker-login.sh ends [Pipeline] } 19:07:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:07:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:07:44 ========================================================= 19:07:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 19:07:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:07:44 + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:07:44 Sending build context to Docker daemon 11.02MB 19:07:44 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:07:44 Step 2/10 : FROM ${BASE} AS builder 19:07:44 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 19:07:44 4db1b89c0bd1: Pulling fs layer 19:07:44 6911f1a30b25: Pulling fs layer 19:07:44 e194b8c5c2a9: Pulling fs layer 19:07:44 6863d3e3a2b1: Pulling fs layer 19:07:44 ec0bb842ea78: Pulling fs layer 19:07:44 40a00589a448: Pulling fs layer 19:07:44 6c08303d61cc: Pulling fs layer 19:07:44 798269fcf238: Pulling fs layer 19:07:44 6863d3e3a2b1: Waiting 19:07:44 ec0bb842ea78: Waiting 19:07:44 6c08303d61cc: Waiting 19:07:44 40a00589a448: Waiting 19:07:44 6911f1a30b25: Verifying Checksum 19:07:44 6911f1a30b25: Download complete 19:07:44 6863d3e3a2b1: Verifying Checksum 19:07:44 6863d3e3a2b1: Download complete 19:07:44 ec0bb842ea78: Download complete 19:07:44 4db1b89c0bd1: Verifying Checksum 19:07:44 4db1b89c0bd1: Download complete 19:07:44 40a00589a448: Verifying Checksum 19:07:44 40a00589a448: Download complete 19:07:44 4db1b89c0bd1: Pull complete 19:07:44 6911f1a30b25: Pull complete 19:07:45 798269fcf238: Verifying Checksum 19:07:45 798269fcf238: Download complete 19:07:45 e194b8c5c2a9: Verifying Checksum 19:07:45 e194b8c5c2a9: Download complete 19:07:45 6c08303d61cc: Verifying Checksum 19:07:45 6c08303d61cc: Download complete 19:07:49 e194b8c5c2a9: Pull complete 19:07:49 6863d3e3a2b1: Pull complete 19:07:49 ec0bb842ea78: Pull complete 19:07:49 40a00589a448: Pull complete 19:07:51 6c08303d61cc: Pull complete 19:07:52 798269fcf238: Pull complete 19:07:52 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 19:07:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 19:07:52 ---> ec979cd7f677 19:07:52 Step 3/10 : ARG MAKE=make build 19:07:58 Still waiting to schedule task 19:07:58 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1462’ 19:07:58 ---> Running in 80e1a7bf21b1 19:07:58 Removing intermediate container 80e1a7bf21b1 19:07:58 ---> 834226d7f613 19:07:58 Step 4/10 : WORKDIR /device-sdk-go 19:07:58 ---> Running in e2f6f99a68df 19:07:58 Removing intermediate container e2f6f99a68df 19:07:58 ---> ee8785fa6a6b 19:07:58 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:07:58 ---> Running in ff4122047376 19:07:58 Removing intermediate container ff4122047376 19:07:58 ---> e644c13a7d23 19:07:58 Step 6/10 : RUN apk add --update --no-cache make git 19:07:58 ---> Running in 6ed5c53201e6 19:07:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 19:07:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 19:07:59 OK: 265 MiB in 53 packages 19:07:59 Removing intermediate container 6ed5c53201e6 19:07:59 ---> fcf6c8364b11 19:07:59 Step 7/10 : COPY go.mod vendor* ./ 19:07:59 ---> 85ddca943910 19:07:59 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:07:59 ---> Running in d003f6ace6d3 19:08:26 Removing intermediate container d003f6ace6d3 19:08:26 ---> f60f1ab8c8eb 19:08:26 Step 9/10 : COPY . . 19:08:26 ---> 87b9894101ed 19:08:26 Step 10/10 : RUN ${MAKE} 19:08:26 ---> Running in 68004f2a458c 19:08:26 noop 19:08:26 Removing intermediate container 68004f2a458c 19:08:26 ---> ea08f437bcc8 19:08:26 Successfully built ea08f437bcc8 19:08:26 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:26 + docker inspect -f . ci-base-image-x86_64 19:08:26 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:26 prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container 19:08:26 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:08:26 $ docker top ef3d82020ed6e99070ed758fbf4e8f0348b5d18c3c2396e9208c168d59a8830b -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:27 + go version 19:08:27 go version go1.20.6 linux/amd64 [Pipeline] } 19:08:27 $ docker stop --time=1 ef3d82020ed6e99070ed758fbf4e8f0348b5d18c3c2396e9208c168d59a8830b 19:08:28 $ docker rm -f --volumes ef3d82020ed6e99070ed758fbf4e8f0348b5d18c3c2396e9208c168d59a8830b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:08:28 + docker inspect -f . ci-base-image-x86_64 19:08:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:08:29 prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container 19:08:29 $ 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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 19:08:29 $ docker top 66fa7d7b016c81a638d5a1323fe767cfbc232134ff2dd1dee4c51b3f59226959 -eo pid,comm [Pipeline] { [Pipeline] sh 19:08:29 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] fileExists [Pipeline] sh 19:08:30 + make test 19:08:30 go test -race -coverprofile=coverage.out ./... 19:08:36 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:08:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.067s coverage: 27.6% of statements 19:08:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 80.2% of statements 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:08:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.078s coverage: 86.0% of statements 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:08:51 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.099s coverage: 77.5% of statements 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:08:51 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:08:52 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:08:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.083s coverage: 14.3% of statements 19:08:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 0.841s coverage: 23.3% of statements 19:08:54 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.077s coverage: 68.5% of statements 19:08:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.111s coverage: 89.2% of statements 19:08:54 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.060s coverage: 5.7% of statements 19:09:12 internal/provision/devices_test.go:34:19: Error return value of `cache.InitCache` is not checked (errcheck) 19:09:12 cache.InitCache(TestDeviceService, TestDeviceService, dic) 19:09:12 ^ 19:09:12 internal/provision/profiles_test.go:183:19: Error return value of `cache.InitCache` is not checked (errcheck) 19:09:12 cache.InitCache(TestDeviceService, TestDeviceService, dic) 19:09:12 ^ 19:09:12 internal/provision/provisionwatchers_test.go:37:19: Error return value of `cache.InitCache` is not checked (errcheck) 19:09:12 cache.InitCache(TestDeviceService, TestDeviceService, dic) 19:09:12 ^ 19:09:12 make: *** [Makefile:39: lint] Error 1 [Pipeline] } 19:09:13 $ docker stop --time=1 66fa7d7b016c81a638d5a1323fe767cfbc232134ff2dd1dee4c51b3f59226959 19:09:15 $ docker rm -f --volumes 66fa7d7b016c81a638d5a1323fe767cfbc232134ff2dd1dee4c51b3f59226959 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:16 19:09:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:09:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:16 latest: Pulling from edgex-lftools-log-publisher 19:09:16 5eb5b503b376: Pulling fs layer 19:09:16 5c69ac0246d0: Pulling fs layer 19:09:16 ec43610c2a17: Pulling fs layer 19:09:16 3a2ae6a8a46f: Pulling fs layer 19:09:16 33b1e0a273af: Pulling fs layer 19:09:16 5d3b04190fa2: Pulling fs layer 19:09:16 2f39f015ded8: Pulling fs layer 19:09:16 5d3b04190fa2: Waiting 19:09:16 2f39f015ded8: Waiting 19:09:16 3a2ae6a8a46f: Waiting 19:09:16 5c69ac0246d0: Download complete 19:09:16 3a2ae6a8a46f: Verifying Checksum 19:09:16 3a2ae6a8a46f: Download complete 19:09:16 33b1e0a273af: Verifying Checksum 19:09:16 33b1e0a273af: Download complete 19:09:16 ec43610c2a17: Verifying Checksum 19:09:16 ec43610c2a17: Download complete 19:09:16 5d3b04190fa2: Verifying Checksum 19:09:16 5d3b04190fa2: Download complete 19:09:17 5eb5b503b376: Verifying Checksum 19:09:17 5eb5b503b376: Download complete 19:09:17 2f39f015ded8: Download complete 19:09:18 5eb5b503b376: Pull complete 19:09:18 5c69ac0246d0: Pull complete 19:09:18 ec43610c2a17: Pull complete 19:09:18 3a2ae6a8a46f: Pull complete 19:09:18 33b1e0a273af: Pull complete 19:09:19 5d3b04190fa2: Pull complete 19:09:23 2f39f015ded8: Pull complete 19:09:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 19:09:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:09:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:09:23 prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container 19:09:23 $ 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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:09:26 $ docker top 82d16d23e64905c7985f5d4a750d8513c7781839c73a5e50542c1e47d6b8784c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:09:27 ---> job-cost.sh 19:09:27 lf-activate-venv: SKIPPING 19:09:27 INFO: No Stack... 19:09:27 INFO: Retrieving Pricing Info for: v3-standard-8 19:09:27 INFO: Archiving Costs [Pipeline] sh 19:09:28 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/cost.csv 19:09:28 + cut -d, -f6 [Pipeline] lock 19:09:28 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] 19:09:28 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] did not exist. Created. 19:09:28 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:09:28 + echo total: 0.2199999988079071 [Pipeline] stash 19:09:28 Stashed 1 file(s) [Pipeline] } 19:09:28 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [Pipeline] // lock [Pipeline] } 19:09:28 $ docker stop --time=1 82d16d23e64905c7985f5d4a750d8513c7781839c73a5e50542c1e47d6b8784c 19:09:29 $ docker rm -f --volumes 82d16d23e64905c7985f5d4a750d8513c7781839c73a5e50542c1e47d6b8784c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 19:09:29 Failed in branch amd64 19:10:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1464 in /w/workspace/gexfoundry_device-sdk-go_PR-1471 [Pipeline] { [Pipeline] ws 19:10:37 Running in /w/workspace/device-sdk-go/11 [Pipeline] { [Pipeline] checkout 19:10:37 The recommended git tool is: git 19:10:42 using credential edgex-jenkins-ssh 19:10:42 Cloning the remote Git repository 19:10:42 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 19:10:42 > git init /w/workspace/device-sdk-go/11 # timeout=10 19:10:42 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:10:42 > git --version # timeout=10 19:10:42 > git --version # 'git version 2.25.1' 19:10:42 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:43 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:44 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:10:44 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 19:10:45 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 19:10:45 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 19:10:45 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1471/head:refs/remotes/origin/PR-1471 +refs/heads/main:refs/remotes/origin/main # timeout=10 19:10:46 Merging remotes/origin/main commit a0da80382c0e288d5b5fa5ac238919125b7cf977 into PR head commit cc7c095b4943943e81fbea6d10399aaf7ce0c0e1 19:10:46 Merge succeeded, producing d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d 19:10:46 Checking out Revision d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d (PR-1471) 19:10:46 > git config core.sparsecheckout # timeout=10 19:10:46 > git checkout -f cc7c095b4943943e81fbea6d10399aaf7ce0c0e1 # timeout=10 19:10:46 > git remote # timeout=10 19:10:46 > git config --get remote.origin.url # timeout=10 19:10:46 using GIT_SSH to set credentials SSH Credentials for GitHub 19:10:46 > git merge a0da80382c0e288d5b5fa5ac238919125b7cf977 # timeout=10 19:10:46 > git rev-parse HEAD^{commit} # timeout=10 19:10:46 > git config core.sparsecheckout # timeout=10 19:10:46 > git checkout -f d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d # timeout=10 19:10:50 Commit message: "Merge commit 'a0da80382c0e288d5b5fa5ac238919125b7cf977' into HEAD" 19:10:50 First time build. Skipping changelog. 19:10:50 > git rev-list --no-walk eee617f67e6a3f47dc3f9cca9647b6d72480ced5 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 19:10:51 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 19:10:51 % Total % Received % Xferd Average Speed Time Time Time Current 19:10:51 Dload Upload Total Spent Left Speed 19:10:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh 19:10:51 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 19:10:52 + sudo tee /etc/docker/daemon.new 19:10:52 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 19:10:52 { 19:10:52 "registry-mirrors": [ 19:10:52 "https://nexus3.edgexfoundry.org:10001" 19:10:52 ], 19:10:52 "bip": "10.250.0.254/24", 19:10:52 "hosts": [ 19:10:52 "tcp://0.0.0.0:5555", 19:10:52 "unix:///var/run/docker.sock" 19:10:52 ], 19:10:52 "mtu": 1458, 19:10:52 "selinux-enabled": true, 19:10:52 "seccomp-profile": "/etc/docker/seccomp.json" 19:10:52 } [Pipeline] sh 19:10:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 19:10:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:11:11 provisioning config files... 19:11:11 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/11@tmp/config13810779334517327265tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:11:11 ---> docker-login.sh 19:11:11 nexus3.edgexfoundry.org:10001 19:11:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:12 Configure a credential helper to remove this warning. See 19:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:12 19:11:12 Login Succeeded 19:11:12 nexus3.edgexfoundry.org:10002 19:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:12 Configure a credential helper to remove this warning. See 19:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:12 19:11:12 Login Succeeded 19:11:12 nexus3.edgexfoundry.org:10003 19:11:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:12 Configure a credential helper to remove this warning. See 19:11:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:12 19:11:12 Login Succeeded 19:11:12 nexus3.edgexfoundry.org:10004 19:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:13 Configure a credential helper to remove this warning. See 19:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:13 19:11:13 Login Succeeded 19:11:13 docker.io 19:11:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 19:11:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 19:11:13 Configure a credential helper to remove this warning. See 19:11:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 19:11:13 19:11:13 Login Succeeded 19:11:13 ---> docker-login.sh ends [Pipeline] } 19:11:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 19:11:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:11:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 19:11:14 ========================================================= 19:11:14 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 19:11:14 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:11:14 + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 19:11:14 Sending build context to Docker daemon 5.912MB 19:11:14 Step 1/10 : ARG BASE=golang:1.20-alpine3.17 19:11:14 Step 2/10 : FROM ${BASE} AS builder 19:11:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 19:11:14 edb6bdbacee9: Pulling fs layer 19:11:14 5f9638ab2659: Pulling fs layer 19:11:14 8d51d6327a98: Pulling fs layer 19:11:14 8b374f2dd631: Pulling fs layer 19:11:14 ec14aa9079de: Pulling fs layer 19:11:14 2f466654f4bb: Pulling fs layer 19:11:14 554e91adad29: Pulling fs layer 19:11:14 2f466654f4bb: Waiting 19:11:14 8b374f2dd631: Waiting 19:11:14 554e91adad29: Waiting 19:11:14 ec14aa9079de: Waiting 19:11:14 5f9638ab2659: Download complete 19:11:14 8b374f2dd631: Verifying Checksum 19:11:14 8b374f2dd631: Download complete 19:11:14 ec14aa9079de: Verifying Checksum 19:11:14 ec14aa9079de: Download complete 19:11:14 edb6bdbacee9: Verifying Checksum 19:11:14 edb6bdbacee9: Download complete 19:11:15 edb6bdbacee9: Pull complete 19:11:16 554e91adad29: Verifying Checksum 19:11:16 554e91adad29: Download complete 19:11:16 5f9638ab2659: Pull complete 19:11:17 8d51d6327a98: Verifying Checksum 19:11:17 8d51d6327a98: Download complete 19:11:17 2f466654f4bb: Verifying Checksum 19:11:17 2f466654f4bb: Download complete 19:11:29 8d51d6327a98: Pull complete 19:11:29 8b374f2dd631: Pull complete 19:11:29 ec14aa9079de: Pull complete 19:11:35 2f466654f4bb: Pull complete 19:11:37 554e91adad29: Pull complete 19:11:37 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 19:11:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 19:11:37 ---> 1e15ea492957 19:11:37 Step 3/10 : ARG MAKE=make build 19:11:38 ---> Running in 6040feb7bd73 19:11:38 Removing intermediate container 6040feb7bd73 19:11:38 ---> 3b5230d0d9a9 19:11:38 Step 4/10 : WORKDIR /device-sdk-go 19:11:39 ---> Running in e8bee9c8b7f2 19:11:39 Removing intermediate container e8bee9c8b7f2 19:11:39 ---> 4f983fdad717 19:11:39 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:11:39 ---> Running in 3743ef56cc00 19:11:39 Removing intermediate container 3743ef56cc00 19:11:39 ---> 8a8ea30082c4 19:11:39 Step 6/10 : RUN apk add --update --no-cache make git 19:11:39 ---> Running in d6ba0f6f78ec 19:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:11:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:11:42 OK: 263 MiB in 53 packages 19:11:43 Removing intermediate container d6ba0f6f78ec 19:11:43 ---> 4a36fb3a860b 19:11:43 Step 7/10 : COPY go.mod vendor* ./ 19:11:43 ---> ddae7127c1ba 19:11:43 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:11:43 ---> Running in 79b565a1fe1e 19:12:51 Removing intermediate container 79b565a1fe1e 19:12:51 ---> edde993ed708 19:12:51 Step 9/10 : COPY . . 19:12:51 ---> f0cf5dc46eaf 19:12:51 Step 10/10 : RUN ${MAKE} 19:12:51 ---> Running in b2f95f6526aa 19:12:51 noop 19:12:51 Removing intermediate container b2f95f6526aa 19:12:51 ---> dfe62992841f 19:12:51 Successfully built dfe62992841f 19:12:51 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:52 + docker inspect -f . ci-base-image-arm64 19:12:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:52 prd-ubuntu20.04-docker-arm64-4c-16g-1464 does not seem to be running inside a container 19:12:52 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:12:54 $ docker top 31704c128daec676c58e49ef9f237343624d1359fcc7edb8f04157e7228478d7 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:55 + go version 19:12:55 go version go1.20.6 linux/arm64 [Pipeline] } 19:12:55 $ docker stop --time=1 31704c128daec676c58e49ef9f237343624d1359fcc7edb8f04157e7228478d7 19:12:56 $ docker rm -f --volumes 31704c128daec676c58e49ef9f237343624d1359fcc7edb8f04157e7228478d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:12:57 + docker inspect -f . ci-base-image-arm64 19:12:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:12:57 prd-ubuntu20.04-docker-arm64-4c-16g-1464 does not seem to be running inside a container 19:12:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 19:12:58 $ docker top 9742cec029976797590b67ac97db1a92327278100213238038e668d43a551581 -eo pid,comm [Pipeline] { [Pipeline] sh 19:12:59 + git config --global --add safe.directory /w/workspace/device-sdk-go/11 [Pipeline] fileExists [Pipeline] sh 19:12:59 + make test 19:12:59 go test -race -coverprofile=coverage.out ./... 19:13:46 ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] 19:15:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] 19:15:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] 19:15:53 ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] 19:15:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] 19:15:53 ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] 19:16:05 ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.225s coverage: 27.6% of statements 19:16:06 ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.311s coverage: 80.2% of statements 19:16:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] 19:16:16 ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] 19:16:17 ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.416s coverage: 86.0% of statements 19:16:22 ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] 19:16:22 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.577s coverage: 77.5% of statements 19:16:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.457s coverage: 14.3% of statements 19:16:25 ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.583s coverage: 23.3% of statements 19:16:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] 19:16:27 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] 19:16:27 ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.472s coverage: 68.5% of statements 19:16:29 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.472s coverage: 89.2% of statements 19:16:32 ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] 19:16:32 ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.273s coverage: 5.7% of statements 19:16:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 19:16:33 GO111MODULE=on go vet ./... 19:19:10 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 19:19:10 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 19:19:10 ./bin/test-attribution-txt.sh [Pipeline] echo 19:19:10 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 19:19:10 $ docker stop --time=1 9742cec029976797590b67ac97db1a92327278100213238038e668d43a551581 19:19:12 $ docker rm -f --volumes 9742cec029976797590b67ac97db1a92327278100213238038e668d43a551581 [Pipeline] // withDockerContainer [Pipeline] sh 19:19:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 19:19:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 19:19:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 19:19:15 + ls -al . 19:19:15 total 296 19:19:15 drwxrwxr-x 10 jenkins jenkins 4096 Jul 18 19:13 . 19:19:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 19:10 .. 19:19:15 -rw-rw-r-- 1 jenkins jenkins 140 Jul 18 19:10 .dockerignore 19:19:15 drwxrwxr-x 8 jenkins jenkins 4096 Jul 18 19:10 .git 19:19:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 19:10 .github 19:19:15 -rw-rw-r-- 1 jenkins jenkins 137 Jul 18 19:10 .gitignore 19:19:15 -rw-rw-r-- 1 jenkins jenkins 42 Jul 18 19:10 .golangci.yml 19:19:15 -rw-rw-r-- 1 jenkins jenkins 44878 Jul 18 19:10 CHANGELOG.md 19:19:15 -rw-rw-r-- 1 jenkins jenkins 677 Jul 18 19:10 GOVERNANCE.md 19:19:15 -rw-rw-r-- 1 jenkins jenkins 885 Jul 18 19:10 Jenkinsfile 19:19:15 -rw-rw-r-- 1 jenkins jenkins 11341 Jul 18 19:10 LICENSE 19:19:15 -rw-rw-r-- 1 jenkins jenkins 1714 Jul 18 19:10 Makefile 19:19:15 -rw-rw-r-- 1 jenkins jenkins 619 Jul 18 19:10 OWNERS.md 19:19:15 -rw-rw-r-- 1 jenkins jenkins 4933 Jul 18 19:10 README.md 19:19:15 -rw-rw-r-- 1 jenkins jenkins 5 Jul 18 19:07 VERSION 19:19:15 drwxrwxr-x 2 jenkins jenkins 4096 Jul 18 19:10 bin 19:19:15 -rw-r--r-- 1 jenkins jenkins 122078 Jul 18 19:16 coverage.out 19:19:15 drwxrwxr-x 5 jenkins jenkins 4096 Jul 18 19:10 example 19:19:15 -rw-rw-r-- 1 jenkins jenkins 3461 Jul 18 19:10 go.mod 19:19:15 -rw-rw-r-- 1 jenkins jenkins 32143 Jul 18 19:10 go.sum 19:19:15 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 19:10 internal 19:19:15 drwxrwxr-x 3 jenkins jenkins 4096 Jul 18 19:10 openapi 19:19:15 drwxrwxr-x 6 jenkins jenkins 4096 Jul 18 19:10 pkg 19:19:15 drwxrwxr-x 4 jenkins jenkins 4096 Jul 18 19:10 snap 19:19:15 -rw-rw-r-- 1 jenkins jenkins 222 Jul 18 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:19:16 + 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=d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d --label arch=arm64 --label version=0.0.0 . 19:19:16 Sending build context to Docker daemon 6.035MB 19:19:16 Step 1/23 : ARG BASE=golang:1.20-alpine3.17 19:19:16 Step 2/23 : FROM ${BASE} AS builder 19:19:16 ---> dfe62992841f 19:19:16 Step 3/23 : ARG MAKE=make build 19:19:16 ---> Running in 88e1eb63425b 19:19:16 Removing intermediate container 88e1eb63425b 19:19:16 ---> cc22e5f2ac2b 19:19:16 Step 4/23 : WORKDIR /device-sdk-go 19:19:17 ---> Running in f211574679da 19:19:17 Removing intermediate container f211574679da 19:19:17 ---> 291d245af84e 19:19:17 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 19:19:17 ---> Running in f8a307c4e9cf 19:19:17 Removing intermediate container f8a307c4e9cf 19:19:17 ---> 45e118d0496f 19:19:17 Step 6/23 : RUN apk add --update --no-cache make git 19:19:17 ---> Running in ca5e1c9f51c0 19:19:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:19:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:19:20 OK: 263 MiB in 53 packages 19:19:21 Removing intermediate container ca5e1c9f51c0 19:19:21 ---> 7c6e40cba2e0 19:19:21 Step 7/23 : COPY go.mod vendor* ./ 19:19:21 ---> ddbad4308bc4 19:19:21 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 19:19:21 ---> Running in 8eb1574d335d 19:19:23 Removing intermediate container 8eb1574d335d 19:19:23 ---> 0af1a1f8a80f 19:19:23 Step 9/23 : COPY . . 19:19:25 ---> f10f83bc5e05 19:19:25 Step 10/23 : RUN ${MAKE} 19:19:25 ---> Running in 00b51b9d7194 19:19:26 CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple 19:21:47 Removing intermediate container 00b51b9d7194 19:21:47 ---> 0ec12c46a482 19:21:47 Step 11/23 : FROM alpine:3.17 19:21:47 3.17: Pulling from library/alpine 19:21:47 edb6bdbacee9: Already exists 19:21:47 Digest: sha256:e95676db9e4a4f16f6cc01a8915368f82b018cc07aba951c1bd1db586c081388 19:21:47 Status: Downloaded newer image for alpine:3.17 19:21:47 ---> 779605e5fbc0 19:21:47 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 19:21:47 ---> Running in 9c5a5067bff9 19:21:47 Removing intermediate container 9c5a5067bff9 19:21:47 ---> e1e4638ece45 19:21:47 Step 13/23 : RUN apk add --update --no-cache 19:21:47 ---> Running in 95444f3bbbc8 19:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 19:21:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 19:21:47 OK: 7 MiB in 15 packages 19:21:47 Removing intermediate container 95444f3bbbc8 19:21:47 ---> 8bbb614c669f 19:21:47 Step 14/23 : WORKDIR / 19:21:47 ---> Running in 526972b77a4f 19:21:47 Removing intermediate container 526972b77a4f 19:21:47 ---> 474c293d2c53 19:21:47 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 19:21:47 ---> a5c7a68941e0 19:21:47 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 19:21:47 ---> 27e19d69e538 19:21:47 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 19:21:47 ---> bc6d814a7997 19:21:47 Step 18/23 : EXPOSE 59999 19:21:47 ---> Running in c61eeed2a6ee 19:21:47 Removing intermediate container c61eeed2a6ee 19:21:47 ---> 630b102a6972 19:21:47 Step 19/23 : ENTRYPOINT ["/device-simple"] 19:21:47 ---> Running in 3e3d01158649 19:21:47 Removing intermediate container 3e3d01158649 19:21:47 ---> 4bea65f99650 19:21:47 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] 19:21:47 ---> Running in 1d86ef894816 19:21:47 Removing intermediate container 1d86ef894816 19:21:47 ---> 705b1509365a 19:21:47 Step 21/23 : LABEL arch=arm64 19:21:47 ---> Running in 6e605f4c2693 19:21:48 Removing intermediate container 6e605f4c2693 19:21:48 ---> f15a2dcd3726 19:21:48 Step 22/23 : LABEL git_sha=d9234db6e6d2e3e2c71bf42c0920ced4dc4a271d 19:21:48 ---> Running in af0d8cb2797e 19:21:48 Removing intermediate container af0d8cb2797e 19:21:48 ---> 74e3d0bc174b 19:21:48 Step 23/23 : LABEL version=0.0.0 19:21:48 ---> Running in a5711bdab4af 19:21:48 Removing intermediate container a5711bdab4af 19:21:48 ---> 0afd00edc54f 19:21:48 [Warning] One or more build-args [ARCH] were not consumed 19:21:48 Successfully built 0afd00edc54f 19:21:48 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 19:21:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:21:49 19:21:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:21:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:21:49 arm64: Pulling from edgex-lftools-log-publisher 19:21:49 8998bd30e6a1: Pulling fs layer 19:21:49 04944245beec: Pulling fs layer 19:21:49 699f458cf7ca: Pulling fs layer 19:21:49 765212b225bb: Pulling fs layer 19:21:49 f23df028b6ca: Pulling fs layer 19:21:49 d65c8cfc05b1: Pulling fs layer 19:21:49 2437ff75d9bd: Pulling fs layer 19:21:49 765212b225bb: Waiting 19:21:49 f23df028b6ca: Waiting 19:21:49 d65c8cfc05b1: Waiting 19:21:49 2437ff75d9bd: Waiting 19:21:50 04944245beec: Verifying Checksum 19:21:50 04944245beec: Download complete 19:21:50 765212b225bb: Verifying Checksum 19:21:50 765212b225bb: Download complete 19:21:50 f23df028b6ca: Download complete 19:21:50 d65c8cfc05b1: Verifying Checksum 19:21:50 d65c8cfc05b1: Download complete 19:21:50 699f458cf7ca: Verifying Checksum 19:21:50 699f458cf7ca: Download complete 19:21:50 8998bd30e6a1: Download complete 19:21:52 2437ff75d9bd: Verifying Checksum 19:21:52 2437ff75d9bd: Download complete 19:21:54 8998bd30e6a1: Pull complete 19:21:54 04944245beec: Pull complete 19:21:56 699f458cf7ca: Pull complete 19:21:56 765212b225bb: Pull complete 19:21:57 f23df028b6ca: Pull complete 19:21:57 d65c8cfc05b1: Pull complete 19:22:12 2437ff75d9bd: Pull complete 19:22:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 19:22:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 19:22:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:22:12 prd-ubuntu20.04-docker-arm64-4c-16g-1464 does not seem to be running inside a container 19:22:13 $ 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/11 -v /w/workspace/device-sdk-go/11:/w/workspace/device-sdk-go/11:rw,z -v /w/workspace/device-sdk-go/11@tmp:/w/workspace/device-sdk-go/11@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 19:22:15 $ docker top 269a235018b7d3add27969a66b8d5bfa0df2b882ebb0639b69db719efd4c5a4f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 19:22:16 ---> job-cost.sh 19:22:16 lf-activate-venv: SKIPPING 19:22:16 INFO: No Stack... 19:22:16 INFO: Retrieving Pricing Info for: v3-standard-4 19:22:17 INFO: Archiving Costs [Pipeline] sh 19:22:18 + cut -d, -f6 19:22:18 + cat /w/workspace/device-sdk-go/11/archives/cost.csv [Pipeline] lock 19:22:18 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] 19:22:18 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] did not exist. Created. 19:22:18 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 19:22:18 /w/workspace/device-sdk-go/11@tmp/durable-c5d58985/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 19:22:19 + echo total: 0.10999999940395355 [Pipeline] stash 19:22:19 Warning: overwriting stash ‘stack-cost’ 19:22:19 Stashed 1 file(s) [Pipeline] } 19:22:19 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1471-11-stack-cost] [Pipeline] // lock [Pipeline] } 19:22:19 $ docker stop --time=1 269a235018b7d3add27969a66b8d5bfa0df2b882ebb0639b69db719efd4c5a4f 19:22:21 $ docker rm -f --volumes 269a235018b7d3add27969a66b8d5bfa0df2b882ebb0639b69db719efd4c5a4f [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 19:22:22 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives ] 19:22:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives 19:22:22 total 16 19:22:22 drwxr-xr-x 3 root root 4096 Jul 18 19:09 . 19:22:22 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 19:09 .. 19:22:22 drwxr-xr-x 2 root root 4096 Jul 18 19:09 cost 19:22:22 -rw-r--r-- 1 root root 87 Jul 18 19:09 cost.csv 19:22:22 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives 19:22:22 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives 19:22:22 total 16 19:22:22 drwxr-xr-x 3 jenkins jenkins 4096 Jul 18 19:09 . 19:22:22 drwxrwxr-x 12 jenkins jenkins 4096 Jul 18 19:09 .. 19:22:22 drwxr-xr-x 2 jenkins jenkins 4096 Jul 18 19:09 cost 19:22:22 -rw-r--r-- 1 jenkins jenkins 87 Jul 18 19:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 19:22:22 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 19:22:23 ---> package-listing.sh 19:22:23 ++ facter osfamily 19:22:23 ++ tr '[:upper:]' '[:lower:]' 19:22:23 + OS_FAMILY=debian 19:22:23 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1471 19:22:23 + START_PACKAGES=/tmp/packages_start.txt 19:22:23 + END_PACKAGES=/tmp/packages_end.txt 19:22:23 + DIFF_PACKAGES=/tmp/packages_diff.txt 19:22:23 + PACKAGES=/tmp/packages_start.txt 19:22:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' 19:22:23 + PACKAGES=/tmp/packages_end.txt 19:22:23 + case "${OS_FAMILY}" in 19:22:23 + dpkg -l 19:22:23 + grep '^ii' 19:22:23 + '[' -f /tmp/packages_start.txt ']' 19:22:23 + '[' -f /tmp/packages_end.txt ']' 19:22:23 + diff /tmp/packages_start.txt /tmp/packages_end.txt 19:22:23 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1471 ']' 19:22:23 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ 19:22:23 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1471/archives/ [Pipeline] echo 19:22:23 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-1471/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 19:22:23 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 19:22:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 19:22:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 19:22:24 prd-ubuntu20.04-docker-8c-8g-1463 does not seem to be running inside a container 19:22:24 $ 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-1471/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-1471 -v /w/workspace/gexfoundry_device-sdk-go_PR-1471:/w/workspace/gexfoundry_device-sdk-go_PR-1471:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1471@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 19:22:24 $ docker top f7eb8cbfbe2923de7cdee492149ec64203d8dd0b4d17c16bb0e72b8e88321723 -eo pid,comm [Pipeline] { [Pipeline] sh 19:22:25 + touch /tmp/pre-build-complete [Pipeline] sh 19:22:25 + mkdir -p /var/log/sysstat [Pipeline] sh 19:22:25 + ls /var/log/sa-host 19:22:25 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 19:22:25 provisioning config files... 19:22:25 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1471@tmp/config15293981077856379643tmp [Pipeline] { [Pipeline] echo 19:22:25 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 19:22:25 ---> create-netrc.sh [Pipeline] } 19:22:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 19:22:26 ---> python-tools-install.sh [Pipeline] echo 19:22:26 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 19:22:26 ---> sudo-logs.sh 19:22:26 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 19:22:26 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 19:22:26 ---> job-cost.sh 19:22:26 lf-activate-venv: SKIPPING 19:22:26 DEBUG: total: 0.2199999988079071 19:22:26 INFO: Retrieving Stack Cost... 19:22:27 INFO: Retrieving Pricing Info for: v3-standard-8 19:22:27 INFO: Archiving Costs [Pipeline] echo 19:22:27 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 19:22:28 ---> logs-deploy.sh 19:22:28 lf-activate-venv: SKIPPING 19:22:28 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1471/11 19:22:28 INFO: archiving workspace using pattern(s): 19:22:28 Archives upload complete. 19:22:28 INFO: archiving logs to Nexus