Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 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-ssh9341705771448572069.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-ssh12562479173145936630.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-ssh4166749792115136071.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-ssh13449810056560253373.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-ssh11249675966780367297.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-208 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 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 (main) > 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 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 # timeout=10 Commit message: "Merge pull request #379 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7" > git rev-list --no-walk 0856413c2ad12273c2d5131e25a64bc5110c06e7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:33:32 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:33:32 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:33:32 ========================================================= 04:33:32 EdgeX Global Pipelines Version Info 04:33:32 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:33:33 ------------------- 04:33:33 stable info: 04:33:33 ------------------- 04:33:33 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:33:33 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:33:33 Message: update stable to v1.0.258 04:33:34 ------------------- 04:33:34 experimental info: 04:33:34 ------------------- 04:33:34 Commited By: **** collab-it+edgex@linuxfoundation.org 04:33:34 Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 04:33:34 Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:33:34 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:33:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:33:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:33:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 [Pipeline] echo 04:33:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9cb675d [Pipeline] echo 04:33:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:33:35 provisioning config files... 04:33:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6626115621345124934tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:35 ---> ****-login.sh 04:33:35 nexus3.edgexfoundry.org:10001 04:33:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:36 Configure a credential helper to remove this warning. See 04:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:36 04:33:36 Login Succeeded 04:33:36 nexus3.edgexfoundry.org:10002 04:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:36 Configure a credential helper to remove this warning. See 04:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:36 04:33:36 Login Succeeded 04:33:36 nexus3.edgexfoundry.org:10003 04:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:36 Configure a credential helper to remove this warning. See 04:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:36 04:33:36 Login Succeeded 04:33:36 nexus3.edgexfoundry.org:10004 04:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:36 Configure a credential helper to remove this warning. See 04:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:36 04:33:36 Login Succeeded 04:33:36 ****.io 04:33:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:36 Configure a credential helper to remove this warning. See 04:33:36 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:36 04:33:36 Login Succeeded 04:33:37 ---> ****-login.sh ends [Pipeline] } 04:33:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:33:37 + git rev-list -1 --merges 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4~1..9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 [Pipeline] echo 04:33:37 -----------> git rev-list -1 --merges 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4~1..9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 04:33:37 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 [false] [Pipeline] sh 04:33:38 + git log --format=format:%s -1 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 [Pipeline] echo 04:33:38 ========================================================= 04:33:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:33:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:33:38 + git log --format=format:%s -1 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 [Pipeline] echo 04:33:38 [semverPrep] GIT_COMMIT: 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4, Commit Message: Merge pull request #379 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7 [Pipeline] echo 04:33:38 [semverPrep] This is not a build commit. [Pipeline] sh 04:33:39 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:33:39 + grep -v github /etc/ssh/ssh_known_hosts 04:33:39 + [ -e /tmp/ssh_known_hosts ] 04:33:39 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:33:39 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:33:39 + sudo tee -a /etc/ssh/ssh_known_hosts 04:33:39 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:39 04:33:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:39 0.1.4: Pulling from edgex-devops/py-git-semver 04:33:39 b85a868b505f: Pulling fs layer 04:33:39 e2be974225ed: Pulling fs layer 04:33:39 339a4e72a1f5: Pulling fs layer 04:33:39 988bab9f4d93: Pulling fs layer 04:33:39 1469e6f7b9e6: Pulling fs layer 04:33:39 eaf3925da568: Pulling fs layer 04:33:39 bab4dde63d76: Pulling fs layer 04:33:39 bde34c3a00c8: Pulling fs layer 04:33:39 b352a97aabf1: Pulling fs layer 04:33:39 4872d77fe225: Pulling fs layer 04:33:39 5851b861e8e6: Pulling fs layer 04:33:39 1469e6f7b9e6: Waiting 04:33:39 eaf3925da568: Waiting 04:33:39 5851b861e8e6: Waiting 04:33:39 988bab9f4d93: Waiting 04:33:39 b352a97aabf1: Waiting 04:33:39 bde34c3a00c8: Waiting 04:33:39 4872d77fe225: Waiting 04:33:39 bab4dde63d76: Waiting 04:33:39 e2be974225ed: Download complete 04:33:39 988bab9f4d93: Download complete 04:33:40 339a4e72a1f5: Verifying Checksum 04:33:40 339a4e72a1f5: Download complete 04:33:40 1469e6f7b9e6: Verifying Checksum 04:33:40 1469e6f7b9e6: Download complete 04:33:40 eaf3925da568: Download complete 04:33:40 bde34c3a00c8: Verifying Checksum 04:33:40 bde34c3a00c8: Download complete 04:33:40 b352a97aabf1: Verifying Checksum 04:33:40 b352a97aabf1: Download complete 04:33:40 4872d77fe225: Verifying Checksum 04:33:40 4872d77fe225: Download complete 04:33:40 5851b861e8e6: Verifying Checksum 04:33:40 5851b861e8e6: Download complete 04:33:40 b85a868b505f: Download complete 04:33:40 bab4dde63d76: Verifying Checksum 04:33:40 bab4dde63d76: Download complete 04:33:41 b85a868b505f: Pull complete 04:33:41 e2be974225ed: Pull complete 04:33:42 339a4e72a1f5: Pull complete 04:33:42 988bab9f4d93: Pull complete 04:33:42 1469e6f7b9e6: Pull complete 04:33:42 eaf3925da568: Pull complete 04:33:44 bab4dde63d76: Pull complete 04:33:44 bde34c3a00c8: Pull complete 04:33:44 b352a97aabf1: Pull complete 04:33:44 4872d77fe225: Pull complete 04:33:44 5851b861e8e6: Pull complete 04:33:44 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:33:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:33:44 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:33:44 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:33:44 $ 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 04:33:47 $ docker top fca21c7b30f706b35bc1309b2058db04fc2944cce0c601bf0f6f01b252b71d2f -eo pid,comm 04:33:47 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:33:47 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:33:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:48 [ssh-agent] Looking for ssh-agent implementation... 04:33:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:48 $ docker exec fca21c7b30f706b35bc1309b2058db04fc2944cce0c601bf0f6f01b252b71d2f ssh-agent 04:33:48 SSH_AUTH_SOCK=/tmp/ssh-RY13Ax8kPNL0/agent.33 04:33:48 SSH_AGENT_PID=39 04:33:48 Running ssh-add (command line suppressed) 04:33:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2759101498080565771.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2759101498080565771.key) 04:33:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:48 + git tag --points-at HEAD [Pipeline] } 04:33:48 $ docker exec --env ******** --env ******** fca21c7b30f706b35bc1309b2058db04fc2944cce0c601bf0f6f01b252b71d2f ssh-agent -k 04:33:48 unset SSH_AUTH_SOCK; 04:33:48 unset SSH_AGENT_PID; 04:33:48 echo Agent pid 39 killed; 04:33:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:33:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:33:48 [ssh-agent] Looking for ssh-agent implementation... 04:33:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:33:48 $ docker exec fca21c7b30f706b35bc1309b2058db04fc2944cce0c601bf0f6f01b252b71d2f ssh-agent 04:33:49 SSH_AUTH_SOCK=/tmp/ssh-VtgIaTOofaVs/agent.71 04:33:49 SSH_AGENT_PID=77 04:33:49 Running ssh-add (command line suppressed) 04:33:49 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12053643918134975605.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12053643918134975605.key) 04:33:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:33:49 + git semver init 04:33:49 2024-01-31 04:33:49,700 [run_init] DEBUG init version:0.0.0 force:False 04:33:49 2024-01-31 04:33:49,701 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 04:33:49 2024-01-31 04:33:49,701 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 04:33:49 2024-01-31 04:33:49,701 [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) 04:33:51 2024-01-31 04:33:51,144 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 04:33:51 2024-01-31 04:33:51,145 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 04:33:51 2024-01-31 04:33:51,145 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:33:51 2024-01-31 04:33:51,145 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:33:51 3.2.0-dev.8 [Pipeline] } 04:33:51 $ docker exec --env ******** --env ******** fca21c7b30f706b35bc1309b2058db04fc2944cce0c601bf0f6f01b252b71d2f ssh-agent -k 04:33:51 unset SSH_AUTH_SOCK; 04:33:51 unset SSH_AGENT_PID; 04:33:51 echo Agent pid 77 killed; 04:33:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:33:51 + git semver [Pipeline] } 04:33:51 $ docker stop --time=1 fca21c7b30f706b35bc1309b2058db04fc2944cce0c601bf0f6f01b252b71d2f 04:33:53 $ docker rm -f --volumes fca21c7b30f706b35bc1309b2058db04fc2944cce0c601bf0f6f01b252b71d2f [Pipeline] // withDockerContainer [Pipeline] sh 04:33:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:33:53 Stashed 1 file(s) [Pipeline] echo 04:33:53 [edgeXSemver]: initialized semver on version 3.2.0-dev.8 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:33:54 provisioning config files... 04:33:54 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7923429186368279434tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:33:54 ---> ****-login.sh 04:33:54 nexus3.edgexfoundry.org:10001 04:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:54 Configure a credential helper to remove this warning. See 04:33:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:54 04:33:54 Login Succeeded 04:33:54 nexus3.edgexfoundry.org:10002 04:33:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:54 Configure a credential helper to remove this warning. See 04:33:54 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:54 04:33:54 Login Succeeded 04:33:54 nexus3.edgexfoundry.org:10003 04:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:55 Configure a credential helper to remove this warning. See 04:33:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:55 04:33:55 Login Succeeded 04:33:55 nexus3.edgexfoundry.org:10004 04:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:55 Configure a credential helper to remove this warning. See 04:33:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:55 04:33:55 Login Succeeded 04:33:55 ****.io 04:33:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:33:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:33:55 Configure a credential helper to remove this warning. See 04:33:55 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:33:55 04:33:55 Login Succeeded 04:33:55 ---> ****-login.sh ends [Pipeline] } 04:33:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:33:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:33:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:33:55 ========================================================= 04:33:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 04:33:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:33:55 + 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 . 04:33:55 Sending build context to Docker daemon 16.31MB 04:33:55 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:33:55 Step 2/12 : FROM ${BASE} AS builder 04:33:55 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 04:33:55 7264a8db6415: Pulling fs layer 04:33:55 c4d48a809fc2: Pulling fs layer 04:33:55 4f1c88b9dad5: Pulling fs layer 04:33:55 ad3a456e5733: Pulling fs layer 04:33:55 69c7f0334f64: Pulling fs layer 04:33:55 1f1c1a5573a3: Pulling fs layer 04:33:55 ce7588e14bc9: Pulling fs layer 04:33:55 1f1c1a5573a3: Waiting 04:33:55 ad3a456e5733: Waiting 04:33:55 b5e4710f87ac: Pulling fs layer 04:33:55 ce7588e14bc9: Waiting 04:33:55 b5e4710f87ac: Waiting 04:33:55 c4d48a809fc2: Download complete 04:33:55 ad3a456e5733: Verifying Checksum 04:33:55 ad3a456e5733: Download complete 04:33:55 7264a8db6415: Verifying Checksum 04:33:55 7264a8db6415: Download complete 04:33:55 69c7f0334f64: Verifying Checksum 04:33:55 69c7f0334f64: Download complete 04:33:56 1f1c1a5573a3: Verifying Checksum 04:33:56 1f1c1a5573a3: Download complete 04:33:56 7264a8db6415: Pull complete 04:33:56 c4d48a809fc2: Pull complete 04:33:56 b5e4710f87ac: Verifying Checksum 04:33:56 b5e4710f87ac: Download complete 04:33:56 4f1c88b9dad5: Download complete 04:33:56 ce7588e14bc9: Verifying Checksum 04:33:56 ce7588e14bc9: Download complete 04:33:59 4f1c88b9dad5: Pull complete 04:33:59 ad3a456e5733: Pull complete 04:33:59 69c7f0334f64: Pull complete 04:33:59 1f1c1a5573a3: Pull complete 04:34:02 ce7588e14bc9: Pull complete 04:34:02 b5e4710f87ac: Pull complete 04:34:02 Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e 04:34:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 04:34:02 ---> 88b5674ff536 04:34:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:34:07 ---> Running in 549e8731c002 04:34:07 Removing intermediate container 549e8731c002 04:34:07 ---> 5f157707fff7 04:34:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:34:07 ---> Running in c146f610c170 04:34:07 Removing intermediate container c146f610c170 04:34:07 ---> ed5a1b299daf 04:34:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:34:07 ---> Running in b8b0dba8881b 04:34:07 Removing intermediate container b8b0dba8881b 04:34:07 ---> d4a690820c83 04:34:07 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:34:07 ---> Running in 584d5d4ac5d3 04:34:07 Removing intermediate container 584d5d4ac5d3 04:34:07 ---> a5a4c3448246 04:34:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:34:07 ---> Running in 506d024db526 04:34:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:34:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:34:07 (1/4) Installing openssh-keygen (9.3_p2-r1) 04:34:07 (2/4) Installing libedit (20221030.3.1-r1) 04:34:07 (3/4) Installing openssh-client-common (9.3_p2-r1) 04:34:07 (4/4) Installing openssh-client-default (9.3_p2-r1) 04:34:07 Executing busybox-1.36.1-r5.trigger 04:34:07 OK: 268 MiB in 56 packages 04:34:08 Removing intermediate container 506d024db526 04:34:08 ---> 179f9b29420b 04:34:08 Step 8/12 : WORKDIR /device-rest-go 04:34:08 ---> Running in 7f4ccdf09423 04:34:08 Removing intermediate container 7f4ccdf09423 04:34:08 ---> 5e4800da2d62 04:34:08 Step 9/12 : COPY go.mod vendor* ./ 04:34:08 ---> 4f2cfd5389b9 04:34:08 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:34:08 ---> Running in 62d489d31651 04:34:09 Still waiting to schedule task 04:34:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:34:40 Removing intermediate container 62d489d31651 04:34:40 ---> 37b415dd3a29 04:34:40 Step 11/12 : COPY . . 04:34:40 ---> 6717a2a9817a 04:34:40 Step 12/12 : RUN $MAKE 04:34:40 ---> Running in af2f51978a23 04:34:40 noop 04:34:40 Removing intermediate container af2f51978a23 04:34:40 ---> 22bae59a4f04 04:34:40 Successfully built 22bae59a4f04 04:34:40 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:41 + docker inspect -f . ci-base-image-x86_64 04:34:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:41 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:34:41 $ 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 04:34:41 $ docker top cbb3ba3a6dd744266b0c50dfdd0ca3ff30fef0056876318620df6636ffc1c0ea -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:41 + go version 04:34:41 go version go1.21.0 linux/amd64 [Pipeline] } 04:34:41 $ docker stop --time=1 cbb3ba3a6dd744266b0c50dfdd0ca3ff30fef0056876318620df6636ffc1c0ea 04:34:43 $ docker rm -f --volumes cbb3ba3a6dd744266b0c50dfdd0ca3ff30fef0056876318620df6636ffc1c0ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:34:43 + docker inspect -f . ci-base-image-x86_64 04:34:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:34:43 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:34:43 $ 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 04:34:44 $ docker top e0bd70ccadcd2daa9cc45e842d97ea39712693d746df2d1af7b505b4bf9db4d8 -eo pid,comm [Pipeline] { [Pipeline] sh 04:34:44 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 04:34:45 + make test 04:34:45 go test ./... -coverprofile=coverage.out ./... 04:34:46 ? github.com/edgexfoundry/device-rest-go [no test files] 04:34:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:34:56 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 04:35:03 go vet ./... 04:35:06 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:35:06 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:35:06 ./bin/test-attribution-txt.sh 04:35:06 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 04:35:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:35:06 $ docker stop --time=1 e0bd70ccadcd2daa9cc45e842d97ea39712693d746df2d1af7b505b4bf9db4d8 04:35:09 $ docker rm -f --volumes e0bd70ccadcd2daa9cc45e842d97ea39712693d746df2d1af7b505b4bf9db4d8 [Pipeline] // withDockerContainer [Pipeline] sh 04:35:10 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:35:10 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:35:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:35:11 + ls -al . 04:35:11 total 180 04:35:11 drwxrwxr-x 9 jenkins jenkins 4096 Jan 31 04:34 . 04:35:11 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 04:33 .. 04:35:11 -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 04:33 .dockerignore 04:35:11 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 04:34 .git 04:35:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 04:33 .github 04:35:11 -rw-rw-r-- 1 jenkins jenkins 264 Jan 31 04:33 .gitignore 04:35:11 -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 04:33 .golangci.yml 04:35:11 drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 04:33 .semver 04:35:11 -rw-rw-r-- 1 jenkins jenkins 10300 Jan 31 04:33 Attribution.txt 04:35:11 -rw-rw-r-- 1 jenkins jenkins 17685 Jan 31 04:33 CHANGELOG.md 04:35:11 -rw-rw-r-- 1 jenkins jenkins 1687 Jan 31 04:33 Dockerfile 04:35:11 -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 04:33 GOVERNANCE.md 04:35:11 -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 04:33 Jenkinsfile 04:35:11 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 04:33 LICENSE 04:35:11 -rw-rw-r-- 1 jenkins jenkins 2016 Jan 31 04:33 Makefile 04:35:11 -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 04:33 OWNERS.md 04:35:11 -rw-rw-r-- 1 jenkins jenkins 3989 Jan 31 04:33 README.md 04:35:11 -rw-rw-r-- 1 jenkins jenkins 11 Jan 31 04:33 VERSION 04:35:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 04:33 bin 04:35:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 04:33 cmd 04:35:11 -rw-r--r-- 1 jenkins jenkins 14499 Jan 31 04:34 coverage.out 04:35:11 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 04:33 driver 04:35:11 -rw-rw-r-- 1 jenkins jenkins 3934 Jan 31 04:33 go.mod 04:35:11 -rw-rw-r-- 1 jenkins jenkins 34689 Jan 31 04:33 go.sum 04:35:11 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 04:33 openapi 04:35:11 -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 04:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:11 + 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=9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 --label arch=amd64 --label version=3.2.0-dev.8 . 04:35:11 Sending build context to Docker daemon 16.33MB 04:35:11 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:35:11 Step 2/26 : FROM ${BASE} AS builder 04:35:11 ---> 22bae59a4f04 04:35:11 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:35:11 ---> Running in 70bee0f246b6 04:35:12 Removing intermediate container 70bee0f246b6 04:35:12 ---> a9f07e4441f8 04:35:12 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:35:12 ---> Running in 9b08634ad3c5 04:35:12 Removing intermediate container 9b08634ad3c5 04:35:12 ---> 4802462fbd8e 04:35:12 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:35:12 ---> Running in 4256cd458871 04:35:12 Removing intermediate container 4256cd458871 04:35:12 ---> 0be2d4abfc72 04:35:12 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:35:12 ---> Running in 84ac864e07ff 04:35:12 Removing intermediate container 84ac864e07ff 04:35:12 ---> d594459c7b5c 04:35:12 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:35:12 ---> Running in 820cef78aab1 04:35:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:35:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:35:13 OK: 268 MiB in 56 packages 04:35:13 Removing intermediate container 820cef78aab1 04:35:13 ---> d3ab470ab83d 04:35:13 Step 8/26 : WORKDIR /device-rest-go 04:35:13 ---> Running in 8bcf3f9fc4ae 04:35:13 Removing intermediate container 8bcf3f9fc4ae 04:35:13 ---> 77b7d8cf2902 04:35:13 Step 9/26 : COPY go.mod vendor* ./ 04:35:13 ---> 9de0b8568a6b 04:35:13 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:35:13 ---> Running in 64fdaf715cd9 04:35:14 Removing intermediate container 64fdaf715cd9 04:35:14 ---> ef6419af7584 04:35:14 Step 11/26 : COPY . . 04:35:14 ---> 89248fb744ed 04:35:14 Step 12/26 : RUN $MAKE 04:35:14 ---> Running in 21e29cee6a87 04:35:14 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd 04:35:36 Removing intermediate container 21e29cee6a87 04:35:36 ---> 93da4b6a1329 04:35:36 Step 13/26 : FROM alpine:3.18 04:35:36 3.18: Pulling from library/alpine 04:35:36 619be1103602: Pulling fs layer 04:35:36 619be1103602: Verifying Checksum 04:35:36 619be1103602: Download complete 04:35:36 619be1103602: Pull complete 04:35:36 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:35:36 Status: Downloaded newer image for alpine:3.18 04:35:36 ---> d3782b16ccc9 04:35:36 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:35:36 ---> Running in 691677fa98d9 04:35:36 Removing intermediate container 691677fa98d9 04:35:36 ---> 0fb6d3b2d209 04:35:36 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 04:35:36 ---> Running in dd6461e690a8 04:35:36 Removing intermediate container dd6461e690a8 04:35:36 ---> 169ffb88f9d8 04:35:36 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:35:36 ---> Running in df9c79066315 04:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:35:36 (1/1) Installing dumb-init (1.2.5-r2) 04:35:36 Executing busybox-1.36.1-r5.trigger 04:35:36 OK: 7 MiB in 16 packages 04:35:36 Removing intermediate container df9c79066315 04:35:36 ---> e05585b8150f 04:35:36 Step 17/26 : RUN apk --no-cache upgrade 04:35:36 ---> Running in 5a6a104a41ac 04:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 04:35:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 04:35:36 OK: 7 MiB in 16 packages 04:35:36 Removing intermediate container 5a6a104a41ac 04:35:36 ---> 3d23f4e5db12 04:35:36 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 04:35:37 ---> 97f5d67ca5bd 04:35:37 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 04:35:37 ---> 89e0152154f1 04:35:37 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 04:35:37 ---> 0a3ed26059b2 04:35:37 Step 21/26 : EXPOSE 59986 04:35:37 ---> Running in d55e41df5ead 04:35:37 Removing intermediate container d55e41df5ead 04:35:37 ---> abf921820f80 04:35:37 Step 22/26 : ENTRYPOINT ["/device-rest"] 04:35:38 ---> Running in e21aa36e63ad 04:35:38 Removing intermediate container e21aa36e63ad 04:35:38 ---> bd594d8ee49b 04:35:38 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:35:38 ---> Running in 7f9ac77ee6e6 04:35:38 Removing intermediate container 7f9ac77ee6e6 04:35:38 ---> 6ce833869947 04:35:38 Step 24/26 : LABEL arch=amd64 04:35:38 ---> Running in 168c59c70f78 04:35:38 Removing intermediate container 168c59c70f78 04:35:38 ---> c5b99dc7bc3e 04:35:38 Step 25/26 : LABEL git_sha=9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 04:35:38 ---> Running in 01eb0a9a8298 04:35:38 Removing intermediate container 01eb0a9a8298 04:35:38 ---> 5d1d4306cf9f 04:35:38 Step 26/26 : LABEL version=3.2.0-dev.8 04:35:38 ---> Running in 0197f601ed1d 04:35:38 Removing intermediate container 0197f601ed1d 04:35:38 ---> ec25a84640e7 04:35:38 [Warning] One or more build-args [ARCH] were not consumed 04:35:38 Successfully built ec25a84640e7 04:35:38 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:35:38 provisioning config files... 04:35:38 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8935794000950992831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:35:38 ---> ****-login.sh 04:35:38 nexus3.edgexfoundry.org:10001 04:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:38 Configure a credential helper to remove this warning. See 04:35:38 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:38 04:35:38 Login Succeeded 04:35:38 nexus3.edgexfoundry.org:10002 04:35:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:39 Configure a credential helper to remove this warning. See 04:35:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:39 04:35:39 Login Succeeded 04:35:39 nexus3.edgexfoundry.org:10003 04:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:39 Configure a credential helper to remove this warning. See 04:35:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:39 04:35:39 Login Succeeded 04:35:39 nexus3.edgexfoundry.org:10004 04:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:39 Configure a credential helper to remove this warning. See 04:35:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:39 04:35:39 Login Succeeded 04:35:39 ****.io 04:35:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:35:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:35:39 Configure a credential helper to remove this warning. See 04:35:39 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:35:39 04:35:39 Login Succeeded 04:35:39 ---> ****-login.sh ends [Pipeline] } 04:35:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:35:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:35:39 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 04:35:39 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 04:35:39 latest 04:35:39 3.2.0-dev.8 04:35:39 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8 04:35:39 main 04:35:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 04:35:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:35:40 04154f24ba9a: Preparing 04:35:40 850ff0c69e21: Preparing 04:35:40 e631641363c1: Preparing 04:35:40 6b03aa0617be: Preparing 04:35:40 63ce79350f8b: Preparing 04:35:40 aedc3bda2944: Preparing 04:35:40 aedc3bda2944: Waiting 04:35:40 63ce79350f8b: Pushed 04:35:40 04154f24ba9a: Pushed 04:35:40 850ff0c69e21: Pushed 04:35:40 6b03aa0617be: Pushed 04:35:40 aedc3bda2944: Layer already exists 04:35:42 e631641363c1: Pushed 04:35:42 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4: digest: sha256:1f16642cb7cecb1eefa15f275daecd76b2603b7c56c97c17240210f7abc29029 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 04:35:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:35:43 04154f24ba9a: Preparing 04:35:43 850ff0c69e21: Preparing 04:35:43 e631641363c1: Preparing 04:35:43 6b03aa0617be: Preparing 04:35:43 63ce79350f8b: Preparing 04:35:43 aedc3bda2944: Preparing 04:35:43 aedc3bda2944: Waiting 04:35:43 e631641363c1: Layer already exists 04:35:43 850ff0c69e21: Layer already exists 04:35:43 63ce79350f8b: Layer already exists 04:35:43 04154f24ba9a: Layer already exists 04:35:43 6b03aa0617be: Layer already exists 04:35:43 aedc3bda2944: Layer already exists 04:35:43 latest: digest: sha256:1f16642cb7cecb1eefa15f275daecd76b2603b7c56c97c17240210f7abc29029 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.8 04:35:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:35:44 04154f24ba9a: Preparing 04:35:44 850ff0c69e21: Preparing 04:35:44 e631641363c1: Preparing 04:35:44 6b03aa0617be: Preparing 04:35:44 63ce79350f8b: Preparing 04:35:44 aedc3bda2944: Preparing 04:35:44 aedc3bda2944: Waiting 04:35:44 6b03aa0617be: Layer already exists 04:35:44 04154f24ba9a: Layer already exists 04:35:44 850ff0c69e21: Layer already exists 04:35:44 63ce79350f8b: Layer already exists 04:35:44 e631641363c1: Layer already exists 04:35:44 aedc3bda2944: Layer already exists 04:35:44 3.2.0-dev.8: digest: sha256:1f16642cb7cecb1eefa15f275daecd76b2603b7c56c97c17240210f7abc29029 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8 04:35:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:35:45 04154f24ba9a: Preparing 04:35:45 850ff0c69e21: Preparing 04:35:45 e631641363c1: Preparing 04:35:45 6b03aa0617be: Preparing 04:35:45 63ce79350f8b: Preparing 04:35:45 aedc3bda2944: Preparing 04:35:45 aedc3bda2944: Waiting 04:35:45 850ff0c69e21: Layer already exists 04:35:45 63ce79350f8b: Layer already exists 04:35:45 04154f24ba9a: Layer already exists 04:35:45 6b03aa0617be: Layer already exists 04:35:45 e631641363c1: Layer already exists 04:35:45 aedc3bda2944: Layer already exists 04:35:45 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8: digest: sha256:1f16642cb7cecb1eefa15f275daecd76b2603b7c56c97c17240210f7abc29029 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 04:35:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:35:46 04154f24ba9a: Preparing 04:35:46 850ff0c69e21: Preparing 04:35:46 e631641363c1: Preparing 04:35:46 6b03aa0617be: Preparing 04:35:46 63ce79350f8b: Preparing 04:35:46 aedc3bda2944: Preparing 04:35:46 aedc3bda2944: Waiting 04:35:46 04154f24ba9a: Layer already exists 04:35:46 6b03aa0617be: Layer already exists 04:35:46 63ce79350f8b: Layer already exists 04:35:46 e631641363c1: Layer already exists 04:35:46 850ff0c69e21: Layer already exists 04:35:46 aedc3bda2944: Layer already exists 04:35:46 main: digest: sha256:1f16642cb7cecb1eefa15f275daecd76b2603b7c56c97c17240210f7abc29029 size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:35:46 ===================================================== [Pipeline] echo 04:35:46 taggedImages: 04:35:46 - nexus3.edgexfoundry.org:10004/device-rest:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 04:35:46 - nexus3.edgexfoundry.org:10004/device-rest:latest 04:35:46 - nexus3.edgexfoundry.org:10004/device-rest:3.2.0-dev.8 04:35:46 - nexus3.edgexfoundry.org:10004/device-rest:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8 04:35:46 - 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 04:35:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:47 04:35:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:35:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:47 latest: Pulling from edgex-lftools-log-publisher 04:35:47 5eb5b503b376: Pulling fs layer 04:35:47 5c69ac0246d0: Pulling fs layer 04:35:47 ec43610c2a17: Pulling fs layer 04:35:47 3a2ae6a8a46f: Pulling fs layer 04:35:47 33b1e0a273af: Pulling fs layer 04:35:47 5d3b04190fa2: Pulling fs layer 04:35:47 2f39f015ded8: Pulling fs layer 04:35:47 5d3b04190fa2: Waiting 04:35:47 2f39f015ded8: Waiting 04:35:47 5c69ac0246d0: Verifying Checksum 04:35:47 5c69ac0246d0: Download complete 04:35:47 3a2ae6a8a46f: Verifying Checksum 04:35:47 3a2ae6a8a46f: Download complete 04:35:47 33b1e0a273af: Verifying Checksum 04:35:47 33b1e0a273af: Download complete 04:35:47 ec43610c2a17: Verifying Checksum 04:35:47 ec43610c2a17: Download complete 04:35:47 5d3b04190fa2: Verifying Checksum 04:35:47 5d3b04190fa2: Download complete 04:35:47 5eb5b503b376: Verifying Checksum 04:35:47 5eb5b503b376: Download complete 04:35:48 2f39f015ded8: Download complete 04:35:48 5eb5b503b376: Pull complete 04:35:49 5c69ac0246d0: Pull complete 04:35:49 ec43610c2a17: Pull complete 04:35:49 3a2ae6a8a46f: Pull complete 04:35:49 33b1e0a273af: Pull complete 04:35:50 5d3b04190fa2: Pull complete 04:35:54 2f39f015ded8: Pull complete 04:35:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:35:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:35:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:35:54 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:35:54 $ 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 04:35:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-209 in /w/workspace/edgexfoundry_device-rest-go_main 04:35:58 $ docker top 18be027a0903bd7f81479e02fb767469f1c5fac5c6321234c3053b9e7a946086 -eo pid,comm [Pipeline] { [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] ws 04:35:59 Running in /w/workspace/device-rest-go/160 [Pipeline] { [Pipeline] checkout 04:35:59 The recommended git tool is: git 04:35:59 ---> job-cost.sh 04:35:59 lf-activate-venv: SKIPPING 04:35:59 INFO: No Stack... 04:35:59 INFO: Retrieving Pricing Info for: v3-standard-8 04:36:00 INFO: Archiving Costs [Pipeline] sh 04:36:00 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 04:36:00 + cut -d, -f6 [Pipeline] lock 04:36:00 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-160-stack-cost] 04:36:00 Resource [jenkins-edgexfoundry-device-rest-go-main-160-stack-cost] did not exist. Created. 04:36:00 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:36:01 + echo total: 0.2199999988079071 [Pipeline] stash 04:36:01 Stashed 1 file(s) [Pipeline] } 04:36:01 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 04:36:01 $ docker stop --time=1 18be027a0903bd7f81479e02fb767469f1c5fac5c6321234c3053b9e7a946086 04:36:02 $ docker rm -f --volumes 18be027a0903bd7f81479e02fb767469f1c5fac5c6321234c3053b9e7a946086 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:36:04 using credential edgex-jenkins-ssh 04:36:04 Cloning the remote Git repository 04:36:04 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:36:04 > git init /w/workspace/device-rest-go/160 # timeout=10 04:36:04 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:36:04 > git --version # timeout=10 04:36:04 > git --version # 'git version 2.25.1' 04:36:04 using GIT_SSH to set credentials SSH Credentials for GitHub 04:36:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:36:07 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:36:07 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:36:08 Avoid second fetch 04:36:08 Checking out Revision 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 (main) 04:36:08 Commit message: "Merge pull request #379 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.2.0-dev.7" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { 04:36:08 > git config core.sparsecheckout # timeout=10 04:36:08 > git checkout -f 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 # timeout=10 [Pipeline] sh 04:36:09 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:36:09 % Total % Received % Xferd Average Speed Time Time Time Current 04:36:09 Dload Upload Total Spent Left Speed 04:36:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 109k 0 --:--:-- --:--:-- --:--:-- 109k [Pipeline] sh 04:36:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:36:10 + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new 04:36:10 04:36:10 { 04:36:10 "registry-mirrors": [ 04:36:10 "https://nexus3.edgexfoundry.org:10001" 04:36:10 ], 04:36:10 "bip": "10.250.0.254/24", 04:36:10 "hosts": [ 04:36:10 "tcp://0.0.0.0:5555", 04:36:10 "unix:///var/run/docker.sock" 04:36:10 ], 04:36:10 "mtu": 1458, 04:36:10 "selinux-enabled": true, 04:36:10 "seccomp-profile": "/etc/docker/seccomp.json" 04:36:10 } [Pipeline] sh 04:36:10 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:36:11 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:36:29 provisioning config files... 04:36:29 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/160@tmp/config5357756667758525500tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:36:30 ---> ****-login.sh 04:36:30 nexus3.edgexfoundry.org:10001 04:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:30 Configure a credential helper to remove this warning. See 04:36:30 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:30 04:36:30 Login Succeeded 04:36:30 nexus3.edgexfoundry.org:10002 04:36:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:31 Configure a credential helper to remove this warning. See 04:36:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:31 04:36:31 Login Succeeded 04:36:31 nexus3.edgexfoundry.org:10003 04:36:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:31 Configure a credential helper to remove this warning. See 04:36:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:31 04:36:31 Login Succeeded 04:36:31 nexus3.edgexfoundry.org:10004 04:36:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:31 Configure a credential helper to remove this warning. See 04:36:31 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:31 04:36:31 Login Succeeded 04:36:31 ****.io 04:36:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:36:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:36:32 Configure a credential helper to remove this warning. See 04:36:32 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:36:32 04:36:32 Login Succeeded 04:36:32 ---> ****-login.sh ends [Pipeline] } 04:36:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:36:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:36:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:36:32 ========================================================= 04:36:32 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 04:36:32 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:36:33 + 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 . 04:36:35 Sending build context to Docker daemon 127.5kB 04:36:35 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 04:36:35 Step 2/12 : FROM ${BASE} AS builder 04:36:35 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:36:35 9fda8d8052c6: Pulling fs layer 04:36:35 5d54e960e981: Pulling fs layer 04:36:35 c4a7e357bf2a: Pulling fs layer 04:36:35 f0e02332f6b5: Pulling fs layer 04:36:35 872ee5b61b7b: Pulling fs layer 04:36:35 f0e02332f6b5: Waiting 04:36:35 872ee5b61b7b: Waiting 04:36:35 0c6a40ed1a82: Pulling fs layer 04:36:35 94ae7d8d031c: Pulling fs layer 04:36:35 0c6a40ed1a82: Waiting 04:36:35 94ae7d8d031c: Waiting 04:36:35 5d54e960e981: Verifying Checksum 04:36:35 5d54e960e981: Download complete 04:36:35 f0e02332f6b5: Verifying Checksum 04:36:35 f0e02332f6b5: Download complete 04:36:35 872ee5b61b7b: Verifying Checksum 04:36:35 872ee5b61b7b: Download complete 04:36:35 9fda8d8052c6: Verifying Checksum 04:36:35 9fda8d8052c6: Download complete 04:36:36 94ae7d8d031c: Verifying Checksum 04:36:36 94ae7d8d031c: Download complete 04:36:36 9fda8d8052c6: Pull complete 04:36:37 5d54e960e981: Pull complete 04:36:37 c4a7e357bf2a: Verifying Checksum 04:36:37 c4a7e357bf2a: Download complete 04:36:38 0c6a40ed1a82: Download complete 04:36:51 c4a7e357bf2a: Pull complete 04:36:51 f0e02332f6b5: Pull complete 04:36:51 872ee5b61b7b: Pull complete 04:36:59 0c6a40ed1a82: Pull complete 04:37:00 94ae7d8d031c: Pull complete 04:37:00 Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 04:37:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 04:37:00 ---> 86de565de09d 04:37:00 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:37:01 ---> Running in eca64935b989 04:37:01 Removing intermediate container eca64935b989 04:37:01 ---> ede35de22852 04:37:01 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:37:01 ---> Running in 6cdc1dc5287c 04:37:02 Removing intermediate container 6cdc1dc5287c 04:37:02 ---> 5eb0e1870ba1 04:37:02 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:37:02 ---> Running in f54954c8c8eb 04:37:02 Removing intermediate container f54954c8c8eb 04:37:02 ---> 596fb48fafc7 04:37:02 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:37:04 ---> Running in 557523bf05af 04:37:04 Removing intermediate container 557523bf05af 04:37:04 ---> a4eecb544206 04:37:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:37:04 ---> Running in a0231d6ae1a0 04:37:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:37:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:37:05 (1/4) Installing openssh-keygen (9.3_p2-r1) 04:37:05 (2/4) Installing libedit (20221030.3.1-r1) 04:37:05 (3/4) Installing openssh-client-common (9.3_p2-r1) 04:37:05 (4/4) Installing openssh-client-default (9.3_p2-r1) 04:37:05 Executing busybox-1.36.1-r5.trigger 04:37:05 OK: 271 MiB in 56 packages 04:37:06 Removing intermediate container a0231d6ae1a0 04:37:06 ---> 0b90b48212c3 04:37:06 Step 8/12 : WORKDIR /device-rest-go 04:37:06 ---> Running in 1f7135b355cc 04:37:06 Removing intermediate container 1f7135b355cc 04:37:06 ---> adc951e36ec5 04:37:06 Step 9/12 : COPY go.mod vendor* ./ 04:37:07 ---> d06826f2b878 04:37:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:37:07 ---> Running in 0d8cd35d3840 04:38:03 Removing intermediate container 0d8cd35d3840 04:38:03 ---> ef9db225b7b4 04:38:03 Step 11/12 : COPY . . 04:38:04 ---> c89bc3873329 04:38:04 Step 12/12 : RUN $MAKE 04:38:04 ---> Running in 2c452c7cb07d 04:38:05 noop 04:38:05 Removing intermediate container 2c452c7cb07d 04:38:05 ---> b692e5589676 04:38:05 Successfully built b692e5589676 04:38:05 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:06 + docker inspect -f . ci-base-image-arm64 04:38:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:06 prd-ubuntu20.04-docker-arm64-4c-16g-209 does not seem to be running inside a container 04:38:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/160 -v /w/workspace/device-rest-go/160:/w/workspace/device-rest-go/160:rw,z -v /w/workspace/device-rest-go/160@tmp:/w/workspace/device-rest-go/160@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 04:38:08 $ docker top 154f088308bdd137d4b49b27e784a10b1e1a256563173363208c74a7f72a802a -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:08 + go version 04:38:08 go version go1.21.0 linux/arm64 [Pipeline] } 04:38:08 $ docker stop --time=1 154f088308bdd137d4b49b27e784a10b1e1a256563173363208c74a7f72a802a 04:38:10 $ docker rm -f --volumes 154f088308bdd137d4b49b27e784a10b1e1a256563173363208c74a7f72a802a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:38:11 + docker inspect -f . ci-base-image-arm64 04:38:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:38:11 prd-ubuntu20.04-docker-arm64-4c-16g-209 does not seem to be running inside a container 04:38:11 $ 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/160 -v /w/workspace/device-rest-go/160:/w/workspace/device-rest-go/160:rw,z -v /w/workspace/device-rest-go/160@tmp:/w/workspace/device-rest-go/160@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 04:38:12 $ docker top 791cc1b8f367ff5fc286a50826dde2bf5dff3f9448c53cec7722d3454eb647b6 -eo pid,comm [Pipeline] { [Pipeline] sh 04:38:13 + git config --global --add safe.directory /w/workspace/device-rest-go/160 [Pipeline] fileExists [Pipeline] sh 04:38:13 + make test 04:38:13 go test ./... -coverprofile=coverage.out ./... 04:38:19 ? github.com/edgexfoundry/device-rest-go [no test files] 04:39:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:39:55 ok github.com/edgexfoundry/device-rest-go/driver 0.050s coverage: 33.2% of statements 04:39:55 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:39:55 go vet ./... 04:40:08 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:40:08 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:40:08 ./bin/test-attribution-txt.sh 04:40:08 An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo 04:40:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } 04:40:08 $ docker stop --time=1 791cc1b8f367ff5fc286a50826dde2bf5dff3f9448c53cec7722d3454eb647b6 04:40:09 $ docker rm -f --volumes 791cc1b8f367ff5fc286a50826dde2bf5dff3f9448c53cec7722d3454eb647b6 [Pipeline] // withDockerContainer [Pipeline] sh 04:40:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:40:11 Warning: overwriting stash ‘coverage-report’ 04:40:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:40:15 + ls -al . 04:40:15 total 176 04:40:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 04:38 . 04:40:15 drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 04:36 .. 04:40:15 -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 04:36 .dockerignore 04:40:15 drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 04:36 .git 04:40:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 04:36 .github 04:40:15 -rw-rw-r-- 1 jenkins jenkins 264 Jan 31 04:36 .gitignore 04:40:15 -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 04:36 .golangci.yml 04:40:15 -rw-rw-r-- 1 jenkins jenkins 10300 Jan 31 04:36 Attribution.txt 04:40:15 -rw-rw-r-- 1 jenkins jenkins 17685 Jan 31 04:36 CHANGELOG.md 04:40:15 -rw-rw-r-- 1 jenkins jenkins 1687 Jan 31 04:36 Dockerfile 04:40:15 -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 04:36 GOVERNANCE.md 04:40:15 -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 04:36 Jenkinsfile 04:40:15 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 04:36 LICENSE 04:40:15 -rw-rw-r-- 1 jenkins jenkins 2016 Jan 31 04:36 Makefile 04:40:15 -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 04:36 OWNERS.md 04:40:15 -rw-rw-r-- 1 jenkins jenkins 3989 Jan 31 04:36 README.md 04:40:15 -rw-rw-r-- 1 jenkins jenkins 11 Jan 31 04:33 VERSION 04:40:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 04:36 bin 04:40:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 04:36 cmd 04:40:15 -rw-r--r-- 1 jenkins jenkins 14499 Jan 31 04:39 coverage.out 04:40:15 drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 04:36 driver 04:40:15 -rw-rw-r-- 1 jenkins jenkins 3934 Jan 31 04:36 go.mod 04:40:15 -rw-rw-r-- 1 jenkins jenkins 34689 Jan 31 04:36 go.sum 04:40:15 drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 04:36 openapi 04:40:15 -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 04:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:15 + 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=9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 --label arch=arm64 --label version=3.2.0-dev.8 . 04:40:15 Sending build context to Docker daemon 142.8kB 04:40:16 Step 1/26 : ARG BASE=golang:1.21-alpine3.18 04:40:16 Step 2/26 : FROM ${BASE} AS builder 04:40:16 ---> b692e5589676 04:40:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 04:40:16 ---> Running in 70658d88ec44 04:40:16 Removing intermediate container 70658d88ec44 04:40:16 ---> 49709a15bd88 04:40:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:40:16 ---> Running in ebbd2fb36e15 04:40:16 Removing intermediate container ebbd2fb36e15 04:40:16 ---> 914e763f237b 04:40:16 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:40:16 ---> Running in e5f7efa666df 04:40:17 Removing intermediate container e5f7efa666df 04:40:17 ---> e60f430cd700 04:40:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 04:40:17 ---> Running in d79f97b4f9db 04:40:17 Removing intermediate container d79f97b4f9db 04:40:17 ---> 647ff2d5aad7 04:40:17 Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:40:17 ---> Running in 85500d080a54 04:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:40:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:40:20 OK: 271 MiB in 56 packages 04:40:22 Removing intermediate container 85500d080a54 04:40:22 ---> 008a8676237f 04:40:22 Step 8/26 : WORKDIR /device-rest-go 04:40:22 ---> Running in f133755fc522 04:40:22 Removing intermediate container f133755fc522 04:40:22 ---> 018b971f7b88 04:40:22 Step 9/26 : COPY go.mod vendor* ./ 04:40:23 ---> 2adc50d53fe1 04:40:23 Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:40:23 ---> Running in 2e077e45030c 04:40:25 Removing intermediate container 2e077e45030c 04:40:25 ---> 06a495bb48d7 04:40:25 Step 11/26 : COPY . . 04:40:25 ---> 1571687254a6 04:40:25 Step 12/26 : RUN $MAKE 04:40:25 ---> Running in 8deb66a9bf94 04:40:26 CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-rest-go.Version=3.2.0-dev.8 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd 04:42:18 Removing intermediate container 8deb66a9bf94 04:42:18 ---> acaca753011d 04:42:18 Step 13/26 : FROM alpine:3.18 04:42:18 3.18: Pulling from library/alpine 04:42:18 c6b39de5b339: Pulling fs layer 04:42:18 c6b39de5b339: Verifying Checksum 04:42:18 c6b39de5b339: Download complete 04:42:18 c6b39de5b339: Pull complete 04:42:18 Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 04:42:18 Status: Downloaded newer image for alpine:3.18 04:42:18 ---> 33abbf032149 04:42:18 Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 04:42:18 ---> Running in e9b8552e1c08 04:42:19 Removing intermediate container e9b8552e1c08 04:42:19 ---> 626f9e3506d5 04:42:19 Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} 04:42:19 ---> Running in fb809adc002c 04:42:19 Removing intermediate container fb809adc002c 04:42:19 ---> 77c2d7e78862 04:42:19 Step 16/26 : RUN apk add --update --no-cache dumb-init 04:42:19 ---> Running in f7fdafebc6cb 04:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:42:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:42:23 (1/1) Installing dumb-init (1.2.5-r2) 04:42:23 Executing busybox-1.36.1-r5.trigger 04:42:23 OK: 8 MiB in 16 packages 04:42:25 Removing intermediate container f7fdafebc6cb 04:42:25 ---> 1b5a81392dae 04:42:25 Step 17/26 : RUN apk --no-cache upgrade 04:42:25 ---> Running in 31b7c6238970 04:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 04:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 04:42:27 OK: 8 MiB in 16 packages 04:42:28 Removing intermediate container 31b7c6238970 04:42:28 ---> 0d6d175d5999 04:42:28 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 04:42:29 ---> 9ce01a66abba 04:42:29 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 04:42:29 ---> 6766c3e20d4d 04:42:29 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 04:42:30 ---> 7f4fcc228cda 04:42:30 Step 21/26 : EXPOSE 59986 04:42:30 ---> Running in 17f5a909eaba 04:42:30 Removing intermediate container 17f5a909eaba 04:42:30 ---> 833694b1a1ba 04:42:30 Step 22/26 : ENTRYPOINT ["/device-rest"] 04:42:30 ---> Running in 846d1da819f1 04:42:31 Removing intermediate container 846d1da819f1 04:42:31 ---> 39dae29186cb 04:42:31 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:42:31 ---> Running in 9950910fb125 04:42:31 Removing intermediate container 9950910fb125 04:42:31 ---> be58e5127c3d 04:42:31 Step 24/26 : LABEL arch=arm64 04:42:31 ---> Running in 114b25dd9f2f 04:42:31 Removing intermediate container 114b25dd9f2f 04:42:31 ---> 63b32399d3e3 04:42:31 Step 25/26 : LABEL git_sha=9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 04:42:31 ---> Running in ba9d5b951cdb 04:42:32 Removing intermediate container ba9d5b951cdb 04:42:32 ---> aed99148b432 04:42:32 Step 26/26 : LABEL version=3.2.0-dev.8 04:42:32 ---> Running in 823ff029e7ee 04:42:32 Removing intermediate container 823ff029e7ee 04:42:32 ---> 3bee41b4a0d1 04:42:32 [Warning] One or more build-args [ARCH] were not consumed 04:42:32 Successfully built 3bee41b4a0d1 04:42:32 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 04:42:32 provisioning config files... 04:42:32 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/160@tmp/config10873565061197957816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:33 ---> ****-login.sh 04:42:33 nexus3.edgexfoundry.org:10001 04:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:33 Configure a credential helper to remove this warning. See 04:42:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:33 04:42:33 Login Succeeded 04:42:33 nexus3.edgexfoundry.org:10002 04:42:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:33 Configure a credential helper to remove this warning. See 04:42:33 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:33 04:42:33 Login Succeeded 04:42:33 nexus3.edgexfoundry.org:10003 04:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:34 Configure a credential helper to remove this warning. See 04:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:34 04:42:34 Login Succeeded 04:42:34 nexus3.edgexfoundry.org:10004 04:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:34 Configure a credential helper to remove this warning. See 04:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:34 04:42:34 Login Succeeded 04:42:34 ****.io 04:42:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. 04:42:34 Configure a credential helper to remove this warning. See 04:42:34 https://docs.****.com/engine/reference/commandline/login/#credentials-store 04:42:34 04:42:34 Login Succeeded 04:42:34 ---> ****-login.sh ends [Pipeline] } 04:42:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:42:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo 04:42:35 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 04:42:35 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 04:42:35 latest 04:42:35 3.2.0-dev.8 04:42:35 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8 04:42:35 main 04:42:35 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:39 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 04:42:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:42:39 5bd81aefb869: Preparing 04:42:39 a1b5cb76306d: Preparing 04:42:39 176801bd5549: Preparing 04:42:39 2764993ad8be: Preparing 04:42:39 ab1a403a7aef: Preparing 04:42:39 7c504f21be85: Preparing 04:42:39 7c504f21be85: Waiting 04:42:40 2764993ad8be: Pushed 04:42:40 5bd81aefb869: Pushed 04:42:40 a1b5cb76306d: Pushed 04:42:40 ab1a403a7aef: Pushed 04:42:40 7c504f21be85: Layer already exists 04:42:44 176801bd5549: Pushed 04:42:44 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4: digest: sha256:90b014abdbbefa40c0c3fceace73b64c6784559729055a7910a165111e2264bf size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:44 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:45 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:42:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:42:45 5bd81aefb869: Preparing 04:42:45 a1b5cb76306d: Preparing 04:42:45 176801bd5549: Preparing 04:42:45 2764993ad8be: Preparing 04:42:45 ab1a403a7aef: Preparing 04:42:45 7c504f21be85: Preparing 04:42:45 7c504f21be85: Waiting 04:42:45 ab1a403a7aef: Layer already exists 04:42:45 176801bd5549: Layer already exists 04:42:45 5bd81aefb869: Layer already exists 04:42:45 2764993ad8be: Layer already exists 04:42:45 a1b5cb76306d: Layer already exists 04:42:45 7c504f21be85: Layer already exists 04:42:45 latest: digest: sha256:90b014abdbbefa40c0c3fceace73b64c6784559729055a7910a165111e2264bf size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:45 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:46 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.8 04:42:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:42:46 5bd81aefb869: Preparing 04:42:46 a1b5cb76306d: Preparing 04:42:46 176801bd5549: Preparing 04:42:46 2764993ad8be: Preparing 04:42:46 ab1a403a7aef: Preparing 04:42:46 7c504f21be85: Preparing 04:42:46 7c504f21be85: Waiting 04:42:46 ab1a403a7aef: Layer already exists 04:42:46 2764993ad8be: Layer already exists 04:42:46 176801bd5549: Layer already exists 04:42:46 a1b5cb76306d: Layer already exists 04:42:46 5bd81aefb869: Layer already exists 04:42:46 7c504f21be85: Layer already exists 04:42:46 3.2.0-dev.8: digest: sha256:90b014abdbbefa40c0c3fceace73b64c6784559729055a7910a165111e2264bf size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8 04:42:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:42:47 5bd81aefb869: Preparing 04:42:47 a1b5cb76306d: Preparing 04:42:47 176801bd5549: Preparing 04:42:47 2764993ad8be: Preparing 04:42:47 ab1a403a7aef: Preparing 04:42:47 7c504f21be85: Preparing 04:42:47 7c504f21be85: Waiting 04:42:47 2764993ad8be: Layer already exists 04:42:47 a1b5cb76306d: Layer already exists 04:42:47 5bd81aefb869: Layer already exists 04:42:47 176801bd5549: Layer already exists 04:42:47 ab1a403a7aef: Layer already exists 04:42:47 7c504f21be85: Layer already exists 04:42:47 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8: digest: sha256:90b014abdbbefa40c0c3fceace73b64c6784559729055a7910a165111e2264bf size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 04:42:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:42:48 5bd81aefb869: Preparing 04:42:48 a1b5cb76306d: Preparing 04:42:48 176801bd5549: Preparing 04:42:48 2764993ad8be: Preparing 04:42:48 ab1a403a7aef: Preparing 04:42:48 7c504f21be85: Preparing 04:42:48 7c504f21be85: Waiting 04:42:48 5bd81aefb869: Layer already exists 04:42:48 176801bd5549: Layer already exists 04:42:48 ab1a403a7aef: Layer already exists 04:42:48 a1b5cb76306d: Layer already exists 04:42:48 2764993ad8be: Layer already exists 04:42:48 7c504f21be85: Layer already exists 04:42:48 main: digest: sha256:90b014abdbbefa40c0c3fceace73b64c6784559729055a7910a165111e2264bf size: 1572 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:42:49 ===================================================== [Pipeline] echo 04:42:49 taggedImages: 04:42:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 04:42:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:42:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.2.0-dev.8 04:42:49 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9cb675d4ddcdd5ccdbd5349343295471beb8b9c4-3.2.0-dev.8 04:42:49 - 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 04:42:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:42:50 04:42:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:42:50 arm64: Pulling from edgex-lftools-log-publisher 04:42:50 8998bd30e6a1: Pulling fs layer 04:42:50 04944245beec: Pulling fs layer 04:42:50 699f458cf7ca: Pulling fs layer 04:42:50 765212b225bb: Pulling fs layer 04:42:50 f23df028b6ca: Pulling fs layer 04:42:50 d65c8cfc05b1: Pulling fs layer 04:42:50 2437ff75d9bd: Pulling fs layer 04:42:50 765212b225bb: Waiting 04:42:50 f23df028b6ca: Waiting 04:42:50 2437ff75d9bd: Waiting 04:42:50 d65c8cfc05b1: Waiting 04:42:50 04944245beec: Verifying Checksum 04:42:50 04944245beec: Download complete 04:42:50 765212b225bb: Verifying Checksum 04:42:50 765212b225bb: Download complete 04:42:50 f23df028b6ca: Verifying Checksum 04:42:50 f23df028b6ca: Download complete 04:42:50 d65c8cfc05b1: Verifying Checksum 04:42:50 d65c8cfc05b1: Download complete 04:42:50 699f458cf7ca: Verifying Checksum 04:42:50 699f458cf7ca: Download complete 04:42:51 8998bd30e6a1: Verifying Checksum 04:42:51 8998bd30e6a1: Download complete 04:42:53 2437ff75d9bd: Verifying Checksum 04:42:53 2437ff75d9bd: Download complete 04:42:55 8998bd30e6a1: Pull complete 04:42:55 04944245beec: Pull complete 04:42:57 699f458cf7ca: Pull complete 04:42:57 765212b225bb: Pull complete 04:42:58 f23df028b6ca: Pull complete 04:42:58 d65c8cfc05b1: Pull complete 04:43:13 2437ff75d9bd: Pull complete 04:43:13 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:43:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:43:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:13 prd-ubuntu20.04-docker-arm64-4c-16g-209 does not seem to be running inside a container 04:43:13 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/160 -v /w/workspace/device-rest-go/160:/w/workspace/device-rest-go/160:rw,z -v /w/workspace/device-rest-go/160@tmp:/w/workspace/device-rest-go/160@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 04:43:16 $ docker top f227ec719b8cf5144136e1a2068bb17e0975fb03a760c46f42ef56fb0f165909 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:43:16 ---> job-cost.sh 04:43:17 lf-activate-venv: SKIPPING 04:43:17 INFO: No Stack... 04:43:17 INFO: Retrieving Pricing Info for: v3-standard-4 04:43:18 INFO: Archiving Costs [Pipeline] sh 04:43:18 + cat /w/workspace/device-rest-go/160/archives/cost.csv 04:43:18 + cut -d, -f6 [Pipeline] lock 04:43:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-160-stack-cost] 04:43:18 Resource [jenkins-edgexfoundry-device-rest-go-main-160-stack-cost] did not exist. Created. 04:43:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-160-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:43:18 /w/workspace/device-rest-go/160@tmp/durable-e18c0f7d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:43:19 + echo total: 0.10999999940395355 [Pipeline] stash 04:43:19 Warning: overwriting stash ‘stack-cost’ 04:43:19 Stashed 1 file(s) [Pipeline] } 04:43:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-160-stack-cost] [Pipeline] // lock [Pipeline] } 04:43:19 $ docker stop --time=1 f227ec719b8cf5144136e1a2068bb17e0975fb03a760c46f42ef56fb0f165909 04:43:23 $ docker rm -f --volumes f227ec719b8cf5144136e1a2068bb17e0975fb03a760c46f42ef56fb0f165909 [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 04:43:25 provisioning config files... 04:43:25 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11982761541018357193tmp [Pipeline] { [Pipeline] sh 04:43:25 + set +x 04:43:25 + + curl -s https://codecov.io/bashbash 04:43:25 -s -- 04:43:25 04:43:25 _____ _ 04:43:25 / ____| | | 04:43:25 | | ___ __| | ___ ___ _____ __ 04:43:25 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:43:25 | |___| (_) | (_| | __/ (_| (_) \ V / 04:43:25 \_____\___/ \__,_|\___|\___\___/ \_/ 04:43:25 Bash-1.0.6 04:43:25 04:43:25 04:43:25 ==> git version 2.25.1 found 04:43:25 ==> 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 04:43:25 Release-Date: 2020-01-08 04:43:25 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:43:25 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:43:25 ==> Jenkins CI detected. 04:43:25 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 04:43:25 project root: . 04:43:25 --> token set from env 04:43:25 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:43:25 ==> Running gcov in . (disable via -X gcov) 04:43:25 ==> Python coveragepy not found 04:43:25 ==> Searching for coverage reports in: 04:43:25 + . 04:43:25 -> Found 1 reports 04:43:25 ==> Detecting git/mercurial file structure 04:43:25 ==> Reading reports 04:43:25 + ./coverage.out bytes=14499 04:43:25 ==> Appending adjustments 04:43:25 https://docs.codecov.io/docs/fixing-reports 04:43:25 + Found adjustments 04:43:25 ==> Gzipping contents 04:43:25 4.0K /tmp/codecov.Z0lwEJ.gz 04:43:25 ==> Uploading reports 04:43:25 url: https://codecov.io 04:43:25 query: branch=main&commit=9cb675d4ddcdd5ccdbd5349343295471beb8b9c4&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:43:25 -> Pinging Codecov 04:43:25 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=main&commit=9cb675d4ddcdd5ccdbd5349343295471beb8b9c4&build=160&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F160%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:43:25 -> Uploading to 04:43:25 https://storage.googleapis.com/codecov/v4/raw/2024-01-31/4E5D53B4F1F92C436F7061BF334D961C/9cb675d4ddcdd5ccdbd5349343295471beb8b9c4/04504d28-a4a1-42aa-bab3-62362a304424.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240131T044325Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=70cf54f9a2d270bcfc06627b95cb2f01018cd23aaf506989602be2d6f2082fe6 04:43:25 % Total % Received % Xferd Average Speed Time Time Time Current 04:43:25 Dload Upload Total Spent Left Speed 04:43:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 9247 --:--:-- --:--:-- --:--:-- 9247 04:43:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 [Pipeline] } 04:43:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:43:26 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:43:26 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:43:27 04:43:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:43:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:43:27 df9b9388f04a: Pulling fs layer 04:43:27 52dc419b0ee2: Pulling fs layer 04:43:27 25bc292e5bac: Pulling fs layer 04:43:27 114826534d7a: Pulling fs layer 04:43:27 4657fd5d0bcf: Pulling fs layer 04:43:27 6ad1cebc031e: Pulling fs layer 04:43:27 8a3aa393b2d8: Pulling fs layer 04:43:27 4657fd5d0bcf: Waiting 04:43:27 114826534d7a: Waiting 04:43:27 6ad1cebc031e: Waiting 04:43:27 8a3aa393b2d8: Waiting 04:43:27 25bc292e5bac: Verifying Checksum 04:43:27 25bc292e5bac: Download complete 04:43:27 52dc419b0ee2: Verifying Checksum 04:43:27 52dc419b0ee2: Download complete 04:43:27 4657fd5d0bcf: Verifying Checksum 04:43:27 4657fd5d0bcf: Download complete 04:43:27 df9b9388f04a: Download complete 04:43:27 df9b9388f04a: Pull complete 04:43:27 6ad1cebc031e: Verifying Checksum 04:43:27 6ad1cebc031e: Download complete 04:43:27 52dc419b0ee2: Pull complete 04:43:28 25bc292e5bac: Pull complete 04:43:28 114826534d7a: Verifying Checksum 04:43:28 114826534d7a: Download complete 04:43:28 8a3aa393b2d8: Verifying Checksum 04:43:28 8a3aa393b2d8: Download complete 04:43:31 114826534d7a: Pull complete 04:43:31 4657fd5d0bcf: Pull complete 04:43:32 6ad1cebc031e: Pull complete 04:43:34 8a3aa393b2d8: Pull complete 04:43:34 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:43:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:43:34 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:34 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:43:35 $ 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 04:43:39 $ docker top c4b30fccf0999dba2ebd986931680ae08b7a346b384c06719e1784e8e9930c44 -eo pid,comm [Pipeline] { [Pipeline] echo 04:43:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 04:43:39 + set -o pipefail 04:43:39 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 04:43:46 04:43:46 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 04:43:46 04:43:46 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4ef9b8d7-b66c-41b5-baa2-0d9693dec4d4 04:43:46 04:43:46 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:43:46 04:43:47 04:43:47 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:43:47 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:43:47 More details here: https://snyk.co/ue1NS 04:43:47 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 04:43:47 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 04:43:47 $ docker stop --time=1 c4b30fccf0999dba2ebd986931680ae08b7a346b384c06719e1784e8e9930c44 04:43:50 $ docker rm -f --volumes c4b30fccf0999dba2ebd986931680ae08b7a346b384c06719e1784e8e9930c44 [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 04:43:51 + git log --format=format:%s -1 9cb675d4ddcdd5ccdbd5349343295471beb8b9c4 [Pipeline] sh 04:43:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:43:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:43:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:43:52 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:43:52 $ 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:43:53 $ docker top e243305b0ea9adff9cf11ee06581f05e0c8ec0016fe26de560bf4ff7bc9b8b78 -eo pid,comm 04:43:53 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:43:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:43:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:43:53 [ssh-agent] Looking for ssh-agent implementation... 04:43:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:43:53 $ docker exec e243305b0ea9adff9cf11ee06581f05e0c8ec0016fe26de560bf4ff7bc9b8b78 ssh-agent 04:43:53 SSH_AUTH_SOCK=/tmp/ssh-LUT698eKG60Q/agent.33 04:43:53 SSH_AGENT_PID=39 04:43:53 Running ssh-add (command line suppressed) 04:43:53 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4348763214316309515.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4348763214316309515.key) 04:43:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:43:54 + git semver tag 04:43:54 2024-01-31 04:43:54,326 [run_tag] DEBUG tag force:False 04:43:54 2024-01-31 04:43:54,326 [check_head_tag] DEBUG check head tag 04:43:54 2024-01-31 04:43:54,327 [execute] INFO git cat-file --batch-check 04:43:54 2024-01-31 04:43:54,327 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:43:54 2024-01-31 04:43:54,331 [execute] INFO git cat-file --batch 04:43:54 2024-01-31 04:43:54,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:43:54 2024-01-31 04:43:54,348 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:43:54 2024-01-31 04:43:54,348 [execute] INFO git tag -a v3.2.0-dev.8 -m v3.2.0-dev.8 04:43:54 2024-01-31 04:43:54,348 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.2.0-dev.8', '-m', 'v3.2.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 04:43:54 2024-01-31 04:43:54,354 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:43:54 3.2.0-dev.8 [Pipeline] } 04:43:54 $ docker exec --env ******** --env ******** e243305b0ea9adff9cf11ee06581f05e0c8ec0016fe26de560bf4ff7bc9b8b78 ssh-agent -k 04:43:54 unset SSH_AUTH_SOCK; 04:43:54 unset SSH_AGENT_PID; 04:43:54 echo Agent pid 39 killed; 04:43:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:43:55 + git semver [Pipeline] } 04:43:55 $ docker stop --time=1 e243305b0ea9adff9cf11ee06581f05e0c8ec0016fe26de560bf4ff7bc9b8b78 04:43:56 $ docker rm -f --volumes e243305b0ea9adff9cf11ee06581f05e0c8ec0016fe26de560bf4ff7bc9b8b78 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:43:57 04:43:57 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:43:57 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:43:57 0.23.1-centos7: Pulling from edgex-lftools 04:43:57 ab5ef0e58194: Pulling fs layer 04:43:57 9712f1f96733: Pulling fs layer 04:43:57 63f879dbbcfc: Pulling fs layer 04:43:57 0d9ebad4ef96: Pulling fs layer 04:43:57 e9a5061849ea: Pulling fs layer 04:43:57 d747dcd14b5f: Pulling fs layer 04:43:57 2de7ff778b66: Pulling fs layer 04:43:57 e9a5061849ea: Waiting 04:43:57 0d9ebad4ef96: Waiting 04:43:57 2de7ff778b66: Waiting 04:43:57 d747dcd14b5f: Waiting 04:43:57 9712f1f96733: Verifying Checksum 04:43:57 9712f1f96733: Download complete 04:43:57 63f879dbbcfc: Verifying Checksum 04:43:57 63f879dbbcfc: Download complete 04:43:58 e9a5061849ea: Verifying Checksum 04:43:58 e9a5061849ea: Download complete 04:43:58 ab5ef0e58194: Verifying Checksum 04:43:58 ab5ef0e58194: Download complete 04:43:58 d747dcd14b5f: Verifying Checksum 04:43:58 d747dcd14b5f: Download complete 04:43:58 0d9ebad4ef96: Verifying Checksum 04:43:58 0d9ebad4ef96: Download complete 04:43:58 2de7ff778b66: Verifying Checksum 04:43:58 2de7ff778b66: Download complete 04:44:00 ab5ef0e58194: Pull complete 04:44:00 9712f1f96733: Pull complete 04:44:01 63f879dbbcfc: Pull complete 04:44:05 0d9ebad4ef96: Pull complete 04:44:05 e9a5061849ea: Pull complete 04:44:05 d747dcd14b5f: Pull complete 04:44:05 2de7ff778b66: Pull complete 04:44:05 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:44:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:44:05 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:06 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:44:06 $ 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:44:11 $ docker top ec14d084245391d27717ac5c7e5513ec461df394a5e918b881ba74ac368f499b -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:44:11 provisioning config files... 04:44:11 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8222176546350549811tmp 04:44:11 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16267375552585734750tmp 04:44:11 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17347981134119022500tmp [Pipeline] { [Pipeline] echo 04:44:11 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:44:12 ---> sigul-configuration.sh 04:44:12 gpg: directory `/root/.gnupg' created 04:44:12 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:44:12 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:44:12 gpg: keyring `/root/.gnupg/secring.gpg' created 04:44:12 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:44:12 gpg: CAST5 encrypted data 04:44:12 gpg: encrypted with 1 passphrase 04:44:12 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:44:12 + mkdir /home/jenkins 04:44:12 + mkdir /home/jenkins/sigul [Pipeline] sh 04:44:12 + 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:44:12 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:44:13 ---> sigul-install.sh 04:44:13 Sigul already installed; skipping installation. [Pipeline] sh 04:44:13 + git tag --list 04:44:13 v1.0.0 04:44:13 v1.1.0 04:44:13 v1.1.1 04:44:13 v1.1.2 04:44:13 v1.2.0 04:44:13 v1.2.1 04:44:13 v2.0.0 04:44:13 v2.1.0 04:44:13 v2.1.1 04:44:13 v2.2.0 04:44:13 v2.3.0 04:44:13 v3.0 04:44:13 v3.0.0 04:44:13 v3.1 04:44:13 v3.1.0 04:44:13 v3.1.0-dev.1 04:44:13 v3.1.0-dev.10 04:44:13 v3.1.0-dev.11 04:44:13 v3.1.0-dev.12 04:44:13 v3.1.0-dev.13 04:44:13 v3.1.0-dev.14 04:44:13 v3.1.0-dev.15 04:44:13 v3.1.0-dev.16 04:44:13 v3.1.0-dev.17 04:44:13 v3.1.0-dev.18 04:44:13 v3.1.0-dev.19 04:44:13 v3.1.0-dev.2 04:44:13 v3.1.0-dev.20 04:44:13 v3.1.0-dev.21 04:44:13 v3.1.0-dev.22 04:44:13 v3.1.0-dev.23 04:44:13 v3.1.0-dev.24 04:44:13 v3.1.0-dev.25 04:44:13 v3.1.0-dev.26 04:44:13 v3.1.0-dev.27 04:44:13 v3.1.0-dev.28 04:44:13 v3.1.0-dev.29 04:44:13 v3.1.0-dev.3 04:44:13 v3.1.0-dev.30 04:44:13 v3.1.0-dev.31 04:44:13 v3.1.0-dev.32 04:44:13 v3.1.0-dev.4 04:44:13 v3.1.0-dev.5 04:44:13 v3.1.0-dev.6 04:44:13 v3.1.0-dev.7 04:44:13 v3.1.0-dev.8 04:44:13 v3.1.0-dev.9 04:44:13 v3.2.0-dev.1 04:44:13 v3.2.0-dev.2 04:44:13 v3.2.0-dev.3 04:44:13 v3.2.0-dev.4 04:44:13 v3.2.0-dev.5 04:44:13 v3.2.0-dev.6 04:44:13 v3.2.0-dev.7 04:44:13 v3.2.0-dev.8 [Pipeline] sh 04:44:13 + lftools sign git-tag v3.2.0-dev.8 04:44:14 Signing Git tag with Sigul... 04:44:14 Signing v3.2.0-dev.8 [Pipeline] echo 04:44:14 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:44:14 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:44:14 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:44:14 $ docker stop --time=1 ec14d084245391d27717ac5c7e5513ec461df394a5e918b881ba74ac368f499b 04:44:16 $ docker rm -f --volumes ec14d084245391d27717ac5c7e5513ec461df394a5e918b881ba74ac368f499b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:44:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:44:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:44:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:17 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:44:17 $ 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:44:17 $ docker top 00851c6be27820d17d0e94b2fd4974fc5a9de375b44477e8b8c55479d0997a65 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:44:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:18 [ssh-agent] Looking for ssh-agent implementation... 04:44:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:18 $ docker exec 00851c6be27820d17d0e94b2fd4974fc5a9de375b44477e8b8c55479d0997a65 ssh-agent 04:44:18 SSH_AUTH_SOCK=/tmp/ssh-bGlA9GNiFNpT/agent.32 04:44:18 SSH_AGENT_PID=38 04:44:18 Running ssh-add (command line suppressed) 04:44:18 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11460762290699904509.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11460762290699904509.key) 04:44:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:18 + git semver bump pre 04:44:19 2024-01-31 04:44:19,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:44:19 2024-01-31 04:44:19,075 [bump_version] DEBUG bumping version:3.2.0-dev.8 on axis:pre with prefix:dev 04:44:19 2024-01-31 04:44:19,075 [bump_version] DEBUG bumped version:3.2.0-dev.9 04:44:19 2024-01-31 04:44:19,075 [write_version] DEBUG write version:3.2.0-dev.9 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 04:44:19 2024-01-31 04:44:19,075 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:44:19 2024-01-31 04:44:19,075 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:44:19 2024-01-31 04:44:19,077 [execute] INFO git cat-file --batch-check 04:44:19 2024-01-31 04:44:19,077 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:44:19 2024-01-31 04:44:19,082 [execute] INFO git cat-file --batch 04:44:19 2024-01-31 04:44:19,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:44:19 2024-01-31 04:44:19,087 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:44:19 3.2.0-dev.9 [Pipeline] } 04:44:19 $ docker exec --env ******** --env ******** 00851c6be27820d17d0e94b2fd4974fc5a9de375b44477e8b8c55479d0997a65 ssh-agent -k 04:44:19 unset SSH_AUTH_SOCK; 04:44:19 unset SSH_AGENT_PID; 04:44:19 echo Agent pid 38 killed; 04:44:19 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:44:19 + git semver [Pipeline] } 04:44:20 $ docker stop --time=1 00851c6be27820d17d0e94b2fd4974fc5a9de375b44477e8b8c55479d0997a65 04:44:21 $ docker rm -f --volumes 00851c6be27820d17d0e94b2fd4974fc5a9de375b44477e8b8c55479d0997a65 [Pipeline] // withDockerContainer [Pipeline] sh 04:44:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:44:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:44:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:22 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:44:22 $ 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:44:22 $ docker top 0cf56f0a85c028be15f68b2ead9fa4085f22e2f968632c5c328c3a28b2b54f40 -eo pid,comm 04:44:22 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:44:22 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:44:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:44:23 [ssh-agent] Looking for ssh-agent implementation... 04:44:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:44:23 $ docker exec 0cf56f0a85c028be15f68b2ead9fa4085f22e2f968632c5c328c3a28b2b54f40 ssh-agent 04:44:23 SSH_AUTH_SOCK=/tmp/ssh-ngojoeXJaZno/agent.33 04:44:23 SSH_AGENT_PID=39 04:44:23 Running ssh-add (command line suppressed) 04:44:23 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7896936553721003332.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7896936553721003332.key) 04:44:23 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:44:23 + git semver push 04:44:24 2024-01-31 04:44:24,109 [run_push] DEBUG push 04:44:24 2024-01-31 04:44:24,110 [execute] INFO git cat-file --batch-check 04:44:24 2024-01-31 04:44:24,110 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:44:24 2024-01-31 04:44:24,116 [execute] INFO git rev-list 1637d1a416fb93f7fa0ecc27fbacf66062a53bd3 -- 04:44:24 2024-01-31 04:44:24,116 [execute] DEBUG Popen(['git', 'rev-list', '1637d1a416fb93f7fa0ecc27fbacf66062a53bd3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:44:24 2024-01-31 04:44:24,122 [execute] INFO git fetch -v origin 04:44:24 2024-01-31 04:44:24,122 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:44:24 2024-01-31 04:44:24,655 [run_push] DEBUG no remote changes detected 04:44:24 2024-01-31 04:44:24,656 [execute] INFO git push origin semver 04:44:24 2024-01-31 04:44:24,656 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:44:25 2024-01-31 04:44:25,393 [run_push] DEBUG push all version tags 04:44:25 2024-01-31 04:44:25,393 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:44:25 2024-01-31 04:44:25,394 [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:44:26 2024-01-31 04:44:26,063 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:44:26 3.2.0-dev.9 [Pipeline] } 04:44:26 $ docker exec --env ******** --env ******** 0cf56f0a85c028be15f68b2ead9fa4085f22e2f968632c5c328c3a28b2b54f40 ssh-agent -k 04:44:26 unset SSH_AUTH_SOCK; 04:44:26 unset SSH_AGENT_PID; 04:44:26 echo Agent pid 39 killed; 04:44:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:44:26 + git semver [Pipeline] } 04:44:27 $ docker stop --time=1 0cf56f0a85c028be15f68b2ead9fa4085f22e2f968632c5c328c3a28b2b54f40 04:44:28 $ docker rm -f --volumes 0cf56f0a85c028be15f68b2ead9fa4085f22e2f968632c5c328c3a28b2b54f40 [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:44:30 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 04:44:30 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:44:30 total 16 04:44:30 drwxr-xr-x 3 root root 4096 Jan 31 04:36 . 04:44:30 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 04:44 .. 04:44:30 drwxr-xr-x 2 root root 4096 Jan 31 04:36 cost 04:44:30 -rw-r--r-- 1 root root 86 Jan 31 04:36 cost.csv 04:44:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 04:44:30 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:44:30 total 16 04:44:30 drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 04:36 . 04:44:30 drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 04:44 .. 04:44:30 drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 04:36 cost 04:44:30 -rw-r--r-- 1 jenkins jenkins 86 Jan 31 04:36 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:44:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:44:31 ---> package-listing.sh 04:44:31 ++ facter osfamily 04:44:31 ++ tr '[:upper:]' '[:lower:]' 04:44:31 + OS_FAMILY=debian 04:44:31 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 04:44:31 + START_PACKAGES=/tmp/packages_start.txt 04:44:31 + END_PACKAGES=/tmp/packages_end.txt 04:44:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:44:31 + PACKAGES=/tmp/packages_start.txt 04:44:31 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:44:31 + PACKAGES=/tmp/packages_end.txt 04:44:31 + case "${OS_FAMILY}" in 04:44:31 + dpkg -l 04:44:31 + grep '^ii' 04:44:31 + '[' -f /tmp/packages_start.txt ']' 04:44:31 + '[' -f /tmp/packages_end.txt ']' 04:44:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:44:31 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:44:31 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 04:44:31 + 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:44:31 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:44:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:44:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:32 prd-ubuntu20.04-docker-8c-8g-208 does not seem to be running inside a container 04:44:32 $ 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:44:32 $ docker top d1a5b1418e14fceb27b41d72a6e0020eb85f6e20e524d5d49e8a1289218bd5a9 -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:33 + touch /tmp/pre-build-complete [Pipeline] sh 04:44:33 + mkdir -p /var/log/sysstat [Pipeline] sh 04:44:33 + ls /var/log/sa-host 04:44:33 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:44:34 provisioning config files... 04:44:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5423758370308052771tmp [Pipeline] { [Pipeline] echo 04:44:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:44:34 ---> create-netrc.sh [Pipeline] } 04:44:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:44:34 ---> python-tools-install.sh [Pipeline] echo 04:44:34 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:44:35 ---> sudo-logs.sh 04:44:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:44:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:44:35 ---> job-cost.sh 04:44:35 lf-activate-venv: SKIPPING 04:44:35 DEBUG: total: 0.2199999988079071 04:44:35 INFO: Retrieving Stack Cost... 04:44:35 INFO: Retrieving Pricing Info for: v3-standard-8 04:44:36 INFO: Archiving Costs [Pipeline] echo 04:44:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:44:36 ---> logs-deploy.sh 04:44:36 lf-activate-venv: SKIPPING 04:44:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/160 04:44:36 INFO: archiving workspace using pattern(s): 04:44:37 Archives upload complete. 04:44:37 INFO: archiving logs to Nexus