Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 96614595ba73594199dee70385f2da41578defd7 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-ssh17300991929724997878.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh5049027945849769703.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/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-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17705366558633351667.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh12417396650078370581.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-rest-go/branches/main/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-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8102387188924935012.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-rest-go] ========================================================= [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-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9098 in /w/workspace/edgexfoundry_device-rest-go_main [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-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-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-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 96614595ba73594199dee70385f2da41578defd7 (main) Commit message: "Merge pull request #370 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 96614595ba73594199dee70385f2da41578defd7 # timeout=10 > git rev-list --no-walk 0e4c43928dd74877e01497a451c4b89b2b600e8c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:46:47 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:46:47 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:46:47 ========================================================= 03:46:47 EdgeX Global Pipelines Version Info 03:46:47 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:46:48 ------------------- 03:46:48 stable info: 03:46:48 ------------------- 03:46:48 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:46:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:46:48 Message: update stable to v1.0.258 03:46:48 ------------------- 03:46:48 experimental info: 03:46:48 ------------------- 03:46:48 Commited By: **** collab-it+edgex@linuxfoundation.org 03:46:48 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 03:46:48 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:46:49 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:46:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 96614595ba73594199dee70385f2da41578defd7 [Pipeline] echo 03:46:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9661459 [Pipeline] echo 03:46:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:46:50 provisioning config files... 03:46:50 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7112375351799671150tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:46:50 ---> ****-login.sh 03:46:50 nexus3.edgexfoundry.org:10001 03:46:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:51 Configure a credential helper to remove this warning. See 03:46:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:51 03:46:51 Login Succeeded 03:46:51 nexus3.edgexfoundry.org:10002 03:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:51 Configure a credential helper to remove this warning. See 03:46:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:51 03:46:51 Login Succeeded 03:46:51 nexus3.edgexfoundry.org:10003 03:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:51 Configure a credential helper to remove this warning. See 03:46:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:51 03:46:51 Login Succeeded 03:46:51 nexus3.edgexfoundry.org:10004 03:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:51 Configure a credential helper to remove this warning. See 03:46:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:51 03:46:51 Login Succeeded 03:46:51 ****.io 03:46:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:46:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:46:51 Configure a credential helper to remove this warning. See 03:46:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:46:51 03:46:51 Login Succeeded 03:46:51 ---> ****-login.sh ends [Pipeline] } 03:46:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:46:52 + git rev-list -1 --merges 96614595ba73594199dee70385f2da41578defd7~1..96614595ba73594199dee70385f2da41578defd7 [Pipeline] echo 03:46:52 -----------> git rev-list -1 --merges 96614595ba73594199dee70385f2da41578defd7~1..96614595ba73594199dee70385f2da41578defd7 96614595ba73594199dee70385f2da41578defd7 03:46:52 96614595ba73594199dee70385f2da41578defd7 [false] [Pipeline] sh 03:46:52 + git log --format=format:%s -1 96614595ba73594199dee70385f2da41578defd7 [Pipeline] echo 03:46:52 ========================================================= 03:46:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:46:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:46:52 + git log --format=format:%s -1 96614595ba73594199dee70385f2da41578defd7 [Pipeline] echo 03:46:52 [semverPrep] GIT_COMMIT: 96614595ba73594199dee70385f2da41578defd7, Commit Message: Merge pull request #370 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0 [Pipeline] echo 03:46:52 [semverPrep] This is not a build commit. [Pipeline] sh 03:46:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:46:53 + grep -v github /etc/ssh/ssh_known_hosts 03:46:53 + [ -e /tmp/ssh_known_hosts ] 03:46:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:46:53 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:46:53 sudo tee -a /etc/ssh/ssh_known_hosts 03:46:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:46:53 03:46:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:46:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:46:54 0.1.4: Pulling from edgex-devops/py-git-semver 03:46:54 b85a868b505f: Pulling fs layer 03:46:54 e2be974225ed: Pulling fs layer 03:46:54 339a4e72a1f5: Pulling fs layer 03:46:54 988bab9f4d93: Pulling fs layer 03:46:54 1469e6f7b9e6: Pulling fs layer 03:46:54 eaf3925da568: Pulling fs layer 03:46:54 bab4dde63d76: Pulling fs layer 03:46:54 bde34c3a00c8: Pulling fs layer 03:46:54 b352a97aabf1: Pulling fs layer 03:46:54 4872d77fe225: Pulling fs layer 03:46:54 5851b861e8e6: Pulling fs layer 03:46:54 988bab9f4d93: Waiting 03:46:54 1469e6f7b9e6: Waiting 03:46:54 eaf3925da568: Waiting 03:46:54 bab4dde63d76: Waiting 03:46:54 bde34c3a00c8: Waiting 03:46:54 b352a97aabf1: Waiting 03:46:54 4872d77fe225: Waiting 03:46:54 5851b861e8e6: Waiting 03:46:54 e2be974225ed: Download complete 03:46:54 988bab9f4d93: Verifying Checksum 03:46:54 988bab9f4d93: Download complete 03:46:54 1469e6f7b9e6: Verifying Checksum 03:46:54 1469e6f7b9e6: Download complete 03:46:54 eaf3925da568: Download complete 03:46:54 339a4e72a1f5: Verifying Checksum 03:46:54 339a4e72a1f5: Download complete 03:46:54 bde34c3a00c8: Download complete 03:46:54 b352a97aabf1: Download complete 03:46:54 4872d77fe225: Download complete 03:46:54 5851b861e8e6: Download complete 03:46:54 b85a868b505f: Verifying Checksum 03:46:54 b85a868b505f: Download complete 03:46:54 bab4dde63d76: Verifying Checksum 03:46:54 bab4dde63d76: Download complete 03:46:55 b85a868b505f: Pull complete 03:46:55 e2be974225ed: Pull complete 03:46:56 339a4e72a1f5: Pull complete 03:46:56 988bab9f4d93: Pull complete 03:46:56 1469e6f7b9e6: Pull complete 03:46:56 eaf3925da568: Pull complete 03:46:58 bab4dde63d76: Pull complete 03:46:58 bde34c3a00c8: Pull complete 03:46:58 b352a97aabf1: Pull complete 03:46:58 4872d77fe225: Pull complete 03:46:59 5851b861e8e6: Pull complete 03:46:59 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:46:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:46:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:46:59 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 03:46:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:47:03 $ docker top 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 -eo pid,comm 03:47:03 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:47:03 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:47:03 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:47:03 [ssh-agent] Looking for ssh-agent implementation... 03:47:03 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:47:03 $ docker exec 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 ssh-agent 03:47:03 SSH_AUTH_SOCK=/tmp/ssh-JaCBUHXSbA2e/agent.32 03:47:03 SSH_AGENT_PID=38 03:47:03 Running ssh-add (command line suppressed) 03:47:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1911941372481765749.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1911941372481765749.key) 03:47:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:47:04 + git tag --points-at HEAD [Pipeline] } 03:47:04 $ docker exec --env ******** --env ******** 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 ssh-agent -k 03:47:04 unset SSH_AUTH_SOCK; 03:47:04 unset SSH_AGENT_PID; 03:47:04 echo Agent pid 38 killed; 03:47:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:47:04 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:47:04 [ssh-agent] Looking for ssh-agent implementation... 03:47:04 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:47:04 $ docker exec 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 ssh-agent 03:47:04 SSH_AUTH_SOCK=/tmp/ssh-3Bsnj0hMJKyL/agent.70 03:47:04 SSH_AGENT_PID=76 03:47:04 Running ssh-add (command line suppressed) 03:47:04 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1598014234024679998.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1598014234024679998.key) 03:47:04 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:47:05 + git semver init 03:47:05 2023-11-29 03:47:05,331 [run_init] DEBUG init version:0.0.0 force:False 03:47:05 2023-11-29 03:47:05,331 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 03:47:05 2023-11-29 03:47:05,332 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 03:47:05 2023-11-29 03:47:05,332 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 03:47:07 2023-11-29 03:47:07,261 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 03:47:07 2023-11-29 03:47:07,261 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 03:47:07 2023-11-29 03:47:07,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:47:07 2023-11-29 03:47:07,262 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:47:07 3.2.0-dev.2 [Pipeline] } 03:47:07 $ docker exec --env ******** --env ******** 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 ssh-agent -k 03:47:07 unset SSH_AUTH_SOCK; 03:47:07 unset SSH_AGENT_PID; 03:47:07 echo Agent pid 76 killed; 03:47:07 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:47:07 + git semver [Pipeline] } 03:47:08 $ docker stop --time=1 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 03:47:09 $ docker rm -f --volumes 06126721b2a10a5f85c447b2c246183441bb638799b1458f9b8b917e52aa2c16 [Pipeline] // withDockerContainer [Pipeline] sh 03:47:09 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:47:09 Stashed 1 file(s) [Pipeline] echo 03:47:09 [edgeXSemver]: initialized semver on version 3.2.0-dev.2 [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 03:47:10 provisioning config files... 03:47:10 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5341769104404590085tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:47:10 ---> ****-login.sh 03:47:10 nexus3.edgexfoundry.org:10001 03:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:10 Configure a credential helper to remove this warning. See 03:47:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:10 03:47:10 Login Succeeded 03:47:10 nexus3.edgexfoundry.org:10002 03:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:10 Configure a credential helper to remove this warning. See 03:47:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:10 03:47:10 Login Succeeded 03:47:10 nexus3.edgexfoundry.org:10003 03:47:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:10 Configure a credential helper to remove this warning. See 03:47:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:10 03:47:10 Login Succeeded 03:47:10 nexus3.edgexfoundry.org:10004 03:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:11 Configure a credential helper to remove this warning. See 03:47:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:11 03:47:11 Login Succeeded 03:47:11 ****.io 03:47:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:47:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:47:11 Configure a credential helper to remove this warning. See 03:47:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:47:11 03:47:11 Login Succeeded 03:47:11 ---> ****-login.sh ends [Pipeline] } 03:47:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:47:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:47:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:47:11 ========================================================= 03:47:11 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:47:11 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:47:12 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:47:12 Sending build context to Docker daemon 16.34MB 03:47:12 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:47:12 Step 2/12 : FROM ${BASE} AS builder 03:47:12 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:47:12 7264a8db6415: Pulling fs layer 03:47:12 c4d48a809fc2: Pulling fs layer 03:47:12 4f1c88b9dad5: Pulling fs layer 03:47:12 ad3a456e5733: Pulling fs layer 03:47:12 69c7f0334f64: Pulling fs layer 03:47:12 1f1c1a5573a3: Pulling fs layer 03:47:12 ce7588e14bc9: Pulling fs layer 03:47:12 b5e4710f87ac: Pulling fs layer 03:47:12 ad3a456e5733: Waiting 03:47:12 69c7f0334f64: Waiting 03:47:12 b5e4710f87ac: Waiting 03:47:12 1f1c1a5573a3: Waiting 03:47:12 ce7588e14bc9: Waiting 03:47:12 c4d48a809fc2: Download complete 03:47:12 ad3a456e5733: Download complete 03:47:12 69c7f0334f64: Verifying Checksum 03:47:12 69c7f0334f64: Download complete 03:47:12 7264a8db6415: Verifying Checksum 03:47:12 7264a8db6415: Download complete 03:47:12 1f1c1a5573a3: Verifying Checksum 03:47:12 1f1c1a5573a3: Download complete 03:47:12 7264a8db6415: Pull complete 03:47:12 c4d48a809fc2: Pull complete 03:47:12 b5e4710f87ac: Verifying Checksum 03:47:12 b5e4710f87ac: Download complete 03:47:13 4f1c88b9dad5: Verifying Checksum 03:47:13 4f1c88b9dad5: Download complete 03:47:13 ce7588e14bc9: Verifying Checksum 03:47:13 ce7588e14bc9: Download complete 03:47:15 4f1c88b9dad5: Pull complete 03:47:15 ad3a456e5733: Pull complete 03:47:15 69c7f0334f64: Pull complete 03:47:16 1f1c1a5573a3: Pull complete 03:47:18 ce7588e14bc9: Pull complete 03:47:18 b5e4710f87ac: Pull complete 03:47:18 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 03:47:18 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:47:18 ---> 88b5674ff536 03:47:18 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:47:24 ---> Running in 35a6914703cb 03:47:24 Removing intermediate container 35a6914703cb 03:47:24 ---> 119df288c7d8 03:47:24 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:47:24 ---> Running in fbb5a1d617cd 03:47:24 Removing intermediate container fbb5a1d617cd 03:47:24 ---> 64d90418e16a 03:47:24 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:47:24 ---> Running in c89445b93080 03:47:24 Removing intermediate container c89445b93080 03:47:24 ---> 558539d2a2c1 03:47:24 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:47:24 ---> Running in 801bc565427f 03:47:24 Removing intermediate container 801bc565427f 03:47:24 ---> a10f17b9f445 03:47:24 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:47:24 ---> Running in cf42a6ccf706 03:47:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:47:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:47:24 (1/4) Installing openssh-keygen (9.3_p2-r0) 03:47:24 (2/4) Installing libedit (20221030.3.1-r1) 03:47:24 (3/4) Installing openssh-client-common (9.3_p2-r0) 03:47:24 (4/4) Installing openssh-client-default (9.3_p2-r0) 03:47:24 Executing busybox-1.36.1-r5.trigger 03:47:24 OK: 268 MiB in 56 packages 03:47:25 Removing intermediate container cf42a6ccf706 03:47:25 ---> 7403b34438d8 03:47:25 Step 8/12 : WORKDIR /device-rest-go 03:47:25 ---> Running in 31f4d28ec264 03:47:25 Removing intermediate container 31f4d28ec264 03:47:25 ---> 412e2d817eab 03:47:25 Step 9/12 : COPY go.mod vendor* ./ 03:47:25 Still waiting to schedule task 03:47:25 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9097’ 03:47:25 ---> 8d6843a74577 03:47:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:47:25 ---> Running in f0973430f8ee 03:48:12 Removing intermediate container f0973430f8ee 03:48:12 ---> bd5442561281 03:48:12 Step 11/12 : COPY . . 03:48:12 ---> 98d099e77327 03:48:12 Step 12/12 : RUN $MAKE 03:48:12 ---> Running in be3502bfba35 03:48:12 noop 03:48:12 Removing intermediate container be3502bfba35 03:48:12 ---> 98acdd5ce399 03:48:12 Successfully built 98acdd5ce399 03:48:12 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:12 + docker inspect -f . ci-base-image-x86_64 03:48:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:12 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 03:48:12 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 03:48:13 $ docker top 64bed49818e1ed756911c86bea4b6b1f143ca2e07a395b5fcc4878988c5ad014 -eo pid,comm [Pipeline] { [Pipeline] sh 03:48:13 + go version 03:48:13 go version go1.21.0 linux/amd64 [Pipeline] } 03:48:13 $ docker stop --time=1 64bed49818e1ed756911c86bea4b6b1f143ca2e07a395b5fcc4878988c5ad014 03:48:14 $ docker rm -f --volumes 64bed49818e1ed756911c86bea4b6b1f143ca2e07a395b5fcc4878988c5ad014 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:15 + docker inspect -f . ci-base-image-x86_64 03:48:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:48:15 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 03:48:15 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 03:48:15 $ docker top c190ada6950eb72ed7957f6781705c142c07d9e33f6d9881e503fd5a90e79636 -eo pid,comm [Pipeline] { [Pipeline] sh 03:48:16 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 03:48:16 + make test 03:48:16 go test ./... -coverprofile=coverage.out ./... 03:48:18 ? github.com/edgexfoundry/device-rest-go [no test files] 03:48:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:48:27 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.2% of statements 03:48:32 go vet ./... 03:48:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:48:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:48:35 ./bin/test-attribution-txt.sh [Pipeline] echo 03:48:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:48:35 $ docker stop --time=1 c190ada6950eb72ed7957f6781705c142c07d9e33f6d9881e503fd5a90e79636 03:48:40 $ docker rm -f --volumes c190ada6950eb72ed7957f6781705c142c07d9e33f6d9881e503fd5a90e79636 [Pipeline] // withDockerContainer [Pipeline] sh 03:48:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:48:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:48:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:48:41 + ls -al . 03:48:41 total 180 03:48:41 drwxrwxr-x 9 jenkins jenkins 4096 Nov 29 03:48 . 03:48:41 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 03:46 .. 03:48:41 -rw-rw-r-- 1 jenkins jenkins 151 Nov 29 03:46 .dockerignore 03:48:41 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 03:48 .git 03:48:41 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:46 .github 03:48:41 -rw-rw-r-- 1 jenkins jenkins 264 Nov 29 03:46 .gitignore 03:48:41 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 03:46 .golangci.yml 03:48:41 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 03:47 .semver 03:48:41 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 29 03:46 Attribution.txt 03:48:41 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 29 03:46 CHANGELOG.md 03:48:41 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 29 03:46 Dockerfile 03:48:41 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 03:46 GOVERNANCE.md 03:48:41 -rw-rw-r-- 1 jenkins jenkins 680 Nov 29 03:46 Jenkinsfile 03:48:41 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 03:46 LICENSE 03:48:41 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 29 03:46 Makefile 03:48:41 -rw-rw-r-- 1 jenkins jenkins 620 Nov 29 03:46 OWNERS.md 03:48:41 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 29 03:46 README.md 03:48:41 -rw-rw-r-- 1 jenkins jenkins 11 Nov 29 03:47 VERSION 03:48:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 03:46 bin 03:48:41 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:46 cmd 03:48:41 -rw-r--r-- 1 jenkins jenkins 14499 Nov 29 03:48 coverage.out 03:48:41 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 03:46 driver 03:48:41 -rw-rw-r-- 1 jenkins jenkins 3886 Nov 29 03:46 go.mod 03:48:41 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 29 03:46 go.sum 03:48:41 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:46 openapi 03:48:41 -rw-rw-r-- 1 jenkins jenkins 713 Nov 29 03:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:48:41 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=96614595ba73594199dee70385f2da41578defd7 --label arch=amd64 --label version=3.2.0-dev.2 . 03:48:41 Sending build context to Docker daemon 16.36MB 03:48:41 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:48:41 Step 2/26 : FROM ${BASE} AS builder 03:48:41 ---> 98acdd5ce399 03:48:41 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:48:42 ---> Running in 45cf061c895f 03:48:42 Removing intermediate container 45cf061c895f 03:48:42 ---> 9869fc15c351 03:48:42 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:48:42 ---> Running in 35018399e15d 03:48:42 Removing intermediate container 35018399e15d 03:48:42 ---> 6b7258a3ac1c 03:48:42 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:48:42 ---> Running in b19686494c36 03:48:42 Removing intermediate container b19686494c36 03:48:42 ---> 75a95bdf9519 03:48:42 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:48:42 ---> Running in dc39e6b24875 03:48:42 Removing intermediate container dc39e6b24875 03:48:42 ---> a7eaa5e02151 03:48:42 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:48:42 ---> Running in 8512bb3b80ad 03:48:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:48:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:48:43 OK: 268 MiB in 56 packages 03:48:43 Removing intermediate container 8512bb3b80ad 03:48:43 ---> 0fb209f4075b 03:48:43 Step 8/26 : WORKDIR /device-rest-go 03:48:43 ---> Running in 7512f7be9c4d 03:48:43 Removing intermediate container 7512f7be9c4d 03:48:43 ---> c0bbb99e4218 03:48:43 Step 9/26 : COPY go.mod vendor* ./ 03:48:43 ---> 5757fae459f2 03:48:43 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:48:43 ---> Running in 166ed55de496 03:48:44 Removing intermediate container 166ed55de496 03:48:44 ---> 7804772ebf40 03:48:44 Step 11/26 : COPY . . 03:48:45 ---> 550547cc9b34 03:48:45 Step 12/26 : RUN $MAKE 03:48:45 ---> Running in 647e88d9f2af 03:48:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 03:49:07 Removing intermediate container 647e88d9f2af 03:49:07 ---> 038ceedac4bc 03:49:07 Step 13/26 : FROM alpine:3.18 03:49:07 3.18: Pulling from library/alpine 03:49:07 96526aa774ef: Pulling fs layer 03:49:07 96526aa774ef: Verifying Checksum 03:49:07 96526aa774ef: Download complete 03:49:07 96526aa774ef: Pull complete 03:49:07 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 03:49:07 Status: Downloaded newer image for alpine:3.18 03:49:07 ---> 8ca4688f4f35 03:49:07 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:49:07 ---> Running in d5b0d70bc4d0 03:49:07 Removing intermediate container d5b0d70bc4d0 03:49:07 ---> 2ae8a14e4e08 03:49:07 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 03:49:07 ---> Running in 73d748092f56 03:49:07 Removing intermediate container 73d748092f56 03:49:07 ---> a94ef818b2b8 03:49:07 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:49:07 ---> Running in 43f1c13618cf 03:49:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:49:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:49:07 (1/1) Installing dumb-init (1.2.5-r2) 03:49:07 Executing busybox-1.36.1-r2.trigger 03:49:07 OK: 7 MiB in 16 packages 03:49:07 Removing intermediate container 43f1c13618cf 03:49:07 ---> 1cfbce62c6f9 03:49:07 Step 17/26 : RUN apk --no-cache upgrade 03:49:07 ---> Running in 120a112a0a59 03:49:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:49:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:49:07 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 03:49:07 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 03:49:07 Executing busybox-1.36.1-r5.post-upgrade 03:49:07 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 03:49:07 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 03:49:07 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 03:49:07 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 03:49:07 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 03:49:07 Executing busybox-1.36.1-r5.trigger 03:49:07 OK: 7 MiB in 16 packages 03:49:08 Removing intermediate container 120a112a0a59 03:49:08 ---> 4b872653875f 03:49:08 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 03:49:09 ---> 8e49f5d4faac 03:49:09 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 03:49:09 ---> 93a69a095660 03:49:09 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 03:49:09 ---> 0683f49acd2a 03:49:09 Step 21/26 : EXPOSE 59986 03:49:09 ---> Running in 6e27f557a56b 03:49:09 Removing intermediate container 6e27f557a56b 03:49:09 ---> e4123362b376 03:49:09 Step 22/26 : ENTRYPOINT ["/device-rest"] 03:49:09 ---> Running in 912a366e86b1 03:49:09 Removing intermediate container 912a366e86b1 03:49:09 ---> bebc0ee47bf0 03:49:09 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:49:09 ---> Running in 20a284f9bf9e 03:49:09 Removing intermediate container 20a284f9bf9e 03:49:09 ---> dafc36f857bd 03:49:09 Step 24/26 : LABEL arch=amd64 03:49:09 ---> Running in be6170cf9c5f 03:49:09 Removing intermediate container be6170cf9c5f 03:49:09 ---> afc713997842 03:49:09 Step 25/26 : LABEL git_sha=96614595ba73594199dee70385f2da41578defd7 03:49:09 ---> Running in 2cef4dfb8935 03:49:09 Removing intermediate container 2cef4dfb8935 03:49:09 ---> 76f86f4e7438 03:49:09 Step 26/26 : LABEL version=3.2.0-dev.2 03:49:09 ---> Running in fe3ec95fb93a 03:49:09 Removing intermediate container fe3ec95fb93a 03:49:09 ---> 4b63261676af 03:49:09 [Warning] One or more build-args [ARCH] were not consumed 03:49:09 Successfully built 4b63261676af 03:49:09 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:49:10 provisioning config files... 03:49:10 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14521817771674143414tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:49:10 ---> ****-login.sh 03:49:10 nexus3.edgexfoundry.org:10001 03:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:10 Configure a credential helper to remove this warning. See 03:49:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:10 03:49:10 Login Succeeded 03:49:10 nexus3.edgexfoundry.org:10002 03:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:10 Configure a credential helper to remove this warning. See 03:49:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:10 03:49:10 Login Succeeded 03:49:10 nexus3.edgexfoundry.org:10003 03:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:10 Configure a credential helper to remove this warning. See 03:49:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:10 03:49:10 Login Succeeded 03:49:10 nexus3.edgexfoundry.org:10004 03:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:10 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:10 Configure a credential helper to remove this warning. See 03:49:10 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:10 03:49:10 Login Succeeded 03:49:10 ****.io 03:49:10 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:49:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:49:11 Configure a credential helper to remove this warning. See 03:49:11 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:49:11 03:49:11 Login Succeeded 03:49:11 ---> ****-login.sh ends [Pipeline] } 03:49:11 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:49:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:49:11 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 03:49:11 96614595ba73594199dee70385f2da41578defd7 03:49:11 latest 03:49:11 3.2.0-dev.2 03:49:11 96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 03:49:11 main 03:49:11 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:11 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7 03:49:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:49:12 758c8a58e286: Preparing 03:49:12 86fd32e93487: Preparing 03:49:12 21fdc358e0bf: Preparing 03:49:12 95c5cd2459a4: Preparing 03:49:12 33fee20a689c: Preparing 03:49:12 cc2447e1835a: Preparing 03:49:12 cc2447e1835a: Waiting 03:49:12 758c8a58e286: Pushed 03:49:12 86fd32e93487: Pushed 03:49:12 33fee20a689c: Pushed 03:49:12 cc2447e1835a: Layer already exists 03:49:12 95c5cd2459a4: Pushed 03:49:15 21fdc358e0bf: Pushed 03:49:15 96614595ba73594199dee70385f2da41578defd7: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 03:49:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:49:16 758c8a58e286: Preparing 03:49:16 86fd32e93487: Preparing 03:49:16 21fdc358e0bf: Preparing 03:49:16 95c5cd2459a4: Preparing 03:49:16 33fee20a689c: Preparing 03:49:16 cc2447e1835a: Preparing 03:49:16 cc2447e1835a: Waiting 03:49:16 33fee20a689c: Layer already exists 03:49:16 95c5cd2459a4: Layer already exists 03:49:16 21fdc358e0bf: Layer already exists 03:49:16 86fd32e93487: Layer already exists 03:49:16 758c8a58e286: Layer already exists 03:49:16 cc2447e1835a: Layer already exists 03:49:16 latest: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.2 03:49:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:49:16 758c8a58e286: Preparing 03:49:16 86fd32e93487: Preparing 03:49:16 21fdc358e0bf: Preparing 03:49:16 95c5cd2459a4: Preparing 03:49:16 33fee20a689c: Preparing 03:49:16 cc2447e1835a: Preparing 03:49:16 cc2447e1835a: Waiting 03:49:16 33fee20a689c: Layer already exists 03:49:16 86fd32e93487: Layer already exists 03:49:16 21fdc358e0bf: Layer already exists 03:49:16 95c5cd2459a4: Layer already exists 03:49:16 758c8a58e286: Layer already exists 03:49:16 cc2447e1835a: Layer already exists 03:49:16 3.2.0-dev.2: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 03:49:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:49:17 758c8a58e286: Preparing 03:49:17 86fd32e93487: Preparing 03:49:17 21fdc358e0bf: Preparing 03:49:17 95c5cd2459a4: Preparing 03:49:17 33fee20a689c: Preparing 03:49:17 cc2447e1835a: Preparing 03:49:17 cc2447e1835a: Waiting 03:49:17 95c5cd2459a4: Layer already exists 03:49:17 33fee20a689c: Layer already exists 03:49:17 86fd32e93487: Layer already exists 03:49:17 758c8a58e286: Layer already exists 03:49:17 21fdc358e0bf: Layer already exists 03:49:17 cc2447e1835a: Layer already exists 03:49:17 96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 03:49:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:49:18 758c8a58e286: Preparing 03:49:18 86fd32e93487: Preparing 03:49:18 21fdc358e0bf: Preparing 03:49:18 95c5cd2459a4: Preparing 03:49:18 33fee20a689c: Preparing 03:49:18 cc2447e1835a: Preparing 03:49:18 cc2447e1835a: Waiting 03:49:18 21fdc358e0bf: Layer already exists 03:49:18 86fd32e93487: Layer already exists 03:49:18 33fee20a689c: Layer already exists 03:49:18 758c8a58e286: Layer already exists 03:49:18 95c5cd2459a4: Layer already exists 03:49:18 cc2447e1835a: Layer already exists 03:49:18 main: digest: sha256:21f27ab6d0c4745c37ab2ae9c7df7a7e4daa07754dd547e7f215bf10e2e18d7b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:49:18 ===================================================== [Pipeline] echo 03:49:18 taggedImages: 03:49:18 - nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7 03:49:18 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:49:18 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.2 03:49:18 - nexus3.edgexfoundry.org:10004/device-rest:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 03:49:18 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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 03:49:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:49:19 03:49:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:49:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:49:19 latest: Pulling from edgex-lftools-log-publisher 03:49:19 5eb5b503b376: Pulling fs layer 03:49:19 5c69ac0246d0: Pulling fs layer 03:49:19 ec43610c2a17: Pulling fs layer 03:49:19 3a2ae6a8a46f: Pulling fs layer 03:49:19 33b1e0a273af: Pulling fs layer 03:49:19 5d3b04190fa2: Pulling fs layer 03:49:19 2f39f015ded8: Pulling fs layer 03:49:19 33b1e0a273af: Waiting 03:49:19 5d3b04190fa2: Waiting 03:49:19 2f39f015ded8: Waiting 03:49:19 3a2ae6a8a46f: Waiting 03:49:19 5c69ac0246d0: Verifying Checksum 03:49:19 5c69ac0246d0: Download complete 03:49:19 3a2ae6a8a46f: Verifying Checksum 03:49:19 3a2ae6a8a46f: Download complete 03:49:19 33b1e0a273af: Verifying Checksum 03:49:19 33b1e0a273af: Download complete 03:49:19 ec43610c2a17: Verifying Checksum 03:49:19 ec43610c2a17: Download complete 03:49:19 5d3b04190fa2: Download complete 03:49:20 5eb5b503b376: Verifying Checksum 03:49:20 5eb5b503b376: Download complete 03:49:20 2f39f015ded8: Download complete 03:49:21 5eb5b503b376: Pull complete 03:49:21 5c69ac0246d0: Pull complete 03:49:21 ec43610c2a17: Pull complete 03:49:21 3a2ae6a8a46f: Pull complete 03:49:21 33b1e0a273af: Pull complete 03:49:22 5d3b04190fa2: Pull complete 03:49:26 2f39f015ded8: Pull complete 03:49:26 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:49:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:49:26 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:49:26 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 03:49:26 $ 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/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:49:32 $ docker top 3d5c2257ffa79506fc5e2c58572cb6364d0e88b87941a25d33f8170e8df2abeb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:49:33 ---> job-cost.sh 03:49:33 lf-activate-venv: SKIPPING 03:49:33 INFO: No Stack... 03:49:33 INFO: Retrieving Pricing Info for: v3-standard-8 03:49:33 INFO: Archiving Costs [Pipeline] sh 03:49:34 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 03:49:34 + cut -d, -f6 [Pipeline] lock 03:49:34 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] 03:49:34 Resource [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] did not exist. Created. 03:49:34 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:49:34 + echo total: 0.2199999988079071 [Pipeline] stash 03:49:34 Stashed 1 file(s) [Pipeline] } 03:49:34 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 03:49:34 $ docker stop --time=1 3d5c2257ffa79506fc5e2c58572cb6364d0e88b87941a25d33f8170e8df2abeb 03:49:35 $ docker rm -f --volumes 3d5c2257ffa79506fc5e2c58572cb6364d0e88b87941a25d33f8170e8df2abeb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:51:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9099 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 03:51:09 Running in /w/workspace/device-rest-go/154 [Pipeline] { [Pipeline] checkout 03:51:12 The recommended git tool is: git 03:51:23 using credential edgex-jenkins-ssh 03:51:23 Cloning the remote Git repository 03:51:23 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:51:23 > git init /w/workspace/device-rest-go/154 # timeout=10 03:51:23 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:51:23 > git --version # timeout=10 03:51:23 > git --version # 'git version 2.25.1' 03:51:24 using GIT_SSH to set credentials SSH Credentials for GitHub 03:51:24 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:51:26 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:51:26 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:51:27 Avoid second fetch 03:51:27 Checking out Revision 96614595ba73594199dee70385f2da41578defd7 (main) 03:51:27 > git config core.sparsecheckout # timeout=10 03:51:27 > git checkout -f 96614595ba73594199dee70385f2da41578defd7 # timeout=10 03:51:28 Commit message: "Merge pull request #370 from edgexfoundry/dependabot/go_modules/github.com/spf13/cast-1.6.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:51:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:51:29 % Total % Received % Xferd Average Speed Time Time Time Current 03:51:29 Dload Upload Total Spent Left Speed 03:51:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 87 12682 87 11015 0 0 93347 0 --:--:-- --:--:-- --:--:-- 92563 100 12682 100 12682 0 0 103k 0 --:--:-- --:--:-- --:--:-- 102k [Pipeline] sh 03:51:29 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:51:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:51:30 + sudo tee /etc/docker/daemon.new 03:51:30 { 03:51:30 "registry-mirrors": [ 03:51:30 "https://nexus3.edgexfoundry.org:10001" 03:51:30 ], 03:51:30 "bip": "10.250.0.254/24", 03:51:30 "hosts": [ 03:51:30 "tcp://0.0.0.0:5555", 03:51:30 "unix:///var/run/docker.sock" 03:51:30 ], 03:51:30 "mtu": 1458, 03:51:30 "selinux-enabled": true, 03:51:30 "seccomp-profile": "/etc/docker/seccomp.json" 03:51:30 } [Pipeline] sh 03:51:30 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:51:30 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:51:49 provisioning config files... 03:51:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/154@tmp/config18311017440594296634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:51:49 ---> ****-login.sh 03:51:49 nexus3.edgexfoundry.org:10001 03:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:51:50 Configure a credential helper to remove this warning. See 03:51:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:51:50 03:51:50 Login Succeeded 03:51:50 nexus3.edgexfoundry.org:10002 03:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:51:50 Configure a credential helper to remove this warning. See 03:51:50 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:51:50 03:51:50 Login Succeeded 03:51:50 nexus3.edgexfoundry.org:10003 03:51:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:51:51 Configure a credential helper to remove this warning. See 03:51:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:51:51 03:51:51 Login Succeeded 03:51:51 nexus3.edgexfoundry.org:10004 03:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:51:51 Configure a credential helper to remove this warning. See 03:51:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:51:51 03:51:51 Login Succeeded 03:51:51 ****.io 03:51:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:51:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:51:51 Configure a credential helper to remove this warning. See 03:51:51 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:51:51 03:51:51 Login Succeeded 03:51:51 ---> ****-login.sh ends [Pipeline] } 03:51:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:51:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:51:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:51:52 ========================================================= 03:51:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:51:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:51:52 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:51:52 Sending build context to Docker daemon 127.5kB 03:51:53 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:51:53 Step 2/12 : FROM ${BASE} AS builder 03:51:53 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:51:53 9fda8d8052c6: Pulling fs layer 03:51:53 5d54e960e981: Pulling fs layer 03:51:53 c4a7e357bf2a: Pulling fs layer 03:51:53 f0e02332f6b5: Pulling fs layer 03:51:53 872ee5b61b7b: Pulling fs layer 03:51:53 0c6a40ed1a82: Pulling fs layer 03:51:53 94ae7d8d031c: Pulling fs layer 03:51:53 f0e02332f6b5: Waiting 03:51:53 872ee5b61b7b: Waiting 03:51:53 0c6a40ed1a82: Waiting 03:51:53 94ae7d8d031c: Waiting 03:51:53 5d54e960e981: Download complete 03:51:53 f0e02332f6b5: Verifying Checksum 03:51:53 f0e02332f6b5: Download complete 03:51:53 872ee5b61b7b: Verifying Checksum 03:51:53 872ee5b61b7b: Download complete 03:51:53 9fda8d8052c6: Verifying Checksum 03:51:53 9fda8d8052c6: Download complete 03:51:54 94ae7d8d031c: Verifying Checksum 03:51:54 94ae7d8d031c: Download complete 03:51:54 9fda8d8052c6: Pull complete 03:51:55 5d54e960e981: Pull complete 03:51:55 c4a7e357bf2a: Verifying Checksum 03:51:55 c4a7e357bf2a: Download complete 03:51:56 0c6a40ed1a82: Verifying Checksum 03:51:56 0c6a40ed1a82: Download complete 03:52:08 c4a7e357bf2a: Pull complete 03:52:09 f0e02332f6b5: Pull complete 03:52:09 872ee5b61b7b: Pull complete 03:52:17 0c6a40ed1a82: Pull complete 03:52:19 94ae7d8d031c: Pull complete 03:52:19 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 03:52:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:52:19 ---> 86de565de09d 03:52:19 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:52:20 ---> Running in 757711e559c1 03:52:21 Removing intermediate container 757711e559c1 03:52:21 ---> ab6c99ca541a 03:52:21 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:52:21 ---> Running in c95b8f188ec3 03:52:21 Removing intermediate container c95b8f188ec3 03:52:21 ---> fe9c8195dd8a 03:52:21 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:52:21 ---> Running in b03ceeb76437 03:52:21 Removing intermediate container b03ceeb76437 03:52:21 ---> 8e66119ef95b 03:52:21 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:52:21 ---> Running in da582e1fabc3 03:52:22 Removing intermediate container da582e1fabc3 03:52:22 ---> 79b0bd319daa 03:52:22 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:52:22 ---> Running in f6764ffac4e2 03:52:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:52:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:52:25 (1/4) Installing openssh-keygen (9.3_p2-r0) 03:52:25 (2/4) Installing libedit (20221030.3.1-r1) 03:52:25 (3/4) Installing openssh-client-common (9.3_p2-r0) 03:52:25 (4/4) Installing openssh-client-default (9.3_p2-r0) 03:52:25 Executing busybox-1.36.1-r5.trigger 03:52:25 OK: 271 MiB in 56 packages 03:52:28 Removing intermediate container f6764ffac4e2 03:52:28 ---> 098d97d4f848 03:52:28 Step 8/12 : WORKDIR /device-rest-go 03:52:28 ---> Running in 024f60282a2d 03:52:28 Removing intermediate container 024f60282a2d 03:52:28 ---> e0d7c657da1a 03:52:28 Step 9/12 : COPY go.mod vendor* ./ 03:52:28 ---> 92caf764683c 03:52:28 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:52:29 ---> Running in 220123cda05e 03:53:52 Removing intermediate container 220123cda05e 03:53:52 ---> 8a8abb75ad90 03:53:52 Step 11/12 : COPY . . 03:53:55 ---> 9870ee52d514 03:53:55 Step 12/12 : RUN $MAKE 03:53:55 ---> Running in 95218d387ed8 03:53:56 noop 03:53:56 Removing intermediate container 95218d387ed8 03:53:56 ---> 4e79d7173a8a 03:53:56 Successfully built 4e79d7173a8a 03:53:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:53:57 + docker inspect -f . ci-base-image-arm64 03:53:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:53:57 prd-ubuntu20.04-docker-arm64-4c-16g-9099 does not seem to be running inside a container 03:53:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/154 -v /w/workspace/device-rest-go/154:/w/workspace/device-rest-go/154:rw,z -v /w/workspace/device-rest-go/154@tmp:/w/workspace/device-rest-go/154@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 ******** ci-base-image-arm64 cat 03:53:58 $ docker top 8412a6fea3cf42f30f7ddc819ae698db09e4daf48acd43561622f2c09a15d904 -eo pid,comm [Pipeline] { [Pipeline] sh 03:53:59 + go version 03:53:59 go version go1.21.0 linux/arm64 [Pipeline] } 03:53:59 $ docker stop --time=1 8412a6fea3cf42f30f7ddc819ae698db09e4daf48acd43561622f2c09a15d904 03:54:01 $ docker rm -f --volumes 8412a6fea3cf42f30f7ddc819ae698db09e4daf48acd43561622f2c09a15d904 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:54:02 + docker inspect -f . ci-base-image-arm64 03:54:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:54:02 prd-ubuntu20.04-docker-arm64-4c-16g-9099 does not seem to be running inside a container 03:54:02 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/154 -v /w/workspace/device-rest-go/154:/w/workspace/device-rest-go/154:rw,z -v /w/workspace/device-rest-go/154@tmp:/w/workspace/device-rest-go/154@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 ******** ci-base-image-arm64 cat 03:54:03 $ docker top be1aad0f612022e1bfe84dce1080e7a27b9229d8de3f12e0e18126a0c627b740 -eo pid,comm [Pipeline] { [Pipeline] sh 03:54:04 + git config --global --add safe.directory /w/workspace/device-rest-go/154 [Pipeline] fileExists [Pipeline] sh 03:54:05 + make test 03:54:05 go test ./... -coverprofile=coverage.out ./... 03:54:09 ? github.com/edgexfoundry/device-rest-go [no test files] 03:55:46 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:55:46 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements 03:55:46 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:55:46 go vet ./... 03:56:01 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:56:01 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:56:01 ./bin/test-attribution-txt.sh [Pipeline] echo 03:56:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 03:56:01 $ docker stop --time=1 be1aad0f612022e1bfe84dce1080e7a27b9229d8de3f12e0e18126a0c627b740 03:56:06 $ docker rm -f --volumes be1aad0f612022e1bfe84dce1080e7a27b9229d8de3f12e0e18126a0c627b740 [Pipeline] // withDockerContainer [Pipeline] sh 03:56:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:56:07 Warning: overwriting stash ‘coverage-report’ 03:56:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:56:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:56:09 + ls -al . 03:56:09 total 176 03:56:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 03:54 . 03:56:09 drwxrwxr-x 4 jenkins jenkins 4096 Nov 29 03:51 .. 03:56:09 -rw-rw-r-- 1 jenkins jenkins 151 Nov 29 03:51 .dockerignore 03:56:09 drwxrwxr-x 8 jenkins jenkins 4096 Nov 29 03:51 .git 03:56:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:51 .github 03:56:09 -rw-rw-r-- 1 jenkins jenkins 264 Nov 29 03:51 .gitignore 03:56:09 -rw-rw-r-- 1 jenkins jenkins 41 Nov 29 03:51 .golangci.yml 03:56:09 -rw-rw-r-- 1 jenkins jenkins 10300 Nov 29 03:51 Attribution.txt 03:56:09 -rw-rw-r-- 1 jenkins jenkins 17685 Nov 29 03:51 CHANGELOG.md 03:56:09 -rw-rw-r-- 1 jenkins jenkins 1687 Nov 29 03:51 Dockerfile 03:56:09 -rw-rw-r-- 1 jenkins jenkins 677 Nov 29 03:51 GOVERNANCE.md 03:56:09 -rw-rw-r-- 1 jenkins jenkins 680 Nov 29 03:51 Jenkinsfile 03:56:09 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 29 03:51 LICENSE 03:56:09 -rw-rw-r-- 1 jenkins jenkins 2010 Nov 29 03:51 Makefile 03:56:09 -rw-rw-r-- 1 jenkins jenkins 620 Nov 29 03:51 OWNERS.md 03:56:09 -rw-rw-r-- 1 jenkins jenkins 3989 Nov 29 03:51 README.md 03:56:09 -rw-rw-r-- 1 jenkins jenkins 11 Nov 29 03:47 VERSION 03:56:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 03:51 bin 03:56:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:51 cmd 03:56:09 -rw-r--r-- 1 jenkins jenkins 14499 Nov 29 03:55 coverage.out 03:56:09 drwxrwxr-x 2 jenkins jenkins 4096 Nov 29 03:51 driver 03:56:09 -rw-rw-r-- 1 jenkins jenkins 3886 Nov 29 03:51 go.mod 03:56:09 -rw-rw-r-- 1 jenkins jenkins 35084 Nov 29 03:51 go.sum 03:56:09 drwxrwxr-x 3 jenkins jenkins 4096 Nov 29 03:51 openapi 03:56:09 -rw-rw-r-- 1 jenkins jenkins 713 Nov 29 03:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:56:09 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=96614595ba73594199dee70385f2da41578defd7 --label arch=arm64 --label version=3.2.0-dev.2 . 03:56:09 Sending build context to Docker daemon 142.8kB 03:56:09 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 03:56:09 Step 2/26 : FROM ${BASE} AS builder 03:56:09 ---> 4e79d7173a8a 03:56:09 Step 3/26 : ARG ADD_BUILD_TAGS="" 03:56:09 ---> Running in d68ddc071752 03:56:10 Removing intermediate container d68ddc071752 03:56:10 ---> 5acc78ec234b 03:56:10 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:56:10 ---> Running in 57f9a1483d02 03:56:10 Removing intermediate container 57f9a1483d02 03:56:10 ---> 923fd9e9fe97 03:56:10 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:56:10 ---> Running in 8d69f1a8c64d 03:56:10 Removing intermediate container 8d69f1a8c64d 03:56:10 ---> 34a5a021547f 03:56:10 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 03:56:10 ---> Running in 35908212f4c8 03:56:11 Removing intermediate container 35908212f4c8 03:56:11 ---> 17a295ab7ada 03:56:11 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:56:11 ---> Running in 7e3e2a38a518 03:56:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:56:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:56:14 OK: 271 MiB in 56 packages 03:56:14 Removing intermediate container 7e3e2a38a518 03:56:14 ---> 852a28b9b2fc 03:56:14 Step 8/26 : WORKDIR /device-rest-go 03:56:14 ---> Running in 9f4a461f688c 03:56:14 Removing intermediate container 9f4a461f688c 03:56:14 ---> b6bbfbbd9e42 03:56:14 Step 9/26 : COPY go.mod vendor* ./ 03:56:20 ---> e7480178eca0 03:56:20 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:56:20 ---> Running in d7380c52c6a9 03:56:22 Removing intermediate container d7380c52c6a9 03:56:22 ---> 8000586341f0 03:56:22 Step 11/26 : COPY . . 03:56:22 ---> a0971ff2f30d 03:56:22 Step 12/26 : RUN $MAKE 03:56:22 ---> Running in 701a2f35950c 03:56:23 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.2 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 03:58:15 Removing intermediate container 701a2f35950c 03:58:15 ---> 94c3e38656f1 03:58:15 Step 13/26 : FROM alpine:3.18 03:58:15 3.18: Pulling from library/alpine 03:58:15 579b34f0a95b: Pulling fs layer 03:58:15 579b34f0a95b: Verifying Checksum 03:58:15 579b34f0a95b: Download complete 03:58:15 579b34f0a95b: Pull complete 03:58:15 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 03:58:15 Status: Downloaded newer image for alpine:3.18 03:58:15 ---> 3cc203321400 03:58:15 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:58:15 ---> Running in 5c777e1c3dfb 03:58:15 Removing intermediate container 5c777e1c3dfb 03:58:15 ---> 3bf8cb782df3 03:58:15 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 03:58:15 ---> Running in cd44e242546a 03:58:15 Removing intermediate container cd44e242546a 03:58:15 ---> bc02139fc72a 03:58:15 Step 16/26 : RUN apk add --update --no-cache dumb-init 03:58:15 ---> Running in 7f4da912c075 03:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:58:15 (1/1) Installing dumb-init (1.2.5-r2) 03:58:15 Executing busybox-1.36.1-r2.trigger 03:58:15 OK: 8 MiB in 16 packages 03:58:15 Removing intermediate container 7f4da912c075 03:58:15 ---> 713dd7d540e7 03:58:15 Step 17/26 : RUN apk --no-cache upgrade 03:58:15 ---> Running in c74769e86af9 03:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:58:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:58:15 (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) 03:58:15 (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) 03:58:15 Executing busybox-1.36.1-r5.post-upgrade 03:58:15 (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) 03:58:15 (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) 03:58:15 (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) 03:58:15 (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) 03:58:15 (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) 03:58:15 Executing busybox-1.36.1-r5.trigger 03:58:15 OK: 8 MiB in 16 packages 03:58:15 Removing intermediate container c74769e86af9 03:58:15 ---> 4e5f11875704 03:58:15 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 03:58:16 ---> c313b24d3b82 03:58:16 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 03:58:17 ---> e6b54c9d9194 03:58:17 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 03:58:17 ---> c4da63cadccf 03:58:17 Step 21/26 : EXPOSE 59986 03:58:17 ---> Running in 50ac9a9f1094 03:58:17 Removing intermediate container 50ac9a9f1094 03:58:17 ---> dcfe2936ceab 03:58:17 Step 22/26 : ENTRYPOINT ["/device-rest"] 03:58:17 ---> Running in 8100cf611104 03:58:18 Removing intermediate container 8100cf611104 03:58:18 ---> fed8fc60dff5 03:58:18 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:58:18 ---> Running in 7cbde2292779 03:58:18 Removing intermediate container 7cbde2292779 03:58:18 ---> c012b45dd2be 03:58:18 Step 24/26 : LABEL arch=arm64 03:58:18 ---> Running in 3dbbf9c5e6a9 03:58:18 Removing intermediate container 3dbbf9c5e6a9 03:58:18 ---> 9ec9c4a54c48 03:58:18 Step 25/26 : LABEL git_sha=96614595ba73594199dee70385f2da41578defd7 03:58:19 ---> Running in 65a990b7e614 03:58:19 Removing intermediate container 65a990b7e614 03:58:19 ---> 14d47732c3ae 03:58:19 Step 26/26 : LABEL version=3.2.0-dev.2 03:58:19 ---> Running in ba438929612a 03:58:19 Removing intermediate container ba438929612a 03:58:19 ---> 0171c84f4921 03:58:19 [Warning] One or more build-args [ARCH] were not consumed 03:58:19 Successfully built 0171c84f4921 03:58:19 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:58:20 provisioning config files... 03:58:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/154@tmp/config7818251236814949602tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:58:20 ---> ****-login.sh 03:58:20 nexus3.edgexfoundry.org:10001 03:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:20 Configure a credential helper to remove this warning. See 03:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:20 03:58:20 Login Succeeded 03:58:20 nexus3.edgexfoundry.org:10002 03:58:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:20 Configure a credential helper to remove this warning. See 03:58:20 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:20 03:58:20 Login Succeeded 03:58:20 nexus3.edgexfoundry.org:10003 03:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:21 Configure a credential helper to remove this warning. See 03:58:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:21 03:58:21 Login Succeeded 03:58:21 nexus3.edgexfoundry.org:10004 03:58:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:21 Configure a credential helper to remove this warning. See 03:58:21 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:21 03:58:21 Login Succeeded 03:58:21 ****.io 03:58:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:58:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 03:58:22 Configure a credential helper to remove this warning. See 03:58:22 https://docs.****.com/engine/reference/commandline/login/#credentials-store 03:58:22 03:58:22 Login Succeeded 03:58:22 ---> ****-login.sh ends [Pipeline] } 03:58:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:58:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 03:58:22 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 03:58:22 96614595ba73594199dee70385f2da41578defd7 03:58:22 latest 03:58:22 3.2.0-dev.2 03:58:22 96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 03:58:22 main 03:58:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:23 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7 03:58:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:58:23 43da6dca7b4c: Preparing 03:58:23 f9ec676a09b5: Preparing 03:58:23 686cafe08cb5: Preparing 03:58:23 e12fbe28b750: Preparing 03:58:23 f62b1f13134e: Preparing 03:58:23 5f4d9fc4d98d: Preparing 03:58:23 5f4d9fc4d98d: Waiting 03:58:23 43da6dca7b4c: Pushed 03:58:23 5f4d9fc4d98d: Layer already exists 03:58:23 f9ec676a09b5: Pushed 03:58:23 f62b1f13134e: Pushed 03:58:25 e12fbe28b750: Pushed 03:58:31 686cafe08cb5: Pushed 03:58:31 96614595ba73594199dee70385f2da41578defd7: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:32 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:58:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:58:32 43da6dca7b4c: Preparing 03:58:32 f9ec676a09b5: Preparing 03:58:32 686cafe08cb5: Preparing 03:58:32 e12fbe28b750: Preparing 03:58:32 f62b1f13134e: Preparing 03:58:32 5f4d9fc4d98d: Preparing 03:58:32 5f4d9fc4d98d: Waiting 03:58:32 43da6dca7b4c: Layer already exists 03:58:32 686cafe08cb5: Layer already exists 03:58:32 f62b1f13134e: Layer already exists 03:58:32 f9ec676a09b5: Layer already exists 03:58:32 e12fbe28b750: Layer already exists 03:58:32 5f4d9fc4d98d: Layer already exists 03:58:32 latest: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:33 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.2 03:58:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:58:33 43da6dca7b4c: Preparing 03:58:33 f9ec676a09b5: Preparing 03:58:33 686cafe08cb5: Preparing 03:58:33 e12fbe28b750: Preparing 03:58:33 f62b1f13134e: Preparing 03:58:33 5f4d9fc4d98d: Preparing 03:58:33 5f4d9fc4d98d: Waiting 03:58:33 f62b1f13134e: Layer already exists 03:58:33 f9ec676a09b5: Layer already exists 03:58:33 43da6dca7b4c: Layer already exists 03:58:33 e12fbe28b750: Layer already exists 03:58:33 686cafe08cb5: Layer already exists 03:58:33 5f4d9fc4d98d: Layer already exists 03:58:33 3.2.0-dev.2: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 03:58:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:58:35 43da6dca7b4c: Preparing 03:58:35 f9ec676a09b5: Preparing 03:58:35 686cafe08cb5: Preparing 03:58:35 e12fbe28b750: Preparing 03:58:35 f62b1f13134e: Preparing 03:58:35 5f4d9fc4d98d: Preparing 03:58:35 5f4d9fc4d98d: Waiting 03:58:35 43da6dca7b4c: Layer already exists 03:58:35 e12fbe28b750: Layer already exists 03:58:35 686cafe08cb5: Layer already exists 03:58:35 f62b1f13134e: Layer already exists 03:58:35 f9ec676a09b5: Layer already exists 03:58:35 5f4d9fc4d98d: Layer already exists 03:58:35 96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 03:58:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:58:36 43da6dca7b4c: Preparing 03:58:36 f9ec676a09b5: Preparing 03:58:36 686cafe08cb5: Preparing 03:58:36 e12fbe28b750: Preparing 03:58:36 f62b1f13134e: Preparing 03:58:36 5f4d9fc4d98d: Preparing 03:58:36 5f4d9fc4d98d: Waiting 03:58:36 f62b1f13134e: Layer already exists 03:58:36 43da6dca7b4c: Layer already exists 03:58:36 f9ec676a09b5: Layer already exists 03:58:36 686cafe08cb5: Layer already exists 03:58:36 e12fbe28b750: Layer already exists 03:58:36 5f4d9fc4d98d: Layer already exists 03:58:36 main: digest: sha256:a5183c21cb185f0fe23526c50bb3f69ee67c01451cef9e789fa3d2138b6ba81b size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:58:36 ===================================================== [Pipeline] echo 03:58:36 taggedImages: 03:58:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7 03:58:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:58:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.2 03:58:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:96614595ba73594199dee70385f2da41578defd7-3.2.0-dev.2 03:58:36 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:58:37 03:58:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:58:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:58:37 arm64: Pulling from edgex-lftools-log-publisher 03:58:37 8998bd30e6a1: Pulling fs layer 03:58:37 04944245beec: Pulling fs layer 03:58:37 699f458cf7ca: Pulling fs layer 03:58:37 765212b225bb: Pulling fs layer 03:58:37 f23df028b6ca: Pulling fs layer 03:58:37 d65c8cfc05b1: Pulling fs layer 03:58:37 2437ff75d9bd: Pulling fs layer 03:58:37 765212b225bb: Waiting 03:58:37 f23df028b6ca: Waiting 03:58:37 d65c8cfc05b1: Waiting 03:58:37 2437ff75d9bd: Waiting 03:58:37 04944245beec: Verifying Checksum 03:58:37 04944245beec: Download complete 03:58:37 765212b225bb: Verifying Checksum 03:58:37 765212b225bb: Download complete 03:58:37 f23df028b6ca: Verifying Checksum 03:58:37 f23df028b6ca: Download complete 03:58:37 d65c8cfc05b1: Download complete 03:58:38 699f458cf7ca: Verifying Checksum 03:58:38 699f458cf7ca: Download complete 03:58:38 8998bd30e6a1: Verifying Checksum 03:58:38 8998bd30e6a1: Download complete 03:58:40 2437ff75d9bd: Verifying Checksum 03:58:40 2437ff75d9bd: Download complete 03:58:43 8998bd30e6a1: Pull complete 03:58:43 04944245beec: Pull complete 03:58:44 699f458cf7ca: Pull complete 03:58:44 765212b225bb: Pull complete 03:58:45 f23df028b6ca: Pull complete 03:58:45 d65c8cfc05b1: Pull complete 03:59:03 2437ff75d9bd: Pull complete 03:59:03 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:59:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:59:03 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:04 prd-ubuntu20.04-docker-arm64-4c-16g-9099 does not seem to be running inside a container 03:59:04 $ 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-rest-go/154 -v /w/workspace/device-rest-go/154:/w/workspace/device-rest-go/154:rw,z -v /w/workspace/device-rest-go/154@tmp:/w/workspace/device-rest-go/154@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 03:59:06 $ docker top 0b4a4478b726f73f174bda9a510244fe4555d396d403e0bcaef30602db987fca -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:59:07 ---> job-cost.sh 03:59:07 lf-activate-venv: SKIPPING 03:59:07 INFO: No Stack... 03:59:08 INFO: Retrieving Pricing Info for: v3-standard-4 03:59:08 INFO: Archiving Costs [Pipeline] sh 03:59:09 + cat /w/workspace/device-rest-go/154/archives/cost.csv 03:59:09 + cut -d, -f6 [Pipeline] lock 03:59:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] 03:59:09 Resource [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] did not exist. Created. 03:59:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:59:10 /w/workspace/device-rest-go/154@tmp/durable-1ef96ee4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:59:11 + echo total: 0.10999999940395355 [Pipeline] stash 03:59:11 Warning: overwriting stash ‘stack-cost’ 03:59:11 Stashed 1 file(s) [Pipeline] } 03:59:11 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-154-stack-cost] [Pipeline] // lock [Pipeline] } 03:59:11 $ docker stop --time=1 0b4a4478b726f73f174bda9a510244fe4555d396d403e0bcaef30602db987fca 03:59:15 $ docker rm -f --volumes 0b4a4478b726f73f174bda9a510244fe4555d396d403e0bcaef30602db987fca [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 03:59:16 provisioning config files... 03:59:16 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13505569512942234509tmp [Pipeline] { [Pipeline] sh 03:59:16 + set +x 03:59:16 + curl -s https://codecov.io/bash 03:59:16 + bash -s -- 03:59:16 03:59:16 _____ _ 03:59:16 / ____| | | 03:59:16 | | ___ __| | ___ ___ _____ __ 03:59:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:59:16 | |___| (_) | (_| | __/ (_| (_) \ V / 03:59:16 \_____\___/ \__,_|\___|\___\___/ \_/ 03:59:16 Bash-1.0.6 03:59:16 03:59:16 03:59:16 ==> git version 2.25.1 found 03:59:16 ==> 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 03:59:16 Release-Date: 2020-01-08 03:59:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:59:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:59:16 ==> Jenkins CI detected. 03:59:16 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 03:59:16 project root: . 03:59:16 --> token set from env 03:59:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:59:16 ==> Running gcov in . (disable via -X gcov) 03:59:16 ==> Python coveragepy not found 03:59:16 ==> Searching for coverage reports in: 03:59:16 + . 03:59:16 -> Found 1 reports 03:59:16 ==> Detecting git/mercurial file structure 03:59:17 ==> Reading reports 03:59:17 + ./coverage.out bytes=14499 03:59:17 ==> Appending adjustments 03:59:17 https://docs.codecov.io/docs/fixing-reports 03:59:17 + Found adjustments 03:59:17 ==> Gzipping contents 03:59:17 4.0K /tmp/codecov.GAIIMj.gz 03:59:17 ==> Uploading reports 03:59:17 url: https://codecov.io 03:59:17 query: branch=main&commit=96614595ba73594199dee70385f2da41578defd7&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:59:17 -> Pinging Codecov 03:59:17 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=96614595ba73594199dee70385f2da41578defd7&build=154&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F154%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:59:17 -> Uploading to 03:59:17 https://storage.googleapis.com/codecov/v4/raw/2023-11-29/4E5D53B4F1F92C436F7061BF334D961C/96614595ba73594199dee70385f2da41578defd7/056de362-a043-4cd8-9d22-78405b1bb546.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231129%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231129T035917Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae2be47e9e9fd974b2dc92a102a66dfc1dd21b82e11a03e2ddfa81ca42f4f31d 03:59:17 % Total % Received % Xferd Average Speed Time Time Time Current 03:59:17 Dload Upload Total Spent Left Speed 03:59:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 2321 0 0 100 2321 0 1089 0:00:02 0:00:02 --:--:-- 1089 03:59:19 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/96614595ba73594199dee70385f2da41578defd7 [Pipeline] } 03:59:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:59:19 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:59:19 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:59:20 03:59:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:59:20 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:59:20 df9b9388f04a: Pulling fs layer 03:59:20 52dc419b0ee2: Pulling fs layer 03:59:20 25bc292e5bac: Pulling fs layer 03:59:20 114826534d7a: Pulling fs layer 03:59:20 4657fd5d0bcf: Pulling fs layer 03:59:20 6ad1cebc031e: Pulling fs layer 03:59:20 8a3aa393b2d8: Pulling fs layer 03:59:20 6ad1cebc031e: Waiting 03:59:20 114826534d7a: Waiting 03:59:20 4657fd5d0bcf: Waiting 03:59:20 8a3aa393b2d8: Waiting 03:59:20 25bc292e5bac: Verifying Checksum 03:59:20 25bc292e5bac: Download complete 03:59:20 52dc419b0ee2: Verifying Checksum 03:59:20 52dc419b0ee2: Download complete 03:59:20 4657fd5d0bcf: Verifying Checksum 03:59:20 4657fd5d0bcf: Download complete 03:59:20 df9b9388f04a: Download complete 03:59:20 df9b9388f04a: Pull complete 03:59:20 6ad1cebc031e: Verifying Checksum 03:59:20 6ad1cebc031e: Download complete 03:59:20 52dc419b0ee2: Pull complete 03:59:20 25bc292e5bac: Pull complete 03:59:21 114826534d7a: Verifying Checksum 03:59:21 114826534d7a: Download complete 03:59:21 8a3aa393b2d8: Verifying Checksum 03:59:21 8a3aa393b2d8: Download complete 03:59:24 114826534d7a: Pull complete 03:59:24 4657fd5d0bcf: Pull complete 03:59:25 6ad1cebc031e: Pull complete 03:59:28 8a3aa393b2d8: Pull complete 03:59:28 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:59:28 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:59:28 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:28 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 03:59:28 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:59:34 $ docker top 9952f24e15ecc9e509d53fc655003f318ec4b361da5cef03eac966583f77e9cd -eo pid,comm [Pipeline] { [Pipeline] echo 03:59:35 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 03:59:35 + set -o pipefail 03:59:35 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 03:59:40 03:59:40 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 03:59:40 03:59:40 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/64f4b73a-1578-45b7-a8ff-ed9c9ddd506a 03:59:40 03:59:40 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:59:40 03:59:41 03:59:41 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:59:41 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:59:41 More details here: https://snyk.co/ue1NS 03:59:41 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 03:59:41 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:59:41 $ docker stop --time=1 9952f24e15ecc9e509d53fc655003f318ec4b361da5cef03eac966583f77e9cd 03:59:46 $ docker rm -f --volumes 9952f24e15ecc9e509d53fc655003f318ec4b361da5cef03eac966583f77e9cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:59:47 + git log --format=format:%s -1 96614595ba73594199dee70385f2da41578defd7 [Pipeline] sh 03:59:48 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:59:48 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:48 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:59:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:59:48 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 03:59:48 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:59:49 $ docker top a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf -eo pid,comm 03:59:49 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). 03:59:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:59:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:59:49 [ssh-agent] Looking for ssh-agent implementation... 03:59:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:59:49 $ docker exec a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf ssh-agent 03:59:49 SSH_AUTH_SOCK=/tmp/ssh-XFenuuUmCUK4/agent.32 03:59:49 SSH_AGENT_PID=38 03:59:49 Running ssh-add (command line suppressed) 03:59:49 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7415480258375894742.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7415480258375894742.key) 03:59:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:59:50 + git semver tag 03:59:50 2023-11-29 03:59:50,199 [run_tag] DEBUG tag force:False 03:59:50 2023-11-29 03:59:50,199 [check_head_tag] DEBUG check head tag 03:59:50 2023-11-29 03:59:50,200 [execute] INFO git cat-file --batch-check 03:59:50 2023-11-29 03:59:50,200 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:59:50 2023-11-29 03:59:50,204 [execute] INFO git cat-file --batch 03:59:50 2023-11-29 03:59:50,205 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:59:50 2023-11-29 03:59:50,223 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:59:50 2023-11-29 03:59:50,223 [execute] INFO git tag -a v3.2.0-dev.2 -m v3.2.0-dev.2 03:59:50 2023-11-29 03:59:50,224 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.2', '-m', 'v3.2.0-dev.2'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 03:59:50 2023-11-29 03:59:50,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:59:50 3.2.0-dev.2 [Pipeline] } 03:59:50 $ docker exec --env ******** --env ******** a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf ssh-agent -k 03:59:50 unset SSH_AUTH_SOCK; 03:59:50 unset SSH_AGENT_PID; 03:59:50 echo Agent pid 38 killed; 03:59:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:59:50 + git semver [Pipeline] } 03:59:51 $ docker stop --time=1 a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf 03:59:52 $ docker rm -f --volumes a0dcd75ee399b1e6be6961c213e7e093ff637a148e1489deedcdb7d5abe3bcdf [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:59:53 03:59:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:59:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:59:53 0.23.1-centos7: Pulling from edgex-lftools 03:59:53 ab5ef0e58194: Pulling fs layer 03:59:53 9712f1f96733: Pulling fs layer 03:59:53 63f879dbbcfc: Pulling fs layer 03:59:53 0d9ebad4ef96: Pulling fs layer 03:59:53 e9a5061849ea: Pulling fs layer 03:59:53 d747dcd14b5f: Pulling fs layer 03:59:53 2de7ff778b66: Pulling fs layer 03:59:53 e9a5061849ea: Waiting 03:59:53 d747dcd14b5f: Waiting 03:59:53 2de7ff778b66: Waiting 03:59:53 0d9ebad4ef96: Waiting 03:59:53 9712f1f96733: Verifying Checksum 03:59:53 9712f1f96733: Download complete 03:59:53 63f879dbbcfc: Verifying Checksum 03:59:53 63f879dbbcfc: Download complete 03:59:53 e9a5061849ea: Verifying Checksum 03:59:53 e9a5061849ea: Download complete 03:59:53 d747dcd14b5f: Verifying Checksum 03:59:53 d747dcd14b5f: Download complete 03:59:53 0d9ebad4ef96: Verifying Checksum 03:59:53 0d9ebad4ef96: Download complete 03:59:53 ab5ef0e58194: Verifying Checksum 03:59:53 ab5ef0e58194: Download complete 03:59:53 2de7ff778b66: Verifying Checksum 03:59:56 ab5ef0e58194: Pull complete 03:59:56 9712f1f96733: Pull complete 03:59:57 63f879dbbcfc: Pull complete 04:00:00 0d9ebad4ef96: Pull complete 04:00:00 e9a5061849ea: Pull complete 04:00:00 d747dcd14b5f: Pull complete 04:00:01 2de7ff778b66: Pull complete 04:00:01 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:00:01 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:02 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 04:00:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:00:09 $ docker top ad45c26d0f298ce86262928d8083b21979f3199249fda4240b621750b5014c22 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:00:09 provisioning config files... 04:00:09 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11259870506228403393tmp 04:00:09 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config187335730092164397tmp 04:00:09 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config397343631595962321tmp [Pipeline] { [Pipeline] echo 04:00:09 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:00:10 ---> sigul-configuration.sh 04:00:10 gpg: directory `/root/.gnupg' created 04:00:10 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:00:10 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:00:10 gpg: keyring `/root/.gnupg/secring.gpg' created 04:00:10 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:00:10 gpg: CAST5 encrypted data 04:00:10 gpg: encrypted with 1 passphrase 04:00:10 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:00:10 + mkdir /home/jenkins 04:00:10 + mkdir /home/jenkins/sigul [Pipeline] sh 04:00:10 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 04:00:10 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:00:11 ---> sigul-install.sh 04:00:11 Sigul already installed; skipping installation. [Pipeline] sh 04:00:11 + git tag --list 04:00:11 v1.0.0 04:00:11 v1.1.0 04:00:11 v1.1.1 04:00:11 v1.1.2 04:00:11 v1.2.0 04:00:11 v1.2.1 04:00:11 v2.0.0 04:00:11 v2.1.0 04:00:11 v2.1.1 04:00:11 v2.2.0 04:00:11 v2.3.0 04:00:11 v3.0 04:00:11 v3.0.0 04:00:11 v3.1 04:00:11 v3.1.0 04:00:11 v3.1.0-dev.1 04:00:11 v3.1.0-dev.10 04:00:11 v3.1.0-dev.11 04:00:11 v3.1.0-dev.12 04:00:11 v3.1.0-dev.13 04:00:11 v3.1.0-dev.14 04:00:11 v3.1.0-dev.15 04:00:11 v3.1.0-dev.16 04:00:11 v3.1.0-dev.17 04:00:11 v3.1.0-dev.18 04:00:11 v3.1.0-dev.19 04:00:11 v3.1.0-dev.2 04:00:11 v3.1.0-dev.20 04:00:11 v3.1.0-dev.21 04:00:11 v3.1.0-dev.22 04:00:11 v3.1.0-dev.23 04:00:11 v3.1.0-dev.24 04:00:11 v3.1.0-dev.25 04:00:11 v3.1.0-dev.26 04:00:11 v3.1.0-dev.27 04:00:11 v3.1.0-dev.28 04:00:11 v3.1.0-dev.29 04:00:11 v3.1.0-dev.3 04:00:11 v3.1.0-dev.30 04:00:11 v3.1.0-dev.31 04:00:11 v3.1.0-dev.32 04:00:11 v3.1.0-dev.4 04:00:11 v3.1.0-dev.5 04:00:11 v3.1.0-dev.6 04:00:11 v3.1.0-dev.7 04:00:11 v3.1.0-dev.8 04:00:11 v3.1.0-dev.9 04:00:11 v3.2.0-dev.1 04:00:11 v3.2.0-dev.2 [Pipeline] sh 04:00:11 + lftools sign git-tag v3.2.0-dev.2 04:00:12 Signing Git tag with Sigul... 04:00:12 Signing v3.2.0-dev.2 [Pipeline] echo 04:00:12 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:00:12 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:00:12 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:00:12 $ docker stop --time=1 ad45c26d0f298ce86262928d8083b21979f3199249fda4240b621750b5014c22 04:00:14 $ docker rm -f --volumes ad45c26d0f298ce86262928d8083b21979f3199249fda4240b621750b5014c22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:00:15 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:00:15 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:15 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 04:00:15 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:00:16 $ docker top eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 -eo pid,comm 04:00:16 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 04:00:16 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:00:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:16 [ssh-agent] Looking for ssh-agent implementation... 04:00:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:16 $ docker exec eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 ssh-agent 04:00:16 SSH_AUTH_SOCK=/tmp/ssh-6uMLqUb3Qauk/agent.32 04:00:16 SSH_AGENT_PID=38 04:00:16 Running ssh-add (command line suppressed) 04:00:16 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8812761865863107079.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8812761865863107079.key) 04:00:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:16 + git semver bump pre 04:00:17 2023-11-29 04:00:17,147 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:00:17 2023-11-29 04:00:17,147 [bump_version] DEBUG bumping version:3.2.0-dev.2 on axis:pre with prefix:dev 04:00:17 2023-11-29 04:00:17,147 [bump_version] DEBUG bumped version:3.2.0-dev.3 04:00:17 2023-11-29 04:00:17,147 [write_version] DEBUG write version:3.2.0-dev.3 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 04:00:17 2023-11-29 04:00:17,147 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:00:17 2023-11-29 04:00:17,147 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:00:17 2023-11-29 04:00:17,149 [execute] INFO git cat-file --batch-check 04:00:17 2023-11-29 04:00:17,149 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:00:17 2023-11-29 04:00:17,153 [execute] INFO git cat-file --batch 04:00:17 2023-11-29 04:00:17,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:00:17 2023-11-29 04:00:17,156 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:00:17 3.2.0-dev.3 [Pipeline] } 04:00:17 $ docker exec --env ******** --env ******** eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 ssh-agent -k 04:00:17 unset SSH_AUTH_SOCK; 04:00:17 unset SSH_AGENT_PID; 04:00:17 echo Agent pid 38 killed; 04:00:17 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:00:17 + git semver [Pipeline] } 04:00:18 $ docker stop --time=1 eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 04:00:19 $ docker rm -f --volumes eeffd6d5f3a4ca3ef72f879d79ec3ef7e0690dab6d1853c26e119af281329de0 [Pipeline] // withDockerContainer [Pipeline] sh 04:00:19 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:00:19 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:00:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:20 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 04:00:20 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:00:20 $ docker top f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:00:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:00:21 [ssh-agent] Looking for ssh-agent implementation... 04:00:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:00:21 $ docker exec f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 ssh-agent 04:00:21 SSH_AUTH_SOCK=/tmp/ssh-6HB7ZVniXesI/agent.33 04:00:21 SSH_AGENT_PID=39 04:00:21 Running ssh-add (command line suppressed) 04:00:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2408078210802629441.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2408078210802629441.key) 04:00:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:00:21 + git semver push 04:00:22 2023-11-29 04:00:22,117 [run_push] DEBUG push 04:00:22 2023-11-29 04:00:22,117 [execute] INFO git cat-file --batch-check 04:00:22 2023-11-29 04:00:22,118 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:00:22 2023-11-29 04:00:22,121 [execute] INFO git rev-list 40fefc97f234d89a5b926b3f60a79d531d9c934d -- 04:00:22 2023-11-29 04:00:22,121 [execute] DEBUG Popen(['git', 'rev-list', '40fefc97f234d89a5b926b3f60a79d531d9c934d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:00:22 2023-11-29 04:00:22,129 [execute] INFO git fetch -v origin 04:00:22 2023-11-29 04:00:22,129 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:00:22 2023-11-29 04:00:22,647 [run_push] DEBUG no remote changes detected 04:00:22 2023-11-29 04:00:22,647 [execute] INFO git push origin semver 04:00:22 2023-11-29 04:00:22,648 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:00:23 2023-11-29 04:00:23,558 [run_push] DEBUG push all version tags 04:00:23 2023-11-29 04:00:23,558 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:00:23 2023-11-29 04:00:23,559 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 04:00:24 2023-11-29 04:00:24,345 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:00:24 3.2.0-dev.3 [Pipeline] } 04:00:24 $ docker exec --env ******** --env ******** f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 ssh-agent -k 04:00:24 unset SSH_AUTH_SOCK; 04:00:24 unset SSH_AGENT_PID; 04:00:24 echo Agent pid 39 killed; 04:00:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:00:25 + git semver [Pipeline] } 04:00:25 $ docker stop --time=1 f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 04:00:26 $ docker rm -f --volumes f737bd0ef770a7adaa98be899802ee13e4dd818da4066da3bb0f4824fe6bec52 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 04:00:28 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 04:00:28 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:00:28 total 16 04:00:28 drwxr-xr-x 3 root root 4096 Nov 29 03:49 . 04:00:28 drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 04:00 .. 04:00:28 drwxr-xr-x 2 root root 4096 Nov 29 03:49 cost 04:00:28 -rw-r--r-- 1 root root 86 Nov 29 03:49 cost.csv 04:00:28 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 04:00:28 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:00:28 total 16 04:00:28 drwxr-xr-x 3 jenkins jenkins 4096 Nov 29 03:49 . 04:00:28 drwxrwxr-x 10 jenkins jenkins 4096 Nov 29 04:00 .. 04:00:28 drwxr-xr-x 2 jenkins jenkins 4096 Nov 29 03:49 cost 04:00:28 -rw-r--r-- 1 jenkins jenkins 86 Nov 29 03:49 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:00:28 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:00:29 ---> package-listing.sh 04:00:29 ++ facter osfamily 04:00:29 ++ tr '[:upper:]' '[:lower:]' 04:00:29 + OS_FAMILY=debian 04:00:29 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 04:00:29 + START_PACKAGES=/tmp/packages_start.txt 04:00:29 + END_PACKAGES=/tmp/packages_end.txt 04:00:29 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:00:29 + PACKAGES=/tmp/packages_start.txt 04:00:29 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:00:29 + PACKAGES=/tmp/packages_end.txt 04:00:29 + case "${OS_FAMILY}" in 04:00:29 + dpkg -l 04:00:29 + grep '^ii' 04:00:29 + '[' -f /tmp/packages_start.txt ']' 04:00:29 + '[' -f /tmp/packages_end.txt ']' 04:00:29 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:00:29 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:00:29 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 04:00:29 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 04:00:29 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:00:30 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:00:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:00:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:00:30 prd-ubuntu20.04-docker-8c-8g-9098 does not seem to be running inside a container 04:00:30 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:00:31 $ docker top 8b15399ca53d185de486fb46985c633c467468f72d98b3f3c5bf30fa71b64476 -eo pid,comm [Pipeline] { [Pipeline] sh 04:00:31 + touch /tmp/pre-build-complete [Pipeline] sh 04:00:31 + mkdir -p /var/log/sysstat [Pipeline] sh 04:00:32 + ls /var/log/sa-host 04:00:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:00:32 provisioning config files... 04:00:32 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14994801498259775562tmp [Pipeline] { [Pipeline] echo 04:00:32 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:00:32 ---> create-netrc.sh [Pipeline] } 04:00:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:00:33 ---> python-tools-install.sh [Pipeline] echo 04:00:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:00:33 ---> sudo-logs.sh 04:00:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:00:33 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:00:34 ---> job-cost.sh 04:00:34 lf-activate-venv: SKIPPING 04:00:34 DEBUG: total: 0.2199999988079071 04:00:34 INFO: Retrieving Stack Cost... 04:00:34 INFO: Retrieving Pricing Info for: v3-standard-8 04:00:34 INFO: Archiving Costs [Pipeline] echo 04:00:34 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:00:35 ---> logs-deploy.sh 04:00:35 lf-activate-venv: SKIPPING 04:00:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/154 04:00:35 INFO: archiving workspace using pattern(s): 04:00:36 Archives upload complete. 04:00:36 INFO: archiving logs to Nexus 04:00:36 ---> uname -a: 04:00:36 Linux prd-ubuntu20-04-docker-8c-8g-9098 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 04:00:36 04:00:36 04:00:36 ---> lscpu: 04:00:36 Architecture: x86_64 04:00:36 CPU op-mode(s): 32-bit, 64-bit 04:00:36 Byte Order: Little Endian 04:00:36 Address sizes: 40 bits physical, 48 bits virtual 04:00:36 CPU(s): 8 04:00:36 On-line CPU(s) list: 0-7 04:00:36 Thread(s) per core: 1 04:00:36 Core(s) per socket: 1 04:00:36 Socket(s): 8 04:00:36 NUMA node(s): 1 04:00:36 Vendor ID: AuthenticAMD 04:00:36 CPU family: 23 04:00:36 Model: 49 04:00:36 Model name: AMD EPYC-Rome Processor 04:00:36 Stepping: 0 04:00:36 CPU MHz: 2799.998 04:00:36 BogoMIPS: 5599.99 04:00:36 Virtualization: AMD-V 04:00:36 Hypervisor vendor: KVM 04:00:36 Virtualization type: full 04:00:36 L1d cache: 256 KiB 04:00:36 L1i cache: 256 KiB 04:00:36 L2 cache: 4 MiB 04:00:36 L3 cache: 128 MiB 04:00:36 NUMA node0 CPU(s): 0-7 04:00:36 Vulnerability Itlb multihit: Not affected 04:00:36 Vulnerability L1tf: Not affected 04:00:36 Vulnerability Mds: Not affected 04:00:36 Vulnerability Meltdown: Not affected 04:00:36 Vulnerability Mmio stale data: Not affected 04:00:36 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 04:00:36 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 04:00:36 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 04:00:36 Vulnerability Srbds: Not affected 04:00:36 Vulnerability Tsx async abort: Not affected 04:00:36 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 04:00:36 04:00:36 04:00:36 ---> nproc: 04:00:36 8 04:00:36 04:00:36 04:00:36 ---> df -h: 04:00:36 Filesystem Size Used Avail Use% Mounted on 04:00:36 overlay 155G 13G 143G 9% / 04:00:36 tmpfs 64M 0 64M 0% /dev 04:00:36 tmpfs 16G 0 16G 0% /sys/fs/cgroup 04:00:36 shm 64M 0 64M 0% /dev/shm 04:00:36 /dev/vda1 155G 13G 143G 9% /facter-os 04:00:36 04:00:36