Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 758b2bed15a3d13a7bac802538a1e1661ebd32c9 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-ssh14774258305350605565.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-ssh7627912510640037727.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-ssh12335472362838005532.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-ssh13503297015955316882.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-ssh4330245791077397519.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-9952 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 758b2bed15a3d13a7bac802538a1e1661ebd32c9 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 758b2bed15a3d13a7bac802538a1e1661ebd32c9 # timeout=10 Commit message: "feat!: Remove snap packaging (#353)" > git rev-list --no-walk 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T16:05:05.968Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T16:05:06.015Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T16:05:06.030Z] ========================================================= [2023-10-24T16:05:06.030Z] EdgeX Global Pipelines Version Info [2023-10-24T16:05:06.030Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:05:06.753Z] ------------------- [2023-10-24T16:05:06.753Z] stable info: [2023-10-24T16:05:06.753Z] ------------------- [2023-10-24T16:05:06.753Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T16:05:06.753Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T16:05:06.753Z] Message: update stable to v1.0.254 [2023-10-24T16:05:07.323Z] ------------------- [2023-10-24T16:05:07.323Z] experimental info: [2023-10-24T16:05:07.323Z] ------------------- [2023-10-24T16:05:07.323Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T16:05:07.323Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T16:05:07.323Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T16:05:07.490Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-24T16:05:07.499Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-24T16:05:07.507Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T16:05:07.606Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T16:05:07.614Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T16:05:07.622Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T16:05:07.631Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T16:05:07.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T16:05:07.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T16:05:07.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T16:05:07.666Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T16:05:07.684Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-24T16:05:07.697Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T16:05:07.710Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T16:05:07.720Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T16:05:07.731Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T16:05:07.740Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T16:05:07.749Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T16:05:07.758Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T16:05:07.767Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T16:05:07.776Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T16:05:07.784Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T16:05:07.794Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T16:05:07.808Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T16:05:07.821Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T16:05:07.834Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T16:05:07.848Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T16:05:07.863Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-10-24T16:05:07.880Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-10-24T16:05:07.899Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-10-24T16:05:07.918Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] echo [2023-10-24T16:05:07.937Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 758b2be [Pipeline] echo [2023-10-24T16:05:07.957Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:05:08.001Z] provisioning config files... [2023-10-24T16:05:08.015Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3691033292081980403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:05:08.316Z] ---> docker-login.sh [2023-10-24T16:05:08.316Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:05:08.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:08.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:08.576Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:08.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:08.576Z] [2023-10-24T16:05:08.576Z] Login Succeeded [2023-10-24T16:05:08.576Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:05:08.576Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:08.576Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:08.576Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:08.576Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:08.576Z] [2023-10-24T16:05:08.576Z] Login Succeeded [2023-10-24T16:05:08.576Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:05:08.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:08.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:08.835Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:08.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:08.835Z] [2023-10-24T16:05:08.835Z] Login Succeeded [2023-10-24T16:05:08.835Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:05:08.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:08.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:08.836Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:08.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:08.836Z] [2023-10-24T16:05:08.836Z] Login Succeeded [2023-10-24T16:05:08.836Z] docker.io [2023-10-24T16:05:09.095Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:09.095Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:09.095Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:09.095Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:09.095Z] [2023-10-24T16:05:09.095Z] Login Succeeded [2023-10-24T16:05:09.356Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:05:09.361Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T16:05:09.713Z] + git rev-list -1 --merges 758b2bed15a3d13a7bac802538a1e1661ebd32c9~1..758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] echo [2023-10-24T16:05:09.757Z] -----------> git rev-list -1 --merges 758b2bed15a3d13a7bac802538a1e1661ebd32c9~1..758b2bed15a3d13a7bac802538a1e1661ebd32c9 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [false] [Pipeline] sh [2023-10-24T16:05:10.040Z] + git log --format=format:%s -1 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] echo [2023-10-24T16:05:10.051Z] ========================================================= [2023-10-24T16:05:10.052Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T16:05:10.052Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T16:05:10.377Z] + git log --format=format:%s -1 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] echo [2023-10-24T16:05:10.387Z] [semverPrep] GIT_COMMIT: 758b2bed15a3d13a7bac802538a1e1661ebd32c9, Commit Message: feat!: Remove snap packaging (#353) [Pipeline] echo [2023-10-24T16:05:10.396Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T16:05:10.748Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:05:10.748Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T16:05:10.748Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T16:05:10.748Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T16:05:10.748Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T16:05:10.748Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T16:05:10.748Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:05:11.158Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:05:11.158Z] [2023-10-24T16:05:11.158Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:05:11.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:05:11.455Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T16:05:11.455Z] b85a868b505f: Pulling fs layer [2023-10-24T16:05:11.455Z] e2be974225ed: Pulling fs layer [2023-10-24T16:05:11.455Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T16:05:11.455Z] 988bab9f4d93: Pulling fs layer [2023-10-24T16:05:11.455Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T16:05:11.455Z] eaf3925da568: Pulling fs layer [2023-10-24T16:05:11.455Z] 988bab9f4d93: Waiting [2023-10-24T16:05:11.455Z] 1469e6f7b9e6: Waiting [2023-10-24T16:05:11.455Z] bab4dde63d76: Pulling fs layer [2023-10-24T16:05:11.455Z] eaf3925da568: Waiting [2023-10-24T16:05:11.455Z] bde34c3a00c8: Pulling fs layer [2023-10-24T16:05:11.455Z] b352a97aabf1: Pulling fs layer [2023-10-24T16:05:11.455Z] 4872d77fe225: Pulling fs layer [2023-10-24T16:05:11.455Z] bab4dde63d76: Waiting [2023-10-24T16:05:11.455Z] 5851b861e8e6: Pulling fs layer [2023-10-24T16:05:11.455Z] bde34c3a00c8: Waiting [2023-10-24T16:05:11.455Z] b352a97aabf1: Waiting [2023-10-24T16:05:11.455Z] 4872d77fe225: Waiting [2023-10-24T16:05:11.455Z] 5851b861e8e6: Waiting [2023-10-24T16:05:11.455Z] e2be974225ed: Verifying Checksum [2023-10-24T16:05:11.455Z] e2be974225ed: Download complete [2023-10-24T16:05:11.455Z] 988bab9f4d93: Download complete [2023-10-24T16:05:11.455Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T16:05:11.455Z] 339a4e72a1f5: Download complete [2023-10-24T16:05:11.455Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T16:05:11.455Z] 1469e6f7b9e6: Download complete [2023-10-24T16:05:11.455Z] eaf3925da568: Verifying Checksum [2023-10-24T16:05:11.455Z] eaf3925da568: Download complete [2023-10-24T16:05:13.844Z] bde34c3a00c8: Download complete [2023-10-24T16:05:13.844Z] b352a97aabf1: Download complete [2023-10-24T16:05:13.844Z] 4872d77fe225: Verifying Checksum [2023-10-24T16:05:13.844Z] 4872d77fe225: Download complete [2023-10-24T16:05:13.844Z] 5851b861e8e6: Verifying Checksum [2023-10-24T16:05:13.844Z] 5851b861e8e6: Download complete [2023-10-24T16:05:13.844Z] b85a868b505f: Verifying Checksum [2023-10-24T16:05:13.844Z] b85a868b505f: Download complete [2023-10-24T16:05:13.844Z] b85a868b505f: Pull complete [2023-10-24T16:05:13.844Z] e2be974225ed: Pull complete [2023-10-24T16:05:13.844Z] 339a4e72a1f5: Pull complete [2023-10-24T16:05:13.844Z] 988bab9f4d93: Pull complete [2023-10-24T16:05:14.104Z] 1469e6f7b9e6: Pull complete [2023-10-24T16:05:14.104Z] bab4dde63d76: Verifying Checksum [2023-10-24T16:05:14.104Z] bab4dde63d76: Download complete [2023-10-24T16:05:14.104Z] eaf3925da568: Pull complete [2023-10-24T16:05:16.007Z] bab4dde63d76: Pull complete [2023-10-24T16:05:16.007Z] bde34c3a00c8: Pull complete [2023-10-24T16:05:16.007Z] b352a97aabf1: Pull complete [2023-10-24T16:05:16.266Z] 4872d77fe225: Pull complete [2023-10-24T16:05:16.266Z] 5851b861e8e6: Pull complete [2023-10-24T16:05:16.266Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T16:05:16.266Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:05:16.266Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:05:16.363Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:05:16.393Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T16:05:20.323Z] $ docker top 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b -eo pid,comm [2023-10-24T16:05:20.376Z] 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-10-24T16:05:20.376Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:05:20.414Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:05:20.414Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:05:20.549Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:05:20.554Z] $ docker exec 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b ssh-agent [2023-10-24T16:05:20.647Z] SSH_AUTH_SOCK=/tmp/ssh-PDcRGJIpw45h/agent.33 [2023-10-24T16:05:20.647Z] SSH_AGENT_PID=39 [2023-10-24T16:05:20.653Z] Running ssh-add (command line suppressed) [2023-10-24T16:05:20.771Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15599502509856917856.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15599502509856917856.key) [2023-10-24T16:05:20.783Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:05:21.070Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T16:05:21.083Z] $ docker exec --env ******** --env ******** 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b ssh-agent -k [2023-10-24T16:05:21.190Z] unset SSH_AUTH_SOCK; [2023-10-24T16:05:21.190Z] unset SSH_AGENT_PID; [2023-10-24T16:05:21.190Z] echo Agent pid 39 killed; [2023-10-24T16:05:21.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T16:05:21.220Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:05:21.220Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:05:21.326Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:05:21.331Z] $ docker exec 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b ssh-agent [2023-10-24T16:05:21.431Z] SSH_AUTH_SOCK=/tmp/ssh-bOPv2OdZLvdf/agent.71 [2023-10-24T16:05:21.431Z] SSH_AGENT_PID=77 [2023-10-24T16:05:21.436Z] Running ssh-add (command line suppressed) [2023-10-24T16:05:21.551Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14443994833680409331.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14443994833680409331.key) [2023-10-24T16:05:21.562Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:05:21.851Z] + git semver init [2023-10-24T16:05:22.112Z] 2023-10-24 16:05:22,009 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T16:05:22.112Z] 2023-10-24 16:05:22,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-24T16:05:22.112Z] 2023-10-24 16:05:22,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-10-24T16:05:22.112Z] 2023-10-24 16:05:22,010 [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-10-24T16:05:23.492Z] 2023-10-24 16:05:23,163 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-10-24T16:05:23.492Z] 2023-10-24 16:05:23,163 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-10-24T16:05:23.492Z] 2023-10-24 16:05:23,163 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T16:05:23.492Z] 2023-10-24 16:05:23,163 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T16:05:23.492Z] 3.1.0-dev.23 [Pipeline] } [2023-10-24T16:05:23.502Z] $ docker exec --env ******** --env ******** 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b ssh-agent -k [2023-10-24T16:05:23.596Z] unset SSH_AUTH_SOCK; [2023-10-24T16:05:23.597Z] unset SSH_AGENT_PID; [2023-10-24T16:05:23.598Z] echo Agent pid 77 killed; [2023-10-24T16:05:23.603Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:05:23.901Z] + git semver [Pipeline] } [2023-10-24T16:05:24.172Z] $ docker stop --time=1 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b [2023-10-24T16:05:25.419Z] $ docker rm -f --volumes 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:05:25.754Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T16:05:25.935Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T16:05:25.937Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.23 [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-10-24T16:05:26.089Z] provisioning config files... [2023-10-24T16:05:26.098Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12980943083448178453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:05:26.396Z] ---> docker-login.sh [2023-10-24T16:05:26.396Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:05:26.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:26.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:26.396Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:26.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:26.396Z] [2023-10-24T16:05:26.396Z] Login Succeeded [2023-10-24T16:05:26.396Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:05:26.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:26.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:26.655Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:26.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:26.655Z] [2023-10-24T16:05:26.655Z] Login Succeeded [2023-10-24T16:05:26.655Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:05:26.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:26.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:26.655Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:26.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:26.655Z] [2023-10-24T16:05:26.655Z] Login Succeeded [2023-10-24T16:05:26.655Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:05:26.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:26.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:26.655Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:26.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:26.655Z] [2023-10-24T16:05:26.655Z] Login Succeeded [2023-10-24T16:05:26.655Z] docker.io [2023-10-24T16:05:26.915Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:05:27.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:05:27.176Z] Configure a credential helper to remove this warning. See [2023-10-24T16:05:27.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:05:27.176Z] [2023-10-24T16:05:27.176Z] Login Succeeded [2023-10-24T16:05:27.176Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:05:27.185Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T16:05:27.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:05:27.262Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:05:27.269Z] ========================================================= [2023-10-24T16:05:27.269Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T16:05:27.269Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:05:27.572Z] + 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-10-24T16:05:27.572Z] Sending build context to Docker daemon 10.93MB [2023-10-24T16:05:27.572Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:05:27.572Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T16:05:27.572Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T16:05:27.572Z] 7264a8db6415: Pulling fs layer [2023-10-24T16:05:27.572Z] c4d48a809fc2: Pulling fs layer [2023-10-24T16:05:27.572Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T16:05:27.572Z] ad3a456e5733: Pulling fs layer [2023-10-24T16:05:27.572Z] 33e27b845d1e: Pulling fs layer [2023-10-24T16:05:27.572Z] c68163c4e522: Pulling fs layer [2023-10-24T16:05:27.572Z] 50da416c3ac9: Pulling fs layer [2023-10-24T16:05:27.572Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T16:05:27.572Z] ad3a456e5733: Waiting [2023-10-24T16:05:27.572Z] 33e27b845d1e: Waiting [2023-10-24T16:05:27.572Z] 50da416c3ac9: Waiting [2023-10-24T16:05:27.572Z] 23d2d4c4bb30: Waiting [2023-10-24T16:05:27.572Z] c68163c4e522: Waiting [2023-10-24T16:05:27.572Z] c4d48a809fc2: Download complete [2023-10-24T16:05:27.836Z] ad3a456e5733: Download complete [2023-10-24T16:05:27.836Z] 33e27b845d1e: Download complete [2023-10-24T16:05:27.836Z] 7264a8db6415: Verifying Checksum [2023-10-24T16:05:27.836Z] 7264a8db6415: Download complete [2023-10-24T16:05:27.836Z] c68163c4e522: Verifying Checksum [2023-10-24T16:05:27.836Z] c68163c4e522: Download complete [2023-10-24T16:05:27.836Z] 7264a8db6415: Pull complete [2023-10-24T16:05:28.094Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T16:05:28.094Z] 23d2d4c4bb30: Download complete [2023-10-24T16:05:28.094Z] c4d48a809fc2: Pull complete [2023-10-24T16:05:28.351Z] 4f1c88b9dad5: Download complete [2023-10-24T16:05:28.607Z] 50da416c3ac9: Verifying Checksum [2023-10-24T16:05:28.607Z] 50da416c3ac9: Download complete [2023-10-24T16:05:31.129Z] 4f1c88b9dad5: Pull complete [2023-10-24T16:05:31.129Z] ad3a456e5733: Pull complete [2023-10-24T16:05:31.129Z] 33e27b845d1e: Pull complete [2023-10-24T16:05:31.385Z] c68163c4e522: Pull complete [2023-10-24T16:05:33.281Z] 50da416c3ac9: Pull complete [2023-10-24T16:05:33.848Z] 23d2d4c4bb30: Pull complete [2023-10-24T16:05:33.848Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T16:05:33.848Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T16:05:33.848Z] ---> 0786185ac409 [2023-10-24T16:05:33.848Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:05:38.035Z] ---> Running in 43f68562c75b [2023-10-24T16:05:38.035Z] Removing intermediate container 43f68562c75b [2023-10-24T16:05:38.035Z] ---> 3eb8f8c7b4ba [2023-10-24T16:05:38.035Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:05:38.035Z] ---> Running in 839f58baa856 [2023-10-24T16:05:38.035Z] Removing intermediate container 839f58baa856 [2023-10-24T16:05:38.035Z] ---> fcde085af581 [2023-10-24T16:05:38.035Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:05:38.035Z] ---> Running in e5fc879ce292 [2023-10-24T16:05:38.035Z] Removing intermediate container e5fc879ce292 [2023-10-24T16:05:38.035Z] ---> ccb465589347 [2023-10-24T16:05:38.035Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:05:38.035Z] ---> Running in e2334fc65b84 [2023-10-24T16:05:38.035Z] Removing intermediate container e2334fc65b84 [2023-10-24T16:05:38.035Z] ---> 0bbd4a13f799 [2023-10-24T16:05:38.035Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:05:38.035Z] ---> Running in fe0103bb6c10 [2023-10-24T16:05:38.035Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T16:05:38.294Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T16:05:38.294Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T16:05:38.294Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T16:05:38.571Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T16:05:38.571Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T16:05:38.571Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:05:38.571Z] OK: 268 MiB in 56 packages [2023-10-24T16:05:38.833Z] Removing intermediate container fe0103bb6c10 [2023-10-24T16:05:38.833Z] ---> db4149070652 [2023-10-24T16:05:38.833Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T16:05:39.092Z] ---> Running in 366d895b2aa6 [2023-10-24T16:05:39.092Z] Removing intermediate container 366d895b2aa6 [2023-10-24T16:05:39.092Z] ---> 933e51bff90d [2023-10-24T16:05:39.092Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T16:05:39.092Z] ---> e61e05419620 [2023-10-24T16:05:39.092Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:05:39.092Z] ---> Running in 20ddcbcf1207 [2023-10-24T16:05:41.045Z] Still waiting to schedule task [2023-10-24T16:05:41.046Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-10-24T16:06:35.326Z] Removing intermediate container 20ddcbcf1207 [2023-10-24T16:06:35.326Z] ---> d0f6ef65ed39 [2023-10-24T16:06:35.326Z] Step 11/12 : COPY . . [2023-10-24T16:06:35.326Z] ---> 3d93de6f813d [2023-10-24T16:06:35.326Z] Step 12/12 : RUN $MAKE [2023-10-24T16:06:35.326Z] ---> Running in 1827ee49a4e0 [2023-10-24T16:06:35.326Z] noop [2023-10-24T16:06:35.326Z] Removing intermediate container 1827ee49a4e0 [2023-10-24T16:06:35.326Z] ---> 4b11361de319 [2023-10-24T16:06:35.326Z] Successfully built 4b11361de319 [2023-10-24T16:06:35.326Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:35.631Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T16:06:35.631Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:06:35.698Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:06:35.726Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-24T16:06:36.026Z] $ docker top 92a7874574e3a82dae208390e012c7fb8cd077d3c40d1ff23c99feb6f65ed07a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:06:36.359Z] + go version [2023-10-24T16:06:36.359Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T16:06:36.374Z] $ docker stop --time=1 92a7874574e3a82dae208390e012c7fb8cd077d3c40d1ff23c99feb6f65ed07a [2023-10-24T16:06:37.628Z] $ docker rm -f --volumes 92a7874574e3a82dae208390e012c7fb8cd077d3c40d1ff23c99feb6f65ed07a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:38.026Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T16:06:38.026Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:06:38.099Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:06:38.131Z] $ 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 ******** ci-base-image-x86_64 cat [2023-10-24T16:06:38.445Z] $ docker top 457dedc899a19c397dceb16c349a19b503b48f659acf62053b083979bfc5d459 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:06:38.785Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-10-24T16:06:39.078Z] + make test [2023-10-24T16:06:39.078Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T16:06:40.449Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T16:06:50.417Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T16:06:50.417Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements [2023-10-24T16:06:55.679Z] go vet ./... [2023-10-24T16:06:58.201Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T16:06:58.201Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T16:06:58.201Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T16:06:58.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T16:06:58.227Z] $ docker stop --time=1 457dedc899a19c397dceb16c349a19b503b48f659acf62053b083979bfc5d459 [2023-10-24T16:07:01.630Z] $ docker rm -f --volumes 457dedc899a19c397dceb16c349a19b503b48f659acf62053b083979bfc5d459 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:07:02.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T16:07:02.136Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T16:07:02.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T16:07:02.867Z] + ls -al . [2023-10-24T16:07:02.867Z] total 184 [2023-10-24T16:07:02.867Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:06 . [2023-10-24T16:07:02.867Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:05 .. [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 16:05 .dockerignore [2023-10-24T16:07:02.867Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:06 .git [2023-10-24T16:07:02.867Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:05 .github [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:05 .gitignore [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:05 .golangci.yml [2023-10-24T16:07:02.867Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:05 .semver [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 16:05 Attribution.txt [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 16:05 CHANGELOG.md [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 16:05 Dockerfile [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:05 GOVERNANCE.md [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 16:05 Jenkinsfile [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:05 LICENSE [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 16:05 Makefile [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:05 OWNERS.md [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 16:05 README.md [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 16:05 VERSION [2023-10-24T16:07:02.867Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:05 bin [2023-10-24T16:07:02.867Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:05 cmd [2023-10-24T16:07:02.867Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 16:06 coverage.out [2023-10-24T16:07:02.867Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:05 driver [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 16:05 go.mod [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:05 go.sum [2023-10-24T16:07:02.867Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 16:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:03.170Z] + 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=758b2bed15a3d13a7bac802538a1e1661ebd32c9 --label arch=amd64 --label version=3.1.0-dev.23 . [2023-10-24T16:07:03.170Z] Sending build context to Docker daemon 10.95MB [2023-10-24T16:07:03.170Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:07:03.170Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T16:07:03.170Z] ---> 4b11361de319 [2023-10-24T16:07:03.170Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:07:03.456Z] ---> Running in 2752aae327ee [2023-10-24T16:07:03.456Z] Removing intermediate container 2752aae327ee [2023-10-24T16:07:03.456Z] ---> 3dec0a9e1f38 [2023-10-24T16:07:03.456Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:07:03.456Z] ---> Running in 59a319833dce [2023-10-24T16:07:03.456Z] Removing intermediate container 59a319833dce [2023-10-24T16:07:03.456Z] ---> a918713abb9b [2023-10-24T16:07:03.456Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:07:03.456Z] ---> Running in fa7da7bf485c [2023-10-24T16:07:03.715Z] Removing intermediate container fa7da7bf485c [2023-10-24T16:07:03.715Z] ---> 9db8838f9548 [2023-10-24T16:07:03.715Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:07:03.715Z] ---> Running in 1bec2680b37f [2023-10-24T16:07:03.715Z] Removing intermediate container 1bec2680b37f [2023-10-24T16:07:03.715Z] ---> 2f5a663b260e [2023-10-24T16:07:03.715Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:07:03.715Z] ---> Running in afe503e4d21a [2023-10-24T16:07:03.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T16:07:04.230Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T16:07:04.489Z] OK: 268 MiB in 56 packages [2023-10-24T16:07:04.747Z] Removing intermediate container afe503e4d21a [2023-10-24T16:07:04.747Z] ---> 34f1ed5ea1ef [2023-10-24T16:07:04.747Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T16:07:04.747Z] ---> Running in 226e0688c01c [2023-10-24T16:07:04.747Z] Removing intermediate container 226e0688c01c [2023-10-24T16:07:04.747Z] ---> c8b73eb1ba24 [2023-10-24T16:07:04.747Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T16:07:05.006Z] ---> 58e1c8f940da [2023-10-24T16:07:05.006Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:07:05.006Z] ---> Running in 80741e226cb1 [2023-10-24T16:07:05.574Z] Removing intermediate container 80741e226cb1 [2023-10-24T16:07:05.574Z] ---> 57315ed69466 [2023-10-24T16:07:05.574Z] Step 11/25 : COPY . . [2023-10-24T16:07:06.140Z] ---> 5b19796a1e7e [2023-10-24T16:07:06.140Z] Step 12/25 : RUN $MAKE [2023-10-24T16:07:06.140Z] ---> Running in 66cedf8750c0 [2023-10-24T16:07:06.140Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T16:07:24.354Z] Removing intermediate container 66cedf8750c0 [2023-10-24T16:07:24.354Z] ---> a7b120ba52eb [2023-10-24T16:07:24.354Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T16:07:24.354Z] 3.18: Pulling from library/alpine [2023-10-24T16:07:24.354Z] 96526aa774ef: Pulling fs layer [2023-10-24T16:07:24.628Z] 96526aa774ef: Verifying Checksum [2023-10-24T16:07:24.628Z] 96526aa774ef: Download complete [2023-10-24T16:07:24.886Z] 96526aa774ef: Pull complete [2023-10-24T16:07:24.886Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T16:07:24.886Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T16:07:24.886Z] ---> 8ca4688f4f35 [2023-10-24T16:07:24.886Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T16:07:24.886Z] ---> Running in e144933cc648 [2023-10-24T16:07:24.886Z] Removing intermediate container e144933cc648 [2023-10-24T16:07:24.886Z] ---> 92695ddfcc81 [2023-10-24T16:07:24.886Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T16:07:25.145Z] ---> Running in 1c4261b4ca82 [2023-10-24T16:07:25.145Z] Removing intermediate container 1c4261b4ca82 [2023-10-24T16:07:25.145Z] ---> b0cc6207d863 [2023-10-24T16:07:25.145Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T16:07:25.145Z] ---> Running in c705d870bf1c [2023-10-24T16:07:25.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T16:07:25.401Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T16:07:25.660Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T16:07:25.660Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:07:25.660Z] OK: 7 MiB in 16 packages [2023-10-24T16:07:25.917Z] Removing intermediate container c705d870bf1c [2023-10-24T16:07:25.917Z] ---> 8c9f0e44edaa [2023-10-24T16:07:25.917Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T16:07:26.852Z] ---> e2ad3c5f715c [2023-10-24T16:07:26.852Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T16:07:26.852Z] ---> 6d26acd5116f [2023-10-24T16:07:26.852Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T16:07:27.110Z] ---> b1f852132498 [2023-10-24T16:07:27.110Z] Step 20/25 : EXPOSE 59986 [2023-10-24T16:07:27.110Z] ---> Running in 3165988427dc [2023-10-24T16:07:27.110Z] Removing intermediate container 3165988427dc [2023-10-24T16:07:27.110Z] ---> b8bc3ef9adda [2023-10-24T16:07:27.110Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T16:07:27.110Z] ---> Running in e376446bc60d [2023-10-24T16:07:27.110Z] Removing intermediate container e376446bc60d [2023-10-24T16:07:27.110Z] ---> b7ef6c118393 [2023-10-24T16:07:27.110Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T16:07:27.110Z] ---> Running in 3191318ee004 [2023-10-24T16:07:27.368Z] Removing intermediate container 3191318ee004 [2023-10-24T16:07:27.368Z] ---> dded606ccd46 [2023-10-24T16:07:27.368Z] Step 23/25 : LABEL arch=amd64 [2023-10-24T16:07:27.368Z] ---> Running in eda116fa3a1f [2023-10-24T16:07:27.368Z] Removing intermediate container eda116fa3a1f [2023-10-24T16:07:27.368Z] ---> d0b0be17d873 [2023-10-24T16:07:27.368Z] Step 24/25 : LABEL git_sha=758b2bed15a3d13a7bac802538a1e1661ebd32c9 [2023-10-24T16:07:27.368Z] ---> Running in ca4df754efae [2023-10-24T16:07:27.368Z] Removing intermediate container ca4df754efae [2023-10-24T16:07:27.368Z] ---> eeb7d0d0cba6 [2023-10-24T16:07:27.368Z] Step 25/25 : LABEL version=3.1.0-dev.23 [2023-10-24T16:07:27.368Z] ---> Running in 25ec0b3b5623 [2023-10-24T16:07:27.626Z] Removing intermediate container 25ec0b3b5623 [2023-10-24T16:07:27.626Z] ---> 4752e28ed179 [2023-10-24T16:07:27.626Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T16:07:27.626Z] Successfully built 4752e28ed179 [2023-10-24T16:07:27.626Z] 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-10-24T16:07:27.712Z] provisioning config files... [2023-10-24T16:07:27.721Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5687837010972890008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:07:28.011Z] ---> docker-login.sh [2023-10-24T16:07:28.011Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:07:28.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:28.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:28.011Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:28.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:28.011Z] [2023-10-24T16:07:28.011Z] Login Succeeded [2023-10-24T16:07:28.011Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:07:28.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:28.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:28.011Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:28.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:28.011Z] [2023-10-24T16:07:28.011Z] Login Succeeded [2023-10-24T16:07:28.011Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:07:28.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:28.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:28.269Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:28.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:28.269Z] [2023-10-24T16:07:28.269Z] Login Succeeded [2023-10-24T16:07:28.269Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:07:28.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:28.269Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:28.269Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:28.269Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:28.269Z] [2023-10-24T16:07:28.269Z] Login Succeeded [2023-10-24T16:07:28.269Z] docker.io [2023-10-24T16:07:28.269Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:07:28.527Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:07:28.527Z] Configure a credential helper to remove this warning. See [2023-10-24T16:07:28.527Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:07:28.527Z] [2023-10-24T16:07:28.527Z] Login Succeeded [2023-10-24T16:07:28.527Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:07:28.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:07:28.560Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:07:28.580Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-10-24T16:07:28.580Z] 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [2023-10-24T16:07:28.580Z] latest [2023-10-24T16:07:28.580Z] 3.1.0-dev.23 [2023-10-24T16:07:28.580Z] 758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [2023-10-24T16:07:28.580Z] main [2023-10-24T16:07:28.580Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:28.888Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:29.197Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9 [2023-10-24T16:07:29.197Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T16:07:29.197Z] d926c574eee1: Preparing [2023-10-24T16:07:29.197Z] d73d06f9812b: Preparing [2023-10-24T16:07:29.197Z] 9bb270cc1872: Preparing [2023-10-24T16:07:29.197Z] 04f9a6c4754b: Preparing [2023-10-24T16:07:29.197Z] cc2447e1835a: Preparing [2023-10-24T16:07:29.197Z] cc2447e1835a: Layer already exists [2023-10-24T16:07:29.197Z] d926c574eee1: Pushed [2023-10-24T16:07:29.197Z] d73d06f9812b: Pushed [2023-10-24T16:07:29.197Z] 04f9a6c4754b: Pushed [2023-10-24T16:07:31.729Z] 9bb270cc1872: Pushed [2023-10-24T16:07:31.729Z] 758b2bed15a3d13a7bac802538a1e1661ebd32c9: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:32.046Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:32.351Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-24T16:07:32.351Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T16:07:32.351Z] d926c574eee1: Preparing [2023-10-24T16:07:32.351Z] d73d06f9812b: Preparing [2023-10-24T16:07:32.351Z] 9bb270cc1872: Preparing [2023-10-24T16:07:32.351Z] 04f9a6c4754b: Preparing [2023-10-24T16:07:32.351Z] cc2447e1835a: Preparing [2023-10-24T16:07:32.351Z] d73d06f9812b: Layer already exists [2023-10-24T16:07:32.351Z] cc2447e1835a: Layer already exists [2023-10-24T16:07:32.351Z] 9bb270cc1872: Layer already exists [2023-10-24T16:07:32.351Z] d926c574eee1: Layer already exists [2023-10-24T16:07:32.351Z] 04f9a6c4754b: Layer already exists [2023-10-24T16:07:32.351Z] latest: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:32.668Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:33.003Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.23 [2023-10-24T16:07:33.003Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T16:07:33.003Z] d926c574eee1: Preparing [2023-10-24T16:07:33.003Z] d73d06f9812b: Preparing [2023-10-24T16:07:33.003Z] 9bb270cc1872: Preparing [2023-10-24T16:07:33.003Z] 04f9a6c4754b: Preparing [2023-10-24T16:07:33.003Z] cc2447e1835a: Preparing [2023-10-24T16:07:33.003Z] d926c574eee1: Layer already exists [2023-10-24T16:07:33.003Z] 04f9a6c4754b: Layer already exists [2023-10-24T16:07:33.003Z] cc2447e1835a: Layer already exists [2023-10-24T16:07:33.003Z] 9bb270cc1872: Layer already exists [2023-10-24T16:07:33.003Z] d73d06f9812b: Layer already exists [2023-10-24T16:07:33.003Z] 3.1.0-dev.23: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:33.321Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:33.635Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [2023-10-24T16:07:33.635Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T16:07:33.635Z] d926c574eee1: Preparing [2023-10-24T16:07:33.635Z] d73d06f9812b: Preparing [2023-10-24T16:07:33.635Z] 9bb270cc1872: Preparing [2023-10-24T16:07:33.635Z] 04f9a6c4754b: Preparing [2023-10-24T16:07:33.635Z] cc2447e1835a: Preparing [2023-10-24T16:07:33.635Z] d73d06f9812b: Layer already exists [2023-10-24T16:07:33.635Z] cc2447e1835a: Layer already exists [2023-10-24T16:07:33.635Z] d926c574eee1: Layer already exists [2023-10-24T16:07:33.635Z] 9bb270cc1872: Layer already exists [2023-10-24T16:07:33.635Z] 04f9a6c4754b: Layer already exists [2023-10-24T16:07:33.635Z] 758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:33.950Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:34.250Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-10-24T16:07:34.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-10-24T16:07:34.250Z] d926c574eee1: Preparing [2023-10-24T16:07:34.250Z] d73d06f9812b: Preparing [2023-10-24T16:07:34.250Z] 9bb270cc1872: Preparing [2023-10-24T16:07:34.250Z] 04f9a6c4754b: Preparing [2023-10-24T16:07:34.250Z] cc2447e1835a: Preparing [2023-10-24T16:07:34.250Z] d73d06f9812b: Layer already exists [2023-10-24T16:07:34.250Z] 04f9a6c4754b: Layer already exists [2023-10-24T16:07:34.250Z] cc2447e1835a: Layer already exists [2023-10-24T16:07:34.250Z] d926c574eee1: Layer already exists [2023-10-24T16:07:34.250Z] 9bb270cc1872: Layer already exists [2023-10-24T16:07:34.251Z] main: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:07:34.311Z] ===================================================== [Pipeline] echo [2023-10-24T16:07:34.325Z] taggedImages: [2023-10-24T16:07:34.325Z] - nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9 [2023-10-24T16:07:34.325Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-10-24T16:07:34.325Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.23 [2023-10-24T16:07:34.325Z] - nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [2023-10-24T16:07:34.325Z] - 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-10-24T16:07:34.696Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:07:34.696Z] [2023-10-24T16:07:34.696Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:07:34.993Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:07:34.993Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T16:07:34.993Z] 5eb5b503b376: Pulling fs layer [2023-10-24T16:07:34.993Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T16:07:34.993Z] ec43610c2a17: Pulling fs layer [2023-10-24T16:07:34.993Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T16:07:34.993Z] 33b1e0a273af: Pulling fs layer [2023-10-24T16:07:34.993Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T16:07:34.993Z] 2f39f015ded8: Pulling fs layer [2023-10-24T16:07:34.993Z] 3a2ae6a8a46f: Waiting [2023-10-24T16:07:34.993Z] 2f39f015ded8: Waiting [2023-10-24T16:07:34.993Z] 5d3b04190fa2: Waiting [2023-10-24T16:07:34.993Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T16:07:34.993Z] 5c69ac0246d0: Download complete [2023-10-24T16:07:34.993Z] 33b1e0a273af: Verifying Checksum [2023-10-24T16:07:34.993Z] 33b1e0a273af: Download complete [2023-10-24T16:07:34.993Z] ec43610c2a17: Verifying Checksum [2023-10-24T16:07:34.993Z] ec43610c2a17: Download complete [2023-10-24T16:07:34.993Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T16:07:34.993Z] 5d3b04190fa2: Download complete [2023-10-24T16:07:35.251Z] 5eb5b503b376: Verifying Checksum [2023-10-24T16:07:35.251Z] 5eb5b503b376: Download complete [2023-10-24T16:07:35.821Z] 2f39f015ded8: Verifying Checksum [2023-10-24T16:07:35.821Z] 2f39f015ded8: Download complete [2023-10-24T16:07:36.387Z] 5eb5b503b376: Pull complete [2023-10-24T16:07:36.387Z] 5c69ac0246d0: Pull complete [2023-10-24T16:07:36.953Z] ec43610c2a17: Pull complete [2023-10-24T16:07:36.953Z] 3a2ae6a8a46f: Pull complete [2023-10-24T16:07:37.209Z] 33b1e0a273af: Pull complete [2023-10-24T16:07:37.209Z] 5d3b04190fa2: Pull complete [2023-10-24T16:07:41.383Z] 2f39f015ded8: Pull complete [2023-10-24T16:07:41.383Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T16:07:41.383Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:07:41.383Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:07:41.462Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:07:41.486Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T16:07:46.005Z] $ docker top a65aa6868f184619495bb8fe4dba117d460982dcc0bade24be82613650f779fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:07:46.380Z] ---> job-cost.sh [2023-10-24T16:07:46.380Z] lf-activate-venv: SKIPPING [2023-10-24T16:07:46.380Z] INFO: No Stack... [2023-10-24T16:07:46.638Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T16:07:46.897Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T16:07:47.183Z] + + cut -d, -f6 [2023-10-24T16:07:47.183Z] cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock [2023-10-24T16:07:47.197Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [2023-10-24T16:07:47.202Z] Resource [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] did not exist. Created. [2023-10-24T16:07:47.203Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:07:47.507Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T16:07:47.534Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T16:07:47.541Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T16:07:47.559Z] $ docker stop --time=1 a65aa6868f184619495bb8fe4dba117d460982dcc0bade24be82613650f779fc [2023-10-24T16:07:48.705Z] $ docker rm -f --volumes a65aa6868f184619495bb8fe4dba117d460982dcc0bade24be82613650f779fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-10-24T16:08:09.054Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9956 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-10-24T16:08:09.068Z] Running in /w/workspace/device-rest-go/143 [Pipeline] { [Pipeline] checkout [2023-10-24T16:08:09.104Z] The recommended git tool is: git [2023-10-24T16:08:15.611Z] using credential edgex-jenkins-ssh [2023-10-24T16:08:15.628Z] Cloning the remote Git repository [2023-10-24T16:08:15.704Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T16:08:15.848Z] > git init /w/workspace/device-rest-go/143 # timeout=10 [2023-10-24T16:08:16.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T16:08:16.034Z] > git --version # timeout=10 [2023-10-24T16:08:16.055Z] > git --version # 'git version 2.25.1' [2023-10-24T16:08:16.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T16:08:16.254Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T16:08:18.297Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-24T16:08:18.324Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T16:08:19.751Z] Avoid second fetch [2023-10-24T16:08:19.751Z] Checking out Revision 758b2bed15a3d13a7bac802538a1e1661ebd32c9 (main) [2023-10-24T16:08:20.502Z] Commit message: "feat!: Remove snap packaging (#353)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T16:08:19.775Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T16:08:19.872Z] > git checkout -f 758b2bed15a3d13a7bac802538a1e1661ebd32c9 # timeout=10 [2023-10-24T16:08:21.526Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T16:08:21.526Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T16:08:21.526Z] Dload Upload Total Spent Left Speed [2023-10-24T16:08:21.526Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 157k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh [2023-10-24T16:08:22.281Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T16:08:22.629Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-10-24T16:08:22.629Z] + sudo tee /etc/docker/daemon.new [2023-10-24T16:08:22.629Z] { [2023-10-24T16:08:22.629Z] "registry-mirrors": [ [2023-10-24T16:08:22.629Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T16:08:22.629Z] ], [2023-10-24T16:08:22.629Z] "bip": "10.250.0.254/24", [2023-10-24T16:08:22.629Z] "hosts": [ [2023-10-24T16:08:22.629Z] "tcp://0.0.0.0:5555", [2023-10-24T16:08:22.629Z] "unix:///var/run/docker.sock" [2023-10-24T16:08:22.629Z] ], [2023-10-24T16:08:22.629Z] "mtu": 1458, [2023-10-24T16:08:22.629Z] "selinux-enabled": true, [2023-10-24T16:08:22.629Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T16:08:22.629Z] } [Pipeline] sh [2023-10-24T16:08:22.973Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T16:08:23.333Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:08:41.638Z] provisioning config files... [2023-10-24T16:08:41.662Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/143@tmp/config4853738981762143501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:08:42.020Z] ---> docker-login.sh [2023-10-24T16:08:42.020Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:08:42.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:08:42.888Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:08:42.888Z] Configure a credential helper to remove this warning. See [2023-10-24T16:08:42.888Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:08:42.888Z] [2023-10-24T16:08:42.888Z] Login Succeeded [2023-10-24T16:08:42.888Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:08:43.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:08:43.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:08:43.160Z] Configure a credential helper to remove this warning. See [2023-10-24T16:08:43.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:08:43.160Z] [2023-10-24T16:08:43.160Z] Login Succeeded [2023-10-24T16:08:43.160Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:08:43.427Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:08:43.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:08:43.700Z] Configure a credential helper to remove this warning. See [2023-10-24T16:08:43.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:08:43.700Z] [2023-10-24T16:08:43.700Z] Login Succeeded [2023-10-24T16:08:43.700Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:08:43.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:08:43.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:08:43.972Z] Configure a credential helper to remove this warning. See [2023-10-24T16:08:43.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:08:43.972Z] [2023-10-24T16:08:43.972Z] Login Succeeded [2023-10-24T16:08:43.972Z] docker.io [2023-10-24T16:08:44.243Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:08:44.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:08:44.513Z] Configure a credential helper to remove this warning. See [2023-10-24T16:08:44.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:08:44.513Z] [2023-10-24T16:08:44.513Z] Login Succeeded [2023-10-24T16:08:44.513Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:08:44.528Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T16:08:44.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:08:44.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:08:44.889Z] ========================================================= [2023-10-24T16:08:44.889Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T16:08:44.889Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:08:45.230Z] + 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-10-24T16:08:45.230Z] Sending build context to Docker daemon 122.4kB [2023-10-24T16:08:45.501Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:08:45.501Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T16:08:45.501Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T16:08:45.501Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T16:08:45.501Z] 5d54e960e981: Pulling fs layer [2023-10-24T16:08:45.501Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T16:08:45.788Z] f0e02332f6b5: Pulling fs layer [2023-10-24T16:08:45.788Z] cefa15bbcfad: Pulling fs layer [2023-10-24T16:08:45.788Z] 17808c966233: Pulling fs layer [2023-10-24T16:08:45.788Z] f4c1fc716caa: Pulling fs layer [2023-10-24T16:08:45.788Z] cefa15bbcfad: Waiting [2023-10-24T16:08:45.788Z] 17808c966233: Waiting [2023-10-24T16:08:45.788Z] f4c1fc716caa: Waiting [2023-10-24T16:08:45.788Z] f0e02332f6b5: Waiting [2023-10-24T16:08:45.788Z] 5d54e960e981: Verifying Checksum [2023-10-24T16:08:45.788Z] 5d54e960e981: Download complete [2023-10-24T16:08:45.788Z] f0e02332f6b5: Download complete [2023-10-24T16:08:45.788Z] cefa15bbcfad: Download complete [2023-10-24T16:08:45.788Z] 9fda8d8052c6: Download complete [2023-10-24T16:08:46.383Z] f4c1fc716caa: Verifying Checksum [2023-10-24T16:08:46.383Z] f4c1fc716caa: Download complete [2023-10-24T16:08:46.984Z] 9fda8d8052c6: Pull complete [2023-10-24T16:08:47.588Z] 5d54e960e981: Pull complete [2023-10-24T16:08:47.856Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T16:08:47.856Z] c4a7e357bf2a: Download complete [2023-10-24T16:08:48.830Z] 17808c966233: Download complete [2023-10-24T16:09:01.383Z] c4a7e357bf2a: Pull complete [2023-10-24T16:09:01.383Z] f0e02332f6b5: Pull complete [2023-10-24T16:09:01.383Z] cefa15bbcfad: Pull complete [2023-10-24T16:09:11.567Z] 17808c966233: Pull complete [2023-10-24T16:09:12.286Z] f4c1fc716caa: Pull complete [2023-10-24T16:09:12.286Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T16:09:12.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T16:09:12.286Z] ---> ea914061e18c [2023-10-24T16:09:12.286Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:09:14.945Z] ---> Running in cf4d1fa5eb08 [2023-10-24T16:09:15.218Z] Removing intermediate container cf4d1fa5eb08 [2023-10-24T16:09:15.218Z] ---> c9f971727bce [2023-10-24T16:09:15.218Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:09:15.218Z] ---> Running in b0594090b7b1 [2023-10-24T16:09:15.815Z] Removing intermediate container b0594090b7b1 [2023-10-24T16:09:15.815Z] ---> 84df081b07a2 [2023-10-24T16:09:15.815Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:09:15.815Z] ---> Running in 2c3567518f5a [2023-10-24T16:09:16.086Z] Removing intermediate container 2c3567518f5a [2023-10-24T16:09:16.086Z] ---> 8225d8621289 [2023-10-24T16:09:16.086Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:09:16.356Z] ---> Running in 64fb478aac84 [2023-10-24T16:09:16.628Z] Removing intermediate container 64fb478aac84 [2023-10-24T16:09:16.628Z] ---> 7f50f497d11a [2023-10-24T16:09:16.628Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:09:16.905Z] ---> Running in 65f1f8d7c585 [2023-10-24T16:09:18.341Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:09:22.599Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:09:23.188Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T16:09:23.188Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T16:09:23.188Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T16:09:23.463Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T16:09:23.463Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:09:23.463Z] OK: 270 MiB in 56 packages [2023-10-24T16:09:24.902Z] Removing intermediate container 65f1f8d7c585 [2023-10-24T16:09:24.902Z] ---> 5b57c1fac150 [2023-10-24T16:09:24.902Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T16:09:24.902Z] ---> Running in 0b73e9eb00ef [2023-10-24T16:09:25.173Z] Removing intermediate container 0b73e9eb00ef [2023-10-24T16:09:25.173Z] ---> b4229ba307e4 [2023-10-24T16:09:25.173Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T16:09:25.770Z] ---> 19ae7f5227c9 [2023-10-24T16:09:25.770Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:09:26.040Z] ---> Running in 86b7100f6e6c [2023-10-24T16:11:17.810Z] Removing intermediate container 86b7100f6e6c [2023-10-24T16:11:17.810Z] ---> 43e28223a3eb [2023-10-24T16:11:17.810Z] Step 11/12 : COPY . . [2023-10-24T16:11:17.810Z] ---> 74d78c7ae8f0 [2023-10-24T16:11:17.810Z] Step 12/12 : RUN $MAKE [2023-10-24T16:11:17.810Z] ---> Running in 9f2e2a4e3594 [2023-10-24T16:11:17.810Z] noop [2023-10-24T16:11:17.810Z] Removing intermediate container 9f2e2a4e3594 [2023-10-24T16:11:17.810Z] ---> 1b3ad1f3521c [2023-10-24T16:11:17.810Z] Successfully built 1b3ad1f3521c [2023-10-24T16:11:17.810Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:11:18.183Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T16:11:18.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:11:18.660Z] prd-ubuntu20.04-docker-arm64-4c-16g-9956 does not seem to be running inside a container [2023-10-24T16:11:18.737Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/143 -v /w/workspace/device-rest-go/143:/w/workspace/device-rest-go/143:rw,z -v /w/workspace/device-rest-go/143@tmp:/w/workspace/device-rest-go/143@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-10-24T16:11:20.103Z] $ docker top 96a08f9c488d885d81b2225388e921dc6f591c39bc4957b57f5d8b133e183a7b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:11:20.968Z] + go version [2023-10-24T16:11:20.968Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T16:11:20.995Z] $ docker stop --time=1 96a08f9c488d885d81b2225388e921dc6f591c39bc4957b57f5d8b133e183a7b [2023-10-24T16:11:22.727Z] $ docker rm -f --volumes 96a08f9c488d885d81b2225388e921dc6f591c39bc4957b57f5d8b133e183a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:11:23.272Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T16:11:23.272Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:11:23.510Z] prd-ubuntu20.04-docker-arm64-4c-16g-9956 does not seem to be running inside a container [2023-10-24T16:11:23.607Z] $ 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/143 -v /w/workspace/device-rest-go/143:/w/workspace/device-rest-go/143:rw,z -v /w/workspace/device-rest-go/143@tmp:/w/workspace/device-rest-go/143@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-10-24T16:11:25.159Z] $ docker top 5ea0e7951207f407fff89d059cba39f8d500d6398537b54004a5a9463c62004b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:11:26.070Z] + git config --global --add safe.directory /w/workspace/device-rest-go/143 [Pipeline] fileExists [Pipeline] sh [2023-10-24T16:11:26.771Z] + make test [2023-10-24T16:11:26.771Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T16:11:32.146Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T16:14:24.019Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T16:14:24.019Z] ok github.com/edgexfoundry/device-rest-go/driver 0.080s coverage: 33.2% of statements [2023-10-24T16:14:24.019Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T16:14:24.019Z] go vet ./... [2023-10-24T16:14:46.150Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T16:14:46.150Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T16:14:46.150Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T16:14:46.173Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T16:14:46.188Z] $ docker stop --time=1 5ea0e7951207f407fff89d059cba39f8d500d6398537b54004a5a9463c62004b [2023-10-24T16:14:48.282Z] $ docker rm -f --volumes 5ea0e7951207f407fff89d059cba39f8d500d6398537b54004a5a9463c62004b [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:14:49.918Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T16:14:49.937Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T16:14:50.619Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T16:14:51.036Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T16:14:51.386Z] + ls -al . [2023-10-24T16:14:51.386Z] total 180 [2023-10-24T16:14:51.386Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 16:11 . [2023-10-24T16:14:51.386Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:08 .. [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 16:08 .dockerignore [2023-10-24T16:14:51.386Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:08 .git [2023-10-24T16:14:51.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:08 .github [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:08 .gitignore [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:08 .golangci.yml [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 16:08 Attribution.txt [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 16:08 CHANGELOG.md [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 16:08 Dockerfile [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:08 GOVERNANCE.md [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 16:08 Jenkinsfile [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:08 LICENSE [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 16:08 Makefile [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:08 OWNERS.md [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 16:08 README.md [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 16:05 VERSION [2023-10-24T16:14:51.386Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:08 bin [2023-10-24T16:14:51.386Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:08 cmd [2023-10-24T16:14:51.386Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 16:14 coverage.out [2023-10-24T16:14:51.386Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:08 driver [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 16:08 go.mod [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:08 go.sum [2023-10-24T16:14:51.386Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 16:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:14:51.759Z] + 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=758b2bed15a3d13a7bac802538a1e1661ebd32c9 --label arch=arm64 --label version=3.1.0-dev.23 . [2023-10-24T16:14:51.759Z] Sending build context to Docker daemon 137.7kB [2023-10-24T16:14:52.040Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:14:52.040Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T16:14:52.040Z] ---> 1b3ad1f3521c [2023-10-24T16:14:52.040Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:14:52.312Z] ---> Running in 28585ada044e [2023-10-24T16:14:52.595Z] Removing intermediate container 28585ada044e [2023-10-24T16:14:52.595Z] ---> f03b08fa5a6a [2023-10-24T16:14:52.595Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:14:52.877Z] ---> Running in ddc451e16007 [2023-10-24T16:14:53.159Z] Removing intermediate container ddc451e16007 [2023-10-24T16:14:53.159Z] ---> 03434c19fff9 [2023-10-24T16:14:53.159Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:14:53.159Z] ---> Running in 85bdc33c4b08 [2023-10-24T16:14:53.755Z] Removing intermediate container 85bdc33c4b08 [2023-10-24T16:14:53.755Z] ---> e83aa10f2dcd [2023-10-24T16:14:53.755Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:14:53.755Z] ---> Running in ff94672ad928 [2023-10-24T16:14:54.036Z] Removing intermediate container ff94672ad928 [2023-10-24T16:14:54.036Z] ---> b5908175079f [2023-10-24T16:14:54.036Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:14:54.309Z] ---> Running in cd9bbda6fa91 [2023-10-24T16:14:55.736Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:14:56.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:14:57.454Z] OK: 270 MiB in 56 packages [2023-10-24T16:14:58.885Z] Removing intermediate container cd9bbda6fa91 [2023-10-24T16:14:58.885Z] ---> e060c156a2a3 [2023-10-24T16:14:58.885Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T16:14:58.885Z] ---> Running in 92805981c59d [2023-10-24T16:14:59.156Z] Removing intermediate container 92805981c59d [2023-10-24T16:14:59.156Z] ---> 2b082e7cc760 [2023-10-24T16:14:59.156Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T16:15:00.149Z] ---> a02b9212a605 [2023-10-24T16:15:00.149Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:15:00.149Z] ---> Running in 1bc5fd8851ae [2023-10-24T16:15:04.448Z] Removing intermediate container 1bc5fd8851ae [2023-10-24T16:15:04.449Z] ---> e9e1f08a96f3 [2023-10-24T16:15:04.449Z] Step 11/25 : COPY . . [2023-10-24T16:15:04.449Z] ---> e527cb802ad0 [2023-10-24T16:15:04.449Z] Step 12/25 : RUN $MAKE [2023-10-24T16:15:04.726Z] ---> Running in 10579f1652b2 [2023-10-24T16:15:06.140Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T16:17:35.915Z] Removing intermediate container 10579f1652b2 [2023-10-24T16:17:35.915Z] ---> c4331e4ab735 [2023-10-24T16:17:35.915Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T16:17:35.915Z] 3.18: Pulling from library/alpine [2023-10-24T16:17:35.915Z] 579b34f0a95b: Pulling fs layer [2023-10-24T16:17:35.915Z] 579b34f0a95b: Download complete [2023-10-24T16:17:36.187Z] 579b34f0a95b: Pull complete [2023-10-24T16:17:36.187Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T16:17:36.187Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T16:17:36.187Z] ---> 3cc203321400 [2023-10-24T16:17:36.187Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T16:17:36.187Z] ---> Running in b5564de85462 [2023-10-24T16:17:36.781Z] Removing intermediate container b5564de85462 [2023-10-24T16:17:36.781Z] ---> 8fe07880e090 [2023-10-24T16:17:36.781Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T16:17:36.781Z] ---> Running in 1ba53970d6f3 [2023-10-24T16:17:37.055Z] Removing intermediate container 1ba53970d6f3 [2023-10-24T16:17:37.055Z] ---> 009a3ed8625c [2023-10-24T16:17:37.055Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T16:17:37.329Z] ---> Running in e9645f05a1d6 [2023-10-24T16:17:38.748Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:17:39.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:17:40.442Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T16:17:40.442Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:17:40.442Z] OK: 8 MiB in 16 packages [2023-10-24T16:17:41.864Z] Removing intermediate container e9645f05a1d6 [2023-10-24T16:17:41.864Z] ---> 3212a1db387e [2023-10-24T16:17:41.864Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T16:17:43.830Z] ---> 5426df619a77 [2023-10-24T16:17:43.830Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T16:17:44.423Z] ---> 14ad33c84e16 [2023-10-24T16:17:44.423Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T16:17:45.013Z] ---> e97cfaf5c668 [2023-10-24T16:17:45.013Z] Step 20/25 : EXPOSE 59986 [2023-10-24T16:17:45.013Z] ---> Running in 699c3f488961 [2023-10-24T16:17:48.382Z] Removing intermediate container 699c3f488961 [2023-10-24T16:17:48.382Z] ---> 28666f24703d [2023-10-24T16:17:48.382Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T16:17:48.382Z] ---> Running in fb1f1048e560 [2023-10-24T16:17:48.968Z] Removing intermediate container fb1f1048e560 [2023-10-24T16:17:48.968Z] ---> 19ba90d4f9c1 [2023-10-24T16:17:48.968Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T16:17:48.968Z] ---> Running in 24d50de510ca [2023-10-24T16:17:49.243Z] Removing intermediate container 24d50de510ca [2023-10-24T16:17:49.243Z] ---> a5883e36a205 [2023-10-24T16:17:49.243Z] Step 23/25 : LABEL arch=arm64 [2023-10-24T16:17:49.512Z] ---> Running in 8282f3d830f8 [2023-10-24T16:17:49.783Z] Removing intermediate container 8282f3d830f8 [2023-10-24T16:17:49.783Z] ---> 66aded8c1312 [2023-10-24T16:17:49.783Z] Step 24/25 : LABEL git_sha=758b2bed15a3d13a7bac802538a1e1661ebd32c9 [2023-10-24T16:17:50.054Z] ---> Running in e8c656309e35 [2023-10-24T16:17:50.329Z] Removing intermediate container e8c656309e35 [2023-10-24T16:17:50.329Z] ---> fac9b0d87fcf [2023-10-24T16:17:50.329Z] Step 25/25 : LABEL version=3.1.0-dev.23 [2023-10-24T16:17:50.599Z] ---> Running in a14590403920 [2023-10-24T16:17:50.868Z] Removing intermediate container a14590403920 [2023-10-24T16:17:50.868Z] ---> 784f2fc45e68 [2023-10-24T16:17:50.868Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T16:17:50.868Z] Successfully built 784f2fc45e68 [2023-10-24T16:17:50.868Z] 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-10-24T16:17:50.996Z] provisioning config files... [2023-10-24T16:17:51.013Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/143@tmp/config7924087820382785507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:17:51.370Z] ---> docker-login.sh [2023-10-24T16:17:51.370Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:17:51.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:17:51.641Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:17:51.641Z] Configure a credential helper to remove this warning. See [2023-10-24T16:17:51.641Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:17:51.641Z] [2023-10-24T16:17:51.641Z] Login Succeeded [2023-10-24T16:17:51.641Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:17:52.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:17:52.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:17:52.234Z] Configure a credential helper to remove this warning. See [2023-10-24T16:17:52.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:17:52.234Z] [2023-10-24T16:17:52.234Z] Login Succeeded [2023-10-24T16:17:52.234Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:17:52.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:17:52.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:17:52.603Z] Configure a credential helper to remove this warning. See [2023-10-24T16:17:52.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:17:52.603Z] [2023-10-24T16:17:52.603Z] Login Succeeded [2023-10-24T16:17:52.603Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:17:53.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:17:53.207Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:17:53.207Z] Configure a credential helper to remove this warning. See [2023-10-24T16:17:53.207Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:17:53.207Z] [2023-10-24T16:17:53.207Z] Login Succeeded [2023-10-24T16:17:53.207Z] docker.io [2023-10-24T16:17:53.526Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:17:53.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:17:53.807Z] Configure a credential helper to remove this warning. See [2023-10-24T16:17:53.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:17:53.807Z] [2023-10-24T16:17:53.807Z] Login Succeeded [2023-10-24T16:17:53.807Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:17:53.825Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:17:53.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:17:53.890Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-10-24T16:17:53.890Z] 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [2023-10-24T16:17:53.890Z] latest [2023-10-24T16:17:53.890Z] 3.1.0-dev.23 [2023-10-24T16:17:53.890Z] 758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [2023-10-24T16:17:53.890Z] main [2023-10-24T16:17:53.890Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:17:54.274Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:17:54.694Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9 [2023-10-24T16:17:54.694Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T16:17:54.694Z] c29a49ad3b05: Preparing [2023-10-24T16:17:54.694Z] 5ef9696bbd51: Preparing [2023-10-24T16:17:54.694Z] d4374279f3d4: Preparing [2023-10-24T16:17:54.694Z] ed111c20d494: Preparing [2023-10-24T16:17:54.694Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:17:54.993Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:17:54.993Z] c29a49ad3b05: Pushed [2023-10-24T16:17:54.993Z] ed111c20d494: Pushed [2023-10-24T16:17:54.993Z] 5ef9696bbd51: Pushed [2023-10-24T16:18:01.684Z] d4374279f3d4: Pushed [2023-10-24T16:18:01.956Z] 758b2bed15a3d13a7bac802538a1e1661ebd32c9: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:02.343Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:02.712Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-24T16:18:02.713Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T16:18:02.713Z] c29a49ad3b05: Preparing [2023-10-24T16:18:02.713Z] 5ef9696bbd51: Preparing [2023-10-24T16:18:02.713Z] d4374279f3d4: Preparing [2023-10-24T16:18:02.713Z] ed111c20d494: Preparing [2023-10-24T16:18:02.713Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:18:02.713Z] 5ef9696bbd51: Layer already exists [2023-10-24T16:18:02.713Z] d4374279f3d4: Layer already exists [2023-10-24T16:18:02.713Z] c29a49ad3b05: Layer already exists [2023-10-24T16:18:02.713Z] ed111c20d494: Layer already exists [2023-10-24T16:18:02.713Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:18:02.980Z] latest: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:03.342Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:03.716Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.23 [2023-10-24T16:18:03.716Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T16:18:03.716Z] c29a49ad3b05: Preparing [2023-10-24T16:18:03.716Z] 5ef9696bbd51: Preparing [2023-10-24T16:18:03.716Z] d4374279f3d4: Preparing [2023-10-24T16:18:03.716Z] ed111c20d494: Preparing [2023-10-24T16:18:03.716Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:18:03.716Z] c29a49ad3b05: Layer already exists [2023-10-24T16:18:03.716Z] d4374279f3d4: Layer already exists [2023-10-24T16:18:03.716Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:18:03.716Z] 5ef9696bbd51: Layer already exists [2023-10-24T16:18:03.716Z] ed111c20d494: Layer already exists [2023-10-24T16:18:04.680Z] 3.1.0-dev.23: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:05.047Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:05.406Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [2023-10-24T16:18:05.407Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T16:18:05.407Z] c29a49ad3b05: Preparing [2023-10-24T16:18:05.407Z] 5ef9696bbd51: Preparing [2023-10-24T16:18:05.407Z] d4374279f3d4: Preparing [2023-10-24T16:18:05.407Z] ed111c20d494: Preparing [2023-10-24T16:18:05.407Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:18:05.407Z] ed111c20d494: Layer already exists [2023-10-24T16:18:05.407Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:18:05.407Z] 5ef9696bbd51: Layer already exists [2023-10-24T16:18:05.407Z] c29a49ad3b05: Layer already exists [2023-10-24T16:18:05.407Z] d4374279f3d4: Layer already exists [2023-10-24T16:18:05.993Z] 758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:06.345Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:06.703Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-10-24T16:18:06.703Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-10-24T16:18:06.703Z] c29a49ad3b05: Preparing [2023-10-24T16:18:06.703Z] 5ef9696bbd51: Preparing [2023-10-24T16:18:06.703Z] d4374279f3d4: Preparing [2023-10-24T16:18:06.703Z] ed111c20d494: Preparing [2023-10-24T16:18:06.703Z] 5f4d9fc4d98d: Preparing [2023-10-24T16:18:06.703Z] 5ef9696bbd51: Layer already exists [2023-10-24T16:18:06.703Z] 5f4d9fc4d98d: Layer already exists [2023-10-24T16:18:06.703Z] ed111c20d494: Layer already exists [2023-10-24T16:18:06.703Z] d4374279f3d4: Layer already exists [2023-10-24T16:18:06.703Z] c29a49ad3b05: Layer already exists [2023-10-24T16:18:07.291Z] main: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-10-24T16:18:07.341Z] ===================================================== [Pipeline] echo [2023-10-24T16:18:07.347Z] taggedImages: [2023-10-24T16:18:07.347Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9 [2023-10-24T16:18:07.347Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-10-24T16:18:07.347Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.23 [2023-10-24T16:18:07.347Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [2023-10-24T16:18:07.347Z] - 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-10-24T16:18:07.734Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:18:07.734Z] [2023-10-24T16:18:07.734Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:08.124Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:18:08.394Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T16:18:08.394Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T16:18:08.394Z] 04944245beec: Pulling fs layer [2023-10-24T16:18:08.394Z] 699f458cf7ca: Pulling fs layer [2023-10-24T16:18:08.394Z] 765212b225bb: Pulling fs layer [2023-10-24T16:18:08.394Z] f23df028b6ca: Pulling fs layer [2023-10-24T16:18:08.394Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T16:18:08.394Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T16:18:08.394Z] f23df028b6ca: Waiting [2023-10-24T16:18:08.394Z] d65c8cfc05b1: Waiting [2023-10-24T16:18:08.394Z] 2437ff75d9bd: Waiting [2023-10-24T16:18:08.394Z] 765212b225bb: Waiting [2023-10-24T16:18:08.394Z] 04944245beec: Verifying Checksum [2023-10-24T16:18:08.394Z] 04944245beec: Download complete [2023-10-24T16:18:08.394Z] 765212b225bb: Verifying Checksum [2023-10-24T16:18:08.394Z] 765212b225bb: Download complete [2023-10-24T16:18:08.394Z] f23df028b6ca: Verifying Checksum [2023-10-24T16:18:08.394Z] f23df028b6ca: Download complete [2023-10-24T16:18:08.394Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T16:18:08.394Z] d65c8cfc05b1: Download complete [2023-10-24T16:18:08.669Z] 699f458cf7ca: Verifying Checksum [2023-10-24T16:18:08.669Z] 699f458cf7ca: Download complete [2023-10-24T16:18:08.943Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T16:18:08.943Z] 8998bd30e6a1: Download complete [2023-10-24T16:18:12.328Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T16:18:12.328Z] 2437ff75d9bd: Download complete [2023-10-24T16:18:14.290Z] 8998bd30e6a1: Pull complete [2023-10-24T16:18:16.882Z] 04944245beec: Pull complete [2023-10-24T16:18:18.837Z] 699f458cf7ca: Pull complete [2023-10-24T16:18:18.837Z] 765212b225bb: Pull complete [2023-10-24T16:18:19.800Z] f23df028b6ca: Pull complete [2023-10-24T16:18:20.067Z] d65c8cfc05b1: Pull complete [2023-10-24T16:18:38.291Z] 2437ff75d9bd: Pull complete [2023-10-24T16:18:38.292Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T16:18:38.292Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:18:38.292Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:18:38.548Z] prd-ubuntu20.04-docker-arm64-4c-16g-9956 does not seem to be running inside a container [2023-10-24T16:18:38.646Z] $ 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/143 -v /w/workspace/device-rest-go/143:/w/workspace/device-rest-go/143:rw,z -v /w/workspace/device-rest-go/143@tmp:/w/workspace/device-rest-go/143@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-10-24T16:18:42.077Z] $ docker top 0921335ac2cb455fd78cb42d39ed99b57236224ff8e8f4307ef667608a6fdde2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:18:42.949Z] ---> job-cost.sh [2023-10-24T16:18:42.949Z] lf-activate-venv: SKIPPING [2023-10-24T16:18:42.949Z] INFO: No Stack... [2023-10-24T16:18:43.543Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T16:18:44.126Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T16:18:44.761Z] + cat /w/workspace/device-rest-go/143/archives/cost.csv [2023-10-24T16:18:44.761Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T16:18:44.834Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [2023-10-24T16:18:44.842Z] Resource [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] did not exist. Created. [2023-10-24T16:18:44.843Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:18:45.499Z] /w/workspace/device-rest-go/143@tmp/durable-b0c04f2e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T16:18:46.155Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T16:18:46.173Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T16:18:46.228Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T16:18:46.235Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T16:18:46.251Z] $ docker stop --time=1 0921335ac2cb455fd78cb42d39ed99b57236224ff8e8f4307ef667608a6fdde2 [2023-10-24T16:18:47.813Z] $ docker rm -f --volumes 0921335ac2cb455fd78cb42d39ed99b57236224ff8e8f4307ef667608a6fdde2 [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-10-24T16:18:48.266Z] provisioning config files... [2023-10-24T16:18:48.272Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18070116436698905246tmp [Pipeline] { [Pipeline] sh [2023-10-24T16:18:48.565Z] + set +x [2023-10-24T16:18:48.565Z] + curl -s https://codecov.io/bash [2023-10-24T16:18:48.565Z] + bash -s -- [2023-10-24T16:18:48.565Z] [2023-10-24T16:18:48.565Z] _____ _ [2023-10-24T16:18:48.565Z] / ____| | | [2023-10-24T16:18:48.565Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T16:18:48.565Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T16:18:48.565Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T16:18:48.565Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T16:18:48.565Z] Bash-1.0.6 [2023-10-24T16:18:48.565Z] [2023-10-24T16:18:48.565Z] [2023-10-24T16:18:48.565Z] ==> git version 2.25.1 found [2023-10-24T16:18:48.565Z] ==> 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-10-24T16:18:48.565Z] Release-Date: 2020-01-08 [2023-10-24T16:18:48.565Z] 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-10-24T16:18:48.565Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T16:18:48.565Z] ==> Jenkins CI detected. [2023-10-24T16:18:48.565Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-10-24T16:18:48.565Z] project root: . [2023-10-24T16:18:48.565Z] --> token set from env [2023-10-24T16:18:48.565Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T16:18:48.565Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T16:18:48.565Z] ==> Python coveragepy not found [2023-10-24T16:18:48.565Z] ==> Searching for coverage reports in: [2023-10-24T16:18:48.565Z] + . [2023-10-24T16:18:48.565Z] -> Found 1 reports [2023-10-24T16:18:48.565Z] ==> Detecting git/mercurial file structure [2023-10-24T16:18:48.825Z] ==> Reading reports [2023-10-24T16:18:48.825Z] + ./coverage.out bytes=14499 [2023-10-24T16:18:48.825Z] ==> Appending adjustments [2023-10-24T16:18:48.825Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T16:18:48.825Z] + Found adjustments [2023-10-24T16:18:48.825Z] ==> Gzipping contents [2023-10-24T16:18:48.825Z] 4.0K /tmp/codecov.kY5drG.gz [2023-10-24T16:18:48.825Z] ==> Uploading reports [2023-10-24T16:18:48.825Z] url: https://codecov.io [2023-10-24T16:18:48.825Z] query: branch=main&commit=758b2bed15a3d13a7bac802538a1e1661ebd32c9&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T16:18:48.825Z] -> Pinging Codecov [2023-10-24T16:18:48.825Z] 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=758b2bed15a3d13a7bac802538a1e1661ebd32c9&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-10-24T16:18:48.825Z] -> Uploading to [2023-10-24T16:18:48.825Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/758b2bed15a3d13a7bac802538a1e1661ebd32c9/023a008a-22c8-4569-ae6e-3f39864f9bea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T161848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05f591d5a427345a1d2cc446e102e9359b7d3f97ea1f6c78db98fec0f9919506 [2023-10-24T16:18:48.825Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T16:18:48.825Z] Dload Upload Total Spent Left Speed [2023-10-24T16:18:49.392Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 7841 --:--:-- --:--:-- --:--:-- 7814 100 2321 0 0 100 2321 0 7841 --:--:-- --:--:-- --:--:-- 7814 [2023-10-24T16:18:49.392Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] } [2023-10-24T16:18:49.399Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-10-24T16:18:49.535Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-10-24T16:18:49.545Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:49.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T16:18:49.833Z] [2023-10-24T16:18:49.833Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:50.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T16:18:50.130Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-10-24T16:18:50.130Z] df9b9388f04a: Pulling fs layer [2023-10-24T16:18:50.130Z] 52dc419b0ee2: Pulling fs layer [2023-10-24T16:18:50.130Z] 25bc292e5bac: Pulling fs layer [2023-10-24T16:18:50.130Z] 114826534d7a: Pulling fs layer [2023-10-24T16:18:50.130Z] 4657fd5d0bcf: Pulling fs layer [2023-10-24T16:18:50.130Z] 6ad1cebc031e: Pulling fs layer [2023-10-24T16:18:50.130Z] 8a3aa393b2d8: Pulling fs layer [2023-10-24T16:18:50.130Z] 114826534d7a: Waiting [2023-10-24T16:18:50.130Z] 4657fd5d0bcf: Waiting [2023-10-24T16:18:50.130Z] 6ad1cebc031e: Waiting [2023-10-24T16:18:50.130Z] 25bc292e5bac: Download complete [2023-10-24T16:18:50.130Z] 52dc419b0ee2: Download complete [2023-10-24T16:18:50.130Z] 4657fd5d0bcf: Download complete [2023-10-24T16:18:50.130Z] df9b9388f04a: Download complete [2023-10-24T16:18:50.389Z] 6ad1cebc031e: Verifying Checksum [2023-10-24T16:18:50.389Z] 6ad1cebc031e: Download complete [2023-10-24T16:18:50.389Z] df9b9388f04a: Pull complete [2023-10-24T16:18:50.647Z] 52dc419b0ee2: Pull complete [2023-10-24T16:18:50.647Z] 25bc292e5bac: Pull complete [2023-10-24T16:18:50.905Z] 114826534d7a: Verifying Checksum [2023-10-24T16:18:50.905Z] 114826534d7a: Download complete [2023-10-24T16:18:51.163Z] 8a3aa393b2d8: Verifying Checksum [2023-10-24T16:18:51.163Z] 8a3aa393b2d8: Download complete [2023-10-24T16:18:54.438Z] 114826534d7a: Pull complete [2023-10-24T16:18:54.438Z] 4657fd5d0bcf: Pull complete [2023-10-24T16:18:54.697Z] 6ad1cebc031e: Pull complete [2023-10-24T16:18:57.223Z] 8a3aa393b2d8: Pull complete [2023-10-24T16:18:57.223Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-10-24T16:18:57.224Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-10-24T16:18:57.224Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:18:57.303Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:18:57.336Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-10-24T16:19:02.845Z] $ docker top d8260e53c4a94c3e83c43d6e18a1e515d515a8ebd6b2a9959e112006a47504fa -eo pid,comm [Pipeline] { [Pipeline] echo [2023-10-24T16:19:02.916Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-10-24T16:19:03.198Z] + set -o pipefail [2023-10-24T16:19:03.198Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-10-24T16:19:13.178Z] [2023-10-24T16:19:13.178Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-10-24T16:19:13.178Z] [2023-10-24T16:19:13.178Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4e897205-5f43-4421-a764-8ba14b83fde2 [2023-10-24T16:19:13.178Z] [2023-10-24T16:19:13.178Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-10-24T16:19:13.178Z] [2023-10-24T16:19:13.178Z] [2023-10-24T16:19:13.178Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-10-24T16:19:13.178Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-10-24T16:19:13.178Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-10-24T16:19:13.188Z] $ docker stop --time=1 d8260e53c4a94c3e83c43d6e18a1e515d515a8ebd6b2a9959e112006a47504fa [2023-10-24T16:19:19.209Z] $ docker rm -f --volumes d8260e53c4a94c3e83c43d6e18a1e515d515a8ebd6b2a9959e112006a47504fa [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-10-24T16:19:19.951Z] + git log --format=format:%s -1 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] sh [2023-10-24T16:19:20.239Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:19:20.239Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:19:20.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:19:20.532Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:19:20.606Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:19:20.630Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T16:19:21.139Z] $ docker top b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:19:21.223Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:19:21.223Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:19:21.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:19:21.324Z] $ docker exec b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 ssh-agent [2023-10-24T16:19:21.417Z] SSH_AUTH_SOCK=/tmp/ssh-B7GEksHQZtSA/agent.32 [2023-10-24T16:19:21.417Z] SSH_AGENT_PID=38 [2023-10-24T16:19:21.421Z] Running ssh-add (command line suppressed) [2023-10-24T16:19:21.513Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7986021112365765196.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7986021112365765196.key) [2023-10-24T16:19:21.525Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:19:21.808Z] + git semver tag [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,970 [run_tag] DEBUG tag force:False [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,970 [check_head_tag] DEBUG check head tag [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,971 [execute] INFO git cat-file --batch-check [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,974 [execute] INFO git cat-file --batch [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,985 [execute] INFO git tag -a v3.1.0-dev.23 -m v3.1.0-dev.23 [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,985 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.23', '-m', 'v3.1.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:19:22.067Z] 2023-10-24 16:19:21,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T16:19:22.067Z] 3.1.0-dev.23 [Pipeline] } [2023-10-24T16:19:22.074Z] $ docker exec --env ******** --env ******** b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 ssh-agent -k [2023-10-24T16:19:22.181Z] unset SSH_AUTH_SOCK; [2023-10-24T16:19:22.182Z] unset SSH_AGENT_PID; [2023-10-24T16:19:22.182Z] echo Agent pid 38 killed; [2023-10-24T16:19:22.194Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:19:22.503Z] + git semver [Pipeline] } [2023-10-24T16:19:22.772Z] $ docker stop --time=1 b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 [2023-10-24T16:19:24.018Z] $ docker rm -f --volumes b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:19:24.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T16:19:24.406Z] [2023-10-24T16:19:24.406Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:19:24.707Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T16:19:24.707Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-10-24T16:19:24.707Z] ab5ef0e58194: Pulling fs layer [2023-10-24T16:19:24.707Z] 9712f1f96733: Pulling fs layer [2023-10-24T16:19:24.707Z] 63f879dbbcfc: Pulling fs layer [2023-10-24T16:19:24.707Z] 0d9ebad4ef96: Pulling fs layer [2023-10-24T16:19:24.707Z] e9a5061849ea: Pulling fs layer [2023-10-24T16:19:24.707Z] d747dcd14b5f: Pulling fs layer [2023-10-24T16:19:24.707Z] 2de7ff778b66: Pulling fs layer [2023-10-24T16:19:24.707Z] 0d9ebad4ef96: Waiting [2023-10-24T16:19:24.707Z] 2de7ff778b66: Waiting [2023-10-24T16:19:24.707Z] e9a5061849ea: Waiting [2023-10-24T16:19:24.707Z] d747dcd14b5f: Waiting [2023-10-24T16:19:24.707Z] 9712f1f96733: Verifying Checksum [2023-10-24T16:19:24.707Z] 9712f1f96733: Download complete [2023-10-24T16:19:24.967Z] 63f879dbbcfc: Verifying Checksum [2023-10-24T16:19:24.967Z] 63f879dbbcfc: Download complete [2023-10-24T16:19:25.225Z] e9a5061849ea: Verifying Checksum [2023-10-24T16:19:25.225Z] e9a5061849ea: Download complete [2023-10-24T16:19:25.225Z] d747dcd14b5f: Verifying Checksum [2023-10-24T16:19:25.225Z] d747dcd14b5f: Download complete [2023-10-24T16:19:25.225Z] ab5ef0e58194: Download complete [2023-10-24T16:19:25.226Z] 0d9ebad4ef96: Verifying Checksum [2023-10-24T16:19:25.226Z] 0d9ebad4ef96: Download complete [2023-10-24T16:19:25.483Z] 2de7ff778b66: Verifying Checksum [2023-10-24T16:19:25.483Z] 2de7ff778b66: Download complete [2023-10-24T16:19:28.008Z] ab5ef0e58194: Pull complete [2023-10-24T16:19:28.008Z] 9712f1f96733: Pull complete [2023-10-24T16:19:28.573Z] 63f879dbbcfc: Pull complete [2023-10-24T16:19:31.852Z] 0d9ebad4ef96: Pull complete [2023-10-24T16:19:32.110Z] e9a5061849ea: Pull complete [2023-10-24T16:19:32.368Z] d747dcd14b5f: Pull complete [2023-10-24T16:19:33.303Z] 2de7ff778b66: Pull complete [2023-10-24T16:19:33.303Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-10-24T16:19:33.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-10-24T16:19:33.303Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:19:33.393Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:19:33.424Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-10-24T16:19:41.139Z] $ docker top eb1cdd5047d77ce1d6f61828c25678de2fd3558fdf3fb3f8b54938af38cdee73 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:19:41.202Z] provisioning config files... [2023-10-24T16:19:41.208Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17378036813837338013tmp [2023-10-24T16:19:41.217Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12895558333902577999tmp [2023-10-24T16:19:41.227Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3055319353409384713tmp [Pipeline] { [Pipeline] echo [2023-10-24T16:19:41.242Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:41.522Z] ---> sigul-configuration.sh [2023-10-24T16:19:41.522Z] gpg: directory `/root/.gnupg' created [2023-10-24T16:19:41.522Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-10-24T16:19:41.522Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-10-24T16:19:41.522Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-10-24T16:19:41.522Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-10-24T16:19:41.522Z] gpg: CAST5 encrypted data [2023-10-24T16:19:41.522Z] gpg: encrypted with 1 passphrase [2023-10-24T16:19:41.522Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-10-24T16:19:41.806Z] + mkdir /home/jenkins [2023-10-24T16:19:41.806Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-10-24T16:19:42.099Z] + 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-10-24T16:19:42.108Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:42.392Z] ---> sigul-install.sh [2023-10-24T16:19:42.392Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-10-24T16:19:42.682Z] + git tag --list [2023-10-24T16:19:42.682Z] v1.0.0 [2023-10-24T16:19:42.682Z] v1.1.0 [2023-10-24T16:19:42.682Z] v1.1.1 [2023-10-24T16:19:42.682Z] v1.1.2 [2023-10-24T16:19:42.682Z] v1.2.0 [2023-10-24T16:19:42.682Z] v1.2.1 [2023-10-24T16:19:42.682Z] v2.0.0 [2023-10-24T16:19:42.682Z] v2.1.0 [2023-10-24T16:19:42.682Z] v2.1.1 [2023-10-24T16:19:42.682Z] v2.2.0 [2023-10-24T16:19:42.682Z] v2.3.0 [2023-10-24T16:19:42.682Z] v3.0 [2023-10-24T16:19:42.682Z] v3.0.0 [2023-10-24T16:19:42.682Z] v3.1.0-dev.1 [2023-10-24T16:19:42.682Z] v3.1.0-dev.10 [2023-10-24T16:19:42.682Z] v3.1.0-dev.11 [2023-10-24T16:19:42.682Z] v3.1.0-dev.12 [2023-10-24T16:19:42.682Z] v3.1.0-dev.13 [2023-10-24T16:19:42.682Z] v3.1.0-dev.14 [2023-10-24T16:19:42.682Z] v3.1.0-dev.15 [2023-10-24T16:19:42.682Z] v3.1.0-dev.16 [2023-10-24T16:19:42.682Z] v3.1.0-dev.17 [2023-10-24T16:19:42.682Z] v3.1.0-dev.18 [2023-10-24T16:19:42.682Z] v3.1.0-dev.19 [2023-10-24T16:19:42.682Z] v3.1.0-dev.2 [2023-10-24T16:19:42.682Z] v3.1.0-dev.20 [2023-10-24T16:19:42.682Z] v3.1.0-dev.21 [2023-10-24T16:19:42.682Z] v3.1.0-dev.22 [2023-10-24T16:19:42.682Z] v3.1.0-dev.23 [2023-10-24T16:19:42.682Z] v3.1.0-dev.3 [2023-10-24T16:19:42.682Z] v3.1.0-dev.4 [2023-10-24T16:19:42.682Z] v3.1.0-dev.5 [2023-10-24T16:19:42.682Z] v3.1.0-dev.6 [2023-10-24T16:19:42.682Z] v3.1.0-dev.7 [2023-10-24T16:19:42.682Z] v3.1.0-dev.8 [2023-10-24T16:19:42.682Z] v3.1.0-dev.9 [Pipeline] sh [2023-10-24T16:19:42.966Z] + lftools sign git-tag v3.1.0-dev.23 [2023-10-24T16:19:43.534Z] Signing Git tag with Sigul... [2023-10-24T16:19:43.534Z] Signing v3.1.0-dev.23 [Pipeline] echo [2023-10-24T16:19:44.110Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:44.394Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-10-24T16:19:44.401Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-10-24T16:19:44.419Z] $ docker stop --time=1 eb1cdd5047d77ce1d6f61828c25678de2fd3558fdf3fb3f8b54938af38cdee73 [2023-10-24T16:19:45.737Z] $ docker rm -f --volumes eb1cdd5047d77ce1d6f61828c25678de2fd3558fdf3fb3f8b54938af38cdee73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-10-24T16:19:46.144Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:19:46.145Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:19:46.438Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:19:46.438Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:19:46.511Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:19:46.540Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T16:19:46.934Z] $ docker top 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 -eo pid,comm [2023-10-24T16:19:46.982Z] 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-10-24T16:19:46.982Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:19:47.016Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:19:47.016Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:19:47.136Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:19:47.138Z] $ docker exec 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 ssh-agent [2023-10-24T16:19:47.235Z] SSH_AUTH_SOCK=/tmp/ssh-eh8eIMQiUw5t/agent.32 [2023-10-24T16:19:47.235Z] SSH_AGENT_PID=38 [2023-10-24T16:19:47.243Z] Running ssh-add (command line suppressed) [2023-10-24T16:19:47.348Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_991786489999533513.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_991786489999533513.key) [2023-10-24T16:19:47.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:19:47.648Z] + git semver bump pre [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,827 [bump_version] DEBUG bumping version:3.1.0-dev.23 on axis:pre with prefix:dev [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,827 [bump_version] DEBUG bumped version:3.1.0-dev.24 [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,828 [write_version] DEBUG write version:3.1.0-dev.24 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,828 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,829 [execute] INFO git cat-file --batch-check [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,834 [execute] INFO git cat-file --batch [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:19:47.907Z] 2023-10-24 16:19:47,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T16:19:47.907Z] 3.1.0-dev.24 [Pipeline] } [2023-10-24T16:19:47.914Z] $ docker exec --env ******** --env ******** 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 ssh-agent -k [2023-10-24T16:19:48.006Z] unset SSH_AUTH_SOCK; [2023-10-24T16:19:48.006Z] unset SSH_AGENT_PID; [2023-10-24T16:19:48.006Z] echo Agent pid 38 killed; [2023-10-24T16:19:48.015Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:19:48.313Z] + git semver [Pipeline] } [2023-10-24T16:19:48.582Z] $ docker stop --time=1 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 [2023-10-24T16:19:49.852Z] $ docker rm -f --volumes 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:19:50.191Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:19:50.191Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:19:50.485Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:19:50.486Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:19:50.555Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:19:50.580Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T16:19:50.914Z] $ docker top a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:19:50.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:19:50.996Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:19:51.110Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:19:51.111Z] $ docker exec a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 ssh-agent [2023-10-24T16:19:51.220Z] SSH_AUTH_SOCK=/tmp/ssh-6OjvikuHzS0B/agent.32 [2023-10-24T16:19:51.220Z] SSH_AGENT_PID=38 [2023-10-24T16:19:51.224Z] Running ssh-add (command line suppressed) [2023-10-24T16:19:51.334Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4776066538802347183.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4776066538802347183.key) [2023-10-24T16:19:51.348Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:19:51.630Z] + git semver push [2023-10-24T16:19:51.889Z] 2023-10-24 16:19:51,816 [run_push] DEBUG push [2023-10-24T16:19:51.889Z] 2023-10-24 16:19:51,817 [execute] INFO git cat-file --batch-check [2023-10-24T16:19:51.889Z] 2023-10-24 16:19:51,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:19:51.889Z] 2023-10-24 16:19:51,821 [execute] INFO git rev-list 87ca30370c05f73931d61d1eae553cf76e312131 -- [2023-10-24T16:19:51.889Z] 2023-10-24 16:19:51,821 [execute] DEBUG Popen(['git', 'rev-list', '87ca30370c05f73931d61d1eae553cf76e312131', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:19:51.889Z] 2023-10-24 16:19:51,831 [execute] INFO git fetch -v origin [2023-10-24T16:19:51.889Z] 2023-10-24 16:19:51,831 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-10-24T16:19:52.455Z] 2023-10-24 16:19:52,391 [run_push] DEBUG no remote changes detected [2023-10-24T16:19:52.455Z] 2023-10-24 16:19:52,392 [execute] INFO git push origin semver [2023-10-24T16:19:52.455Z] 2023-10-24 16:19:52,392 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:19:53.391Z] 2023-10-24 16:19:53,204 [run_push] DEBUG push all version tags [2023-10-24T16:19:53.391Z] 2023-10-24 16:19:53,204 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-10-24T16:19:53.391Z] 2023-10-24 16:19:53,204 [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-10-24T16:19:54.329Z] 2023-10-24 16:19:53,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-10-24T16:19:54.329Z] 3.1.0-dev.24 [Pipeline] } [2023-10-24T16:19:54.337Z] $ docker exec --env ******** --env ******** a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 ssh-agent -k [2023-10-24T16:19:54.444Z] unset SSH_AUTH_SOCK; [2023-10-24T16:19:54.447Z] unset SSH_AGENT_PID; [2023-10-24T16:19:54.447Z] echo Agent pid 38 killed; [2023-10-24T16:19:54.459Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:19:54.761Z] + git semver [Pipeline] } [2023-10-24T16:19:55.032Z] $ docker stop --time=1 a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 [2023-10-24T16:19:56.286Z] $ docker rm -f --volumes a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 [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-10-24T16:19:56.810Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-10-24T16:19:56.810Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-24T16:19:56.810Z] total 16 [2023-10-24T16:19:56.810Z] drwxr-xr-x 3 root root 4096 Oct 24 16:07 . [2023-10-24T16:19:56.810Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 16:19 .. [2023-10-24T16:19:56.810Z] drwxr-xr-x 2 root root 4096 Oct 24 16:07 cost [2023-10-24T16:19:56.810Z] -rw-r--r-- 1 root root 86 Oct 24 16:07 cost.csv [2023-10-24T16:19:56.810Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-24T16:19:56.810Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-10-24T16:19:56.810Z] total 16 [2023-10-24T16:19:56.810Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:07 . [2023-10-24T16:19:56.810Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 16:19 .. [2023-10-24T16:19:56.810Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 16:07 cost [2023-10-24T16:19:56.810Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 16:07 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:57.101Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:57.953Z] ---> package-listing.sh [2023-10-24T16:19:57.953Z] ++ facter osfamily [2023-10-24T16:19:57.953Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T16:19:58.213Z] + OS_FAMILY=debian [2023-10-24T16:19:58.213Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-10-24T16:19:58.213Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T16:19:58.213Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T16:19:58.213Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T16:19:58.213Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T16:19:58.213Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-24T16:19:58.213Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T16:19:58.213Z] + case "${OS_FAMILY}" in [2023-10-24T16:19:58.213Z] + dpkg -l [2023-10-24T16:19:58.213Z] + grep '^ii' [2023-10-24T16:19:58.213Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T16:19:58.213Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T16:19:58.213Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T16:19:58.213Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-10-24T16:19:58.213Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-10-24T16:19:58.213Z] + 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-10-24T16:19:58.223Z] 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-10-24T16:19:58.500Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:19:59.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:19:59.056Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:19:59.125Z] prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container [2023-10-24T16:19:59.155Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T16:19:59.379Z] $ docker top 872576da5df4cade701f960c651d446397e76d1b23fe7a8afa7f877be3e7b8ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:19:59.716Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T16:19:59.997Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T16:20:00.355Z] + ls /var/log/sa-host [2023-10-24T16:20:00.355Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:20:00.439Z] provisioning config files... [2023-10-24T16:20:00.455Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12338493213951954582tmp [Pipeline] { [Pipeline] echo [2023-10-24T16:20:00.485Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:20:00.836Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T16:20:00.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:20:01.170Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T16:20:01.177Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:20:01.458Z] ---> sudo-logs.sh [2023-10-24T16:20:01.458Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T16:20:01.484Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:20:01.773Z] ---> job-cost.sh [2023-10-24T16:20:01.773Z] lf-activate-venv: SKIPPING [2023-10-24T16:20:01.773Z] DEBUG: total: 0.2199999988079071 [2023-10-24T16:20:01.773Z] INFO: Retrieving Stack Cost... [2023-10-24T16:20:02.340Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T16:20:02.599Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T16:20:02.610Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:20:02.895Z] ---> logs-deploy.sh [2023-10-24T16:20:02.895Z] lf-activate-venv: SKIPPING [2023-10-24T16:20:02.895Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/143 [2023-10-24T16:20:02.895Z] INFO: archiving workspace using pattern(s): [2023-10-24T16:20:03.831Z] Archives upload complete. [2023-10-24T16:20:03.831Z] INFO: archiving logs to Nexus