Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 322050c65873fd50260d8a368346f4ba3310d130 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-ssh9569998241127090054.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5440567511455655220.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2474778994098033920.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6246207608687060903.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-ssh12890806410116152210.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13837 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 > 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 Avoid second fetch Checking out Revision 322050c65873fd50260d8a368346f4ba3310d130 (main) Commit message: "Merge pull request #308 from jumpingliu/ignore-go-mods" > git config core.sparsecheckout # timeout=10 > git checkout -f 322050c65873fd50260d8a368346f4ba3310d130 # timeout=10 > git rev-list --no-walk 30cba82ac8543dee28be9b53c2ba4ad5f05591fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-05T06:04:19.984Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-05T06:04:20.034Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-05T06:04:20.058Z] ========================================================= [2023-05-05T06:04:20.059Z] EdgeX Global Pipelines Version Info [2023-05-05T06:04:20.059Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:04:20.797Z] ------------------- [2023-05-05T06:04:20.797Z] stable info: [2023-05-05T06:04:20.797Z] ------------------- [2023-05-05T06:04:20.797Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-05T06:04:20.797Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:04:20.797Z] Message: update stable to v1.0.249 [2023-05-05T06:04:21.372Z] ------------------- [2023-05-05T06:04:21.372Z] experimental info: [2023-05-05T06:04:21.372Z] ------------------- [2023-05-05T06:04:21.372Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-05T06:04:21.372Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-05T06:04:21.372Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-05T06:04:21.571Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-05T06:04:21.585Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-05T06:04:21.597Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-05T06:04:21.613Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-05T06:04:21.630Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-05T06:04:21.644Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-05T06:04:21.657Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-05T06:04:21.671Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-05T06:04:21.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-05T06:04:21.698Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-05T06:04:21.711Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-05T06:04:21.728Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-05T06:04:21.742Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-05T06:04:21.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-05T06:04:21.775Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:04:21.794Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-05T06:04:21.810Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:04:21.841Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-05T06:04:21.861Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-05T06:04:21.876Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-05T06:04:21.896Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-05T06:04:21.912Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-05T06:04:21.945Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-05T06:04:21.961Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-05T06:04:21.973Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-05T06:04:21.994Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-05T06:04:22.008Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-05T06:04:22.020Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-05-05T06:04:22.032Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-05-05T06:04:22.047Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-05-05T06:04:22.060Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] echo [2023-05-05T06:04:22.076Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 322050c [Pipeline] echo [2023-05-05T06:04:22.091Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:04:22.131Z] provisioning config files... [2023-05-05T06:04:22.145Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3706272717194368217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:04:22.443Z] ---> docker-login.sh [2023-05-05T06:04:22.443Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:04:22.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:22.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:22.704Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:22.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:22.704Z] [2023-05-05T06:04:22.704Z] Login Succeeded [2023-05-05T06:04:22.704Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:04:22.704Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:22.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:22.704Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:22.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:22.704Z] [2023-05-05T06:04:22.704Z] Login Succeeded [2023-05-05T06:04:22.704Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:04:22.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:22.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:22.964Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:22.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:22.964Z] [2023-05-05T06:04:22.964Z] Login Succeeded [2023-05-05T06:04:22.964Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:04:22.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:22.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:22.964Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:22.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:22.964Z] [2023-05-05T06:04:22.964Z] Login Succeeded [2023-05-05T06:04:22.964Z] docker.io [2023-05-05T06:04:23.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:23.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:23.223Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:23.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:23.223Z] [2023-05-05T06:04:23.223Z] Login Succeeded [2023-05-05T06:04:23.223Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:04:23.229Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-05T06:04:23.618Z] + git rev-list -1 --merges 322050c65873fd50260d8a368346f4ba3310d130~1..322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] echo [2023-05-05T06:04:23.656Z] -----------> git rev-list -1 --merges 322050c65873fd50260d8a368346f4ba3310d130~1..322050c65873fd50260d8a368346f4ba3310d130 322050c65873fd50260d8a368346f4ba3310d130 [2023-05-05T06:04:23.656Z] 322050c65873fd50260d8a368346f4ba3310d130 [false] [Pipeline] sh [2023-05-05T06:04:23.952Z] + git log --format=format:%s -1 322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] echo [2023-05-05T06:04:23.970Z] ========================================================= [2023-05-05T06:04:23.970Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-05T06:04:23.970Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:04:24.312Z] + git log --format=format:%s -1 322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] echo [2023-05-05T06:04:24.324Z] [semverPrep] GIT_COMMIT: 322050c65873fd50260d8a368346f4ba3310d130, Commit Message: Merge pull request #308 from jumpingliu/ignore-go-mods [Pipeline] echo [2023-05-05T06:04:24.332Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-05T06:04:24.672Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:04:24.672Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-05T06:04:24.672Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-05T06:04:24.672Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-05T06:04:24.672Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-05T06:04:24.672Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-05T06:04:24.672Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:04:25.019Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:04:25.019Z] [2023-05-05T06:04:25.019Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:04:25.318Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:04:25.318Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-05T06:04:25.318Z] b85a868b505f: Pulling fs layer [2023-05-05T06:04:25.318Z] e2be974225ed: Pulling fs layer [2023-05-05T06:04:25.318Z] 339a4e72a1f5: Pulling fs layer [2023-05-05T06:04:25.318Z] 988bab9f4d93: Pulling fs layer [2023-05-05T06:04:25.318Z] 1469e6f7b9e6: Pulling fs layer [2023-05-05T06:04:25.318Z] eaf3925da568: Pulling fs layer [2023-05-05T06:04:25.318Z] bab4dde63d76: Pulling fs layer [2023-05-05T06:04:25.318Z] bde34c3a00c8: Pulling fs layer [2023-05-05T06:04:25.318Z] 988bab9f4d93: Waiting [2023-05-05T06:04:25.318Z] 1469e6f7b9e6: Waiting [2023-05-05T06:04:25.318Z] eaf3925da568: Waiting [2023-05-05T06:04:25.318Z] bab4dde63d76: Waiting [2023-05-05T06:04:25.318Z] b352a97aabf1: Pulling fs layer [2023-05-05T06:04:25.318Z] 4872d77fe225: Pulling fs layer [2023-05-05T06:04:25.318Z] 5851b861e8e6: Pulling fs layer [2023-05-05T06:04:25.318Z] bde34c3a00c8: Waiting [2023-05-05T06:04:25.318Z] 5851b861e8e6: Waiting [2023-05-05T06:04:25.318Z] b352a97aabf1: Waiting [2023-05-05T06:04:25.318Z] 4872d77fe225: Waiting [2023-05-05T06:04:25.318Z] e2be974225ed: Download complete [2023-05-05T06:04:25.318Z] 988bab9f4d93: Verifying Checksum [2023-05-05T06:04:25.318Z] 988bab9f4d93: Download complete [2023-05-05T06:04:25.577Z] 1469e6f7b9e6: Verifying Checksum [2023-05-05T06:04:25.577Z] 1469e6f7b9e6: Download complete [2023-05-05T06:04:25.577Z] eaf3925da568: Verifying Checksum [2023-05-05T06:04:25.577Z] eaf3925da568: Download complete [2023-05-05T06:04:25.577Z] 339a4e72a1f5: Verifying Checksum [2023-05-05T06:04:25.577Z] 339a4e72a1f5: Download complete [2023-05-05T06:04:25.577Z] bde34c3a00c8: Verifying Checksum [2023-05-05T06:04:25.577Z] bde34c3a00c8: Download complete [2023-05-05T06:04:25.577Z] b352a97aabf1: Download complete [2023-05-05T06:04:25.577Z] 4872d77fe225: Download complete [2023-05-05T06:04:25.577Z] 5851b861e8e6: Download complete [2023-05-05T06:04:25.577Z] b85a868b505f: Verifying Checksum [2023-05-05T06:04:25.577Z] b85a868b505f: Download complete [2023-05-05T06:04:25.836Z] bab4dde63d76: Verifying Checksum [2023-05-05T06:04:25.836Z] bab4dde63d76: Download complete [2023-05-05T06:04:26.775Z] b85a868b505f: Pull complete [2023-05-05T06:04:26.775Z] e2be974225ed: Pull complete [2023-05-05T06:04:27.345Z] 339a4e72a1f5: Pull complete [2023-05-05T06:04:27.345Z] 988bab9f4d93: Pull complete [2023-05-05T06:04:27.605Z] 1469e6f7b9e6: Pull complete [2023-05-05T06:04:27.605Z] eaf3925da568: Pull complete [2023-05-05T06:04:29.511Z] bab4dde63d76: Pull complete [2023-05-05T06:04:29.511Z] bde34c3a00c8: Pull complete [2023-05-05T06:04:29.771Z] b352a97aabf1: Pull complete [2023-05-05T06:04:29.771Z] 4872d77fe225: Pull complete [2023-05-05T06:04:29.771Z] 5851b861e8e6: Pull complete [2023-05-05T06:04:29.771Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-05T06:04:29.771Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:04:29.771Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:04:29.862Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:04:29.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:04:31.977Z] $ docker top 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 -eo pid,comm [2023-05-05T06:04:32.045Z] 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-05-05T06:04:32.045Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:04:32.083Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:04:32.083Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:04:32.197Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:04:32.190Z] $ docker exec 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 ssh-agent [2023-05-05T06:04:32.315Z] SSH_AUTH_SOCK=/tmp/ssh-h70b6tEi1wMi/agent.31 [2023-05-05T06:04:32.316Z] SSH_AGENT_PID=37 [2023-05-05T06:04:32.322Z] Running ssh-add (command line suppressed) [2023-05-05T06:04:32.416Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_434218594531176746.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_434218594531176746.key) [2023-05-05T06:04:32.443Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:04:32.734Z] + git tag --points-at HEAD [Pipeline] } [2023-05-05T06:04:32.741Z] $ docker exec --env ******** --env ******** 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 ssh-agent -k [2023-05-05T06:04:32.840Z] unset SSH_AUTH_SOCK; [2023-05-05T06:04:32.841Z] unset SSH_AGENT_PID; [2023-05-05T06:04:32.841Z] echo Agent pid 37 killed; [2023-05-05T06:04:32.863Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-05T06:04:32.892Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:04:32.892Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:04:33.002Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:04:32.995Z] $ docker exec 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 ssh-agent [2023-05-05T06:04:33.105Z] SSH_AUTH_SOCK=/tmp/ssh-IiqjrrKTxuLr/agent.69 [2023-05-05T06:04:33.105Z] SSH_AGENT_PID=76 [2023-05-05T06:04:33.110Z] Running ssh-add (command line suppressed) [2023-05-05T06:04:33.202Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15625151212786342237.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15625151212786342237.key) [2023-05-05T06:04:33.227Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:04:33.516Z] + git semver init [2023-05-05T06:04:33.776Z] 2023-05-05 06:04:33,690 [run_init] DEBUG init version:0.0.0 force:False [2023-05-05T06:04:33.776Z] 2023-05-05 06:04:33,691 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-05-05T06:04:33.776Z] 2023-05-05 06:04:33,692 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-05-05T06:04:33.776Z] 2023-05-05 06:04:33,692 [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-05-05T06:04:34.717Z] 2023-05-05 06:04:34,656 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-05-05T06:04:34.717Z] 2023-05-05 06:04:34,656 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-05-05T06:04:34.717Z] 2023-05-05 06:04:34,656 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-05T06:04:34.717Z] 2023-05-05 06:04:34,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-05T06:04:34.717Z] 3.0.0-dev.36 [Pipeline] } [2023-05-05T06:04:34.718Z] $ docker exec --env ******** --env ******** 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 ssh-agent -k [2023-05-05T06:04:34.815Z] unset SSH_AUTH_SOCK; [2023-05-05T06:04:34.815Z] unset SSH_AGENT_PID; [2023-05-05T06:04:34.815Z] echo Agent pid 76 killed; [2023-05-05T06:04:34.835Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:04:35.137Z] + git semver [Pipeline] } [2023-05-05T06:04:35.398Z] $ docker stop --time=1 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 [2023-05-05T06:04:36.695Z] $ docker rm -f --volumes 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:04:37.052Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-05T06:04:37.264Z] Stashed 1 file(s) [Pipeline] echo [2023-05-05T06:04:37.268Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.36 [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-05-05T06:04:37.418Z] provisioning config files... [2023-05-05T06:04:37.428Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16891985462805345491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:04:37.736Z] ---> docker-login.sh [2023-05-05T06:04:37.736Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:04:37.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:37.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:37.736Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:37.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:37.736Z] [2023-05-05T06:04:37.736Z] Login Succeeded [2023-05-05T06:04:37.736Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:04:37.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:37.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:37.736Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:37.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:37.736Z] [2023-05-05T06:04:37.736Z] Login Succeeded [2023-05-05T06:04:37.736Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:04:37.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:37.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:37.996Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:37.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:37.996Z] [2023-05-05T06:04:37.996Z] Login Succeeded [2023-05-05T06:04:37.996Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:04:37.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:37.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:37.996Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:37.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:37.996Z] [2023-05-05T06:04:37.996Z] Login Succeeded [2023-05-05T06:04:37.996Z] docker.io [2023-05-05T06:04:38.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:04:38.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:04:38.256Z] Configure a credential helper to remove this warning. See [2023-05-05T06:04:38.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:04:38.256Z] [2023-05-05T06:04:38.256Z] Login Succeeded [2023-05-05T06:04:38.256Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:04:38.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:04:38.319Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:04:38.331Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:04:38.340Z] ========================================================= [2023-05-05T06:04:38.340Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-05T06:04:38.340Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:04:38.653Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-05T06:04:38.653Z] Sending build context to Docker daemon 10.91MB [2023-05-05T06:04:38.653Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:04:38.653Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T06:04:38.653Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-05T06:04:38.653Z] f56be85fc22e: Pulling fs layer [2023-05-05T06:04:38.653Z] 85791d961cd3: Pulling fs layer [2023-05-05T06:04:38.653Z] d694b5ae8c79: Pulling fs layer [2023-05-05T06:04:38.653Z] 9f32a84ed3da: Pulling fs layer [2023-05-05T06:04:38.653Z] 4d19c01a9841: Pulling fs layer [2023-05-05T06:04:38.653Z] 9325e15d5711: Pulling fs layer [2023-05-05T06:04:38.653Z] 556b6ee489ea: Pulling fs layer [2023-05-05T06:04:38.653Z] c5a4b2cf53e6: Pulling fs layer [2023-05-05T06:04:38.653Z] 9f32a84ed3da: Waiting [2023-05-05T06:04:38.653Z] 4d19c01a9841: Waiting [2023-05-05T06:04:38.653Z] 9325e15d5711: Waiting [2023-05-05T06:04:38.653Z] c5a4b2cf53e6: Waiting [2023-05-05T06:04:38.653Z] 556b6ee489ea: Waiting [2023-05-05T06:04:38.653Z] 85791d961cd3: Verifying Checksum [2023-05-05T06:04:38.653Z] 85791d961cd3: Download complete [2023-05-05T06:04:38.653Z] 9f32a84ed3da: Verifying Checksum [2023-05-05T06:04:38.653Z] 9f32a84ed3da: Download complete [2023-05-05T06:04:38.653Z] 4d19c01a9841: Verifying Checksum [2023-05-05T06:04:38.653Z] 4d19c01a9841: Download complete [2023-05-05T06:04:38.915Z] f56be85fc22e: Verifying Checksum [2023-05-05T06:04:38.915Z] f56be85fc22e: Download complete [2023-05-05T06:04:38.915Z] 9325e15d5711: Verifying Checksum [2023-05-05T06:04:38.915Z] 9325e15d5711: Download complete [2023-05-05T06:04:38.915Z] f56be85fc22e: Pull complete [2023-05-05T06:04:39.175Z] 85791d961cd3: Pull complete [2023-05-05T06:04:39.175Z] c5a4b2cf53e6: Verifying Checksum [2023-05-05T06:04:39.175Z] c5a4b2cf53e6: Download complete [2023-05-05T06:04:39.435Z] d694b5ae8c79: Verifying Checksum [2023-05-05T06:04:39.435Z] d694b5ae8c79: Download complete [2023-05-05T06:04:39.701Z] 556b6ee489ea: Verifying Checksum [2023-05-05T06:04:39.701Z] 556b6ee489ea: Download complete [2023-05-05T06:04:42.990Z] d694b5ae8c79: Pull complete [2023-05-05T06:04:42.990Z] 9f32a84ed3da: Pull complete [2023-05-05T06:04:42.990Z] 4d19c01a9841: Pull complete [2023-05-05T06:04:42.990Z] 9325e15d5711: Pull complete [2023-05-05T06:04:45.584Z] 556b6ee489ea: Pull complete [2023-05-05T06:04:46.519Z] c5a4b2cf53e6: Pull complete [2023-05-05T06:04:46.519Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-05T06:04:46.519Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-05T06:04:46.519Z] ---> c4be618373d6 [2023-05-05T06:04:46.519Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:04:50.543Z] ---> Running in e96157f3b522 [2023-05-05T06:04:50.543Z] Removing intermediate container e96157f3b522 [2023-05-05T06:04:50.543Z] ---> c89023d0a817 [2023-05-05T06:04:50.543Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:04:50.543Z] ---> Running in 211f479fbbca [2023-05-05T06:04:50.543Z] Removing intermediate container 211f479fbbca [2023-05-05T06:04:50.543Z] ---> 329ca0f23dcf [2023-05-05T06:04:50.543Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:04:50.543Z] ---> Running in 720ec2713a32 [2023-05-05T06:04:50.543Z] Removing intermediate container 720ec2713a32 [2023-05-05T06:04:50.543Z] ---> 7e2f2faa3029 [2023-05-05T06:04:50.543Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:04:50.543Z] ---> Running in 3a2f85f4bbd5 [2023-05-05T06:04:50.543Z] Removing intermediate container 3a2f85f4bbd5 [2023-05-05T06:04:50.543Z] ---> dbbe2286d968 [2023-05-05T06:04:50.543Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:04:50.543Z] ---> Running in b479f4026011 [2023-05-05T06:04:50.543Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:04:50.803Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:04:51.062Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:04:51.062Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T06:04:51.062Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:04:51.062Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:04:51.062Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:04:51.062Z] OK: 269 MiB in 57 packages [2023-05-05T06:04:51.324Z] Removing intermediate container b479f4026011 [2023-05-05T06:04:51.324Z] ---> 3c67aca0f065 [2023-05-05T06:04:51.324Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-05T06:04:51.586Z] ---> Running in 5d3850c81322 [2023-05-05T06:04:51.587Z] Removing intermediate container 5d3850c81322 [2023-05-05T06:04:51.587Z] ---> 1cea3f80d669 [2023-05-05T06:04:51.587Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T06:04:51.587Z] ---> 1e470f624ddf [2023-05-05T06:04:51.587Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:04:51.587Z] ---> Running in c1b9d2c72280 [2023-05-05T06:04:52.382Z] Still waiting to schedule task [2023-05-05T06:04:52.382Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-05T06:05:18.373Z] Removing intermediate container c1b9d2c72280 [2023-05-05T06:05:18.373Z] ---> 0c31c0a64cb1 [2023-05-05T06:05:18.373Z] Step 11/12 : COPY . . [2023-05-05T06:05:18.373Z] ---> 414f5f000602 [2023-05-05T06:05:18.373Z] Step 12/12 : RUN $MAKE [2023-05-05T06:05:18.373Z] ---> Running in 8618c462fea4 [2023-05-05T06:05:18.373Z] noop [2023-05-05T06:05:18.373Z] Removing intermediate container 8618c462fea4 [2023-05-05T06:05:18.373Z] ---> 439ae4569612 [2023-05-05T06:05:18.373Z] Successfully built 439ae4569612 [2023-05-05T06:05:18.373Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:05:18.688Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:05:18.689Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:05:18.763Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:05:18.793Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T06:05:19.134Z] $ docker top 329bb96c377223e3a601a6f5147622097a8559ee8e2d54173a122a5366c595fa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:05:19.481Z] + go version [2023-05-05T06:05:19.481Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-05T06:05:19.489Z] $ docker stop --time=1 329bb96c377223e3a601a6f5147622097a8559ee8e2d54173a122a5366c595fa [2023-05-05T06:05:20.775Z] $ docker rm -f --volumes 329bb96c377223e3a601a6f5147622097a8559ee8e2d54173a122a5366c595fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:05:21.192Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-05T06:05:21.192Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:05:21.270Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:05:21.301Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-05T06:05:21.638Z] $ docker top fcc0a80774a8181469e5a08b7013253fd9a4e0671d9d9d185a5173d5f10b7660 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:05:21.988Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:05:22.301Z] + make test [2023-05-05T06:05:22.301Z] go test ./... -coverprofile=coverage.out ./... [2023-05-05T06:05:27.586Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-05T06:05:37.578Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-05T06:05:37.578Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements [2023-05-05T06:05:45.175Z] go vet ./... [2023-05-05T06:05:48.455Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:05:48.455Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:05:48.455Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:05:48.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:05:48.476Z] $ docker stop --time=1 fcc0a80774a8181469e5a08b7013253fd9a4e0671d9d9d185a5173d5f10b7660 [2023-05-05T06:05:50.940Z] $ docker rm -f --volumes fcc0a80774a8181469e5a08b7013253fd9a4e0671d9d9d185a5173d5f10b7660 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:05:51.408Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:05:51.446Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-05T06:05:51.905Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:05:52.300Z] + ls -al . [2023-05-05T06:05:52.300Z] total 184 [2023-05-05T06:05:52.300Z] drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:05 . [2023-05-05T06:05:52.300Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:04 .. [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 151 May 5 06:04 .dockerignore [2023-05-05T06:05:52.300Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:04 .git [2023-05-05T06:05:52.300Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:04 .github [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 329 May 5 06:04 .gitignore [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:04 .golangci.yml [2023-05-05T06:05:52.300Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:04 .semver [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 5 06:04 Attribution.txt [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 5 06:04 CHANGELOG.md [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 5 06:04 Dockerfile [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:04 GOVERNANCE.md [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:04 Jenkinsfile [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:04 LICENSE [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 5 06:04 Makefile [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:04 OWNERS.md [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 5 06:04 README.md [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:04 VERSION [2023-05-05T06:05:52.300Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:04 bin [2023-05-05T06:05:52.300Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:04 cmd [2023-05-05T06:05:52.300Z] -rw-r--r-- 1 jenkins jenkins 14663 May 5 06:05 coverage.out [2023-05-05T06:05:52.300Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:04 driver [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 5 06:04 go.mod [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 5 06:04 go.sum [2023-05-05T06:05:52.300Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:04 snap [2023-05-05T06:05:52.300Z] -rw-rw-r-- 1 jenkins jenkins 713 May 5 06:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:05:52.633Z] + 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=322050c65873fd50260d8a368346f4ba3310d130 --label arch=amd64 --label version=3.0.0-dev.36 . [2023-05-05T06:05:52.633Z] Sending build context to Docker daemon 10.92MB [2023-05-05T06:05:52.633Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:05:52.633Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-05T06:05:52.633Z] ---> 439ae4569612 [2023-05-05T06:05:52.633Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:05:52.892Z] ---> Running in b1b7cc831799 [2023-05-05T06:05:52.892Z] Removing intermediate container b1b7cc831799 [2023-05-05T06:05:52.892Z] ---> e389309c5db0 [2023-05-05T06:05:52.892Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:05:52.892Z] ---> Running in 8a97bd487ec3 [2023-05-05T06:05:52.892Z] Removing intermediate container 8a97bd487ec3 [2023-05-05T06:05:52.892Z] ---> a8d4dd4e70d4 [2023-05-05T06:05:52.892Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:05:52.892Z] ---> Running in ae7cb334041b [2023-05-05T06:05:53.151Z] Removing intermediate container ae7cb334041b [2023-05-05T06:05:53.151Z] ---> fe0603c4644e [2023-05-05T06:05:53.151Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:05:53.151Z] ---> Running in bb3981b46cf1 [2023-05-05T06:05:53.151Z] Removing intermediate container bb3981b46cf1 [2023-05-05T06:05:53.151Z] ---> a4640ad51d6b [2023-05-05T06:05:53.151Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:05:53.151Z] ---> Running in a8e276eaf3bc [2023-05-05T06:05:53.410Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:05:53.671Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:05:53.671Z] OK: 269 MiB in 57 packages [2023-05-05T06:05:53.932Z] Removing intermediate container a8e276eaf3bc [2023-05-05T06:05:53.932Z] ---> 13f1aa971b09 [2023-05-05T06:05:53.932Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-05T06:05:53.932Z] ---> Running in dbbdd6b56040 [2023-05-05T06:05:54.192Z] Removing intermediate container dbbdd6b56040 [2023-05-05T06:05:54.192Z] ---> 8fa34fd3320c [2023-05-05T06:05:54.192Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-05T06:05:54.192Z] ---> 1245d42683e0 [2023-05-05T06:05:54.192Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:05:54.192Z] ---> Running in c02d045fa085 [2023-05-05T06:05:55.128Z] Removing intermediate container c02d045fa085 [2023-05-05T06:05:55.128Z] ---> df27c802806d [2023-05-05T06:05:55.128Z] Step 11/25 : COPY . . [2023-05-05T06:05:55.386Z] ---> 26f64bd6ffe5 [2023-05-05T06:05:55.386Z] Step 12/25 : RUN $MAKE [2023-05-05T06:05:55.386Z] ---> Running in 893cef3019be [2023-05-05T06:05:55.645Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-05T06:06:18.276Z] Removing intermediate container 893cef3019be [2023-05-05T06:06:18.276Z] ---> 87a7a276d3e0 [2023-05-05T06:06:18.276Z] Step 13/25 : FROM alpine:3.17 [2023-05-05T06:06:18.276Z] 3.17: Pulling from library/alpine [2023-05-05T06:06:18.276Z] f56be85fc22e: Already exists [2023-05-05T06:06:18.276Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:06:18.276Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:06:18.276Z] ---> 9ed4aefc74f6 [2023-05-05T06:06:18.276Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-05T06:06:18.276Z] ---> Running in e0e57fb93508 [2023-05-05T06:06:18.276Z] Removing intermediate container e0e57fb93508 [2023-05-05T06:06:18.276Z] ---> c9c4776665fe [2023-05-05T06:06:18.276Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-05T06:06:18.276Z] ---> Running in 2dd3eee9333f [2023-05-05T06:06:18.276Z] Removing intermediate container 2dd3eee9333f [2023-05-05T06:06:18.276Z] ---> 9fe2a3045477 [2023-05-05T06:06:18.276Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:06:18.276Z] ---> Running in 2f7eb95ee58c [2023-05-05T06:06:18.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-05T06:06:18.276Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-05T06:06:18.276Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:06:18.276Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:06:18.276Z] OK: 7 MiB in 16 packages [2023-05-05T06:06:18.276Z] Removing intermediate container 2f7eb95ee58c [2023-05-05T06:06:18.276Z] ---> 69e27d83a033 [2023-05-05T06:06:18.276Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-05T06:06:18.534Z] ---> d91ba227a358 [2023-05-05T06:06:18.534Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-05T06:06:18.534Z] ---> 67e181f5dc93 [2023-05-05T06:06:18.534Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-05T06:06:18.792Z] ---> e24dc17951a3 [2023-05-05T06:06:18.792Z] Step 20/25 : EXPOSE 59986 [2023-05-05T06:06:18.792Z] ---> Running in 0ff37e0e3fdb [2023-05-05T06:06:18.792Z] Removing intermediate container 0ff37e0e3fdb [2023-05-05T06:06:18.792Z] ---> ab5d4dcd02f4 [2023-05-05T06:06:18.792Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-05T06:06:18.792Z] ---> Running in 1c948a2c3089 [2023-05-05T06:06:18.792Z] Removing intermediate container 1c948a2c3089 [2023-05-05T06:06:18.792Z] ---> 17f8eed8b288 [2023-05-05T06:06:18.792Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-05T06:06:19.051Z] ---> Running in 1d82893bcaa5 [2023-05-05T06:06:19.051Z] Removing intermediate container 1d82893bcaa5 [2023-05-05T06:06:19.051Z] ---> 0916843e1b17 [2023-05-05T06:06:19.051Z] Step 23/25 : LABEL arch=amd64 [2023-05-05T06:06:19.051Z] ---> Running in e56d11a00e8d [2023-05-05T06:06:19.051Z] Removing intermediate container e56d11a00e8d [2023-05-05T06:06:19.051Z] ---> 006e9f47b098 [2023-05-05T06:06:19.051Z] Step 24/25 : LABEL git_sha=322050c65873fd50260d8a368346f4ba3310d130 [2023-05-05T06:06:19.051Z] ---> Running in 5f6f610bb887 [2023-05-05T06:06:19.311Z] Removing intermediate container 5f6f610bb887 [2023-05-05T06:06:19.311Z] ---> c83c46348e55 [2023-05-05T06:06:19.311Z] Step 25/25 : LABEL version=3.0.0-dev.36 [2023-05-05T06:06:19.311Z] ---> Running in 4b4c50438ce9 [2023-05-05T06:06:19.311Z] Removing intermediate container 4b4c50438ce9 [2023-05-05T06:06:19.311Z] ---> d7af26b66ba7 [2023-05-05T06:06:19.311Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:06:19.311Z] Successfully built d7af26b66ba7 [2023-05-05T06:06:19.311Z] 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-05-05T06:06:19.412Z] provisioning config files... [2023-05-05T06:06:19.420Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12020759796806775257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:06:19.717Z] ---> docker-login.sh [2023-05-05T06:06:19.717Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:06:19.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:06:19.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:06:19.717Z] Configure a credential helper to remove this warning. See [2023-05-05T06:06:19.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:06:19.717Z] [2023-05-05T06:06:19.717Z] Login Succeeded [2023-05-05T06:06:19.717Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:06:19.717Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:06:19.717Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:06:19.717Z] Configure a credential helper to remove this warning. See [2023-05-05T06:06:19.717Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:06:19.717Z] [2023-05-05T06:06:19.717Z] Login Succeeded [2023-05-05T06:06:19.717Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:06:19.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:06:19.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:06:19.977Z] Configure a credential helper to remove this warning. See [2023-05-05T06:06:19.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:06:19.977Z] [2023-05-05T06:06:19.977Z] Login Succeeded [2023-05-05T06:06:19.977Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:06:19.977Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:06:19.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:06:19.977Z] Configure a credential helper to remove this warning. See [2023-05-05T06:06:19.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:06:19.977Z] [2023-05-05T06:06:19.977Z] Login Succeeded [2023-05-05T06:06:19.977Z] docker.io [2023-05-05T06:06:20.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:06:20.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:06:20.236Z] Configure a credential helper to remove this warning. See [2023-05-05T06:06:20.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:06:20.236Z] [2023-05-05T06:06:20.236Z] Login Succeeded [2023-05-05T06:06:20.236Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:06:20.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:06:20.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:06:20.282Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-05-05T06:06:20.282Z] 322050c65873fd50260d8a368346f4ba3310d130 [2023-05-05T06:06:20.282Z] latest [2023-05-05T06:06:20.282Z] 3.0.0-dev.36 [2023-05-05T06:06:20.282Z] 322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [2023-05-05T06:06:20.282Z] main [2023-05-05T06:06:20.282Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:20.589Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:20.890Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130 [2023-05-05T06:06:20.890Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-05T06:06:20.890Z] 1819faa3da41: Preparing [2023-05-05T06:06:20.890Z] 3351bc092656: Preparing [2023-05-05T06:06:20.890Z] d6676c60a31b: Preparing [2023-05-05T06:06:20.890Z] 8814579e7c20: Preparing [2023-05-05T06:06:20.890Z] f1417ff83b31: Preparing [2023-05-05T06:06:20.890Z] f1417ff83b31: Layer already exists [2023-05-05T06:06:20.890Z] 3351bc092656: Pushed [2023-05-05T06:06:20.890Z] 1819faa3da41: Pushed [2023-05-05T06:06:20.890Z] 8814579e7c20: Pushed [2023-05-05T06:06:24.176Z] d6676c60a31b: Pushed [2023-05-05T06:06:24.176Z] 322050c65873fd50260d8a368346f4ba3310d130: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:24.489Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:24.801Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-05-05T06:06:24.801Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-05T06:06:24.801Z] 1819faa3da41: Preparing [2023-05-05T06:06:24.801Z] 3351bc092656: Preparing [2023-05-05T06:06:24.801Z] d6676c60a31b: Preparing [2023-05-05T06:06:24.801Z] 8814579e7c20: Preparing [2023-05-05T06:06:24.801Z] f1417ff83b31: Preparing [2023-05-05T06:06:24.801Z] 8814579e7c20: Layer already exists [2023-05-05T06:06:24.801Z] 3351bc092656: Layer already exists [2023-05-05T06:06:24.801Z] f1417ff83b31: Layer already exists [2023-05-05T06:06:24.801Z] d6676c60a31b: Layer already exists [2023-05-05T06:06:24.801Z] 1819faa3da41: Layer already exists [2023-05-05T06:06:24.801Z] latest: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:25.113Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:25.428Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.36 [2023-05-05T06:06:25.428Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-05T06:06:25.428Z] 1819faa3da41: Preparing [2023-05-05T06:06:25.428Z] 3351bc092656: Preparing [2023-05-05T06:06:25.428Z] d6676c60a31b: Preparing [2023-05-05T06:06:25.428Z] 8814579e7c20: Preparing [2023-05-05T06:06:25.428Z] f1417ff83b31: Preparing [2023-05-05T06:06:25.428Z] 1819faa3da41: Layer already exists [2023-05-05T06:06:25.428Z] f1417ff83b31: Layer already exists [2023-05-05T06:06:25.428Z] 3351bc092656: Layer already exists [2023-05-05T06:06:25.428Z] d6676c60a31b: Layer already exists [2023-05-05T06:06:25.428Z] 8814579e7c20: Layer already exists [2023-05-05T06:06:25.428Z] 3.0.0-dev.36: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:25.745Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:26.046Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [2023-05-05T06:06:26.046Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-05T06:06:26.046Z] 1819faa3da41: Preparing [2023-05-05T06:06:26.046Z] 3351bc092656: Preparing [2023-05-05T06:06:26.046Z] d6676c60a31b: Preparing [2023-05-05T06:06:26.046Z] 8814579e7c20: Preparing [2023-05-05T06:06:26.046Z] f1417ff83b31: Preparing [2023-05-05T06:06:26.046Z] 3351bc092656: Layer already exists [2023-05-05T06:06:26.046Z] f1417ff83b31: Layer already exists [2023-05-05T06:06:26.046Z] 1819faa3da41: Layer already exists [2023-05-05T06:06:26.046Z] 8814579e7c20: Layer already exists [2023-05-05T06:06:26.046Z] d6676c60a31b: Layer already exists [2023-05-05T06:06:26.046Z] 322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:26.351Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:26.661Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-05-05T06:06:26.661Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-05-05T06:06:26.661Z] 1819faa3da41: Preparing [2023-05-05T06:06:26.661Z] 3351bc092656: Preparing [2023-05-05T06:06:26.661Z] d6676c60a31b: Preparing [2023-05-05T06:06:26.661Z] 8814579e7c20: Preparing [2023-05-05T06:06:26.661Z] f1417ff83b31: Preparing [2023-05-05T06:06:26.661Z] 8814579e7c20: Layer already exists [2023-05-05T06:06:26.661Z] f1417ff83b31: Layer already exists [2023-05-05T06:06:26.661Z] d6676c60a31b: Layer already exists [2023-05-05T06:06:26.661Z] 1819faa3da41: Layer already exists [2023-05-05T06:06:26.661Z] 3351bc092656: Layer already exists [2023-05-05T06:06:26.661Z] main: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:06:26.713Z] ===================================================== [Pipeline] echo [2023-05-05T06:06:26.720Z] taggedImages: [2023-05-05T06:06:26.720Z] - nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130 [2023-05-05T06:06:26.720Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-05-05T06:06:26.720Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.36 [2023-05-05T06:06:26.720Z] - nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [2023-05-05T06:06:26.720Z] - 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-05-05T06:06:27.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:06:27.102Z] [2023-05-05T06:06:27.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:06:27.407Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:06:27.407Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-05T06:06:27.407Z] 5eb5b503b376: Pulling fs layer [2023-05-05T06:06:27.407Z] 5c69ac0246d0: Pulling fs layer [2023-05-05T06:06:27.407Z] ec43610c2a17: Pulling fs layer [2023-05-05T06:06:27.407Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-05T06:06:27.407Z] 33b1e0a273af: Pulling fs layer [2023-05-05T06:06:27.407Z] 5d3b04190fa2: Pulling fs layer [2023-05-05T06:06:27.407Z] 2f39f015ded8: Pulling fs layer [2023-05-05T06:06:27.407Z] 33b1e0a273af: Waiting [2023-05-05T06:06:27.407Z] 5d3b04190fa2: Waiting [2023-05-05T06:06:27.407Z] 2f39f015ded8: Waiting [2023-05-05T06:06:27.407Z] 3a2ae6a8a46f: Waiting [2023-05-05T06:06:27.407Z] 5c69ac0246d0: Verifying Checksum [2023-05-05T06:06:27.407Z] 5c69ac0246d0: Download complete [2023-05-05T06:06:27.407Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-05T06:06:27.407Z] 3a2ae6a8a46f: Download complete [2023-05-05T06:06:27.407Z] 33b1e0a273af: Verifying Checksum [2023-05-05T06:06:27.407Z] 33b1e0a273af: Download complete [2023-05-05T06:06:27.407Z] ec43610c2a17: Verifying Checksum [2023-05-05T06:06:27.407Z] ec43610c2a17: Download complete [2023-05-05T06:06:27.407Z] 5d3b04190fa2: Verifying Checksum [2023-05-05T06:06:27.407Z] 5d3b04190fa2: Download complete [2023-05-05T06:06:27.667Z] 5eb5b503b376: Verifying Checksum [2023-05-05T06:06:27.667Z] 5eb5b503b376: Download complete [2023-05-05T06:06:28.232Z] 2f39f015ded8: Download complete [2023-05-05T06:06:28.798Z] 5eb5b503b376: Pull complete [2023-05-05T06:06:29.056Z] 5c69ac0246d0: Pull complete [2023-05-05T06:06:29.623Z] ec43610c2a17: Pull complete [2023-05-05T06:06:29.623Z] 3a2ae6a8a46f: Pull complete [2023-05-05T06:06:29.880Z] 33b1e0a273af: Pull complete [2023-05-05T06:06:29.880Z] 5d3b04190fa2: Pull complete [2023-05-05T06:06:34.065Z] 2f39f015ded8: Pull complete [2023-05-05T06:06:34.065Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-05T06:06:34.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:06:34.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:06:34.146Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:06:34.176Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T06:06:36.873Z] $ docker top a339f011550a0824cc6e9500b232ad466b60c8dbb98a6957fd474c71ed285a8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:06:37.249Z] ---> job-cost.sh [2023-05-05T06:06:37.249Z] lf-activate-venv: SKIPPING [2023-05-05T06:06:37.249Z] INFO: No Stack... [2023-05-05T06:06:37.507Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:06:37.766Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:06:38.054Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-05-05T06:06:38.054Z] + cut -d, -f6 [Pipeline] lock [2023-05-05T06:06:38.064Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [2023-05-05T06:06:38.073Z] Resource [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] did not exist. Created. [2023-05-05T06:06:38.073Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:06:38.382Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-05T06:06:38.421Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:06:38.431Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:06:38.452Z] $ docker stop --time=1 a339f011550a0824cc6e9500b232ad466b60c8dbb98a6957fd474c71ed285a8e [2023-05-05T06:06:39.611Z] $ docker rm -f --volumes a339f011550a0824cc6e9500b232ad466b60c8dbb98a6957fd474c71ed285a8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-05T06:07:27.468Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-13841 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-05-05T06:07:27.480Z] Running in /w/workspace/device-rest-go/108 [Pipeline] { [Pipeline] checkout [2023-05-05T06:07:27.514Z] The recommended git tool is: git [2023-05-05T06:07:33.909Z] using credential edgex-jenkins-ssh [2023-05-05T06:07:33.932Z] Cloning the remote Git repository [2023-05-05T06:07:33.985Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-05T06:07:34.095Z] > git init /w/workspace/device-rest-go/108 # timeout=10 [2023-05-05T06:07:34.267Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-05T06:07:34.269Z] > git --version # timeout=10 [2023-05-05T06:07:34.291Z] > git --version # 'git version 2.25.1' [2023-05-05T06:07:34.294Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-05T06:07:34.476Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:07:37.473Z] Avoid second fetch [2023-05-05T06:07:37.473Z] Checking out Revision 322050c65873fd50260d8a368346f4ba3310d130 (main) [2023-05-05T06:07:36.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-05T06:07:36.457Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-05T06:07:37.494Z] > git config core.sparsecheckout # timeout=10 [2023-05-05T06:07:37.572Z] > git checkout -f 322050c65873fd50260d8a368346f4ba3310d130 # timeout=10 [2023-05-05T06:07:38.115Z] Commit message: "Merge pull request #308 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:07:38.954Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-05T06:07:38.954Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:07:38.954Z] Dload Upload Total Spent Left Speed [2023-05-05T06:07:38.954Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 249k 0 --:--:-- --:--:-- --:--:-- 249k [Pipeline] sh [2023-05-05T06:07:39.639Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-05T06:07:39.975Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-05T06:07:39.975Z] + sudo tee /etc/docker/daemon.new [2023-05-05T06:07:39.975Z] { [2023-05-05T06:07:39.975Z] "registry-mirrors": [ [2023-05-05T06:07:39.975Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-05T06:07:39.975Z] ], [2023-05-05T06:07:39.975Z] "bip": "10.250.0.254/24", [2023-05-05T06:07:39.975Z] "hosts": [ [2023-05-05T06:07:39.975Z] "tcp://0.0.0.0:5555", [2023-05-05T06:07:39.975Z] "unix:///var/run/docker.sock" [2023-05-05T06:07:39.975Z] ], [2023-05-05T06:07:39.975Z] "mtu": 1458, [2023-05-05T06:07:39.975Z] "selinux-enabled": true, [2023-05-05T06:07:39.975Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-05T06:07:39.975Z] } [Pipeline] sh [2023-05-05T06:07:40.313Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-05T06:07:40.660Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:07:58.963Z] provisioning config files... [2023-05-05T06:07:58.995Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/108@tmp/config12337657651637926955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:07:59.365Z] ---> docker-login.sh [2023-05-05T06:07:59.365Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:07:59.641Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:07:59.913Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:07:59.913Z] Configure a credential helper to remove this warning. See [2023-05-05T06:07:59.913Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:07:59.913Z] [2023-05-05T06:07:59.913Z] Login Succeeded [2023-05-05T06:07:59.913Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:08:00.183Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:00.459Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:00.459Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:00.459Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:00.459Z] [2023-05-05T06:08:00.459Z] Login Succeeded [2023-05-05T06:08:00.459Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:08:00.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:00.731Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:00.731Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:00.731Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:00.731Z] [2023-05-05T06:08:00.731Z] Login Succeeded [2023-05-05T06:08:00.731Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:08:01.003Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:01.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:01.004Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:01.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:01.004Z] [2023-05-05T06:08:01.004Z] Login Succeeded [2023-05-05T06:08:01.004Z] docker.io [2023-05-05T06:08:01.280Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:08:01.562Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:08:01.562Z] Configure a credential helper to remove this warning. See [2023-05-05T06:08:01.562Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:08:01.562Z] [2023-05-05T06:08:01.562Z] Login Succeeded [2023-05-05T06:08:01.562Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:08:01.581Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-05T06:08:01.955Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:08:01.973Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:08:01.987Z] ========================================================= [2023-05-05T06:08:01.987Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-05T06:08:01.987Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:08:02.352Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-05T06:08:02.352Z] Sending build context to Docker daemon 139.3kB [2023-05-05T06:08:02.627Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:08:02.627Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-05T06:08:02.904Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-05T06:08:02.904Z] c41833b44d91: Pulling fs layer [2023-05-05T06:08:02.904Z] ed15518f5707: Pulling fs layer [2023-05-05T06:08:02.904Z] feae8fd75edb: Pulling fs layer [2023-05-05T06:08:02.904Z] 242c74f7c9fa: Pulling fs layer [2023-05-05T06:08:02.904Z] 3cdef696dda3: Pulling fs layer [2023-05-05T06:08:02.904Z] 2ced38df9373: Pulling fs layer [2023-05-05T06:08:02.904Z] 58f1dce35555: Pulling fs layer [2023-05-05T06:08:02.904Z] 3cdef696dda3: Waiting [2023-05-05T06:08:02.904Z] 2ced38df9373: Waiting [2023-05-05T06:08:02.904Z] 58f1dce35555: Waiting [2023-05-05T06:08:02.904Z] 242c74f7c9fa: Waiting [2023-05-05T06:08:02.904Z] ed15518f5707: Verifying Checksum [2023-05-05T06:08:02.904Z] ed15518f5707: Download complete [2023-05-05T06:08:02.904Z] 242c74f7c9fa: Verifying Checksum [2023-05-05T06:08:02.904Z] 242c74f7c9fa: Download complete [2023-05-05T06:08:02.904Z] 3cdef696dda3: Verifying Checksum [2023-05-05T06:08:02.904Z] 3cdef696dda3: Download complete [2023-05-05T06:08:02.904Z] c41833b44d91: Verifying Checksum [2023-05-05T06:08:02.904Z] c41833b44d91: Download complete [2023-05-05T06:08:03.899Z] c41833b44d91: Pull complete [2023-05-05T06:08:04.869Z] 58f1dce35555: Verifying Checksum [2023-05-05T06:08:04.869Z] 58f1dce35555: Download complete [2023-05-05T06:08:04.869Z] ed15518f5707: Pull complete [2023-05-05T06:08:05.852Z] feae8fd75edb: Verifying Checksum [2023-05-05T06:08:05.852Z] feae8fd75edb: Download complete [2023-05-05T06:08:06.122Z] 2ced38df9373: Verifying Checksum [2023-05-05T06:08:16.227Z] feae8fd75edb: Pull complete [2023-05-05T06:08:16.227Z] 242c74f7c9fa: Pull complete [2023-05-05T06:08:16.496Z] 3cdef696dda3: Pull complete [2023-05-05T06:08:23.170Z] 2ced38df9373: Pull complete [2023-05-05T06:08:25.895Z] 58f1dce35555: Pull complete [2023-05-05T06:08:25.895Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-05T06:08:25.895Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-05T06:08:25.895Z] ---> fadd8f120f05 [2023-05-05T06:08:25.895Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:08:27.859Z] ---> Running in fef063eab250 [2023-05-05T06:08:28.130Z] Removing intermediate container fef063eab250 [2023-05-05T06:08:28.130Z] ---> b8ab6180a272 [2023-05-05T06:08:28.130Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:08:28.130Z] ---> Running in 9988368fb957 [2023-05-05T06:08:28.402Z] Removing intermediate container 9988368fb957 [2023-05-05T06:08:28.402Z] ---> f9ed140ab95d [2023-05-05T06:08:28.402Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:08:28.678Z] ---> Running in 72f063f520e3 [2023-05-05T06:08:28.954Z] Removing intermediate container 72f063f520e3 [2023-05-05T06:08:28.954Z] ---> a0b8ec0aacd0 [2023-05-05T06:08:28.954Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:08:28.954Z] ---> Running in 8f6832d1a06a [2023-05-05T06:08:29.229Z] Removing intermediate container 8f6832d1a06a [2023-05-05T06:08:29.229Z] ---> a88840dc684d [2023-05-05T06:08:29.229Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:08:29.229Z] ---> Running in c688e961a090 [2023-05-05T06:08:30.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:08:31.259Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:08:32.689Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-05T06:08:32.689Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-05T06:08:32.689Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-05T06:08:32.689Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-05T06:08:32.689Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:08:32.959Z] OK: 268 MiB in 57 packages [2023-05-05T06:08:33.942Z] Removing intermediate container c688e961a090 [2023-05-05T06:08:33.942Z] ---> 4b5688d8d39f [2023-05-05T06:08:33.942Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-05T06:08:34.222Z] ---> Running in 2ec20b1e7ef4 [2023-05-05T06:08:34.496Z] Removing intermediate container 2ec20b1e7ef4 [2023-05-05T06:08:34.496Z] ---> 5de20217e06f [2023-05-05T06:08:34.496Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-05T06:08:35.088Z] ---> 090d143cd9ff [2023-05-05T06:08:35.088Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:08:35.364Z] ---> Running in cb4eb0831d3f [2023-05-05T06:09:43.343Z] Removing intermediate container cb4eb0831d3f [2023-05-05T06:09:43.343Z] ---> 353f24d3323f [2023-05-05T06:09:43.343Z] Step 11/12 : COPY . . [2023-05-05T06:09:43.343Z] ---> 1da731769739 [2023-05-05T06:09:43.343Z] Step 12/12 : RUN $MAKE [2023-05-05T06:09:43.343Z] ---> Running in 52ef41f7bc4b [2023-05-05T06:09:43.343Z] noop [2023-05-05T06:09:43.616Z] Removing intermediate container 52ef41f7bc4b [2023-05-05T06:09:43.616Z] ---> 2459029a9d0e [2023-05-05T06:09:43.616Z] Successfully built 2459029a9d0e [2023-05-05T06:09:43.892Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:09:44.299Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:09:44.299Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:09:44.556Z] prd-ubuntu20.04-docker-arm64-4c-16g-13841 does not seem to be running inside a container [2023-05-05T06:09:44.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/108 -v /w/workspace/device-rest-go/108:/w/workspace/device-rest-go/108:rw,z -v /w/workspace/device-rest-go/108@tmp:/w/workspace/device-rest-go/108@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-05-05T06:09:46.592Z] $ docker top d65c55c665c6b030894330eabbd32ea2fdfd20875886223daa0161b77b9ecb65 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:09:47.515Z] + go version [2023-05-05T06:09:47.515Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-05T06:09:47.541Z] $ docker stop --time=1 d65c55c665c6b030894330eabbd32ea2fdfd20875886223daa0161b77b9ecb65 [2023-05-05T06:09:49.361Z] $ docker rm -f --volumes d65c55c665c6b030894330eabbd32ea2fdfd20875886223daa0161b77b9ecb65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:09:49.952Z] + docker inspect -f . ci-base-image-arm64 [2023-05-05T06:09:49.952Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:09:50.196Z] prd-ubuntu20.04-docker-arm64-4c-16g-13841 does not seem to be running inside a container [2023-05-05T06:09:50.287Z] $ 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/108 -v /w/workspace/device-rest-go/108:/w/workspace/device-rest-go/108:rw,z -v /w/workspace/device-rest-go/108@tmp:/w/workspace/device-rest-go/108@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-05-05T06:09:51.812Z] $ docker top 2c26949052290c04d7f393a7fcee60035988d05e74908a8218fd253cc29d27a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:09:52.728Z] + git config --global --add safe.directory /w/workspace/device-rest-go/108 [Pipeline] fileExists [Pipeline] sh [2023-05-05T06:09:53.402Z] + make test [2023-05-05T06:09:53.403Z] go test ./... -coverprofile=coverage.out ./... [2023-05-05T06:10:40.388Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-05T06:13:17.476Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-05T06:13:24.175Z] ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 32.2% of statements [2023-05-05T06:13:24.767Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-05T06:13:24.767Z] go vet ./... [2023-05-05T06:14:03.713Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-05T06:14:03.713Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-05T06:14:03.713Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-05T06:14:03.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-05T06:14:03.750Z] $ docker stop --time=1 2c26949052290c04d7f393a7fcee60035988d05e74908a8218fd253cc29d27a6 [2023-05-05T06:14:05.716Z] $ docker rm -f --volumes 2c26949052290c04d7f393a7fcee60035988d05e74908a8218fd253cc29d27a6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:14:07.055Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-05T06:14:07.084Z] Warning: overwriting stash ‘coverage-report’ [2023-05-05T06:14:07.786Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-05T06:14:08.196Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-05T06:14:08.538Z] + ls -al . [2023-05-05T06:14:08.538Z] total 180 [2023-05-05T06:14:08.538Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:09 . [2023-05-05T06:14:08.538Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:07 .. [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 151 May 5 06:07 .dockerignore [2023-05-05T06:14:08.538Z] drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:07 .git [2023-05-05T06:14:08.538Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:07 .github [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 329 May 5 06:07 .gitignore [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:07 .golangci.yml [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 5 06:07 Attribution.txt [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 5 06:07 CHANGELOG.md [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 5 06:07 Dockerfile [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:07 GOVERNANCE.md [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:07 Jenkinsfile [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:07 LICENSE [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 5 06:07 Makefile [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:07 OWNERS.md [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 5 06:07 README.md [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:04 VERSION [2023-05-05T06:14:08.538Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:07 bin [2023-05-05T06:14:08.538Z] drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:07 cmd [2023-05-05T06:14:08.538Z] -rw-r--r-- 1 jenkins jenkins 14663 May 5 06:13 coverage.out [2023-05-05T06:14:08.538Z] drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:07 driver [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 5 06:07 go.mod [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 5 06:07 go.sum [2023-05-05T06:14:08.538Z] drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:07 snap [2023-05-05T06:14:08.538Z] -rw-rw-r-- 1 jenkins jenkins 713 May 5 06:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:14:08.901Z] + 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=322050c65873fd50260d8a368346f4ba3310d130 --label arch=arm64 --label version=3.0.0-dev.36 . [2023-05-05T06:14:08.902Z] Sending build context to Docker daemon 154.6kB [2023-05-05T06:14:09.171Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-05T06:14:09.171Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-05T06:14:09.171Z] ---> 2459029a9d0e [2023-05-05T06:14:09.171Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-05T06:14:09.442Z] ---> Running in 74d86b5bbeb3 [2023-05-05T06:14:10.034Z] Removing intermediate container 74d86b5bbeb3 [2023-05-05T06:14:10.034Z] ---> 9d16f12ee8e8 [2023-05-05T06:14:10.034Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-05T06:14:10.034Z] ---> Running in 2396c4222d77 [2023-05-05T06:14:10.303Z] Removing intermediate container 2396c4222d77 [2023-05-05T06:14:10.303Z] ---> 038fca6f262e [2023-05-05T06:14:10.303Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-05T06:14:10.303Z] ---> Running in a32ff25c7699 [2023-05-05T06:14:10.896Z] Removing intermediate container a32ff25c7699 [2023-05-05T06:14:10.896Z] ---> 4d81aa564c7e [2023-05-05T06:14:10.896Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-05T06:14:10.896Z] ---> Running in 41fd49d62320 [2023-05-05T06:14:11.170Z] Removing intermediate container 41fd49d62320 [2023-05-05T06:14:11.170Z] ---> 8c150f401462 [2023-05-05T06:14:11.170Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-05T06:14:11.442Z] ---> Running in ab0c74733b13 [2023-05-05T06:14:12.893Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:14:13.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:14:14.919Z] OK: 268 MiB in 57 packages [2023-05-05T06:14:15.902Z] Removing intermediate container ab0c74733b13 [2023-05-05T06:14:15.902Z] ---> e8b5dc2727b7 [2023-05-05T06:14:15.902Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-05T06:14:16.173Z] ---> Running in 63d734d99a65 [2023-05-05T06:14:16.449Z] Removing intermediate container 63d734d99a65 [2023-05-05T06:14:16.449Z] ---> b472d7f31e2b [2023-05-05T06:14:16.449Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-05T06:14:17.059Z] ---> 97c20fdc059b [2023-05-05T06:14:17.059Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-05T06:14:17.333Z] ---> Running in 1f8a807fcb2a [2023-05-05T06:14:20.717Z] Removing intermediate container 1f8a807fcb2a [2023-05-05T06:14:20.717Z] ---> 041d9b0528ca [2023-05-05T06:14:20.717Z] Step 11/25 : COPY . . [2023-05-05T06:14:20.717Z] ---> 6d2590d9c34c [2023-05-05T06:14:20.717Z] Step 12/25 : RUN $MAKE [2023-05-05T06:14:20.994Z] ---> Running in 0b8cb51043fb [2023-05-05T06:14:21.968Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-05T06:17:13.834Z] Removing intermediate container 0b8cb51043fb [2023-05-05T06:17:13.834Z] ---> 8fa8cfddb07b [2023-05-05T06:17:13.834Z] Step 13/25 : FROM alpine:3.17 [2023-05-05T06:17:13.834Z] 3.17: Pulling from library/alpine [2023-05-05T06:17:13.834Z] c41833b44d91: Already exists [2023-05-05T06:17:13.834Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-05T06:17:13.834Z] Status: Downloaded newer image for alpine:3.17 [2023-05-05T06:17:13.834Z] ---> 51e60588ff2c [2023-05-05T06:17:13.834Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-05T06:17:13.834Z] ---> Running in 82044539cc9d [2023-05-05T06:17:13.834Z] Removing intermediate container 82044539cc9d [2023-05-05T06:17:13.834Z] ---> 7374f307cb28 [2023-05-05T06:17:13.834Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-05T06:17:13.834Z] ---> Running in 947f2936c3f0 [2023-05-05T06:17:13.834Z] Removing intermediate container 947f2936c3f0 [2023-05-05T06:17:13.834Z] ---> 83fb3789c745 [2023-05-05T06:17:13.834Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-05T06:17:13.834Z] ---> Running in 38174c45d68b [2023-05-05T06:17:13.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-05T06:17:14.834Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-05T06:17:16.266Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-05T06:17:16.266Z] Executing busybox-1.35.0-r29.trigger [2023-05-05T06:17:16.266Z] OK: 8 MiB in 16 packages [2023-05-05T06:17:18.253Z] Removing intermediate container 38174c45d68b [2023-05-05T06:17:18.253Z] ---> 182bc988b5d6 [2023-05-05T06:17:18.253Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-05T06:17:19.681Z] ---> b1fcf44d2b53 [2023-05-05T06:17:19.681Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-05T06:17:20.272Z] ---> 8ee0d4b204c3 [2023-05-05T06:17:20.272Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-05T06:17:20.936Z] ---> d4327dd2c683 [2023-05-05T06:17:20.936Z] Step 20/25 : EXPOSE 59986 [2023-05-05T06:17:21.222Z] ---> Running in 4788633d8d7c [2023-05-05T06:17:21.502Z] Removing intermediate container 4788633d8d7c [2023-05-05T06:17:21.502Z] ---> 6b808310866e [2023-05-05T06:17:21.502Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-05T06:17:21.502Z] ---> Running in 9125c3640a9f [2023-05-05T06:17:22.105Z] Removing intermediate container 9125c3640a9f [2023-05-05T06:17:22.105Z] ---> 24e6fe0aef9e [2023-05-05T06:17:22.105Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-05T06:17:22.105Z] ---> Running in 4b056dbe2348 [2023-05-05T06:17:22.391Z] Removing intermediate container 4b056dbe2348 [2023-05-05T06:17:22.391Z] ---> 33919d1e4c5c [2023-05-05T06:17:22.391Z] Step 23/25 : LABEL arch=arm64 [2023-05-05T06:17:22.391Z] ---> Running in f3fabc61d6fe [2023-05-05T06:17:22.995Z] Removing intermediate container f3fabc61d6fe [2023-05-05T06:17:22.995Z] ---> 35cd3d366199 [2023-05-05T06:17:22.995Z] Step 24/25 : LABEL git_sha=322050c65873fd50260d8a368346f4ba3310d130 [2023-05-05T06:17:22.995Z] ---> Running in eb648cd713d3 [2023-05-05T06:17:23.277Z] Removing intermediate container eb648cd713d3 [2023-05-05T06:17:23.277Z] ---> 543c0c19275e [2023-05-05T06:17:23.277Z] Step 25/25 : LABEL version=3.0.0-dev.36 [2023-05-05T06:17:23.552Z] ---> Running in 73a57816453a [2023-05-05T06:17:23.822Z] Removing intermediate container 73a57816453a [2023-05-05T06:17:23.822Z] ---> e9f13fd064a2 [2023-05-05T06:17:23.822Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-05T06:17:23.822Z] Successfully built e9f13fd064a2 [2023-05-05T06:17:23.822Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:17:23.925Z] provisioning config files... [2023-05-05T06:17:23.941Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/108@tmp/config3544076024265130443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:17:24.306Z] ---> docker-login.sh [2023-05-05T06:17:24.306Z] nexus3.edgexfoundry.org:10001 [2023-05-05T06:17:24.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:17:24.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:17:24.575Z] Configure a credential helper to remove this warning. See [2023-05-05T06:17:24.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:17:24.575Z] [2023-05-05T06:17:24.575Z] Login Succeeded [2023-05-05T06:17:24.575Z] nexus3.edgexfoundry.org:10002 [2023-05-05T06:17:24.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:17:25.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:17:25.114Z] Configure a credential helper to remove this warning. See [2023-05-05T06:17:25.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:17:25.114Z] [2023-05-05T06:17:25.114Z] Login Succeeded [2023-05-05T06:17:25.114Z] nexus3.edgexfoundry.org:10003 [2023-05-05T06:17:25.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:17:25.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:17:25.386Z] Configure a credential helper to remove this warning. See [2023-05-05T06:17:25.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:17:25.386Z] [2023-05-05T06:17:25.386Z] Login Succeeded [2023-05-05T06:17:25.386Z] nexus3.edgexfoundry.org:10004 [2023-05-05T06:17:25.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:17:25.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:17:25.981Z] Configure a credential helper to remove this warning. See [2023-05-05T06:17:25.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:17:25.981Z] [2023-05-05T06:17:25.981Z] Login Succeeded [2023-05-05T06:17:25.981Z] docker.io [2023-05-05T06:17:26.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-05T06:17:26.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-05T06:17:26.524Z] Configure a credential helper to remove this warning. See [2023-05-05T06:17:26.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-05T06:17:26.524Z] [2023-05-05T06:17:26.524Z] Login Succeeded [2023-05-05T06:17:26.524Z] ---> docker-login.sh ends [Pipeline] } [2023-05-05T06:17:26.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:17:26.570Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-05T06:17:26.587Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-05-05T06:17:26.587Z] 322050c65873fd50260d8a368346f4ba3310d130 [2023-05-05T06:17:26.587Z] latest [2023-05-05T06:17:26.587Z] 3.0.0-dev.36 [2023-05-05T06:17:26.587Z] 322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [2023-05-05T06:17:26.587Z] main [2023-05-05T06:17:26.587Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:26.947Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:27.316Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130 [2023-05-05T06:17:27.316Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-05T06:17:27.316Z] 359e5bab2f3f: Preparing [2023-05-05T06:17:27.316Z] 9802cba24024: Preparing [2023-05-05T06:17:27.316Z] 8851b45986b0: Preparing [2023-05-05T06:17:27.316Z] 7649e12d81b7: Preparing [2023-05-05T06:17:27.316Z] 26cbea5cba74: Preparing [2023-05-05T06:17:27.589Z] 26cbea5cba74: Layer already exists [2023-05-05T06:17:27.589Z] 359e5bab2f3f: Pushed [2023-05-05T06:17:27.589Z] 7649e12d81b7: Pushed [2023-05-05T06:17:27.589Z] 9802cba24024: Pushed [2023-05-05T06:17:34.284Z] 8851b45986b0: Pushed [2023-05-05T06:17:34.284Z] 322050c65873fd50260d8a368346f4ba3310d130: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:34.660Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:35.020Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-05-05T06:17:35.020Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-05T06:17:35.020Z] 359e5bab2f3f: Preparing [2023-05-05T06:17:35.020Z] 9802cba24024: Preparing [2023-05-05T06:17:35.020Z] 8851b45986b0: Preparing [2023-05-05T06:17:35.020Z] 7649e12d81b7: Preparing [2023-05-05T06:17:35.020Z] 26cbea5cba74: Preparing [2023-05-05T06:17:35.020Z] 359e5bab2f3f: Layer already exists [2023-05-05T06:17:35.020Z] 9802cba24024: Layer already exists [2023-05-05T06:17:35.020Z] 26cbea5cba74: Layer already exists [2023-05-05T06:17:35.020Z] 8851b45986b0: Layer already exists [2023-05-05T06:17:35.020Z] 7649e12d81b7: Layer already exists [2023-05-05T06:17:35.291Z] latest: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:35.662Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:36.025Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.36 [2023-05-05T06:17:36.025Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-05T06:17:36.025Z] 359e5bab2f3f: Preparing [2023-05-05T06:17:36.025Z] 9802cba24024: Preparing [2023-05-05T06:17:36.025Z] 8851b45986b0: Preparing [2023-05-05T06:17:36.025Z] 7649e12d81b7: Preparing [2023-05-05T06:17:36.025Z] 26cbea5cba74: Preparing [2023-05-05T06:17:36.025Z] 8851b45986b0: Layer already exists [2023-05-05T06:17:36.026Z] 359e5bab2f3f: Layer already exists [2023-05-05T06:17:36.026Z] 7649e12d81b7: Layer already exists [2023-05-05T06:17:36.026Z] 26cbea5cba74: Layer already exists [2023-05-05T06:17:36.026Z] 9802cba24024: Layer already exists [2023-05-05T06:17:36.297Z] 3.0.0-dev.36: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:36.661Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:37.023Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [2023-05-05T06:17:37.023Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-05T06:17:37.023Z] 359e5bab2f3f: Preparing [2023-05-05T06:17:37.023Z] 9802cba24024: Preparing [2023-05-05T06:17:37.023Z] 8851b45986b0: Preparing [2023-05-05T06:17:37.023Z] 7649e12d81b7: Preparing [2023-05-05T06:17:37.023Z] 26cbea5cba74: Preparing [2023-05-05T06:17:37.023Z] 26cbea5cba74: Layer already exists [2023-05-05T06:17:37.023Z] 9802cba24024: Layer already exists [2023-05-05T06:17:37.023Z] 359e5bab2f3f: Layer already exists [2023-05-05T06:17:37.023Z] 7649e12d81b7: Layer already exists [2023-05-05T06:17:37.023Z] 8851b45986b0: Layer already exists [2023-05-05T06:17:37.293Z] 322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:37.665Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:38.030Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-05-05T06:17:38.030Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-05-05T06:17:38.030Z] 359e5bab2f3f: Preparing [2023-05-05T06:17:38.030Z] 9802cba24024: Preparing [2023-05-05T06:17:38.030Z] 8851b45986b0: Preparing [2023-05-05T06:17:38.030Z] 7649e12d81b7: Preparing [2023-05-05T06:17:38.030Z] 26cbea5cba74: Preparing [2023-05-05T06:17:38.030Z] 26cbea5cba74: Layer already exists [2023-05-05T06:17:38.030Z] 7649e12d81b7: Layer already exists [2023-05-05T06:17:38.030Z] 359e5bab2f3f: Layer already exists [2023-05-05T06:17:38.030Z] 8851b45986b0: Layer already exists [2023-05-05T06:17:38.030Z] 9802cba24024: Layer already exists [2023-05-05T06:17:38.300Z] main: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-05-05T06:17:38.353Z] ===================================================== [Pipeline] echo [2023-05-05T06:17:38.359Z] taggedImages: [2023-05-05T06:17:38.359Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130 [2023-05-05T06:17:38.359Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-05-05T06:17:38.359Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.36 [2023-05-05T06:17:38.359Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [2023-05-05T06:17:38.359Z] - 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-05-05T06:17:38.742Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:17:38.742Z] [2023-05-05T06:17:38.742Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:17:39.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:17:39.382Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-05T06:17:39.382Z] 8998bd30e6a1: Pulling fs layer [2023-05-05T06:17:39.382Z] 04944245beec: Pulling fs layer [2023-05-05T06:17:39.382Z] 699f458cf7ca: Pulling fs layer [2023-05-05T06:17:39.382Z] 765212b225bb: Pulling fs layer [2023-05-05T06:17:39.382Z] f23df028b6ca: Pulling fs layer [2023-05-05T06:17:39.382Z] d65c8cfc05b1: Pulling fs layer [2023-05-05T06:17:39.382Z] 2437ff75d9bd: Pulling fs layer [2023-05-05T06:17:39.382Z] f23df028b6ca: Waiting [2023-05-05T06:17:39.382Z] d65c8cfc05b1: Waiting [2023-05-05T06:17:39.382Z] 765212b225bb: Waiting [2023-05-05T06:17:39.382Z] 2437ff75d9bd: Waiting [2023-05-05T06:17:39.382Z] 04944245beec: Verifying Checksum [2023-05-05T06:17:39.382Z] 04944245beec: Download complete [2023-05-05T06:17:39.382Z] 765212b225bb: Verifying Checksum [2023-05-05T06:17:39.382Z] 765212b225bb: Download complete [2023-05-05T06:17:39.382Z] f23df028b6ca: Download complete [2023-05-05T06:17:39.661Z] d65c8cfc05b1: Verifying Checksum [2023-05-05T06:17:39.661Z] d65c8cfc05b1: Download complete [2023-05-05T06:17:39.661Z] 699f458cf7ca: Verifying Checksum [2023-05-05T06:17:39.661Z] 699f458cf7ca: Download complete [2023-05-05T06:17:39.935Z] 8998bd30e6a1: Verifying Checksum [2023-05-05T06:17:39.935Z] 8998bd30e6a1: Download complete [2023-05-05T06:17:42.547Z] 2437ff75d9bd: Verifying Checksum [2023-05-05T06:17:42.547Z] 2437ff75d9bd: Download complete [2023-05-05T06:17:44.514Z] 8998bd30e6a1: Pull complete [2023-05-05T06:17:46.481Z] 04944245beec: Pull complete [2023-05-05T06:17:47.911Z] 699f458cf7ca: Pull complete [2023-05-05T06:17:48.186Z] 765212b225bb: Pull complete [2023-05-05T06:17:49.159Z] f23df028b6ca: Pull complete [2023-05-05T06:17:49.431Z] d65c8cfc05b1: Pull complete [2023-05-05T06:18:04.481Z] 2437ff75d9bd: Pull complete [2023-05-05T06:18:04.481Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-05T06:18:04.481Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-05T06:18:04.481Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:18:04.719Z] prd-ubuntu20.04-docker-arm64-4c-16g-13841 does not seem to be running inside a container [2023-05-05T06:18:04.808Z] $ 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/108 -v /w/workspace/device-rest-go/108:/w/workspace/device-rest-go/108:rw,z -v /w/workspace/device-rest-go/108@tmp:/w/workspace/device-rest-go/108@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-05-05T06:18:08.221Z] $ docker top 4271e7e7d86458b5293f46ad923640782f09a045583d885d9d50ab4fdf3ed235 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:18:09.159Z] ---> job-cost.sh [2023-05-05T06:18:09.159Z] lf-activate-venv: SKIPPING [2023-05-05T06:18:09.159Z] INFO: No Stack... [2023-05-05T06:18:09.758Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-05T06:18:10.737Z] INFO: Archiving Costs [Pipeline] sh [2023-05-05T06:18:11.403Z] + cut -d, -f6 [2023-05-05T06:18:11.403Z] + cat /w/workspace/device-rest-go/108/archives/cost.csv [Pipeline] lock [2023-05-05T06:18:11.485Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [2023-05-05T06:18:11.491Z] Resource [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] did not exist. Created. [2023-05-05T06:18:11.491Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-05T06:18:12.165Z] /w/workspace/device-rest-go/108@tmp/durable-68f7a3e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-05T06:18:12.837Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-05T06:18:12.862Z] Warning: overwriting stash ‘stack-cost’ [2023-05-05T06:18:12.917Z] Stashed 1 file(s) [Pipeline] } [2023-05-05T06:18:12.926Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-05T06:18:12.941Z] $ docker stop --time=1 4271e7e7d86458b5293f46ad923640782f09a045583d885d9d50ab4fdf3ed235 [2023-05-05T06:18:15.364Z] $ docker rm -f --volumes 4271e7e7d86458b5293f46ad923640782f09a045583d885d9d50ab4fdf3ed235 [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-05-05T06:18:15.840Z] provisioning config files... [2023-05-05T06:18:15.847Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3503811714128884938tmp [Pipeline] { [Pipeline] sh [2023-05-05T06:18:16.143Z] + set +x [2023-05-05T06:18:16.143Z] + curl -s https://codecov.io/bash [2023-05-05T06:18:16.143Z] + bash -s -- [2023-05-05T06:18:16.143Z] [2023-05-05T06:18:16.143Z] _____ _ [2023-05-05T06:18:16.143Z] / ____| | | [2023-05-05T06:18:16.143Z] | | ___ __| | ___ ___ _____ __ [2023-05-05T06:18:16.143Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-05T06:18:16.143Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-05T06:18:16.143Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-05T06:18:16.143Z] Bash-1.0.6 [2023-05-05T06:18:16.143Z] [2023-05-05T06:18:16.143Z] [2023-05-05T06:18:16.143Z] ==> git version 2.25.1 found [2023-05-05T06:18:16.143Z] ==> 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-05-05T06:18:16.143Z] Release-Date: 2020-01-08 [2023-05-05T06:18:16.143Z] 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-05-05T06:18:16.143Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-05T06:18:16.143Z] ==> Jenkins CI detected. [2023-05-05T06:18:16.143Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-05-05T06:18:16.143Z] project root: . [2023-05-05T06:18:16.143Z] --> token set from env [2023-05-05T06:18:16.143Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-05T06:18:16.143Z] ==> Running gcov in . (disable via -X gcov) [2023-05-05T06:18:16.143Z] ==> Python coveragepy not found [2023-05-05T06:18:16.143Z] ==> Searching for coverage reports in: [2023-05-05T06:18:16.143Z] + . [2023-05-05T06:18:16.143Z] -> Found 1 reports [2023-05-05T06:18:16.143Z] ==> Detecting git/mercurial file structure [2023-05-05T06:18:16.143Z] ==> Reading reports [2023-05-05T06:18:16.143Z] + ./coverage.out bytes=14663 [2023-05-05T06:18:16.143Z] ==> Appending adjustments [2023-05-05T06:18:16.143Z] https://docs.codecov.io/docs/fixing-reports [2023-05-05T06:18:16.403Z] + Found adjustments [2023-05-05T06:18:16.403Z] ==> Gzipping contents [2023-05-05T06:18:16.403Z] 4.0K /tmp/codecov.rmgqek.gz [2023-05-05T06:18:16.403Z] ==> Uploading reports [2023-05-05T06:18:16.403Z] url: https://codecov.io [2023-05-05T06:18:16.403Z] query: branch=main&commit=322050c65873fd50260d8a368346f4ba3310d130&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:18:16.403Z] -> Pinging Codecov [2023-05-05T06:18:16.403Z] 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=322050c65873fd50260d8a368346f4ba3310d130&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-05-05T06:18:16.403Z] -> Uploading to [2023-05-05T06:18:16.403Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-05/4E5D53B4F1F92C436F7061BF334D961C/322050c65873fd50260d8a368346f4ba3310d130/9a1ad12d-fb53-4520-b9a3-532fae08ff62.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T061816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b339862e8bffd6c7e8ba8321b4ff9467973005acf9c10bf3f5b378bfedade2d1 [2023-05-05T06:18:16.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-05T06:18:16.403Z] Dload Upload Total Spent Left Speed [2023-05-05T06:18:16.661Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12364 --:--:-- --:--:-- --:--:-- 12364 100 2510 0 0 100 2510 0 12125 --:--:-- --:--:-- --:--:-- 12067 [2023-05-05T06:18:16.661Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] } [2023-05-05T06:18:16.668Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-05-05T06:18:16.793Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-05-05T06:18:16.803Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:18:17.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:18:17.091Z] [2023-05-05T06:18:17.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:18:17.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:18:17.413Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-05-05T06:18:17.413Z] df9b9388f04a: Pulling fs layer [2023-05-05T06:18:17.413Z] 52dc419b0ee2: Pulling fs layer [2023-05-05T06:18:17.413Z] 25bc292e5bac: Pulling fs layer [2023-05-05T06:18:17.413Z] 114826534d7a: Pulling fs layer [2023-05-05T06:18:17.413Z] 4657fd5d0bcf: Pulling fs layer [2023-05-05T06:18:17.413Z] 6ad1cebc031e: Pulling fs layer [2023-05-05T06:18:17.413Z] 8a3aa393b2d8: Pulling fs layer [2023-05-05T06:18:17.413Z] 114826534d7a: Waiting [2023-05-05T06:18:17.413Z] 4657fd5d0bcf: Waiting [2023-05-05T06:18:17.413Z] 6ad1cebc031e: Waiting [2023-05-05T06:18:17.413Z] 8a3aa393b2d8: Waiting [2023-05-05T06:18:17.413Z] 25bc292e5bac: Verifying Checksum [2023-05-05T06:18:17.413Z] 25bc292e5bac: Download complete [2023-05-05T06:18:17.413Z] 52dc419b0ee2: Download complete [2023-05-05T06:18:17.413Z] 4657fd5d0bcf: Download complete [2023-05-05T06:18:17.413Z] df9b9388f04a: Download complete [2023-05-05T06:18:17.672Z] df9b9388f04a: Pull complete [2023-05-05T06:18:17.672Z] 6ad1cebc031e: Verifying Checksum [2023-05-05T06:18:17.672Z] 6ad1cebc031e: Download complete [2023-05-05T06:18:17.672Z] 52dc419b0ee2: Pull complete [2023-05-05T06:18:17.672Z] 25bc292e5bac: Pull complete [2023-05-05T06:18:18.241Z] 114826534d7a: Verifying Checksum [2023-05-05T06:18:18.241Z] 114826534d7a: Download complete [2023-05-05T06:18:18.241Z] 8a3aa393b2d8: Verifying Checksum [2023-05-05T06:18:18.241Z] 8a3aa393b2d8: Download complete [2023-05-05T06:18:22.429Z] 114826534d7a: Pull complete [2023-05-05T06:18:22.429Z] 4657fd5d0bcf: Pull complete [2023-05-05T06:18:22.429Z] 6ad1cebc031e: Pull complete [2023-05-05T06:18:24.959Z] 8a3aa393b2d8: Pull complete [2023-05-05T06:18:24.959Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-05-05T06:18:24.959Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-05-05T06:18:24.959Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:18:25.049Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:18:25.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-05-05T06:18:28.539Z] $ docker top c48c771e3541ad3b2a8546ee19879b3ba52aebc3acc26e06f8bcb0f311f4a282 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-05-05T06:18:28.596Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-05-05T06:18:28.874Z] + set -o pipefail [2023-05-05T06:18:28.874Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-05-05T06:18:33.065Z] [2023-05-05T06:18:33.065Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-05-05T06:18:33.065Z] [2023-05-05T06:18:33.065Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/2d126e83-8754-4713-b83b-82d024b92bb0 [2023-05-05T06:18:33.065Z] [2023-05-05T06:18:33.065Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-05-05T06:18:33.065Z] [2023-05-05T06:18:33.065Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-05-05T06:18:33.065Z] [2023-05-05T06:18:33.325Z] [2023-05-05T06:18:33.325Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-05-05T06:18:33.325Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-05-05T06:18:33.325Z] More details here: https://snyk.co/ue1NS [2023-05-05T06:18:33.325Z] You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. [2023-05-05T06:18:33.325Z] To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } [2023-05-05T06:18:33.340Z] $ docker stop --time=1 c48c771e3541ad3b2a8546ee19879b3ba52aebc3acc26e06f8bcb0f311f4a282 [2023-05-05T06:18:36.485Z] $ docker rm -f --volumes c48c771e3541ad3b2a8546ee19879b3ba52aebc3acc26e06f8bcb0f311f4a282 [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-05-05T06:18:37.169Z] + git log --format=format:%s -1 322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] sh [2023-05-05T06:18:37.454Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:18:37.454Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:18:37.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:18:37.748Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:18:37.822Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:18:37.852Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:18:38.251Z] $ docker top 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:18:38.343Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:18:38.343Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:18:38.457Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:18:38.462Z] $ docker exec 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc ssh-agent [2023-05-05T06:18:38.591Z] SSH_AUTH_SOCK=/tmp/ssh-fG7qFgUpjCIf/agent.32 [2023-05-05T06:18:38.591Z] SSH_AGENT_PID=38 [2023-05-05T06:18:38.596Z] Running ssh-add (command line suppressed) [2023-05-05T06:18:38.703Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_97406131751588890.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_97406131751588890.key) [2023-05-05T06:18:38.725Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:18:39.017Z] + git semver tag [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,192 [run_tag] DEBUG tag force:False [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,192 [check_head_tag] DEBUG check head tag [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,194 [execute] INFO git cat-file --batch-check [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,198 [execute] INFO git cat-file --batch [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,228 [execute] INFO git tag -a v3.0.0-dev.36 -m v3.0.0-dev.36 [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,228 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.36', '-m', 'v3.0.0-dev.36'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:18:39.277Z] 2023-05-05 06:18:39,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-05T06:18:39.277Z] 3.0.0-dev.36 [Pipeline] } [2023-05-05T06:18:39.290Z] $ docker exec --env ******** --env ******** 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc ssh-agent -k [2023-05-05T06:18:39.394Z] unset SSH_AUTH_SOCK; [2023-05-05T06:18:39.395Z] unset SSH_AGENT_PID; [2023-05-05T06:18:39.395Z] echo Agent pid 38 killed; [2023-05-05T06:18:39.402Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:18:39.699Z] + git semver [Pipeline] } [2023-05-05T06:18:40.288Z] $ docker stop --time=1 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc [2023-05-05T06:18:41.581Z] $ docker rm -f --volumes 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:18:41.945Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:18:41.945Z] [2023-05-05T06:18:41.945Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:18:42.239Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:18:42.239Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-05-05T06:18:42.239Z] ab5ef0e58194: Pulling fs layer [2023-05-05T06:18:42.239Z] 9712f1f96733: Pulling fs layer [2023-05-05T06:18:42.239Z] 63f879dbbcfc: Pulling fs layer [2023-05-05T06:18:42.239Z] 0d9ebad4ef96: Pulling fs layer [2023-05-05T06:18:42.239Z] e9a5061849ea: Pulling fs layer [2023-05-05T06:18:42.239Z] d747dcd14b5f: Pulling fs layer [2023-05-05T06:18:42.239Z] 2de7ff778b66: Pulling fs layer [2023-05-05T06:18:42.239Z] e9a5061849ea: Waiting [2023-05-05T06:18:42.239Z] d747dcd14b5f: Waiting [2023-05-05T06:18:42.239Z] 0d9ebad4ef96: Waiting [2023-05-05T06:18:42.239Z] 2de7ff778b66: Waiting [2023-05-05T06:18:42.239Z] 9712f1f96733: Verifying Checksum [2023-05-05T06:18:42.239Z] 9712f1f96733: Download complete [2023-05-05T06:18:42.497Z] 63f879dbbcfc: Verifying Checksum [2023-05-05T06:18:42.497Z] 63f879dbbcfc: Download complete [2023-05-05T06:18:42.497Z] e9a5061849ea: Verifying Checksum [2023-05-05T06:18:42.497Z] e9a5061849ea: Download complete [2023-05-05T06:18:42.755Z] d747dcd14b5f: Verifying Checksum [2023-05-05T06:18:42.755Z] d747dcd14b5f: Download complete [2023-05-05T06:18:42.755Z] 0d9ebad4ef96: Verifying Checksum [2023-05-05T06:18:42.755Z] 0d9ebad4ef96: Download complete [2023-05-05T06:18:42.755Z] ab5ef0e58194: Verifying Checksum [2023-05-05T06:18:42.755Z] ab5ef0e58194: Download complete [2023-05-05T06:18:42.755Z] 2de7ff778b66: Verifying Checksum [2023-05-05T06:18:42.755Z] 2de7ff778b66: Download complete [2023-05-05T06:18:46.033Z] ab5ef0e58194: Pull complete [2023-05-05T06:18:46.033Z] 9712f1f96733: Pull complete [2023-05-05T06:18:46.600Z] 63f879dbbcfc: Pull complete [2023-05-05T06:18:50.782Z] 0d9ebad4ef96: Pull complete [2023-05-05T06:18:50.782Z] e9a5061849ea: Pull complete [2023-05-05T06:18:50.782Z] d747dcd14b5f: Pull complete [2023-05-05T06:18:52.158Z] 2de7ff778b66: Pull complete [2023-05-05T06:18:52.158Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-05-05T06:18:52.158Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-05-05T06:18:52.158Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:18:52.238Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:18:52.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-05-05T06:18:56.203Z] $ docker top 9d06ee9b197c4f89901d1e916b6d500d2854e8af03243d8e727c4b10aa6009fb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:18:56.274Z] provisioning config files... [2023-05-05T06:18:56.282Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5700654402370961486tmp [2023-05-05T06:18:56.291Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16740557344843169367tmp [2023-05-05T06:18:56.301Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4549451954722073099tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:18:56.314Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:18:56.597Z] ---> sigul-configuration.sh [2023-05-05T06:18:56.597Z] gpg: directory `/root/.gnupg' created [2023-05-05T06:18:56.597Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-05-05T06:18:56.597Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-05-05T06:18:56.598Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-05-05T06:18:56.598Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-05-05T06:18:56.598Z] gpg: CAST5 encrypted data [2023-05-05T06:18:56.598Z] gpg: encrypted with 1 passphrase [2023-05-05T06:18:56.598Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-05-05T06:18:56.885Z] + mkdir /home/jenkins [2023-05-05T06:18:56.885Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-05-05T06:18:57.168Z] + 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-05-05T06:18:57.176Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:18:57.460Z] ---> sigul-install.sh [2023-05-05T06:18:57.460Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-05-05T06:18:57.755Z] + git tag --list [2023-05-05T06:18:57.755Z] v1.0.0 [2023-05-05T06:18:57.755Z] v1.1.0 [2023-05-05T06:18:57.755Z] v1.1.1 [2023-05-05T06:18:57.755Z] v1.1.2 [2023-05-05T06:18:57.755Z] v1.2.0 [2023-05-05T06:18:57.755Z] v1.2.1 [2023-05-05T06:18:57.755Z] v2.0.0 [2023-05-05T06:18:57.755Z] v2.1.0 [2023-05-05T06:18:57.755Z] v2.1.1 [2023-05-05T06:18:57.755Z] v2.1.1-dev.1 [2023-05-05T06:18:57.755Z] v2.1.1-dev.2 [2023-05-05T06:18:57.755Z] v2.1.1-dev.3 [2023-05-05T06:18:57.755Z] v2.2.0 [2023-05-05T06:18:57.755Z] v2.2.1-dev.1 [2023-05-05T06:18:57.755Z] v2.2.1-dev.2 [2023-05-05T06:18:57.755Z] v2.2.1-dev.3 [2023-05-05T06:18:57.755Z] v2.2.1-dev.4 [2023-05-05T06:18:57.755Z] v2.2.1-dev.5 [2023-05-05T06:18:57.755Z] v2.2.1-dev.6 [2023-05-05T06:18:57.755Z] v2.2.1-dev.7 [2023-05-05T06:18:57.755Z] v2.2.1-dev.8 [2023-05-05T06:18:57.755Z] v2.2.1-dev.9 [2023-05-05T06:18:57.755Z] v2.3.0 [2023-05-05T06:18:57.755Z] v2.3.0-dev.10 [2023-05-05T06:18:57.755Z] v2.3.0-dev.11 [2023-05-05T06:18:57.755Z] v2.3.0-dev.12 [2023-05-05T06:18:57.755Z] v2.3.0-dev.13 [2023-05-05T06:18:57.755Z] v2.3.0-dev.14 [2023-05-05T06:18:57.755Z] v2.3.0-dev.15 [2023-05-05T06:18:57.755Z] v2.3.0-dev.16 [2023-05-05T06:18:57.755Z] v2.3.0-dev.17 [2023-05-05T06:18:57.755Z] v2.3.0-dev.18 [2023-05-05T06:18:57.755Z] v2.3.0-dev.19 [2023-05-05T06:18:57.755Z] v2.3.0-dev.20 [2023-05-05T06:18:57.755Z] v2.3.0-dev.21 [2023-05-05T06:18:57.755Z] v2.3.0-dev.22 [2023-05-05T06:18:57.755Z] v2.3.0-dev.23 [2023-05-05T06:18:57.755Z] v2.3.0-dev.24 [2023-05-05T06:18:57.755Z] v2.3.0-dev.25 [2023-05-05T06:18:57.755Z] v2.3.0-dev.9 [2023-05-05T06:18:57.755Z] v3.0.0-dev.1 [2023-05-05T06:18:57.755Z] v3.0.0-dev.10 [2023-05-05T06:18:57.755Z] v3.0.0-dev.11 [2023-05-05T06:18:57.755Z] v3.0.0-dev.12 [2023-05-05T06:18:57.755Z] v3.0.0-dev.13 [2023-05-05T06:18:57.755Z] v3.0.0-dev.14 [2023-05-05T06:18:57.755Z] v3.0.0-dev.15 [2023-05-05T06:18:57.755Z] v3.0.0-dev.16 [2023-05-05T06:18:57.755Z] v3.0.0-dev.17 [2023-05-05T06:18:57.755Z] v3.0.0-dev.18 [2023-05-05T06:18:57.755Z] v3.0.0-dev.19 [2023-05-05T06:18:57.755Z] v3.0.0-dev.2 [2023-05-05T06:18:57.755Z] v3.0.0-dev.20 [2023-05-05T06:18:57.755Z] v3.0.0-dev.21 [2023-05-05T06:18:57.755Z] v3.0.0-dev.22 [2023-05-05T06:18:57.755Z] v3.0.0-dev.23 [2023-05-05T06:18:57.755Z] v3.0.0-dev.24 [2023-05-05T06:18:57.755Z] v3.0.0-dev.25 [2023-05-05T06:18:57.755Z] v3.0.0-dev.26 [2023-05-05T06:18:57.755Z] v3.0.0-dev.27 [2023-05-05T06:18:57.755Z] v3.0.0-dev.28 [2023-05-05T06:18:57.755Z] v3.0.0-dev.29 [2023-05-05T06:18:57.755Z] v3.0.0-dev.3 [2023-05-05T06:18:57.755Z] v3.0.0-dev.30 [2023-05-05T06:18:57.755Z] v3.0.0-dev.31 [2023-05-05T06:18:57.755Z] v3.0.0-dev.32 [2023-05-05T06:18:57.755Z] v3.0.0-dev.33 [2023-05-05T06:18:57.755Z] v3.0.0-dev.34 [2023-05-05T06:18:57.755Z] v3.0.0-dev.35 [2023-05-05T06:18:57.755Z] v3.0.0-dev.36 [2023-05-05T06:18:57.755Z] v3.0.0-dev.4 [2023-05-05T06:18:57.755Z] v3.0.0-dev.5 [2023-05-05T06:18:57.755Z] v3.0.0-dev.6 [2023-05-05T06:18:57.755Z] v3.0.0-dev.7 [2023-05-05T06:18:57.755Z] v3.0.0-dev.8 [2023-05-05T06:18:57.755Z] v3.0.0-dev.9 [Pipeline] sh [2023-05-05T06:18:58.045Z] + lftools sign git-tag v3.0.0-dev.36 [2023-05-05T06:18:58.614Z] Signing Git tag with Sigul... [2023-05-05T06:18:58.614Z] Signing v3.0.0-dev.36 [2023-05-05T06:20:50.105Z] ERROR: I/O error: NSPR connection reset [Pipeline] echo [2023-05-05T06:20:50.114Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:20:50.403Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-05-05T06:20:50.410Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-05-05T06:20:50.435Z] $ docker stop --time=1 9d06ee9b197c4f89901d1e916b6d500d2854e8af03243d8e727c4b10aa6009fb [2023-05-05T06:20:51.728Z] $ docker rm -f --volumes 9d06ee9b197c4f89901d1e916b6d500d2854e8af03243d8e727c4b10aa6009fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-05-05T06:20:52.140Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:20:52.140Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:20:52.433Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:20:52.433Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:20:52.499Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:20:52.528Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:20:52.877Z] $ docker top d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 -eo pid,comm [2023-05-05T06:20:52.925Z] 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-05-05T06:20:52.925Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:20:52.965Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:20:52.965Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:20:53.081Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:20:53.087Z] $ docker exec d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 ssh-agent [2023-05-05T06:20:53.200Z] SSH_AUTH_SOCK=/tmp/ssh-VZPAJbKslpre/agent.32 [2023-05-05T06:20:53.200Z] SSH_AGENT_PID=38 [2023-05-05T06:20:53.205Z] Running ssh-add (command line suppressed) [2023-05-05T06:20:53.309Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_836649930108417485.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_836649930108417485.key) [2023-05-05T06:20:53.319Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:20:53.605Z] + git semver bump pre [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,788 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,788 [bump_version] DEBUG bumping version:3.0.0-dev.36 on axis:pre with prefix:dev [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,789 [bump_version] DEBUG bumped version:3.0.0-dev.37 [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,789 [write_version] DEBUG write version:3.0.0-dev.37 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,789 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,789 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,790 [execute] INFO git cat-file --batch-check [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,796 [execute] INFO git cat-file --batch [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:20:53.864Z] 2023-05-05 06:20:53,802 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-05T06:20:53.864Z] 3.0.0-dev.37 [Pipeline] } [2023-05-05T06:20:53.879Z] $ docker exec --env ******** --env ******** d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 ssh-agent -k [2023-05-05T06:20:53.993Z] unset SSH_AUTH_SOCK; [2023-05-05T06:20:53.993Z] unset SSH_AGENT_PID; [2023-05-05T06:20:53.993Z] echo Agent pid 38 killed; [2023-05-05T06:20:54.001Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:20:54.307Z] + git semver [Pipeline] } [2023-05-05T06:20:54.581Z] $ docker stop --time=1 d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 [2023-05-05T06:20:55.857Z] $ docker rm -f --volumes d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-05T06:20:56.202Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-05T06:20:56.202Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:20:56.502Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-05T06:20:56.502Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:20:56.587Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:20:56.620Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-05T06:20:56.957Z] $ docker top 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-05T06:20:57.043Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-05T06:20:57.044Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-05T06:20:57.165Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-05T06:20:57.171Z] $ docker exec 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b ssh-agent [2023-05-05T06:20:57.290Z] SSH_AUTH_SOCK=/tmp/ssh-EOxWPB7bVCbH/agent.32 [2023-05-05T06:20:57.290Z] SSH_AGENT_PID=38 [2023-05-05T06:20:57.294Z] Running ssh-add (command line suppressed) [2023-05-05T06:20:57.409Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10462713979779568029.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10462713979779568029.key) [2023-05-05T06:20:57.420Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-05T06:20:57.709Z] + git semver push [2023-05-05T06:20:57.968Z] 2023-05-05 06:20:57,890 [run_push] DEBUG push [2023-05-05T06:20:57.968Z] 2023-05-05 06:20:57,891 [execute] INFO git cat-file --batch-check [2023-05-05T06:20:57.968Z] 2023-05-05 06:20:57,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-05-05T06:20:57.968Z] 2023-05-05 06:20:57,895 [execute] INFO git rev-list 6cd758cc078ae2627e43ac52f7c5de48b0071938 -- [2023-05-05T06:20:57.968Z] 2023-05-05 06:20:57,895 [execute] DEBUG Popen(['git', 'rev-list', '6cd758cc078ae2627e43ac52f7c5de48b0071938', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:20:57.968Z] 2023-05-05 06:20:57,905 [execute] INFO git fetch -v origin [2023-05-05T06:20:57.968Z] 2023-05-05 06:20:57,905 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-05-05T06:20:58.537Z] 2023-05-05 06:20:58,365 [run_push] DEBUG no remote changes detected [2023-05-05T06:20:58.537Z] 2023-05-05 06:20:58,365 [execute] INFO git push origin semver [2023-05-05T06:20:58.537Z] 2023-05-05 06:20:58,365 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-05-05T06:20:59.484Z] 2023-05-05 06:20:59,216 [run_push] DEBUG push all version tags [2023-05-05T06:20:59.484Z] 2023-05-05 06:20:59,216 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-05-05T06:20:59.484Z] 2023-05-05 06:20:59,217 [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-05-05T06:21:00.052Z] 2023-05-05 06:20:59,931 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-05-05T06:21:00.052Z] 3.0.0-dev.37 [Pipeline] } [2023-05-05T06:21:00.063Z] $ docker exec --env ******** --env ******** 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b ssh-agent -k [2023-05-05T06:21:00.161Z] unset SSH_AUTH_SOCK; [2023-05-05T06:21:00.162Z] unset SSH_AGENT_PID; [2023-05-05T06:21:00.162Z] echo Agent pid 38 killed; [2023-05-05T06:21:00.169Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-05T06:21:00.468Z] + git semver [Pipeline] } [2023-05-05T06:21:00.744Z] $ docker stop --time=1 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b [2023-05-05T06:21:02.043Z] $ docker rm -f --volumes 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b [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-05-05T06:21:02.642Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-05-05T06:21:02.642Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-05T06:21:02.642Z] total 16 [2023-05-05T06:21:02.642Z] drwxr-xr-x 3 root root 4096 May 5 06:06 . [2023-05-05T06:21:02.642Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:18 .. [2023-05-05T06:21:02.642Z] drwxr-xr-x 2 root root 4096 May 5 06:06 cost [2023-05-05T06:21:02.642Z] -rw-r--r-- 1 root root 86 May 5 06:06 cost.csv [2023-05-05T06:21:02.642Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-05T06:21:02.642Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-05-05T06:21:02.642Z] total 16 [2023-05-05T06:21:02.642Z] drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:06 . [2023-05-05T06:21:02.642Z] drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:18 .. [2023-05-05T06:21:02.642Z] drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:06 cost [2023-05-05T06:21:02.642Z] -rw-r--r-- 1 jenkins jenkins 86 May 5 06:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:21:02.981Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:21:03.843Z] ---> package-listing.sh [2023-05-05T06:21:03.843Z] ++ facter osfamily [2023-05-05T06:21:03.843Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-05T06:21:04.103Z] + OS_FAMILY=debian [2023-05-05T06:21:04.103Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-05-05T06:21:04.103Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-05T06:21:04.103Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-05T06:21:04.103Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-05T06:21:04.103Z] + PACKAGES=/tmp/packages_start.txt [2023-05-05T06:21:04.103Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-05-05T06:21:04.103Z] + PACKAGES=/tmp/packages_end.txt [2023-05-05T06:21:04.103Z] + case "${OS_FAMILY}" in [2023-05-05T06:21:04.103Z] + dpkg -l [2023-05-05T06:21:04.103Z] + grep '^ii' [2023-05-05T06:21:04.103Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-05T06:21:04.103Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-05T06:21:04.103Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-05T06:21:04.103Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-05-05T06:21:04.103Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-05-05T06:21:04.103Z] + 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-05-05T06:21:04.113Z] 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-05-05T06:21:04.391Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-05T06:21:04.951Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-05T06:21:04.951Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-05T06:21:05.025Z] prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container [2023-05-05T06:21:05.058Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-05T06:21:05.252Z] $ docker top 0a9810a560ea5b9942cbf7de47529afac4b5f3c5a157086538d7f91e65d42783 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-05T06:21:05.592Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-05T06:21:05.876Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-05T06:21:06.158Z] + ls /var/log/sa-host [2023-05-05T06:21:06.158Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-05T06:21:06.226Z] provisioning config files... [2023-05-05T06:21:06.234Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5770863136496511950tmp [Pipeline] { [Pipeline] echo [2023-05-05T06:21:06.250Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:21:06.529Z] ---> create-netrc.sh [Pipeline] } [2023-05-05T06:21:06.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:21:06.855Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-05T06:21:06.863Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:21:07.146Z] ---> sudo-logs.sh [2023-05-05T06:21:07.147Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-05T06:21:07.177Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:21:07.461Z] ---> job-cost.sh [2023-05-05T06:21:07.461Z] lf-activate-venv: SKIPPING [2023-05-05T06:21:07.461Z] DEBUG: total: 0.2199999988079071 [2023-05-05T06:21:07.461Z] INFO: Retrieving Stack Cost... [2023-05-05T06:21:07.721Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-05T06:21:08.291Z] INFO: Archiving Costs [Pipeline] echo [2023-05-05T06:21:08.302Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-05T06:21:08.585Z] ---> logs-deploy.sh [2023-05-05T06:21:08.585Z] lf-activate-venv: SKIPPING [2023-05-05T06:21:08.585Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/108 [2023-05-05T06:21:08.585Z] INFO: archiving workspace using pattern(s): [2023-05-05T06:21:09.522Z] Archives upload complete. [2023-05-05T06:21:09.522Z] INFO: archiving logs to Nexus