Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 660491fba38d8ec3280cd778996bba77bc0edf60 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-ssh7541170435870334995.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18323880106990751129.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > 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-ssh6637202107918330674.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh2208579111917472901.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-ssh14299563101411771771.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-6408 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 660491fba38d8ec3280cd778996bba77bc0edf60 (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 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#341)" > git checkout -f 660491fba38d8ec3280cd778996bba77bc0edf60 # timeout=10 > git rev-list --no-walk b7980b90e1d8fdcd0e573eb4f1abb16f6ffbbc29 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-18T20:58:17.089Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-18T20:58:17.157Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-18T20:58:17.176Z] ========================================================= [2023-09-18T20:58:17.176Z] EdgeX Global Pipelines Version Info [2023-09-18T20:58:17.176Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-18T20:58:17.884Z] ------------------- [2023-09-18T20:58:17.884Z] stable info: [2023-09-18T20:58:17.884Z] ------------------- [2023-09-18T20:58:17.884Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-18T20:58:17.884Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-18T20:58:17.884Z] Message: update stable to v1.0.254 [2023-09-18T20:58:18.454Z] ------------------- [2023-09-18T20:58:18.454Z] experimental info: [2023-09-18T20:58:18.454Z] ------------------- [2023-09-18T20:58:18.454Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-18T20:58:18.454Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-18T20:58:18.454Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-18T20:58:18.635Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-18T20:58:18.645Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-18T20:58:18.654Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-18T20:58:18.663Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-18T20:58:18.672Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-18T20:58:18.682Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-18T20:58:18.691Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-18T20:58:18.700Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-18T20:58:18.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-18T20:58:18.718Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-18T20:58:18.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-18T20:58:18.739Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-18T20:58:18.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-18T20:58:18.766Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-18T20:58:18.785Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-18T20:58:18.802Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-18T20:58:18.818Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-18T20:58:18.836Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-18T20:58:18.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-18T20:58:18.873Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-18T20:58:18.891Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-18T20:58:18.908Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-18T20:58:18.925Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-18T20:58:18.942Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-18T20:58:18.958Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-18T20:58:18.971Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-18T20:58:18.989Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-18T20:58:19.008Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-18T20:58:19.022Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-18T20:58:19.040Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-18T20:58:19.059Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] echo [2023-09-18T20:58:19.075Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 660491f [Pipeline] echo [2023-09-18T20:58:19.094Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-18T20:58:19.144Z] provisioning config files... [2023-09-18T20:58:19.165Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6346049639037269289tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-18T20:58:19.487Z] ---> docker-login.sh [2023-09-18T20:58:19.487Z] nexus3.edgexfoundry.org:10001 [2023-09-18T20:58:19.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:19.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:19.749Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:19.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:19.749Z] [2023-09-18T20:58:19.749Z] Login Succeeded [2023-09-18T20:58:19.749Z] nexus3.edgexfoundry.org:10002 [2023-09-18T20:58:20.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:20.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:20.010Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:20.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:20.010Z] [2023-09-18T20:58:20.010Z] Login Succeeded [2023-09-18T20:58:20.010Z] nexus3.edgexfoundry.org:10003 [2023-09-18T20:58:20.010Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:20.010Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:20.010Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:20.010Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:20.010Z] [2023-09-18T20:58:20.010Z] Login Succeeded [2023-09-18T20:58:20.010Z] nexus3.edgexfoundry.org:10004 [2023-09-18T20:58:20.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:20.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:20.270Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:20.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:20.270Z] [2023-09-18T20:58:20.270Z] Login Succeeded [2023-09-18T20:58:20.270Z] docker.io [2023-09-18T20:58:20.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:20.530Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:20.530Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:20.530Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:20.530Z] [2023-09-18T20:58:20.530Z] Login Succeeded [2023-09-18T20:58:20.530Z] ---> docker-login.sh ends [Pipeline] } [2023-09-18T20:58:20.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-18T20:58:20.912Z] + git rev-list -1 --merges 660491fba38d8ec3280cd778996bba77bc0edf60~1..660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] echo [2023-09-18T20:58:20.965Z] -----------> git rev-list -1 --merges 660491fba38d8ec3280cd778996bba77bc0edf60~1..660491fba38d8ec3280cd778996bba77bc0edf60 660491fba38d8ec3280cd778996bba77bc0edf60 [false] [Pipeline] sh [2023-09-18T20:58:21.254Z] + git log --format=format:%s -1 660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] echo [2023-09-18T20:58:21.271Z] ========================================================= [2023-09-18T20:58:21.271Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-18T20:58:21.271Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-18T20:58:21.621Z] + git log --format=format:%s -1 660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] echo [2023-09-18T20:58:21.633Z] [semverPrep] GIT_COMMIT: 660491fba38d8ec3280cd778996bba77bc0edf60, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#341) [Pipeline] echo [2023-09-18T20:58:21.642Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-18T20:58:22.035Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-18T20:58:22.036Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-18T20:58:22.036Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-18T20:58:22.036Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-18T20:58:22.036Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-18T20:58:22.036Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-18T20:58:22.036Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T20:58:22.397Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-18T20:58:22.397Z] [2023-09-18T20:58:22.397Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T20:58:22.698Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-18T20:58:22.698Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-18T20:58:22.698Z] b85a868b505f: Pulling fs layer [2023-09-18T20:58:22.698Z] e2be974225ed: Pulling fs layer [2023-09-18T20:58:22.698Z] 339a4e72a1f5: Pulling fs layer [2023-09-18T20:58:22.698Z] 988bab9f4d93: Pulling fs layer [2023-09-18T20:58:22.698Z] 1469e6f7b9e6: Pulling fs layer [2023-09-18T20:58:22.698Z] eaf3925da568: Pulling fs layer [2023-09-18T20:58:22.698Z] bab4dde63d76: Pulling fs layer [2023-09-18T20:58:22.698Z] bde34c3a00c8: Pulling fs layer [2023-09-18T20:58:22.698Z] b352a97aabf1: Pulling fs layer [2023-09-18T20:58:22.698Z] 4872d77fe225: Pulling fs layer [2023-09-18T20:58:22.698Z] 5851b861e8e6: Pulling fs layer [2023-09-18T20:58:22.698Z] bab4dde63d76: Waiting [2023-09-18T20:58:22.698Z] 1469e6f7b9e6: Waiting [2023-09-18T20:58:22.698Z] b352a97aabf1: Waiting [2023-09-18T20:58:22.698Z] 4872d77fe225: Waiting [2023-09-18T20:58:22.698Z] bde34c3a00c8: Waiting [2023-09-18T20:58:22.698Z] 5851b861e8e6: Waiting [2023-09-18T20:58:22.698Z] 988bab9f4d93: Waiting [2023-09-18T20:58:22.698Z] eaf3925da568: Waiting [2023-09-18T20:58:22.698Z] e2be974225ed: Download complete [2023-09-18T20:58:22.698Z] 988bab9f4d93: Verifying Checksum [2023-09-18T20:58:22.698Z] 988bab9f4d93: Download complete [2023-09-18T20:58:22.959Z] 1469e6f7b9e6: Verifying Checksum [2023-09-18T20:58:22.959Z] 1469e6f7b9e6: Download complete [2023-09-18T20:58:22.959Z] eaf3925da568: Download complete [2023-09-18T20:58:22.959Z] 339a4e72a1f5: Verifying Checksum [2023-09-18T20:58:22.959Z] 339a4e72a1f5: Download complete [2023-09-18T20:58:22.959Z] bde34c3a00c8: Verifying Checksum [2023-09-18T20:58:22.959Z] bde34c3a00c8: Download complete [2023-09-18T20:58:22.959Z] b352a97aabf1: Download complete [2023-09-18T20:58:22.959Z] 4872d77fe225: Download complete [2023-09-18T20:58:22.959Z] 5851b861e8e6: Verifying Checksum [2023-09-18T20:58:22.959Z] 5851b861e8e6: Download complete [2023-09-18T20:58:22.959Z] b85a868b505f: Verifying Checksum [2023-09-18T20:58:22.959Z] b85a868b505f: Download complete [2023-09-18T20:58:23.225Z] bab4dde63d76: Verifying Checksum [2023-09-18T20:58:23.225Z] bab4dde63d76: Download complete [2023-09-18T20:58:24.162Z] b85a868b505f: Pull complete [2023-09-18T20:58:24.162Z] e2be974225ed: Pull complete [2023-09-18T20:58:24.729Z] 339a4e72a1f5: Pull complete [2023-09-18T20:58:24.729Z] 988bab9f4d93: Pull complete [2023-09-18T20:58:24.988Z] 1469e6f7b9e6: Pull complete [2023-09-18T20:58:24.988Z] eaf3925da568: Pull complete [2023-09-18T20:58:26.904Z] bab4dde63d76: Pull complete [2023-09-18T20:58:26.904Z] bde34c3a00c8: Pull complete [2023-09-18T20:58:26.904Z] b352a97aabf1: Pull complete [2023-09-18T20:58:26.904Z] 4872d77fe225: Pull complete [2023-09-18T20:58:26.904Z] 5851b861e8e6: Pull complete [2023-09-18T20:58:26.904Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-18T20:58:26.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-18T20:58:26.904Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T20:58:27.019Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T20:58:27.053Z] $ 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 [2023-09-18T20:58:30.335Z] $ docker top 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 -eo pid,comm [2023-09-18T20:58:30.441Z] 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). [2023-09-18T20:58:30.441Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-18T20:58:30.470Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-18T20:58:30.470Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-18T20:58:30.572Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-18T20:58:30.575Z] $ docker exec 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 ssh-agent [2023-09-18T20:58:30.671Z] SSH_AUTH_SOCK=/tmp/ssh-RkLPRIKzfX93/agent.32 [2023-09-18T20:58:30.671Z] SSH_AGENT_PID=38 [2023-09-18T20:58:30.678Z] Running ssh-add (command line suppressed) [2023-09-18T20:58:30.771Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15356302986805895368.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15356302986805895368.key) [2023-09-18T20:58:30.785Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-18T20:58:31.069Z] + git tag --points-at HEAD [Pipeline] } [2023-09-18T20:58:31.081Z] $ docker exec --env ******** --env ******** 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 ssh-agent -k [2023-09-18T20:58:31.176Z] unset SSH_AUTH_SOCK; [2023-09-18T20:58:31.177Z] unset SSH_AGENT_PID; [2023-09-18T20:58:31.177Z] echo Agent pid 38 killed; [2023-09-18T20:58:31.184Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-18T20:58:31.208Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-18T20:58:31.208Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-18T20:58:31.316Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-18T20:58:31.318Z] $ docker exec 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 ssh-agent [2023-09-18T20:58:31.420Z] SSH_AUTH_SOCK=/tmp/ssh-jeFc45HzxKL9/agent.71 [2023-09-18T20:58:31.420Z] SSH_AGENT_PID=77 [2023-09-18T20:58:31.425Z] Running ssh-add (command line suppressed) [2023-09-18T20:58:31.541Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2861852969550008995.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2861852969550008995.key) [2023-09-18T20:58:31.561Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-18T20:58:31.849Z] + git semver init [2023-09-18T20:58:32.108Z] 2023-09-18 20:58:32,046 [run_init] DEBUG init version:0.0.0 force:False [2023-09-18T20:58:32.108Z] 2023-09-18 20:58:32,047 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-18T20:58:32.108Z] 2023-09-18 20:58:32,047 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-18T20:58:32.108Z] 2023-09-18 20:58:32,048 [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) [2023-09-18T20:58:33.485Z] 2023-09-18 20:58:33,077 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-18T20:58:33.486Z] 2023-09-18 20:58:33,078 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-18T20:58:33.486Z] 2023-09-18 20:58:33,078 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-18T20:58:33.486Z] 2023-09-18 20:58:33,078 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-18T20:58:33.486Z] 3.1.0-dev.13 [Pipeline] } [2023-09-18T20:58:33.496Z] $ docker exec --env ******** --env ******** 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 ssh-agent -k [2023-09-18T20:58:33.593Z] unset SSH_AUTH_SOCK; [2023-09-18T20:58:33.593Z] unset SSH_AGENT_PID; [2023-09-18T20:58:33.594Z] echo Agent pid 77 killed; [2023-09-18T20:58:33.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-18T20:58:33.912Z] + git semver [Pipeline] } [2023-09-18T20:58:34.185Z] $ docker stop --time=1 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 [2023-09-18T20:58:35.503Z] $ docker rm -f --volumes 267c6a11ecf124fd6ac21005b85dcdcccb23fc729926c1f1353369e848342880 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-18T20:58:35.839Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-18T20:58:36.070Z] Stashed 1 file(s) [Pipeline] echo [2023-09-18T20:58:36.073Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.13 [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 [2023-09-18T20:58:36.245Z] provisioning config files... [2023-09-18T20:58:36.253Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5356538422029103327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-18T20:58:36.546Z] ---> docker-login.sh [2023-09-18T20:58:36.546Z] nexus3.edgexfoundry.org:10001 [2023-09-18T20:58:36.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:36.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:36.546Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:36.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:36.546Z] [2023-09-18T20:58:36.546Z] Login Succeeded [2023-09-18T20:58:36.546Z] nexus3.edgexfoundry.org:10002 [2023-09-18T20:58:36.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:36.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:36.546Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:36.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:36.546Z] [2023-09-18T20:58:36.546Z] Login Succeeded [2023-09-18T20:58:36.546Z] nexus3.edgexfoundry.org:10003 [2023-09-18T20:58:36.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:36.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:36.805Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:36.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:36.805Z] [2023-09-18T20:58:36.805Z] Login Succeeded [2023-09-18T20:58:36.805Z] nexus3.edgexfoundry.org:10004 [2023-09-18T20:58:36.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:36.805Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:36.805Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:36.805Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:36.805Z] [2023-09-18T20:58:36.805Z] Login Succeeded [2023-09-18T20:58:36.805Z] docker.io [2023-09-18T20:58:36.805Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T20:58:37.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T20:58:37.064Z] Configure a credential helper to remove this warning. See [2023-09-18T20:58:37.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T20:58:37.064Z] [2023-09-18T20:58:37.064Z] Login Succeeded [2023-09-18T20:58:37.064Z] ---> docker-login.sh ends [Pipeline] } [2023-09-18T20:58:37.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-18T20:58:37.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T20:58:37.158Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T20:58:37.173Z] ========================================================= [2023-09-18T20:58:37.173Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-18T20:58:37.173Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T20:58:37.508Z] + 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 . [2023-09-18T20:58:37.508Z] Sending build context to Docker daemon 10.9MB [2023-09-18T20:58:37.508Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-18T20:58:37.508Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-18T20:58:37.508Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-18T20:58:37.508Z] 7264a8db6415: Pulling fs layer [2023-09-18T20:58:37.508Z] c4d48a809fc2: Pulling fs layer [2023-09-18T20:58:37.508Z] 4f1c88b9dad5: Pulling fs layer [2023-09-18T20:58:37.508Z] ad3a456e5733: Pulling fs layer [2023-09-18T20:58:37.508Z] 9e4f439ed901: Pulling fs layer [2023-09-18T20:58:37.508Z] feaf6a47b606: Pulling fs layer [2023-09-18T20:58:37.508Z] 5e8b037d7d82: Pulling fs layer [2023-09-18T20:58:37.508Z] 8ac70367396e: Pulling fs layer [2023-09-18T20:58:37.508Z] 6db16350a2e2: Pulling fs layer [2023-09-18T20:58:37.508Z] 9250d5d63582: Pulling fs layer [2023-09-18T20:58:37.508Z] feaf6a47b606: Waiting [2023-09-18T20:58:37.508Z] 6db16350a2e2: Waiting [2023-09-18T20:58:37.508Z] 9250d5d63582: Waiting [2023-09-18T20:58:37.508Z] ad3a456e5733: Waiting [2023-09-18T20:58:37.508Z] 5e8b037d7d82: Waiting [2023-09-18T20:58:37.508Z] 9e4f439ed901: Waiting [2023-09-18T20:58:37.508Z] 8ac70367396e: Waiting [2023-09-18T20:58:37.784Z] c4d48a809fc2: Verifying Checksum [2023-09-18T20:58:37.784Z] c4d48a809fc2: Download complete [2023-09-18T20:58:37.784Z] ad3a456e5733: Verifying Checksum [2023-09-18T20:58:37.784Z] ad3a456e5733: Download complete [2023-09-18T20:58:37.784Z] 9e4f439ed901: Verifying Checksum [2023-09-18T20:58:37.784Z] 9e4f439ed901: Download complete [2023-09-18T20:58:37.784Z] 7264a8db6415: Verifying Checksum [2023-09-18T20:58:37.784Z] 7264a8db6415: Download complete [2023-09-18T20:58:37.784Z] feaf6a47b606: Verifying Checksum [2023-09-18T20:58:37.784Z] feaf6a47b606: Download complete [2023-09-18T20:58:37.784Z] 7264a8db6415: Pull complete [2023-09-18T20:58:38.046Z] c4d48a809fc2: Pull complete [2023-09-18T20:58:38.046Z] 8ac70367396e: Download complete [2023-09-18T20:58:38.305Z] 4f1c88b9dad5: Verifying Checksum [2023-09-18T20:58:38.306Z] 4f1c88b9dad5: Download complete [2023-09-18T20:58:38.306Z] 6db16350a2e2: Download complete [2023-09-18T20:58:38.564Z] 9250d5d63582: Verifying Checksum [2023-09-18T20:58:38.564Z] 9250d5d63582: Download complete [2023-09-18T20:58:38.564Z] 5e8b037d7d82: Verifying Checksum [2023-09-18T20:58:38.564Z] 5e8b037d7d82: Download complete [2023-09-18T20:58:41.097Z] 4f1c88b9dad5: Pull complete [2023-09-18T20:58:41.097Z] ad3a456e5733: Pull complete [2023-09-18T20:58:41.357Z] 9e4f439ed901: Pull complete [2023-09-18T20:58:41.357Z] feaf6a47b606: Pull complete [2023-09-18T20:58:43.887Z] 5e8b037d7d82: Pull complete [2023-09-18T20:58:44.145Z] 8ac70367396e: Pull complete [2023-09-18T20:58:44.403Z] 6db16350a2e2: Pull complete [2023-09-18T20:58:44.971Z] 9250d5d63582: Pull complete [2023-09-18T20:58:45.230Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-18T20:58:45.230Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-18T20:58:45.230Z] ---> fa269f55d9b9 [2023-09-18T20:58:45.230Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-18T20:58:49.420Z] ---> Running in edb3db38c2d5 [2023-09-18T20:58:49.420Z] Removing intermediate container edb3db38c2d5 [2023-09-18T20:58:49.420Z] ---> 15c56b05464a [2023-09-18T20:58:49.420Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-18T20:58:49.679Z] ---> Running in afbd98e4544e [2023-09-18T20:58:49.679Z] Removing intermediate container afbd98e4544e [2023-09-18T20:58:49.679Z] ---> 124ec005de15 [2023-09-18T20:58:49.679Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-18T20:58:49.679Z] ---> Running in 886c81b4cb16 [2023-09-18T20:58:49.679Z] Removing intermediate container 886c81b4cb16 [2023-09-18T20:58:49.679Z] ---> 91bf4f213624 [2023-09-18T20:58:49.679Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-18T20:58:49.679Z] ---> Running in c171ca7fc728 [2023-09-18T20:58:49.938Z] Removing intermediate container c171ca7fc728 [2023-09-18T20:58:49.938Z] ---> 40b639a510bf [2023-09-18T20:58:49.938Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-18T20:58:49.938Z] ---> Running in 45af0c229f84 [2023-09-18T20:58:50.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-18T20:58:50.198Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-18T20:58:50.458Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-18T20:58:50.458Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-18T20:58:50.458Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-18T20:58:50.458Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-18T20:58:50.458Z] Executing busybox-1.36.1-r2.trigger [2023-09-18T20:58:50.458Z] OK: 270 MiB in 60 packages [2023-09-18T20:58:51.024Z] Removing intermediate container 45af0c229f84 [2023-09-18T20:58:51.024Z] ---> 64f77e7c5560 [2023-09-18T20:58:51.024Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-18T20:58:51.024Z] ---> Running in 7efcd2f4b94c [2023-09-18T20:58:51.024Z] Removing intermediate container 7efcd2f4b94c [2023-09-18T20:58:51.024Z] ---> 4bf611cfd60e [2023-09-18T20:58:51.024Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-18T20:58:51.192Z] Still waiting to schedule task [2023-09-18T20:58:51.192Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-18T20:58:51.282Z] ---> 41e6174eda8e [2023-09-18T20:58:51.282Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-18T20:58:51.282Z] ---> Running in 9435655d7cb9 [2023-09-18T20:59:30.004Z] Removing intermediate container 9435655d7cb9 [2023-09-18T20:59:30.005Z] ---> 7a69914ef74a [2023-09-18T20:59:30.005Z] Step 11/12 : COPY . . [2023-09-18T20:59:30.005Z] ---> 57f4a7cbbf56 [2023-09-18T20:59:30.005Z] Step 12/12 : RUN $MAKE [2023-09-18T20:59:30.005Z] ---> Running in 226e00fc6031 [2023-09-18T20:59:30.005Z] noop [2023-09-18T20:59:30.005Z] Removing intermediate container 226e00fc6031 [2023-09-18T20:59:30.005Z] ---> 39dd57ba11df [2023-09-18T20:59:30.005Z] Successfully built 39dd57ba11df [2023-09-18T20:59:30.005Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T20:59:30.323Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-18T20:59:30.323Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T20:59:30.399Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T20:59:30.431Z] $ 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 [2023-09-18T20:59:30.785Z] $ docker top f741a0a174c711a0393e1eede3cf70653570df5e31e1eb94da2a071660a130ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T20:59:31.132Z] + go version [2023-09-18T20:59:31.132Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-18T20:59:31.142Z] $ docker stop --time=1 f741a0a174c711a0393e1eede3cf70653570df5e31e1eb94da2a071660a130ce [2023-09-18T20:59:32.431Z] $ docker rm -f --volumes f741a0a174c711a0393e1eede3cf70653570df5e31e1eb94da2a071660a130ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T20:59:32.854Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-18T20:59:32.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T20:59:32.924Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T20:59:32.955Z] $ 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 [2023-09-18T20:59:33.307Z] $ docker top bc881718bf9dbb9ae74e6c555b4c2d204bc44fb2d0804acb46beffa997f54930 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T20:59:33.654Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-18T20:59:33.948Z] + make test [2023-09-18T20:59:33.948Z] go test ./... -coverprofile=coverage.out ./... [2023-09-18T20:59:35.326Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-18T20:59:45.295Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-18T20:59:45.295Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-09-18T20:59:51.861Z] go vet ./... [2023-09-18T20:59:55.147Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-18T20:59:55.148Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-18T20:59:55.148Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-18T20:59:55.160Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-18T20:59:55.174Z] $ docker stop --time=1 bc881718bf9dbb9ae74e6c555b4c2d204bc44fb2d0804acb46beffa997f54930 [2023-09-18T20:59:59.125Z] $ docker rm -f --volumes bc881718bf9dbb9ae74e6c555b4c2d204bc44fb2d0804acb46beffa997f54930 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-18T20:59:59.588Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-18T20:59:59.625Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-18T21:00:00.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-18T21:00:00.483Z] + ls -al . [2023-09-18T21:00:00.483Z] total 188 [2023-09-18T21:00:00.483Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 18 20:59 . [2023-09-18T21:00:00.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 20:58 .. [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 20:58 .dockerignore [2023-09-18T21:00:00.483Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 20:59 .git [2023-09-18T21:00:00.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 20:58 .github [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 18 20:58 .gitignore [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 18 20:58 .golangci.yml [2023-09-18T21:00:00.483Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 20:58 .semver [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 18 20:58 Attribution.txt [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 18 20:58 CHANGELOG.md [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 18 20:58 Dockerfile [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 20:58 GOVERNANCE.md [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 20:58 Jenkinsfile [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 20:58 LICENSE [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 18 20:58 Makefile [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 18 20:58 OWNERS.md [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 18 20:58 README.md [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 18 20:58 VERSION [2023-09-18T21:00:00.483Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 20:58 bin [2023-09-18T21:00:00.483Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 20:58 cmd [2023-09-18T21:00:00.483Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 18 20:59 coverage.out [2023-09-18T21:00:00.483Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 20:58 driver [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 18 20:58 go.mod [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 18 20:58 go.sum [2023-09-18T21:00:00.483Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 20:58 snap [2023-09-18T21:00:00.483Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:00.786Z] + 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=660491fba38d8ec3280cd778996bba77bc0edf60 --label arch=amd64 --label version=3.1.0-dev.13 . [2023-09-18T21:00:00.786Z] Sending build context to Docker daemon 10.91MB [2023-09-18T21:00:00.786Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-18T21:00:00.786Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-18T21:00:00.786Z] ---> 39dd57ba11df [2023-09-18T21:00:00.786Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-18T21:00:01.046Z] ---> Running in 10749d1f740c [2023-09-18T21:00:01.046Z] Removing intermediate container 10749d1f740c [2023-09-18T21:00:01.046Z] ---> 8bb27559ebab [2023-09-18T21:00:01.046Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-18T21:00:01.046Z] ---> Running in 2831dc6ad68f [2023-09-18T21:00:01.046Z] Removing intermediate container 2831dc6ad68f [2023-09-18T21:00:01.046Z] ---> be652bc35cd0 [2023-09-18T21:00:01.046Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-18T21:00:01.305Z] ---> Running in 17904da3f839 [2023-09-18T21:00:01.305Z] Removing intermediate container 17904da3f839 [2023-09-18T21:00:01.305Z] ---> dd34080e92af [2023-09-18T21:00:01.305Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-18T21:00:01.305Z] ---> Running in 0aaf66bb4f7a [2023-09-18T21:00:01.305Z] Removing intermediate container 0aaf66bb4f7a [2023-09-18T21:00:01.305Z] ---> a990376288f3 [2023-09-18T21:00:01.305Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-18T21:00:01.305Z] ---> Running in 32df9700196f [2023-09-18T21:00:01.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-18T21:00:01.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-18T21:00:01.879Z] OK: 270 MiB in 60 packages [2023-09-18T21:00:02.452Z] Removing intermediate container 32df9700196f [2023-09-18T21:00:02.452Z] ---> 6ea271149468 [2023-09-18T21:00:02.452Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-18T21:00:02.452Z] ---> Running in ee86cf186d92 [2023-09-18T21:00:02.452Z] Removing intermediate container ee86cf186d92 [2023-09-18T21:00:02.452Z] ---> 54db41b06ee5 [2023-09-18T21:00:02.452Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-18T21:00:02.711Z] ---> b504195e1533 [2023-09-18T21:00:02.711Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-18T21:00:02.711Z] ---> Running in 9dc737552ff5 [2023-09-18T21:00:03.772Z] Removing intermediate container 9dc737552ff5 [2023-09-18T21:00:03.772Z] ---> 107afedb4e37 [2023-09-18T21:00:03.772Z] Step 11/25 : COPY . . [2023-09-18T21:00:04.036Z] ---> 7265d7141323 [2023-09-18T21:00:04.036Z] Step 12/25 : RUN $MAKE [2023-09-18T21:00:04.036Z] ---> Running in d0404666014b [2023-09-18T21:00:04.298Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-18T21:00:22.549Z] Removing intermediate container d0404666014b [2023-09-18T21:00:22.549Z] ---> 0ec5fc9103f4 [2023-09-18T21:00:22.549Z] Step 13/25 : FROM alpine:3.18 [2023-09-18T21:00:22.811Z] 3.18: Pulling from library/alpine [2023-09-18T21:00:23.069Z] 7264a8db6415: Already exists [2023-09-18T21:00:23.069Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-18T21:00:23.069Z] Status: Downloaded newer image for alpine:3.18 [2023-09-18T21:00:23.069Z] ---> 7e01a0d0a1dc [2023-09-18T21:00:23.069Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-18T21:00:23.069Z] ---> Running in 14e9950eba8a [2023-09-18T21:00:23.255Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6409 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-18T21:00:23.269Z] Running in /w/workspace/device-rest-go/133 [Pipeline] { [Pipeline] checkout [2023-09-18T21:00:23.297Z] The recommended git tool is: git [2023-09-18T21:00:23.330Z] Removing intermediate container 14e9950eba8a [2023-09-18T21:00:23.330Z] ---> feaa43726b21 [2023-09-18T21:00:23.330Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-18T21:00:23.330Z] ---> Running in 6e830989c93f [2023-09-18T21:00:23.330Z] Removing intermediate container 6e830989c93f [2023-09-18T21:00:23.330Z] ---> 94576e609271 [2023-09-18T21:00:23.330Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-18T21:00:23.330Z] ---> Running in 9ea995721d70 [2023-09-18T21:00:23.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-18T21:00:23.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-18T21:00:24.107Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-18T21:00:24.107Z] Executing busybox-1.36.1-r2.trigger [2023-09-18T21:00:24.107Z] OK: 7 MiB in 16 packages [2023-09-18T21:00:24.367Z] Removing intermediate container 9ea995721d70 [2023-09-18T21:00:24.367Z] ---> a95303e2c216 [2023-09-18T21:00:24.367Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-18T21:00:25.305Z] ---> 52521a86f20f [2023-09-18T21:00:25.305Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-18T21:00:25.305Z] ---> 6f920d43facd [2023-09-18T21:00:25.305Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-18T21:00:25.564Z] ---> 4a3936647481 [2023-09-18T21:00:25.564Z] Step 20/25 : EXPOSE 59986 [2023-09-18T21:00:25.564Z] ---> Running in 498712880c5e [2023-09-18T21:00:25.564Z] Removing intermediate container 498712880c5e [2023-09-18T21:00:25.564Z] ---> f4e5c028101e [2023-09-18T21:00:25.564Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-18T21:00:25.564Z] ---> Running in 20a698ce9560 [2023-09-18T21:00:25.822Z] Removing intermediate container 20a698ce9560 [2023-09-18T21:00:25.822Z] ---> 86fb9773fe29 [2023-09-18T21:00:25.822Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-18T21:00:25.822Z] ---> Running in e4a2779d26af [2023-09-18T21:00:25.822Z] Removing intermediate container e4a2779d26af [2023-09-18T21:00:25.822Z] ---> a2948ddfb3e3 [2023-09-18T21:00:25.822Z] Step 23/25 : LABEL arch=amd64 [2023-09-18T21:00:25.822Z] ---> Running in 66c3967db87c [2023-09-18T21:00:26.081Z] Removing intermediate container 66c3967db87c [2023-09-18T21:00:26.081Z] ---> c106c26d8dbd [2023-09-18T21:00:26.081Z] Step 24/25 : LABEL git_sha=660491fba38d8ec3280cd778996bba77bc0edf60 [2023-09-18T21:00:26.081Z] ---> Running in 2812fee07aa0 [2023-09-18T21:00:26.081Z] Removing intermediate container 2812fee07aa0 [2023-09-18T21:00:26.081Z] ---> 3ece04939268 [2023-09-18T21:00:26.081Z] Step 25/25 : LABEL version=3.1.0-dev.13 [2023-09-18T21:00:26.081Z] ---> Running in f5f55f7ce3d2 [2023-09-18T21:00:26.340Z] Removing intermediate container f5f55f7ce3d2 [2023-09-18T21:00:26.340Z] ---> 96d05555d8aa [2023-09-18T21:00:26.340Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-18T21:00:26.340Z] Successfully built 96d05555d8aa [2023-09-18T21:00:26.340Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-18T21:00:26.427Z] provisioning config files... [2023-09-18T21:00:26.435Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6551510014568057020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:00:26.730Z] ---> docker-login.sh [2023-09-18T21:00:26.730Z] nexus3.edgexfoundry.org:10001 [2023-09-18T21:00:26.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:26.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:26.730Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:26.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:26.730Z] [2023-09-18T21:00:26.730Z] Login Succeeded [2023-09-18T21:00:26.730Z] nexus3.edgexfoundry.org:10002 [2023-09-18T21:00:26.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:26.730Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:26.730Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:26.730Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:26.730Z] [2023-09-18T21:00:26.730Z] Login Succeeded [2023-09-18T21:00:26.730Z] nexus3.edgexfoundry.org:10003 [2023-09-18T21:00:26.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:26.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:26.989Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:26.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:26.989Z] [2023-09-18T21:00:26.989Z] Login Succeeded [2023-09-18T21:00:26.989Z] nexus3.edgexfoundry.org:10004 [2023-09-18T21:00:26.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:26.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:26.989Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:26.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:26.990Z] [2023-09-18T21:00:26.990Z] Login Succeeded [2023-09-18T21:00:26.990Z] docker.io [2023-09-18T21:00:26.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:27.248Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:27.248Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:27.248Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:27.248Z] [2023-09-18T21:00:27.248Z] Login Succeeded [2023-09-18T21:00:27.248Z] ---> docker-login.sh ends [Pipeline] } [2023-09-18T21:00:27.255Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-18T21:00:27.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T21:00:27.311Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-18T21:00:27.311Z] 660491fba38d8ec3280cd778996bba77bc0edf60 [2023-09-18T21:00:27.311Z] latest [2023-09-18T21:00:27.311Z] 3.1.0-dev.13 [2023-09-18T21:00:27.311Z] 660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [2023-09-18T21:00:27.311Z] main [2023-09-18T21:00:27.311Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:27.646Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:27.965Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60 [2023-09-18T21:00:27.965Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-18T21:00:27.965Z] 7838d4c9ecc9: Preparing [2023-09-18T21:00:27.965Z] 1433edbeab75: Preparing [2023-09-18T21:00:27.965Z] 599f31ffa33a: Preparing [2023-09-18T21:00:27.965Z] 62d9e5d7713e: Preparing [2023-09-18T21:00:27.965Z] 4693057ce236: Preparing [2023-09-18T21:00:27.965Z] 4693057ce236: Layer already exists [2023-09-18T21:00:27.965Z] 7838d4c9ecc9: Pushed [2023-09-18T21:00:27.965Z] 62d9e5d7713e: Pushed [2023-09-18T21:00:27.965Z] 1433edbeab75: Pushed [2023-09-18T21:00:28.564Z] using credential edgex-jenkins-ssh [2023-09-18T21:00:28.582Z] Cloning the remote Git repository [2023-09-18T21:00:28.611Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-18T21:00:28.700Z] > git init /w/workspace/device-rest-go/133 # timeout=10 [2023-09-18T21:00:28.839Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-18T21:00:28.840Z] > git --version # timeout=10 [2023-09-18T21:00:28.859Z] > git --version # 'git version 2.25.1' [2023-09-18T21:00:28.861Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-18T21:00:29.007Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-18T21:00:31.255Z] 599f31ffa33a: Pushed [2023-09-18T21:00:31.255Z] 660491fba38d8ec3280cd778996bba77bc0edf60: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:31.572Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:31.877Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-18T21:00:31.877Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-18T21:00:31.877Z] 7838d4c9ecc9: Preparing [2023-09-18T21:00:31.877Z] 1433edbeab75: Preparing [2023-09-18T21:00:31.877Z] 599f31ffa33a: Preparing [2023-09-18T21:00:31.877Z] 62d9e5d7713e: Preparing [2023-09-18T21:00:31.877Z] 4693057ce236: Preparing [2023-09-18T21:00:31.877Z] 599f31ffa33a: Layer already exists [2023-09-18T21:00:31.877Z] 1433edbeab75: Layer already exists [2023-09-18T21:00:31.877Z] 4693057ce236: Layer already exists [2023-09-18T21:00:31.877Z] 62d9e5d7713e: Layer already exists [2023-09-18T21:00:31.877Z] 7838d4c9ecc9: Layer already exists [2023-09-18T21:00:31.877Z] latest: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:31.621Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-18T21:00:31.638Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-18T21:00:32.194Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:32.419Z] Avoid second fetch [2023-09-18T21:00:32.420Z] Checking out Revision 660491fba38d8ec3280cd778996bba77bc0edf60 (main) [2023-09-18T21:00:32.511Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.13 [2023-09-18T21:00:32.511Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-18T21:00:32.511Z] 7838d4c9ecc9: Preparing [2023-09-18T21:00:32.511Z] 1433edbeab75: Preparing [2023-09-18T21:00:32.511Z] 599f31ffa33a: Preparing [2023-09-18T21:00:32.511Z] 62d9e5d7713e: Preparing [2023-09-18T21:00:32.511Z] 4693057ce236: Preparing [2023-09-18T21:00:32.511Z] 62d9e5d7713e: Layer already exists [2023-09-18T21:00:32.511Z] 599f31ffa33a: Layer already exists [2023-09-18T21:00:32.511Z] 4693057ce236: Layer already exists [2023-09-18T21:00:32.511Z] 1433edbeab75: Layer already exists [2023-09-18T21:00:32.511Z] 7838d4c9ecc9: Layer already exists [2023-09-18T21:00:32.511Z] 3.1.0-dev.13: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:32.820Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:32.934Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#341)" [2023-09-18T21:00:33.133Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [2023-09-18T21:00:33.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-18T21:00:33.134Z] 7838d4c9ecc9: Preparing [2023-09-18T21:00:33.134Z] 1433edbeab75: Preparing [2023-09-18T21:00:33.134Z] 599f31ffa33a: Preparing [2023-09-18T21:00:33.134Z] 62d9e5d7713e: Preparing [2023-09-18T21:00:33.134Z] 4693057ce236: Preparing [2023-09-18T21:00:33.134Z] 62d9e5d7713e: Layer already exists [2023-09-18T21:00:33.134Z] 599f31ffa33a: Layer already exists [2023-09-18T21:00:33.134Z] 4693057ce236: Layer already exists [2023-09-18T21:00:33.134Z] 7838d4c9ecc9: Layer already exists [2023-09-18T21:00:33.134Z] 1433edbeab75: Layer already exists [2023-09-18T21:00:33.134Z] 660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:00:32.423Z] > git config core.sparsecheckout # timeout=10 [2023-09-18T21:00:32.493Z] > git checkout -f 660491fba38d8ec3280cd778996bba77bc0edf60 # timeout=10 [2023-09-18T21:00:33.464Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-18T21:00:33.783Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-18T21:00:33.783Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-18T21:00:33.783Z] 7838d4c9ecc9: Preparing [2023-09-18T21:00:33.783Z] 1433edbeab75: Preparing [2023-09-18T21:00:33.783Z] 599f31ffa33a: Preparing [2023-09-18T21:00:33.783Z] 62d9e5d7713e: Preparing [2023-09-18T21:00:33.783Z] 4693057ce236: Preparing [2023-09-18T21:00:33.783Z] 4693057ce236: Layer already exists [2023-09-18T21:00:33.783Z] 7838d4c9ecc9: Layer already exists [2023-09-18T21:00:33.783Z] 599f31ffa33a: Layer already exists [2023-09-18T21:00:33.783Z] 1433edbeab75: Layer already exists [2023-09-18T21:00:33.783Z] 62d9e5d7713e: Layer already exists [2023-09-18T21:00:33.783Z] main: digest: sha256:7ec8af33be942ee3259de356528db86a217d70c1213a407f795e258f50cdf191 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-18T21:00:33.839Z] ===================================================== [Pipeline] echo [2023-09-18T21:00:33.847Z] taggedImages: [2023-09-18T21:00:33.847Z] - nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60 [2023-09-18T21:00:33.847Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-18T21:00:33.847Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.13 [2023-09-18T21:00:33.847Z] - nexus3.edgexfoundry.org:10004/device-rest:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [2023-09-18T21:00:33.847Z] - 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 [2023-09-18T21:00:34.017Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-18T21:00:34.017Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-18T21:00:34.017Z] Dload Upload Total Spent Left Speed [2023-09-18T21:00:34.017Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 86 12751 86 11015 0 0 82819 0 --:--:-- --:--:-- --:--:-- 82201 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 93757 [2023-09-18T21:00:34.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-18T21:00:34.225Z] [2023-09-18T21:00:34.225Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [Pipeline] sh [2023-09-18T21:00:34.531Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-18T21:00:34.531Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-18T21:00:34.531Z] 5eb5b503b376: Pulling fs layer [2023-09-18T21:00:34.531Z] 5c69ac0246d0: Pulling fs layer [2023-09-18T21:00:34.531Z] ec43610c2a17: Pulling fs layer [2023-09-18T21:00:34.531Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-18T21:00:34.531Z] 33b1e0a273af: Pulling fs layer [2023-09-18T21:00:34.531Z] 5d3b04190fa2: Pulling fs layer [2023-09-18T21:00:34.531Z] 2f39f015ded8: Pulling fs layer [2023-09-18T21:00:34.531Z] 3a2ae6a8a46f: Waiting [2023-09-18T21:00:34.531Z] 33b1e0a273af: Waiting [2023-09-18T21:00:34.531Z] 5d3b04190fa2: Waiting [2023-09-18T21:00:34.531Z] 2f39f015ded8: Waiting [2023-09-18T21:00:34.531Z] 5c69ac0246d0: Verifying Checksum [2023-09-18T21:00:34.531Z] 5c69ac0246d0: Download complete [2023-09-18T21:00:34.531Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-18T21:00:34.531Z] 3a2ae6a8a46f: Download complete [2023-09-18T21:00:34.531Z] 33b1e0a273af: Verifying Checksum [2023-09-18T21:00:34.531Z] 33b1e0a273af: Download complete [2023-09-18T21:00:34.531Z] ec43610c2a17: Verifying Checksum [2023-09-18T21:00:34.531Z] ec43610c2a17: Download complete [2023-09-18T21:00:34.531Z] 5d3b04190fa2: Download complete [2023-09-18T21:00:34.606Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-18T21:00:34.791Z] 5eb5b503b376: Verifying Checksum [2023-09-18T21:00:34.791Z] 5eb5b503b376: Download complete [2023-09-18T21:00:34.928Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-18T21:00:34.928Z] + sudo tee /etc/docker/daemon.new [2023-09-18T21:00:34.928Z] { [2023-09-18T21:00:34.928Z] "registry-mirrors": [ [2023-09-18T21:00:34.928Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-18T21:00:34.928Z] ], [2023-09-18T21:00:34.928Z] "bip": "10.250.0.254/24", [2023-09-18T21:00:34.928Z] "hosts": [ [2023-09-18T21:00:34.928Z] "tcp://0.0.0.0:5555", [2023-09-18T21:00:34.928Z] "unix:///var/run/docker.sock" [2023-09-18T21:00:34.928Z] ], [2023-09-18T21:00:34.928Z] "mtu": 1458, [2023-09-18T21:00:34.928Z] "selinux-enabled": true, [2023-09-18T21:00:34.928Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-18T21:00:34.928Z] } [Pipeline] sh [2023-09-18T21:00:35.253Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-18T21:00:35.358Z] 2f39f015ded8: Download complete [2023-09-18T21:00:35.580Z] + sudo service docker restart [2023-09-18T21:00:35.928Z] 5eb5b503b376: Pull complete [2023-09-18T21:00:36.186Z] 5c69ac0246d0: Pull complete [2023-09-18T21:00:36.759Z] ec43610c2a17: Pull complete [2023-09-18T21:00:36.759Z] 3a2ae6a8a46f: Pull complete [2023-09-18T21:00:37.017Z] 33b1e0a273af: Pull complete [2023-09-18T21:00:37.017Z] 5d3b04190fa2: Pull complete [2023-09-18T21:00:41.202Z] 2f39f015ded8: Pull complete [2023-09-18T21:00:41.202Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-18T21:00:41.202Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-18T21:00:41.202Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:00:41.299Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T21:00:41.336Z] $ 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 [2023-09-18T21:00:45.724Z] $ docker top 01c9fa13681609f5c04949a6dfa8dd5b3cf3be9799419e3bdedda84033125ce4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:00:46.120Z] ---> job-cost.sh [2023-09-18T21:00:46.120Z] lf-activate-venv: SKIPPING [2023-09-18T21:00:46.120Z] INFO: No Stack... [2023-09-18T21:00:46.380Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-18T21:00:46.639Z] INFO: Archiving Costs [Pipeline] sh [2023-09-18T21:00:46.930Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-09-18T21:00:46.930Z] + cut -d, -f6 [Pipeline] lock [2023-09-18T21:00:46.944Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [2023-09-18T21:00:46.949Z] Resource [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] did not exist. Created. [2023-09-18T21:00:46.949Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-18T21:00:47.248Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-18T21:00:47.280Z] Stashed 1 file(s) [Pipeline] } [2023-09-18T21:00:47.289Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-18T21:00:47.307Z] $ docker stop --time=1 01c9fa13681609f5c04949a6dfa8dd5b3cf3be9799419e3bdedda84033125ce4 [2023-09-18T21:00:48.483Z] $ docker rm -f --volumes 01c9fa13681609f5c04949a6dfa8dd5b3cf3be9799419e3bdedda84033125ce4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-18T21:00:53.816Z] provisioning config files... [2023-09-18T21:00:53.836Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/133@tmp/config15986165670257639004tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:00:54.277Z] ---> docker-login.sh [2023-09-18T21:00:54.277Z] nexus3.edgexfoundry.org:10001 [2023-09-18T21:00:54.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:54.863Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:54.863Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:54.863Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:54.863Z] [2023-09-18T21:00:54.863Z] Login Succeeded [2023-09-18T21:00:54.863Z] nexus3.edgexfoundry.org:10002 [2023-09-18T21:00:55.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:55.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:55.130Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:55.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:55.130Z] [2023-09-18T21:00:55.130Z] Login Succeeded [2023-09-18T21:00:55.398Z] nexus3.edgexfoundry.org:10003 [2023-09-18T21:00:55.398Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:55.665Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:55.665Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:55.665Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:55.665Z] [2023-09-18T21:00:59.011Z] Login Succeeded [2023-09-18T21:00:59.011Z] nexus3.edgexfoundry.org:10004 [2023-09-18T21:00:59.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:59.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:59.011Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:59.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:59.011Z] [2023-09-18T21:00:59.011Z] Login Succeeded [2023-09-18T21:00:59.011Z] docker.io [2023-09-18T21:00:59.279Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:00:59.545Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:00:59.545Z] Configure a credential helper to remove this warning. See [2023-09-18T21:00:59.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:00:59.546Z] [2023-09-18T21:00:59.546Z] Login Succeeded [2023-09-18T21:00:59.546Z] ---> docker-login.sh ends [Pipeline] } [2023-09-18T21:00:59.559Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-18T21:00:59.752Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T21:00:59.768Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T21:00:59.780Z] ========================================================= [2023-09-18T21:00:59.780Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-18T21:00:59.780Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:01:00.125Z] + 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 . [2023-09-18T21:01:00.125Z] Sending build context to Docker daemon 143.4kB [2023-09-18T21:01:00.396Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-18T21:01:00.396Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-18T21:01:00.396Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-18T21:01:00.396Z] 9fda8d8052c6: Pulling fs layer [2023-09-18T21:01:00.396Z] 5d54e960e981: Pulling fs layer [2023-09-18T21:01:00.396Z] c4a7e357bf2a: Pulling fs layer [2023-09-18T21:01:00.396Z] f0e02332f6b5: Pulling fs layer [2023-09-18T21:01:00.396Z] 66412af1f25a: Pulling fs layer [2023-09-18T21:01:00.396Z] 1baf3a5c0e64: Pulling fs layer [2023-09-18T21:01:00.396Z] 9a37bb91b891: Pulling fs layer [2023-09-18T21:01:00.396Z] a29adfc67d43: Pulling fs layer [2023-09-18T21:01:00.396Z] d5de9f91c1a4: Pulling fs layer [2023-09-18T21:01:00.396Z] f0e02332f6b5: Waiting [2023-09-18T21:01:00.396Z] 66412af1f25a: Waiting [2023-09-18T21:01:00.396Z] 1baf3a5c0e64: Waiting [2023-09-18T21:01:00.396Z] 9a37bb91b891: Waiting [2023-09-18T21:01:00.396Z] a29adfc67d43: Waiting [2023-09-18T21:01:00.396Z] d5de9f91c1a4: Waiting [2023-09-18T21:01:00.396Z] 5d54e960e981: Verifying Checksum [2023-09-18T21:01:00.396Z] 5d54e960e981: Download complete [2023-09-18T21:01:00.667Z] f0e02332f6b5: Verifying Checksum [2023-09-18T21:01:00.667Z] f0e02332f6b5: Download complete [2023-09-18T21:01:00.667Z] 66412af1f25a: Verifying Checksum [2023-09-18T21:01:00.667Z] 66412af1f25a: Download complete [2023-09-18T21:01:00.667Z] 9fda8d8052c6: Download complete [2023-09-18T21:01:00.938Z] 9a37bb91b891: Verifying Checksum [2023-09-18T21:01:00.938Z] 9a37bb91b891: Download complete [2023-09-18T21:01:01.527Z] a29adfc67d43: Verifying Checksum [2023-09-18T21:01:01.527Z] a29adfc67d43: Download complete [2023-09-18T21:01:01.527Z] 9fda8d8052c6: Pull complete [2023-09-18T21:01:02.113Z] 5d54e960e981: Pull complete [2023-09-18T21:01:02.382Z] d5de9f91c1a4: Verifying Checksum [2023-09-18T21:01:02.382Z] d5de9f91c1a4: Download complete [2023-09-18T21:01:02.382Z] c4a7e357bf2a: Verifying Checksum [2023-09-18T21:01:02.382Z] c4a7e357bf2a: Download complete [2023-09-18T21:01:03.344Z] 1baf3a5c0e64: Verifying Checksum [2023-09-18T21:01:03.344Z] 1baf3a5c0e64: Download complete [2023-09-18T21:01:13.463Z] c4a7e357bf2a: Pull complete [2023-09-18T21:01:13.463Z] f0e02332f6b5: Pull complete [2023-09-18T21:01:13.463Z] 66412af1f25a: Pull complete [2023-09-18T21:01:20.117Z] 1baf3a5c0e64: Pull complete [2023-09-18T21:01:21.533Z] 9a37bb91b891: Pull complete [2023-09-18T21:01:22.496Z] a29adfc67d43: Pull complete [2023-09-18T21:01:27.836Z] d5de9f91c1a4: Pull complete [2023-09-18T21:01:27.836Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-18T21:01:27.836Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-18T21:01:27.836Z] ---> 746ca1b523b5 [2023-09-18T21:01:27.836Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-18T21:01:28.800Z] ---> Running in b0374c7e63bc [2023-09-18T21:01:29.068Z] Removing intermediate container b0374c7e63bc [2023-09-18T21:01:29.068Z] ---> 363799c0843b [2023-09-18T21:01:29.068Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-18T21:01:29.068Z] ---> Running in 2278053d66a7 [2023-09-18T21:01:29.335Z] Removing intermediate container 2278053d66a7 [2023-09-18T21:01:29.335Z] ---> 39de3ed2a3b5 [2023-09-18T21:01:29.335Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-18T21:01:29.335Z] ---> Running in 95370d4cad3f [2023-09-18T21:01:29.603Z] Removing intermediate container 95370d4cad3f [2023-09-18T21:01:29.603Z] ---> 13e4cc7dc64f [2023-09-18T21:01:29.603Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-18T21:01:29.603Z] ---> Running in 4b6a793ed120 [2023-09-18T21:01:29.870Z] Removing intermediate container 4b6a793ed120 [2023-09-18T21:01:29.870Z] ---> d3c2741fa86a [2023-09-18T21:01:29.870Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-18T21:01:30.137Z] ---> Running in 7992bf852f4d [2023-09-18T21:01:31.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-18T21:01:31.360Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-18T21:01:32.319Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-18T21:01:32.589Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-18T21:01:32.589Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-18T21:01:32.589Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-18T21:01:32.589Z] Executing busybox-1.36.1-r2.trigger [2023-09-18T21:01:32.589Z] OK: 272 MiB in 60 packages [2023-09-18T21:01:33.555Z] Removing intermediate container 7992bf852f4d [2023-09-18T21:01:33.555Z] ---> 08c1a223b826 [2023-09-18T21:01:33.555Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-18T21:01:33.555Z] ---> Running in 1b8addab7a56 [2023-09-18T21:01:33.821Z] Removing intermediate container 1b8addab7a56 [2023-09-18T21:01:33.821Z] ---> 560d275e4b00 [2023-09-18T21:01:33.821Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-18T21:01:34.405Z] ---> 9daec89b0145 [2023-09-18T21:01:34.405Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-18T21:01:34.405Z] ---> Running in e24cbc45eebc [2023-09-18T21:02:56.028Z] Removing intermediate container e24cbc45eebc [2023-09-18T21:02:56.028Z] ---> 684b94cf6dc8 [2023-09-18T21:02:56.028Z] Step 11/12 : COPY . . [2023-09-18T21:02:56.028Z] ---> d3a9355899e5 [2023-09-18T21:02:56.028Z] Step 12/12 : RUN $MAKE [2023-09-18T21:02:56.028Z] ---> Running in 0546bafb1182 [2023-09-18T21:02:56.028Z] noop [2023-09-18T21:02:56.028Z] Removing intermediate container 0546bafb1182 [2023-09-18T21:02:56.028Z] ---> db82218d9308 [2023-09-18T21:02:56.028Z] Successfully built db82218d9308 [2023-09-18T21:02:56.028Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:02:56.373Z] + docker inspect -f . ci-base-image-arm64 [2023-09-18T21:02:56.373Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:02:56.555Z] prd-ubuntu20.04-docker-arm64-4c-16g-6409 does not seem to be running inside a container [2023-09-18T21:02:56.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/133 -v /w/workspace/device-rest-go/133:/w/workspace/device-rest-go/133:rw,z -v /w/workspace/device-rest-go/133@tmp:/w/workspace/device-rest-go/133@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 [2023-09-18T21:02:57.744Z] $ docker top 115ada71188913bce1bbd6e8f3d39d464d1a4331a73c12fe3ebd600d5c08bcbe -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T21:02:58.570Z] + go version [2023-09-18T21:02:58.570Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-18T21:02:58.593Z] $ docker stop --time=1 115ada71188913bce1bbd6e8f3d39d464d1a4331a73c12fe3ebd600d5c08bcbe [2023-09-18T21:03:00.217Z] $ docker rm -f --volumes 115ada71188913bce1bbd6e8f3d39d464d1a4331a73c12fe3ebd600d5c08bcbe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:03:00.770Z] + docker inspect -f . ci-base-image-arm64 [2023-09-18T21:03:00.770Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:03:00.946Z] prd-ubuntu20.04-docker-arm64-4c-16g-6409 does not seem to be running inside a container [2023-09-18T21:03:01.015Z] $ 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/133 -v /w/workspace/device-rest-go/133:/w/workspace/device-rest-go/133:rw,z -v /w/workspace/device-rest-go/133@tmp:/w/workspace/device-rest-go/133@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 [2023-09-18T21:03:04.573Z] $ docker top 5e6a8b4667d48cdc84d2f21ccee698cc48e271a260fd9f0b349a21ec53d6ea83 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T21:03:05.384Z] + git config --global --add safe.directory /w/workspace/device-rest-go/133 [Pipeline] fileExists [Pipeline] sh [2023-09-18T21:03:05.723Z] + make test [2023-09-18T21:03:05.723Z] go test ./... -coverprofile=coverage.out ./... [2023-09-18T21:03:09.990Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-18T21:04:46.641Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-18T21:04:46.641Z] ok github.com/edgexfoundry/device-rest-go/driver 0.048s coverage: 33.2% of statements [2023-09-18T21:04:46.641Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-18T21:04:46.641Z] go vet ./... [2023-09-18T21:04:58.991Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-18T21:04:58.991Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-18T21:04:58.991Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-18T21:04:59.273Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-18T21:04:59.289Z] $ docker stop --time=1 5e6a8b4667d48cdc84d2f21ccee698cc48e271a260fd9f0b349a21ec53d6ea83 [2023-09-18T21:05:01.358Z] $ docker rm -f --volumes 5e6a8b4667d48cdc84d2f21ccee698cc48e271a260fd9f0b349a21ec53d6ea83 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-18T21:05:02.606Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-18T21:05:02.627Z] Warning: overwriting stash ‘coverage-report’ [2023-09-18T21:05:03.144Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-18T21:05:03.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-18T21:05:03.847Z] + ls -al . [2023-09-18T21:05:03.847Z] total 184 [2023-09-18T21:05:03.847Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 21:03 . [2023-09-18T21:05:03.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 21:00 .. [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 18 21:00 .dockerignore [2023-09-18T21:05:03.847Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 18 21:00 .git [2023-09-18T21:05:03.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 21:00 .github [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 18 21:00 .gitignore [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 18 21:00 .golangci.yml [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 18 21:00 Attribution.txt [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 18 21:00 CHANGELOG.md [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 18 21:00 Dockerfile [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 18 21:00 GOVERNANCE.md [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 18 21:00 Jenkinsfile [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 18 21:00 LICENSE [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 18 21:00 Makefile [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 18 21:00 OWNERS.md [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 18 21:00 README.md [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 18 20:58 VERSION [2023-09-18T21:05:03.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 21:00 bin [2023-09-18T21:05:03.847Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 18 21:00 cmd [2023-09-18T21:05:03.847Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 18 21:04 coverage.out [2023-09-18T21:05:03.847Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 18 21:00 driver [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 18 21:00 go.mod [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 18 21:00 go.sum [2023-09-18T21:05:03.847Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 18 21:00 snap [2023-09-18T21:05:03.847Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 18 21:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:05:04.186Z] + 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=660491fba38d8ec3280cd778996bba77bc0edf60 --label arch=arm64 --label version=3.1.0-dev.13 . [2023-09-18T21:05:04.186Z] Sending build context to Docker daemon 158.7kB [2023-09-18T21:05:04.775Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-18T21:05:04.775Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-18T21:05:04.775Z] ---> db82218d9308 [2023-09-18T21:05:04.775Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-18T21:05:05.045Z] ---> Running in 669fc830491c [2023-09-18T21:05:06.455Z] Removing intermediate container 669fc830491c [2023-09-18T21:05:06.455Z] ---> 7b9fd7a99f12 [2023-09-18T21:05:06.455Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-18T21:05:06.455Z] ---> Running in 208bb23847e7 [2023-09-18T21:05:06.724Z] Removing intermediate container 208bb23847e7 [2023-09-18T21:05:06.724Z] ---> e7e2aaeee5d4 [2023-09-18T21:05:06.724Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-18T21:05:06.991Z] ---> Running in f6d7e5a43606 [2023-09-18T21:05:07.261Z] Removing intermediate container f6d7e5a43606 [2023-09-18T21:05:07.261Z] ---> a729b162bfe8 [2023-09-18T21:05:07.261Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-18T21:05:07.261Z] ---> Running in e582ccb00ab5 [2023-09-18T21:05:07.920Z] Removing intermediate container e582ccb00ab5 [2023-09-18T21:05:07.920Z] ---> 94fdf11f1046 [2023-09-18T21:05:07.920Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-18T21:05:07.920Z] ---> Running in 259bd49095c2 [2023-09-18T21:05:08.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-18T21:05:09.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-18T21:05:10.124Z] OK: 272 MiB in 60 packages [2023-09-18T21:05:11.097Z] Removing intermediate container 259bd49095c2 [2023-09-18T21:05:11.097Z] ---> b1a51678734a [2023-09-18T21:05:11.097Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-18T21:05:11.365Z] ---> Running in 3db8eac875a0 [2023-09-18T21:05:11.630Z] Removing intermediate container 3db8eac875a0 [2023-09-18T21:05:11.630Z] ---> 3cc301df3ed8 [2023-09-18T21:05:11.630Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-18T21:05:12.217Z] ---> 8024af7cf6d9 [2023-09-18T21:05:12.217Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-18T21:05:12.217Z] ---> Running in bcbcf4adb12e [2023-09-18T21:05:14.800Z] Removing intermediate container bcbcf4adb12e [2023-09-18T21:05:14.800Z] ---> 1c4abeafa2f9 [2023-09-18T21:05:14.800Z] Step 11/25 : COPY . . [2023-09-18T21:05:14.800Z] ---> 1179a466f38d [2023-09-18T21:05:14.800Z] Step 12/25 : RUN $MAKE [2023-09-18T21:05:15.071Z] ---> Running in 70139badf8cd [2023-09-18T21:05:16.033Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.13 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.24" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-18T21:07:09.334Z] Removing intermediate container 70139badf8cd [2023-09-18T21:07:09.334Z] ---> 7b87d9189b9f [2023-09-18T21:07:09.334Z] Step 13/25 : FROM alpine:3.18 [2023-09-18T21:07:09.334Z] 3.18: Pulling from library/alpine [2023-09-18T21:07:09.334Z] 9fda8d8052c6: Already exists [2023-09-18T21:07:09.334Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-18T21:07:09.334Z] Status: Downloaded newer image for alpine:3.18 [2023-09-18T21:07:09.334Z] ---> f6648c04cd6c [2023-09-18T21:07:09.334Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-18T21:07:09.334Z] ---> Running in 4f0eb9aa7b8c [2023-09-18T21:07:09.334Z] Removing intermediate container 4f0eb9aa7b8c [2023-09-18T21:07:09.334Z] ---> 4f1e75d2beb8 [2023-09-18T21:07:09.334Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-18T21:07:09.334Z] ---> Running in bb4b2bd36ae7 [2023-09-18T21:07:09.334Z] Removing intermediate container bb4b2bd36ae7 [2023-09-18T21:07:09.334Z] ---> 653216b85c38 [2023-09-18T21:07:09.334Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-18T21:07:09.334Z] ---> Running in 9a7c91783a16 [2023-09-18T21:07:09.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-18T21:07:09.335Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-18T21:07:10.294Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-18T21:07:10.294Z] Executing busybox-1.36.1-r2.trigger [2023-09-18T21:07:10.561Z] OK: 8 MiB in 16 packages [2023-09-18T21:07:11.522Z] Removing intermediate container 9a7c91783a16 [2023-09-18T21:07:11.522Z] ---> 2fb3716ff1dd [2023-09-18T21:07:11.522Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-18T21:07:12.654Z] ---> afc5285c10df [2023-09-18T21:07:12.654Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-18T21:07:13.256Z] ---> 3e98051e87f6 [2023-09-18T21:07:13.256Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-18T21:07:13.865Z] ---> 5f21aa4db397 [2023-09-18T21:07:13.865Z] Step 20/25 : EXPOSE 59986 [2023-09-18T21:07:13.865Z] ---> Running in 80a7c94f576a [2023-09-18T21:07:14.150Z] Removing intermediate container 80a7c94f576a [2023-09-18T21:07:14.150Z] ---> db98a9e0ca3e [2023-09-18T21:07:14.150Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-18T21:07:14.150Z] ---> Running in 40c974ccc980 [2023-09-18T21:07:14.421Z] Removing intermediate container 40c974ccc980 [2023-09-18T21:07:14.421Z] ---> 6537b1c1a213 [2023-09-18T21:07:14.421Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-18T21:07:14.421Z] ---> Running in 1d2976cb31b3 [2023-09-18T21:07:14.711Z] Removing intermediate container 1d2976cb31b3 [2023-09-18T21:07:14.711Z] ---> c9754a9dfa78 [2023-09-18T21:07:14.711Z] Step 23/25 : LABEL arch=arm64 [2023-09-18T21:07:15.001Z] ---> Running in 7210bc5f356a [2023-09-18T21:07:15.001Z] Removing intermediate container 7210bc5f356a [2023-09-18T21:07:15.001Z] ---> 9b55ffcc1748 [2023-09-18T21:07:15.001Z] Step 24/25 : LABEL git_sha=660491fba38d8ec3280cd778996bba77bc0edf60 [2023-09-18T21:07:15.283Z] ---> Running in 6a3d95326b77 [2023-09-18T21:07:15.555Z] Removing intermediate container 6a3d95326b77 [2023-09-18T21:07:15.555Z] ---> 6e7db40323f3 [2023-09-18T21:07:15.555Z] Step 25/25 : LABEL version=3.1.0-dev.13 [2023-09-18T21:07:15.555Z] ---> Running in c8032178a2fa [2023-09-18T21:07:15.822Z] Removing intermediate container c8032178a2fa [2023-09-18T21:07:15.822Z] ---> 3eb48cab3022 [2023-09-18T21:07:15.822Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-18T21:07:15.822Z] Successfully built 3eb48cab3022 [2023-09-18T21:07:15.822Z] 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 [2023-09-18T21:07:15.955Z] provisioning config files... [2023-09-18T21:07:15.968Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/133@tmp/config3193501345927088743tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:07:16.302Z] ---> docker-login.sh [2023-09-18T21:07:16.302Z] nexus3.edgexfoundry.org:10001 [2023-09-18T21:07:16.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:07:16.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:07:16.570Z] Configure a credential helper to remove this warning. See [2023-09-18T21:07:16.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:07:16.570Z] [2023-09-18T21:07:16.570Z] Login Succeeded [2023-09-18T21:07:16.570Z] nexus3.edgexfoundry.org:10002 [2023-09-18T21:07:16.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:07:16.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:07:16.836Z] Configure a credential helper to remove this warning. See [2023-09-18T21:07:16.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:07:16.836Z] [2023-09-18T21:07:16.836Z] Login Succeeded [2023-09-18T21:07:16.836Z] nexus3.edgexfoundry.org:10003 [2023-09-18T21:07:17.103Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:07:17.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:07:17.103Z] Configure a credential helper to remove this warning. See [2023-09-18T21:07:17.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:07:17.103Z] [2023-09-18T21:07:17.103Z] Login Succeeded [2023-09-18T21:07:17.103Z] nexus3.edgexfoundry.org:10004 [2023-09-18T21:07:17.370Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:07:17.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:07:17.637Z] Configure a credential helper to remove this warning. See [2023-09-18T21:07:17.637Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:07:17.637Z] [2023-09-18T21:07:17.637Z] Login Succeeded [2023-09-18T21:07:17.637Z] docker.io [2023-09-18T21:07:17.902Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-18T21:07:18.168Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-18T21:07:18.168Z] Configure a credential helper to remove this warning. See [2023-09-18T21:07:18.168Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-18T21:07:18.168Z] [2023-09-18T21:07:18.168Z] Login Succeeded [2023-09-18T21:07:18.168Z] ---> docker-login.sh ends [Pipeline] } [2023-09-18T21:07:18.180Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-18T21:07:18.219Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-18T21:07:18.244Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-18T21:07:18.244Z] 660491fba38d8ec3280cd778996bba77bc0edf60 [2023-09-18T21:07:18.244Z] latest [2023-09-18T21:07:18.244Z] 3.1.0-dev.13 [2023-09-18T21:07:18.244Z] 660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [2023-09-18T21:07:18.244Z] main [2023-09-18T21:07:18.244Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:18.605Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:21.517Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60 [2023-09-18T21:07:21.517Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-18T21:07:21.517Z] 49dae2a65f54: Preparing [2023-09-18T21:07:21.517Z] 8a34e82281e2: Preparing [2023-09-18T21:07:21.517Z] a3f27247d8c2: Preparing [2023-09-18T21:07:21.517Z] 23fa53bd498d: Preparing [2023-09-18T21:07:21.517Z] b2191e2be29d: Preparing [2023-09-18T21:07:21.517Z] b2191e2be29d: Layer already exists [2023-09-18T21:07:21.783Z] 23fa53bd498d: Pushed [2023-09-18T21:07:21.783Z] 8a34e82281e2: Pushed [2023-09-18T21:07:21.783Z] 49dae2a65f54: Pushed [2023-09-18T21:07:27.114Z] a3f27247d8c2: Pushed [2023-09-18T21:07:27.114Z] 660491fba38d8ec3280cd778996bba77bc0edf60: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:27.470Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:27.810Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-18T21:07:27.810Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-18T21:07:27.810Z] 49dae2a65f54: Preparing [2023-09-18T21:07:27.810Z] 8a34e82281e2: Preparing [2023-09-18T21:07:27.810Z] a3f27247d8c2: Preparing [2023-09-18T21:07:27.810Z] 23fa53bd498d: Preparing [2023-09-18T21:07:27.810Z] b2191e2be29d: Preparing [2023-09-18T21:07:27.810Z] a3f27247d8c2: Layer already exists [2023-09-18T21:07:27.810Z] b2191e2be29d: Layer already exists [2023-09-18T21:07:27.810Z] 23fa53bd498d: Layer already exists [2023-09-18T21:07:27.810Z] 8a34e82281e2: Layer already exists [2023-09-18T21:07:27.810Z] 49dae2a65f54: Layer already exists [2023-09-18T21:07:27.810Z] latest: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:28.156Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:28.494Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.13 [2023-09-18T21:07:28.494Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-18T21:07:28.494Z] 49dae2a65f54: Preparing [2023-09-18T21:07:28.494Z] 8a34e82281e2: Preparing [2023-09-18T21:07:28.494Z] a3f27247d8c2: Preparing [2023-09-18T21:07:28.494Z] 23fa53bd498d: Preparing [2023-09-18T21:07:28.494Z] b2191e2be29d: Preparing [2023-09-18T21:07:28.494Z] a3f27247d8c2: Layer already exists [2023-09-18T21:07:28.494Z] b2191e2be29d: Layer already exists [2023-09-18T21:07:28.494Z] 23fa53bd498d: Layer already exists [2023-09-18T21:07:28.494Z] 49dae2a65f54: Layer already exists [2023-09-18T21:07:28.494Z] 8a34e82281e2: Layer already exists [2023-09-18T21:07:28.494Z] 3.1.0-dev.13: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:28.831Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:29.168Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [2023-09-18T21:07:29.168Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-18T21:07:29.168Z] 49dae2a65f54: Preparing [2023-09-18T21:07:29.168Z] 8a34e82281e2: Preparing [2023-09-18T21:07:29.168Z] a3f27247d8c2: Preparing [2023-09-18T21:07:29.168Z] 23fa53bd498d: Preparing [2023-09-18T21:07:29.168Z] b2191e2be29d: Preparing [2023-09-18T21:07:29.168Z] b2191e2be29d: Layer already exists [2023-09-18T21:07:29.168Z] a3f27247d8c2: Layer already exists [2023-09-18T21:07:29.168Z] 49dae2a65f54: Layer already exists [2023-09-18T21:07:29.168Z] 23fa53bd498d: Layer already exists [2023-09-18T21:07:29.168Z] 8a34e82281e2: Layer already exists [2023-09-18T21:07:29.168Z] 660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:29.508Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:29.852Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-18T21:07:29.852Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-18T21:07:29.852Z] 49dae2a65f54: Preparing [2023-09-18T21:07:29.852Z] 8a34e82281e2: Preparing [2023-09-18T21:07:29.852Z] a3f27247d8c2: Preparing [2023-09-18T21:07:29.852Z] 23fa53bd498d: Preparing [2023-09-18T21:07:29.852Z] b2191e2be29d: Preparing [2023-09-18T21:07:29.852Z] 23fa53bd498d: Layer already exists [2023-09-18T21:07:29.852Z] b2191e2be29d: Layer already exists [2023-09-18T21:07:29.852Z] a3f27247d8c2: Layer already exists [2023-09-18T21:07:29.852Z] 49dae2a65f54: Layer already exists [2023-09-18T21:07:29.852Z] 8a34e82281e2: Layer already exists [2023-09-18T21:07:29.852Z] main: digest: sha256:3a7912d7d2a19d7a8d7d5e16de247cabafd22ceca577adb371e74d161bae3dce size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-18T21:07:29.911Z] ===================================================== [Pipeline] echo [2023-09-18T21:07:29.920Z] taggedImages: [2023-09-18T21:07:29.920Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60 [2023-09-18T21:07:29.920Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-18T21:07:29.920Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.13 [2023-09-18T21:07:29.920Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:660491fba38d8ec3280cd778996bba77bc0edf60-3.1.0-dev.13 [2023-09-18T21:07:29.920Z] - 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 [2023-09-18T21:07:30.279Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-18T21:07:30.279Z] [2023-09-18T21:07:30.279Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:07:30.607Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-18T21:07:30.607Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-18T21:07:30.607Z] 8998bd30e6a1: Pulling fs layer [2023-09-18T21:07:30.607Z] 04944245beec: Pulling fs layer [2023-09-18T21:07:30.607Z] 699f458cf7ca: Pulling fs layer [2023-09-18T21:07:30.607Z] 765212b225bb: Pulling fs layer [2023-09-18T21:07:30.607Z] f23df028b6ca: Pulling fs layer [2023-09-18T21:07:30.607Z] d65c8cfc05b1: Pulling fs layer [2023-09-18T21:07:30.607Z] 765212b225bb: Waiting [2023-09-18T21:07:30.607Z] f23df028b6ca: Waiting [2023-09-18T21:07:30.607Z] 2437ff75d9bd: Pulling fs layer [2023-09-18T21:07:30.607Z] d65c8cfc05b1: Waiting [2023-09-18T21:07:30.607Z] 2437ff75d9bd: Waiting [2023-09-18T21:07:30.875Z] 04944245beec: Verifying Checksum [2023-09-18T21:07:30.875Z] 04944245beec: Download complete [2023-09-18T21:07:30.875Z] 765212b225bb: Verifying Checksum [2023-09-18T21:07:30.875Z] 765212b225bb: Download complete [2023-09-18T21:07:30.875Z] f23df028b6ca: Download complete [2023-09-18T21:07:30.875Z] d65c8cfc05b1: Verifying Checksum [2023-09-18T21:07:30.875Z] d65c8cfc05b1: Download complete [2023-09-18T21:07:30.875Z] 699f458cf7ca: Verifying Checksum [2023-09-18T21:07:30.875Z] 699f458cf7ca: Download complete [2023-09-18T21:07:31.457Z] 8998bd30e6a1: Verifying Checksum [2023-09-18T21:07:31.457Z] 8998bd30e6a1: Download complete [2023-09-18T21:07:33.409Z] 2437ff75d9bd: Verifying Checksum [2023-09-18T21:07:33.409Z] 2437ff75d9bd: Download complete [2023-09-18T21:07:35.361Z] 8998bd30e6a1: Pull complete [2023-09-18T21:07:35.627Z] 04944245beec: Pull complete [2023-09-18T21:07:37.032Z] 699f458cf7ca: Pull complete [2023-09-18T21:07:37.297Z] 765212b225bb: Pull complete [2023-09-18T21:07:37.882Z] f23df028b6ca: Pull complete [2023-09-18T21:07:38.150Z] d65c8cfc05b1: Pull complete [2023-09-18T21:07:53.149Z] 2437ff75d9bd: Pull complete [2023-09-18T21:07:53.149Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-18T21:07:53.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-18T21:07:53.149Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:07:53.325Z] prd-ubuntu20.04-docker-arm64-4c-16g-6409 does not seem to be running inside a container [2023-09-18T21:07:53.397Z] $ 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/133 -v /w/workspace/device-rest-go/133:/w/workspace/device-rest-go/133:rw,z -v /w/workspace/device-rest-go/133@tmp:/w/workspace/device-rest-go/133@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 [2023-09-18T21:07:55.800Z] $ docker top 4e4a75275437c435afd4ccccfbf817676c2e74b53faaba857b7ebbaa523dca3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:07:56.290Z] ---> job-cost.sh [2023-09-18T21:07:56.556Z] lf-activate-venv: SKIPPING [2023-09-18T21:07:56.556Z] INFO: No Stack... [2023-09-18T21:07:56.821Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-18T21:07:57.774Z] INFO: Archiving Costs [Pipeline] sh [2023-09-18T21:07:58.406Z] + cat /w/workspace/device-rest-go/133/archives/cost.csv [2023-09-18T21:07:58.406Z] + cut -d, -f6 [Pipeline] lock [2023-09-18T21:07:58.440Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [2023-09-18T21:07:58.445Z] Resource [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] did not exist. Created. [2023-09-18T21:07:58.446Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-18T21:07:58.778Z] /w/workspace/device-rest-go/133@tmp/durable-93d2f318/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-18T21:07:59.115Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-18T21:07:59.138Z] Warning: overwriting stash ‘stack-cost’ [2023-09-18T21:07:59.183Z] Stashed 1 file(s) [Pipeline] } [2023-09-18T21:07:59.191Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-133-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-18T21:07:59.218Z] $ docker stop --time=1 4e4a75275437c435afd4ccccfbf817676c2e74b53faaba857b7ebbaa523dca3c [2023-09-18T21:08:00.727Z] $ docker rm -f --volumes 4e4a75275437c435afd4ccccfbf817676c2e74b53faaba857b7ebbaa523dca3c [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 [2023-09-18T21:08:01.093Z] provisioning config files... [2023-09-18T21:08:01.101Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11420673795046854388tmp [Pipeline] { [Pipeline] sh [2023-09-18T21:08:01.397Z] + set +x [2023-09-18T21:08:01.397Z] + + curl -s https://codecov.io/bash [2023-09-18T21:08:01.397Z] bash -s -- [2023-09-18T21:08:01.397Z] [2023-09-18T21:08:01.397Z] _____ _ [2023-09-18T21:08:01.397Z] / ____| | | [2023-09-18T21:08:01.397Z] | | ___ __| | ___ ___ _____ __ [2023-09-18T21:08:01.397Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-18T21:08:01.397Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-18T21:08:01.397Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-18T21:08:01.397Z] Bash-1.0.6 [2023-09-18T21:08:01.397Z] [2023-09-18T21:08:01.397Z] [2023-09-18T21:08:01.397Z] ==> git version 2.25.1 found [2023-09-18T21:08:01.398Z] ==> 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 [2023-09-18T21:08:01.398Z] Release-Date: 2020-01-08 [2023-09-18T21:08:01.398Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-18T21:08:01.398Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-18T21:08:01.398Z] ==> Jenkins CI detected. [2023-09-18T21:08:01.398Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-18T21:08:01.398Z] project root: . [2023-09-18T21:08:01.398Z] --> token set from env [2023-09-18T21:08:01.398Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-18T21:08:01.657Z] ==> Running gcov in . (disable via -X gcov) [2023-09-18T21:08:01.657Z] ==> Python coveragepy not found [2023-09-18T21:08:01.657Z] ==> Searching for coverage reports in: [2023-09-18T21:08:01.657Z] + . [2023-09-18T21:08:01.657Z] -> Found 1 reports [2023-09-18T21:08:01.657Z] ==> Detecting git/mercurial file structure [2023-09-18T21:08:01.657Z] ==> Reading reports [2023-09-18T21:08:01.657Z] + ./coverage.out bytes=14499 [2023-09-18T21:08:01.657Z] ==> Appending adjustments [2023-09-18T21:08:01.657Z] https://docs.codecov.io/docs/fixing-reports [2023-09-18T21:08:01.657Z] + Found adjustments [2023-09-18T21:08:01.657Z] ==> Gzipping contents [2023-09-18T21:08:01.657Z] 4.0K /tmp/codecov.YVIaMO.gz [2023-09-18T21:08:01.657Z] ==> Uploading reports [2023-09-18T21:08:01.657Z] url: https://codecov.io [2023-09-18T21:08:01.657Z] query: branch=main&commit=660491fba38d8ec3280cd778996bba77bc0edf60&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-18T21:08:01.657Z] -> Pinging Codecov [2023-09-18T21:08:01.657Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=660491fba38d8ec3280cd778996bba77bc0edf60&build=133&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F133%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-18T21:08:01.916Z] -> Uploading to [2023-09-18T21:08:01.916Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-18/4E5D53B4F1F92C436F7061BF334D961C/660491fba38d8ec3280cd778996bba77bc0edf60/8df51b22-439b-45a7-ab47-ba4f20b5bcc5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230918%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230918T210801Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dc2ba592f8b7cee772b15e2403d42457d3c2299bf07580f1a3261b0bd892e734 [2023-09-18T21:08:01.916Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-18T21:08:01.916Z] Dload Upload Total Spent Left Speed [2023-09-18T21:08:01.916Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12784 --:--:-- --:--:-- --:--:-- 12784 [2023-09-18T21:08:01.916Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] } [2023-09-18T21:08:01.923Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-18T21:08:02.140Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-18T21:08:02.149Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:08:02.452Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-18T21:08:02.452Z] [2023-09-18T21:08:02.452Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:08:02.756Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-18T21:08:02.756Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-18T21:08:02.756Z] df9b9388f04a: Pulling fs layer [2023-09-18T21:08:02.756Z] 52dc419b0ee2: Pulling fs layer [2023-09-18T21:08:02.756Z] 25bc292e5bac: Pulling fs layer [2023-09-18T21:08:02.756Z] 114826534d7a: Pulling fs layer [2023-09-18T21:08:02.756Z] 4657fd5d0bcf: Pulling fs layer [2023-09-18T21:08:02.756Z] 6ad1cebc031e: Pulling fs layer [2023-09-18T21:08:02.756Z] 8a3aa393b2d8: Pulling fs layer [2023-09-18T21:08:02.756Z] 4657fd5d0bcf: Waiting [2023-09-18T21:08:02.756Z] 6ad1cebc031e: Waiting [2023-09-18T21:08:02.756Z] 8a3aa393b2d8: Waiting [2023-09-18T21:08:02.756Z] 114826534d7a: Waiting [2023-09-18T21:08:02.756Z] 25bc292e5bac: Download complete [2023-09-18T21:08:02.756Z] 52dc419b0ee2: Verifying Checksum [2023-09-18T21:08:02.756Z] 52dc419b0ee2: Download complete [2023-09-18T21:08:02.756Z] 4657fd5d0bcf: Verifying Checksum [2023-09-18T21:08:02.756Z] 4657fd5d0bcf: Download complete [2023-09-18T21:08:02.756Z] df9b9388f04a: Download complete [2023-09-18T21:08:03.016Z] df9b9388f04a: Pull complete [2023-09-18T21:08:03.016Z] 6ad1cebc031e: Verifying Checksum [2023-09-18T21:08:03.016Z] 6ad1cebc031e: Download complete [2023-09-18T21:08:03.016Z] 52dc419b0ee2: Pull complete [2023-09-18T21:08:03.016Z] 25bc292e5bac: Pull complete [2023-09-18T21:08:03.584Z] 114826534d7a: Download complete [2023-09-18T21:08:03.842Z] 8a3aa393b2d8: Verifying Checksum [2023-09-18T21:08:03.842Z] 8a3aa393b2d8: Download complete [2023-09-18T21:08:07.126Z] 114826534d7a: Pull complete [2023-09-18T21:08:07.126Z] 4657fd5d0bcf: Pull complete [2023-09-18T21:08:07.126Z] 6ad1cebc031e: Pull complete [2023-09-18T21:08:09.657Z] 8a3aa393b2d8: Pull complete [2023-09-18T21:08:09.657Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-18T21:08:09.657Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-18T21:08:09.657Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:08:09.738Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T21:08:09.770Z] $ 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 [2023-09-18T21:08:13.817Z] $ docker top 23ccf2af946881c5cd084b26749c641d848fcda10a3aa0b0866a4bc179b81de8 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-18T21:08:13.876Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-18T21:08:14.160Z] + set -o pipefail [2023-09-18T21:08:14.160Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-18T21:08:20.726Z] [2023-09-18T21:08:20.726Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-18T21:08:20.726Z] [2023-09-18T21:08:20.727Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/198c6c29-277a-490b-a2ec-71da8eb1e37f [2023-09-18T21:08:20.727Z] [2023-09-18T21:08:20.727Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-18T21:08:20.727Z] [2023-09-18T21:08:20.727Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-18T21:08:20.727Z] [2023-09-18T21:08:20.727Z] [2023-09-18T21:08:20.727Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-18T21:08:20.727Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-18T21:08:20.727Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-18T21:08:20.739Z] $ docker stop --time=1 23ccf2af946881c5cd084b26749c641d848fcda10a3aa0b0866a4bc179b81de8 [2023-09-18T21:08:23.735Z] $ docker rm -f --volumes 23ccf2af946881c5cd084b26749c641d848fcda10a3aa0b0866a4bc179b81de8 [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 [2023-09-18T21:08:24.442Z] + git log --format=format:%s -1 660491fba38d8ec3280cd778996bba77bc0edf60 [Pipeline] sh [2023-09-18T21:08:24.737Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-18T21:08:24.737Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:08:25.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-18T21:08:25.032Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:08:25.099Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T21:08:25.131Z] $ 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 [2023-09-18T21:08:25.536Z] $ docker top 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 -eo pid,comm [2023-09-18T21:08:25.578Z] 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). [2023-09-18T21:08:25.578Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-18T21:08:25.621Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-18T21:08:25.621Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-18T21:08:25.736Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-18T21:08:25.739Z] $ docker exec 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 ssh-agent [2023-09-18T21:08:25.844Z] SSH_AUTH_SOCK=/tmp/ssh-JVognVPxnS7O/agent.32 [2023-09-18T21:08:25.844Z] SSH_AGENT_PID=38 [2023-09-18T21:08:25.848Z] Running ssh-add (command line suppressed) [2023-09-18T21:08:25.950Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16323200055966188780.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16323200055966188780.key) [2023-09-18T21:08:25.962Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-18T21:08:26.249Z] + git semver tag [2023-09-18T21:08:26.508Z] 2023-09-18 21:08:26,427 [run_tag] DEBUG tag force:False [2023-09-18T21:08:26.508Z] 2023-09-18 21:08:26,427 [check_head_tag] DEBUG check head tag [2023-09-18T21:08:26.508Z] 2023-09-18 21:08:26,428 [execute] INFO git cat-file --batch-check [2023-09-18T21:08:26.508Z] 2023-09-18 21:08:26,428 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-18T21:08:26.509Z] 2023-09-18 21:08:26,431 [execute] INFO git cat-file --batch [2023-09-18T21:08:26.509Z] 2023-09-18 21:08:26,432 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-18T21:08:26.509Z] 2023-09-18 21:08:26,443 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-18T21:08:26.509Z] 2023-09-18 21:08:26,443 [execute] INFO git tag -a v3.1.0-dev.13 -m v3.1.0-dev.13 [2023-09-18T21:08:26.509Z] 2023-09-18 21:08:26,443 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.13', '-m', 'v3.1.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-18T21:08:26.509Z] 2023-09-18 21:08:26,448 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-18T21:08:26.509Z] 3.1.0-dev.13 [Pipeline] } [2023-09-18T21:08:26.519Z] $ docker exec --env ******** --env ******** 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 ssh-agent -k [2023-09-18T21:08:26.613Z] unset SSH_AUTH_SOCK; [2023-09-18T21:08:26.613Z] unset SSH_AGENT_PID; [2023-09-18T21:08:26.613Z] echo Agent pid 38 killed; [2023-09-18T21:08:26.620Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-18T21:08:26.915Z] + git semver [Pipeline] } [2023-09-18T21:08:27.186Z] $ docker stop --time=1 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 [2023-09-18T21:08:28.460Z] $ docker rm -f --volumes 4a14888193232cf14173bacb5c05b0d4deacfb73d91747308d5647dfbba2a2d6 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:08:28.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-18T21:08:28.861Z] [2023-09-18T21:08:28.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:08:29.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-18T21:08:29.191Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-18T21:08:29.191Z] ab5ef0e58194: Pulling fs layer [2023-09-18T21:08:29.191Z] 9712f1f96733: Pulling fs layer [2023-09-18T21:08:29.191Z] 63f879dbbcfc: Pulling fs layer [2023-09-18T21:08:29.191Z] 0d9ebad4ef96: Pulling fs layer [2023-09-18T21:08:29.191Z] e9a5061849ea: Pulling fs layer [2023-09-18T21:08:29.191Z] d747dcd14b5f: Pulling fs layer [2023-09-18T21:08:29.191Z] 2de7ff778b66: Pulling fs layer [2023-09-18T21:08:29.191Z] e9a5061849ea: Waiting [2023-09-18T21:08:29.191Z] 0d9ebad4ef96: Waiting [2023-09-18T21:08:29.191Z] 2de7ff778b66: Waiting [2023-09-18T21:08:29.191Z] 9712f1f96733: Verifying Checksum [2023-09-18T21:08:29.191Z] 9712f1f96733: Download complete [2023-09-18T21:08:29.763Z] 63f879dbbcfc: Verifying Checksum [2023-09-18T21:08:29.763Z] 63f879dbbcfc: Download complete [2023-09-18T21:08:29.763Z] 0d9ebad4ef96: Verifying Checksum [2023-09-18T21:08:29.763Z] 0d9ebad4ef96: Download complete [2023-09-18T21:08:29.763Z] ab5ef0e58194: Verifying Checksum [2023-09-18T21:08:29.763Z] ab5ef0e58194: Download complete [2023-09-18T21:08:29.763Z] d747dcd14b5f: Download complete [2023-09-18T21:08:29.763Z] e9a5061849ea: Download complete [2023-09-18T21:08:30.021Z] 2de7ff778b66: Verifying Checksum [2023-09-18T21:08:30.021Z] 2de7ff778b66: Download complete [2023-09-18T21:08:32.548Z] ab5ef0e58194: Pull complete [2023-09-18T21:08:32.548Z] 9712f1f96733: Pull complete [2023-09-18T21:08:32.806Z] 63f879dbbcfc: Pull complete [2023-09-18T21:08:36.087Z] 0d9ebad4ef96: Pull complete [2023-09-18T21:08:36.346Z] e9a5061849ea: Pull complete [2023-09-18T21:08:36.346Z] d747dcd14b5f: Pull complete [2023-09-18T21:08:37.724Z] 2de7ff778b66: Pull complete [2023-09-18T21:08:37.724Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-18T21:08:37.724Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-18T21:08:37.724Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:08:37.805Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T21:08:37.838Z] $ 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 [2023-09-18T21:08:41.523Z] $ docker top 9be60a910a7623bdf1885c80f9db4ff030b008db977fca1da524893af4120236 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-18T21:08:41.586Z] provisioning config files... [2023-09-18T21:08:41.593Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13716171282063204652tmp [2023-09-18T21:08:41.602Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14588166150490086299tmp [2023-09-18T21:08:41.613Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5429601068720411656tmp [Pipeline] { [Pipeline] echo [2023-09-18T21:08:41.630Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:08:41.911Z] ---> sigul-configuration.sh [2023-09-18T21:08:41.912Z] gpg: directory `/root/.gnupg' created [2023-09-18T21:08:41.912Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-18T21:08:41.912Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-18T21:08:41.912Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-18T21:08:41.912Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-18T21:08:41.912Z] gpg: CAST5 encrypted data [2023-09-18T21:08:41.912Z] gpg: encrypted with 1 passphrase [2023-09-18T21:08:41.912Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-18T21:08:42.200Z] + mkdir /home/jenkins [2023-09-18T21:08:42.200Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-18T21:08:42.484Z] + 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 [2023-09-18T21:08:42.493Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:08:42.777Z] ---> sigul-install.sh [2023-09-18T21:08:42.778Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-18T21:08:43.061Z] + git tag --list [2023-09-18T21:08:43.061Z] v1.0.0 [2023-09-18T21:08:43.061Z] v1.1.0 [2023-09-18T21:08:43.061Z] v1.1.1 [2023-09-18T21:08:43.061Z] v1.1.2 [2023-09-18T21:08:43.061Z] v1.2.0 [2023-09-18T21:08:43.061Z] v1.2.1 [2023-09-18T21:08:43.061Z] v2.0.0 [2023-09-18T21:08:43.061Z] v2.1.0 [2023-09-18T21:08:43.061Z] v2.1.1 [2023-09-18T21:08:43.061Z] v2.2.0 [2023-09-18T21:08:43.061Z] v2.3.0 [2023-09-18T21:08:43.061Z] v3.0 [2023-09-18T21:08:43.061Z] v3.0.0 [2023-09-18T21:08:43.061Z] v3.1.0-dev.1 [2023-09-18T21:08:43.061Z] v3.1.0-dev.10 [2023-09-18T21:08:43.061Z] v3.1.0-dev.11 [2023-09-18T21:08:43.061Z] v3.1.0-dev.12 [2023-09-18T21:08:43.061Z] v3.1.0-dev.13 [2023-09-18T21:08:43.061Z] v3.1.0-dev.2 [2023-09-18T21:08:43.061Z] v3.1.0-dev.3 [2023-09-18T21:08:43.061Z] v3.1.0-dev.4 [2023-09-18T21:08:43.061Z] v3.1.0-dev.5 [2023-09-18T21:08:43.061Z] v3.1.0-dev.6 [2023-09-18T21:08:43.061Z] v3.1.0-dev.7 [2023-09-18T21:08:43.061Z] v3.1.0-dev.8 [2023-09-18T21:08:43.061Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-18T21:08:43.340Z] + lftools sign git-tag v3.1.0-dev.13 [2023-09-18T21:08:43.906Z] Signing Git tag with Sigul... [2023-09-18T21:08:43.906Z] Signing v3.1.0-dev.13 [Pipeline] echo [2023-09-18T21:08:44.174Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:08:44.456Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-18T21:08:44.464Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-18T21:08:44.483Z] $ docker stop --time=1 9be60a910a7623bdf1885c80f9db4ff030b008db977fca1da524893af4120236 [2023-09-18T21:08:45.799Z] $ docker rm -f --volumes 9be60a910a7623bdf1885c80f9db4ff030b008db977fca1da524893af4120236 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-18T21:08:46.193Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-18T21:08:46.193Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:08:46.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-18T21:08:46.489Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:08:46.557Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T21:08:46.585Z] $ 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 [2023-09-18T21:08:46.909Z] $ docker top 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 -eo pid,comm [2023-09-18T21:08:46.953Z] 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). [2023-09-18T21:08:46.953Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-18T21:08:46.991Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-18T21:08:46.991Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-18T21:08:47.106Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-18T21:08:47.110Z] $ docker exec 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 ssh-agent [2023-09-18T21:08:47.216Z] SSH_AUTH_SOCK=/tmp/ssh-zoezuSu7jBIS/agent.31 [2023-09-18T21:08:47.216Z] SSH_AGENT_PID=37 [2023-09-18T21:08:47.221Z] Running ssh-add (command line suppressed) [2023-09-18T21:08:47.328Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_809181485846836111.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_809181485846836111.key) [2023-09-18T21:08:47.341Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-18T21:08:47.623Z] + git semver bump pre [2023-09-18T21:08:47.882Z] 2023-09-18 21:08:47,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-18T21:08:47.882Z] 2023-09-18 21:08:47,786 [bump_version] DEBUG bumping version:3.1.0-dev.13 on axis:pre with prefix:dev [2023-09-18T21:08:47.882Z] 2023-09-18 21:08:47,786 [bump_version] DEBUG bumped version:3.1.0-dev.14 [2023-09-18T21:08:47.882Z] 2023-09-18 21:08:47,786 [write_version] DEBUG write version:3.1.0-dev.14 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-18T21:08:47.882Z] 2023-09-18 21:08:47,786 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-18T21:08:47.882Z] 2023-09-18 21:08:47,787 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-18T21:08:47.882Z] 2023-09-18 21:08:47,788 [execute] INFO git cat-file --batch-check [2023-09-18T21:08:47.882Z] 2023-09-18 21:08:47,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-18T21:08:47.882Z] 2023-09-18 21:08:47,793 [execute] INFO git cat-file --batch [2023-09-18T21:08:47.883Z] 2023-09-18 21:08:47,793 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-18T21:08:47.883Z] 2023-09-18 21:08:47,798 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-18T21:08:47.883Z] 3.1.0-dev.14 [Pipeline] } [2023-09-18T21:08:47.893Z] $ docker exec --env ******** --env ******** 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 ssh-agent -k [2023-09-18T21:08:47.986Z] unset SSH_AUTH_SOCK; [2023-09-18T21:08:47.986Z] unset SSH_AGENT_PID; [2023-09-18T21:08:47.986Z] echo Agent pid 37 killed; [2023-09-18T21:08:47.994Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-18T21:08:48.301Z] + git semver [Pipeline] } [2023-09-18T21:08:48.575Z] $ docker stop --time=1 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 [2023-09-18T21:08:49.844Z] $ docker rm -f --volumes 2dedaf393e90a9d9f0697a7f93b6ccec95d868b8c733fcda7bcad0c378798f33 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-18T21:08:50.182Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-18T21:08:50.182Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:08:50.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-18T21:08:50.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:08:50.561Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T21:08:50.593Z] $ 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 [2023-09-18T21:08:50.888Z] $ docker top 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 -eo pid,comm [2023-09-18T21:08:50.957Z] 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). [2023-09-18T21:08:50.957Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-18T21:08:50.994Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-18T21:08:50.994Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-18T21:08:51.096Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-18T21:08:51.100Z] $ docker exec 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 ssh-agent [2023-09-18T21:08:51.211Z] SSH_AUTH_SOCK=/tmp/ssh-RY0f4d6o35ea/agent.31 [2023-09-18T21:08:51.211Z] SSH_AGENT_PID=37 [2023-09-18T21:08:51.218Z] Running ssh-add (command line suppressed) [2023-09-18T21:08:51.310Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1633984738954339499.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1633984738954339499.key) [2023-09-18T21:08:51.322Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-18T21:08:51.655Z] + git semver push [2023-09-18T21:08:51.932Z] 2023-09-18 21:08:51,788 [run_push] DEBUG push [2023-09-18T21:08:51.932Z] 2023-09-18 21:08:51,789 [execute] INFO git cat-file --batch-check [2023-09-18T21:08:51.932Z] 2023-09-18 21:08:51,789 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-18T21:08:51.932Z] 2023-09-18 21:08:51,793 [execute] INFO git rev-list 428bc2f001a6c8cf674dead4e82b6888ac50d39e -- [2023-09-18T21:08:51.932Z] 2023-09-18 21:08:51,793 [execute] DEBUG Popen(['git', 'rev-list', '428bc2f001a6c8cf674dead4e82b6888ac50d39e', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-18T21:08:51.932Z] 2023-09-18 21:08:51,802 [execute] INFO git fetch -v origin [2023-09-18T21:08:51.932Z] 2023-09-18 21:08:51,802 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-18T21:08:52.500Z] 2023-09-18 21:08:52,285 [run_push] DEBUG no remote changes detected [2023-09-18T21:08:52.500Z] 2023-09-18 21:08:52,286 [execute] INFO git push origin semver [2023-09-18T21:08:52.500Z] 2023-09-18 21:08:52,286 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-18T21:08:53.069Z] 2023-09-18 21:08:53,053 [run_push] DEBUG push all version tags [2023-09-18T21:08:53.069Z] 2023-09-18 21:08:53,053 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-18T21:08:53.069Z] 2023-09-18 21:08:53,054 [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) [2023-09-18T21:08:54.008Z] 2023-09-18 21:08:53,870 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-18T21:08:54.008Z] 3.1.0-dev.14 [Pipeline] } [2023-09-18T21:08:54.019Z] $ docker exec --env ******** --env ******** 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 ssh-agent -k [2023-09-18T21:08:54.106Z] unset SSH_AUTH_SOCK; [2023-09-18T21:08:54.106Z] unset SSH_AGENT_PID; [2023-09-18T21:08:54.106Z] echo Agent pid 37 killed; [2023-09-18T21:08:54.115Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-18T21:08:54.425Z] + git semver [Pipeline] } [2023-09-18T21:08:54.698Z] $ docker stop --time=1 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 [2023-09-18T21:08:55.957Z] $ docker rm -f --volumes 87bae0f0560991345a47885dac97ba4e35ca4f306ea2c08c2b27570b476786e7 [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 [2023-09-18T21:08:56.543Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-18T21:08:56.543Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-18T21:08:56.543Z] total 16 [2023-09-18T21:08:56.543Z] drwxr-xr-x 3 root root 4096 Sep 18 21:00 . [2023-09-18T21:08:56.543Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 21:08 .. [2023-09-18T21:08:56.543Z] drwxr-xr-x 2 root root 4096 Sep 18 21:00 cost [2023-09-18T21:08:56.543Z] -rw-r--r-- 1 root root 86 Sep 18 21:00 cost.csv [2023-09-18T21:08:56.543Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-18T21:08:56.543Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-18T21:08:56.543Z] total 16 [2023-09-18T21:08:56.543Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 18 21:00 . [2023-09-18T21:08:56.543Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 18 21:08 .. [2023-09-18T21:08:56.543Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 18 21:00 cost [2023-09-18T21:08:56.543Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 18 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:08:56.832Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:08:57.688Z] ---> package-listing.sh [2023-09-18T21:08:57.688Z] ++ facter osfamily [2023-09-18T21:08:57.688Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-18T21:08:57.947Z] + OS_FAMILY=debian [2023-09-18T21:08:57.947Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-18T21:08:57.947Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-18T21:08:57.947Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-18T21:08:57.947Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-18T21:08:57.947Z] + PACKAGES=/tmp/packages_start.txt [2023-09-18T21:08:57.947Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-18T21:08:57.947Z] + PACKAGES=/tmp/packages_end.txt [2023-09-18T21:08:57.947Z] + case "${OS_FAMILY}" in [2023-09-18T21:08:57.947Z] + dpkg -l [2023-09-18T21:08:57.947Z] + grep '^ii' [2023-09-18T21:08:57.947Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-18T21:08:57.947Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-18T21:08:57.947Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-18T21:08:57.947Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-18T21:08:57.947Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-18T21:08:57.947Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-09-18T21:08:57.956Z] 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 [2023-09-18T21:08:58.231Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-18T21:08:58.784Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-18T21:08:58.784Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-18T21:08:58.851Z] prd-ubuntu20.04-docker-8c-8g-6408 does not seem to be running inside a container [2023-09-18T21:08:58.879Z] $ 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 [2023-09-18T21:08:59.107Z] $ docker top 1eb1c8186a900673f651080cca48d94d063401973811a5ecbdbe1cbad9230b42 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-18T21:08:59.442Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-18T21:08:59.725Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-18T21:09:00.009Z] + ls /var/log/sa-host [2023-09-18T21:09:00.009Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-18T21:09:00.075Z] provisioning config files... [2023-09-18T21:09:00.083Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10674952344729921956tmp [Pipeline] { [Pipeline] echo [2023-09-18T21:09:00.098Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:09:00.378Z] ---> create-netrc.sh [Pipeline] } [2023-09-18T21:09:00.383Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:09:00.694Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-18T21:09:00.702Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:09:00.985Z] ---> sudo-logs.sh [2023-09-18T21:09:00.985Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-18T21:09:01.005Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:09:01.286Z] ---> job-cost.sh [2023-09-18T21:09:01.286Z] lf-activate-venv: SKIPPING [2023-09-18T21:09:01.286Z] DEBUG: total: 0.2199999988079071 [2023-09-18T21:09:01.286Z] INFO: Retrieving Stack Cost... [2023-09-18T21:09:01.853Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-18T21:09:02.112Z] INFO: Archiving Costs [Pipeline] echo [2023-09-18T21:09:02.123Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-18T21:09:02.406Z] ---> logs-deploy.sh [2023-09-18T21:09:02.407Z] lf-activate-venv: SKIPPING [2023-09-18T21:09:02.407Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/133 [2023-09-18T21:09:02.407Z] INFO: archiving workspace using pattern(s): [2023-09-18T21:09:03.342Z] Archives upload complete. [2023-09-18T21:09:03.342Z] INFO: archiving logs to Nexus