Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ded8c8301fa9285dc80bb471c5f0972abc0b73a 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-ssh15895986137457254878.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3653384205564206270.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17533225435198100876.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12840021693417627764.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-ssh6240987289450487286.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 Running on prd-ubuntu20.04-docker-8c-8g-1275 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 2ded8c8301fa9285dc80bb471c5f0972abc0b73a (main) Commit message: "refactor(snap): Update command and metadata sourcing (#266)" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 > git rev-list --no-walk ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T16:27:33.687Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T16:27:33.722Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T16:27:33.739Z] ========================================================= [2023-03-15T16:27:33.739Z] EdgeX Global Pipelines Version Info [2023-03-15T16:27:33.739Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:34.488Z] ------------------- [2023-03-15T16:27:34.488Z] stable info: [2023-03-15T16:27:34.488Z] ------------------- [2023-03-15T16:27:34.488Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T16:27:34.488Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T16:27:34.488Z] Message: update stable to v1.0.245 [2023-03-15T16:27:35.061Z] ------------------- [2023-03-15T16:27:35.061Z] experimental info: [2023-03-15T16:27:35.061Z] ------------------- [2023-03-15T16:27:35.061Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T16:27:35.061Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T16:27:35.061Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T16:27:35.269Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-03-15T16:27:35.282Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-03-15T16:27:35.295Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T16:27:35.306Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T16:27:35.318Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T16:27:35.332Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T16:27:35.341Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T16:27:35.352Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-15T16:27:35.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T16:27:35.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T16:27:35.378Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T16:27:35.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-03-15T16:27:35.394Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T16:27:35.402Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T16:27:35.410Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:27:35.418Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T16:27:35.425Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:27:35.433Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T16:27:35.441Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T16:27:35.451Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T16:27:35.461Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-03-15T16:27:35.472Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-03-15T16:27:35.482Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T16:27:35.496Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T16:27:35.512Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T16:27:35.523Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T16:27:35.534Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T16:27:35.545Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-03-15T16:27:35.556Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-03-15T16:27:35.569Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-03-15T16:27:35.580Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] echo [2023-03-15T16:27:35.591Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ded8c8 [Pipeline] echo [2023-03-15T16:27:35.606Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:27:35.645Z] provisioning config files... [2023-03-15T16:27:35.660Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14698130085181903291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:35.954Z] ---> docker-login.sh [2023-03-15T16:27:35.955Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:27:36.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:36.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:36.890Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:36.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:36.890Z] [2023-03-15T16:27:36.890Z] Login Succeeded [2023-03-15T16:27:36.890Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:27:36.890Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:36.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:36.890Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:36.890Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:36.890Z] [2023-03-15T16:27:36.890Z] Login Succeeded [2023-03-15T16:27:36.890Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:27:37.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:37.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:37.148Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:37.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:37.148Z] [2023-03-15T16:27:37.148Z] Login Succeeded [2023-03-15T16:27:37.148Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:27:37.148Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:37.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:37.148Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:37.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:37.148Z] [2023-03-15T16:27:37.148Z] Login Succeeded [2023-03-15T16:27:37.148Z] docker.io [2023-03-15T16:27:37.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:37.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:37.407Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:37.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:37.407Z] [2023-03-15T16:27:37.407Z] Login Succeeded [2023-03-15T16:27:37.407Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:27:37.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T16:27:37.768Z] + git rev-list -1 --merges 2ded8c8301fa9285dc80bb471c5f0972abc0b73a~1..2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] echo [2023-03-15T16:27:37.837Z] -----------> git rev-list -1 --merges 2ded8c8301fa9285dc80bb471c5f0972abc0b73a~1..2ded8c8301fa9285dc80bb471c5f0972abc0b73a 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [false] [Pipeline] sh [2023-03-15T16:27:38.129Z] + git log --format=format:%s -1 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] echo [2023-03-15T16:27:38.142Z] ========================================================= [2023-03-15T16:27:38.142Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T16:27:38.142Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:27:38.458Z] + git log --format=format:%s -1 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] echo [2023-03-15T16:27:38.467Z] [semverPrep] GIT_COMMIT: 2ded8c8301fa9285dc80bb471c5f0972abc0b73a, Commit Message: refactor(snap): Update command and metadata sourcing (#266) [Pipeline] echo [2023-03-15T16:27:38.476Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T16:27:38.813Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:27:38.813Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T16:27:38.813Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T16:27:38.813Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T16:27:38.813Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T16:27:38.813Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T16:27:38.813Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:39.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:27:39.163Z] [2023-03-15T16:27:39.163Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:39.463Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:27:39.463Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T16:27:39.463Z] b85a868b505f: Pulling fs layer [2023-03-15T16:27:39.463Z] e2be974225ed: Pulling fs layer [2023-03-15T16:27:39.463Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T16:27:39.463Z] 988bab9f4d93: Pulling fs layer [2023-03-15T16:27:39.463Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T16:27:39.463Z] eaf3925da568: Pulling fs layer [2023-03-15T16:27:39.463Z] bab4dde63d76: Pulling fs layer [2023-03-15T16:27:39.463Z] bde34c3a00c8: Pulling fs layer [2023-03-15T16:27:39.463Z] b352a97aabf1: Pulling fs layer [2023-03-15T16:27:39.463Z] 1469e6f7b9e6: Waiting [2023-03-15T16:27:39.463Z] bab4dde63d76: Waiting [2023-03-15T16:27:39.463Z] 988bab9f4d93: Waiting [2023-03-15T16:27:39.463Z] 4872d77fe225: Pulling fs layer [2023-03-15T16:27:39.463Z] 5851b861e8e6: Pulling fs layer [2023-03-15T16:27:39.463Z] 4872d77fe225: Waiting [2023-03-15T16:27:39.463Z] 5851b861e8e6: Waiting [2023-03-15T16:27:39.463Z] e2be974225ed: Verifying Checksum [2023-03-15T16:27:39.463Z] e2be974225ed: Download complete [2023-03-15T16:27:39.463Z] 988bab9f4d93: Verifying Checksum [2023-03-15T16:27:39.463Z] 988bab9f4d93: Download complete [2023-03-15T16:27:39.727Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T16:27:39.727Z] 1469e6f7b9e6: Download complete [2023-03-15T16:27:39.727Z] eaf3925da568: Download complete [2023-03-15T16:27:39.727Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T16:27:39.727Z] 339a4e72a1f5: Download complete [2023-03-15T16:27:39.727Z] bde34c3a00c8: Verifying Checksum [2023-03-15T16:27:39.727Z] bde34c3a00c8: Download complete [2023-03-15T16:27:39.727Z] b352a97aabf1: Verifying Checksum [2023-03-15T16:27:39.727Z] 4872d77fe225: Verifying Checksum [2023-03-15T16:27:39.727Z] 4872d77fe225: Download complete [2023-03-15T16:27:39.986Z] 5851b861e8e6: Verifying Checksum [2023-03-15T16:27:39.986Z] 5851b861e8e6: Download complete [2023-03-15T16:27:39.986Z] b85a868b505f: Verifying Checksum [2023-03-15T16:27:39.986Z] b85a868b505f: Download complete [2023-03-15T16:27:40.245Z] bab4dde63d76: Verifying Checksum [2023-03-15T16:27:40.245Z] bab4dde63d76: Download complete [2023-03-15T16:27:41.181Z] b85a868b505f: Pull complete [2023-03-15T16:27:41.181Z] e2be974225ed: Pull complete [2023-03-15T16:27:41.440Z] 339a4e72a1f5: Pull complete [2023-03-15T16:27:41.699Z] 988bab9f4d93: Pull complete [2023-03-15T16:27:41.957Z] 1469e6f7b9e6: Pull complete [2023-03-15T16:27:41.957Z] eaf3925da568: Pull complete [2023-03-15T16:27:43.335Z] bab4dde63d76: Pull complete [2023-03-15T16:27:43.594Z] bde34c3a00c8: Pull complete [2023-03-15T16:27:43.594Z] b352a97aabf1: Pull complete [2023-03-15T16:27:43.594Z] 4872d77fe225: Pull complete [2023-03-15T16:27:43.853Z] 5851b861e8e6: Pull complete [2023-03-15T16:27:43.853Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T16:27:43.853Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:27:43.853Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:27:43.958Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:27:43.997Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:27:48.574Z] $ docker top acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a -eo pid,comm [2023-03-15T16:27:48.621Z] 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-03-15T16:27:48.621Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:27:48.657Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:27:48.657Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:27:48.758Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:27:48.764Z] $ docker exec acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a ssh-agent [2023-03-15T16:27:48.866Z] SSH_AUTH_SOCK=/tmp/ssh-vtT9CDhcjlso/agent.31 [2023-03-15T16:27:48.866Z] SSH_AGENT_PID=37 [2023-03-15T16:27:48.872Z] Running ssh-add (command line suppressed) [2023-03-15T16:27:48.971Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18390898700341465205.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18390898700341465205.key) [2023-03-15T16:27:48.980Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:27:49.263Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T16:27:49.275Z] $ docker exec --env ******** --env ******** acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a ssh-agent -k [2023-03-15T16:27:49.375Z] unset SSH_AUTH_SOCK; [2023-03-15T16:27:49.375Z] unset SSH_AGENT_PID; [2023-03-15T16:27:49.375Z] echo Agent pid 37 killed; [2023-03-15T16:27:49.384Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T16:27:49.408Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:27:49.408Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:27:49.528Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:27:49.533Z] $ docker exec acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a ssh-agent [2023-03-15T16:27:49.633Z] SSH_AUTH_SOCK=/tmp/ssh-cIbZPEoEhNK0/agent.69 [2023-03-15T16:27:49.633Z] SSH_AGENT_PID=75 [2023-03-15T16:27:49.638Z] Running ssh-add (command line suppressed) [2023-03-15T16:27:49.736Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3803472826532505932.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3803472826532505932.key) [2023-03-15T16:27:49.745Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:27:50.033Z] + git semver init [2023-03-15T16:27:50.291Z] 2023-03-15 16:27:50,216 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T16:27:50.291Z] 2023-03-15 16:27:50,216 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-15T16:27:50.291Z] 2023-03-15 16:27:50,217 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-03-15T16:27:50.291Z] 2023-03-15 16:27:50,217 [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-03-15T16:27:51.226Z] 2023-03-15 16:27:51,217 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-03-15T16:27:51.226Z] 2023-03-15 16:27:51,218 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-03-15T16:27:51.226Z] 2023-03-15 16:27:51,218 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:27:51.226Z] 2023-03-15 16:27:51,218 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:27:51.226Z] 3.0.0-dev.20 [Pipeline] } [2023-03-15T16:27:51.497Z] $ docker exec --env ******** --env ******** acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a ssh-agent -k [2023-03-15T16:27:51.592Z] unset SSH_AUTH_SOCK; [2023-03-15T16:27:51.592Z] unset SSH_AGENT_PID; [2023-03-15T16:27:51.592Z] echo Agent pid 75 killed; [2023-03-15T16:27:51.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:27:51.904Z] + git semver [Pipeline] } [2023-03-15T16:27:52.176Z] $ docker stop --time=1 acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a [2023-03-15T16:27:53.479Z] $ docker rm -f --volumes acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:27:53.810Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T16:27:54.006Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T16:27:54.008Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.20 [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-03-15T16:27:54.137Z] provisioning config files... [2023-03-15T16:27:54.147Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4418480108697888583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:27:54.438Z] ---> docker-login.sh [2023-03-15T16:27:54.438Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:27:54.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:54.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:54.438Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:54.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:54.438Z] [2023-03-15T16:27:54.438Z] Login Succeeded [2023-03-15T16:27:54.438Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:27:54.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:54.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:54.438Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:54.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:54.438Z] [2023-03-15T16:27:54.438Z] Login Succeeded [2023-03-15T16:27:54.438Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:27:54.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:54.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:54.698Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:54.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:54.698Z] [2023-03-15T16:27:54.698Z] Login Succeeded [2023-03-15T16:27:54.698Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:27:54.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:54.698Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:54.698Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:54.698Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:54.698Z] [2023-03-15T16:27:54.698Z] Login Succeeded [2023-03-15T16:27:54.698Z] docker.io [2023-03-15T16:27:54.698Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:27:54.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:27:54.958Z] Configure a credential helper to remove this warning. See [2023-03-15T16:27:54.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:27:54.958Z] [2023-03-15T16:27:54.958Z] Login Succeeded [2023-03-15T16:27:54.958Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:27:54.964Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:27:55.027Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:27:55.035Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:27:55.043Z] ========================================================= [2023-03-15T16:27:55.043Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T16:27:55.043Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:27:55.355Z] + 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-03-15T16:27:55.355Z] Sending build context to Docker daemon 10.85MB [2023-03-15T16:27:55.355Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:27:55.355Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:27:55.355Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T16:27:55.355Z] 63b65145d645: Pulling fs layer [2023-03-15T16:27:55.355Z] a2d21d5440eb: Pulling fs layer [2023-03-15T16:27:55.355Z] 935e6c44a52c: Pulling fs layer [2023-03-15T16:27:55.355Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T16:27:55.355Z] 30dea6a524f1: Pulling fs layer [2023-03-15T16:27:55.355Z] a2aff8979fd8: Pulling fs layer [2023-03-15T16:27:55.355Z] 6808be2612f2: Pulling fs layer [2023-03-15T16:27:55.355Z] f25807f1079a: Pulling fs layer [2023-03-15T16:27:55.355Z] 30dea6a524f1: Waiting [2023-03-15T16:27:55.355Z] 6808be2612f2: Waiting [2023-03-15T16:27:55.355Z] a2aff8979fd8: Waiting [2023-03-15T16:27:55.355Z] f25807f1079a: Waiting [2023-03-15T16:27:55.355Z] 94cc34f8dd06: Waiting [2023-03-15T16:27:55.355Z] a2d21d5440eb: Verifying Checksum [2023-03-15T16:27:55.355Z] a2d21d5440eb: Download complete [2023-03-15T16:27:55.355Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T16:27:55.355Z] 94cc34f8dd06: Download complete [2023-03-15T16:27:55.617Z] 30dea6a524f1: Verifying Checksum [2023-03-15T16:27:55.617Z] 30dea6a524f1: Download complete [2023-03-15T16:27:55.617Z] 63b65145d645: Verifying Checksum [2023-03-15T16:27:55.617Z] 63b65145d645: Download complete [2023-03-15T16:27:55.617Z] a2aff8979fd8: Verifying Checksum [2023-03-15T16:27:55.617Z] a2aff8979fd8: Download complete [2023-03-15T16:27:55.617Z] 63b65145d645: Pull complete [2023-03-15T16:27:55.882Z] a2d21d5440eb: Pull complete [2023-03-15T16:27:56.144Z] 935e6c44a52c: Verifying Checksum [2023-03-15T16:27:56.144Z] 935e6c44a52c: Download complete [2023-03-15T16:27:56.144Z] f25807f1079a: Verifying Checksum [2023-03-15T16:27:56.144Z] f25807f1079a: Download complete [2023-03-15T16:27:56.437Z] 6808be2612f2: Verifying Checksum [2023-03-15T16:27:56.437Z] 6808be2612f2: Download complete [2023-03-15T16:27:58.972Z] 935e6c44a52c: Pull complete [2023-03-15T16:27:59.229Z] 94cc34f8dd06: Pull complete [2023-03-15T16:27:59.229Z] 30dea6a524f1: Pull complete [2023-03-15T16:27:59.229Z] a2aff8979fd8: Pull complete [2023-03-15T16:28:01.791Z] 6808be2612f2: Pull complete [2023-03-15T16:28:02.358Z] f25807f1079a: Pull complete [2023-03-15T16:28:02.358Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T16:28:02.358Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T16:28:02.358Z] ---> 3b553350e43f [2023-03-15T16:28:02.358Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:28:06.549Z] ---> Running in 733b16396609 [2023-03-15T16:28:06.549Z] Removing intermediate container 733b16396609 [2023-03-15T16:28:06.549Z] ---> 64f5e33a68ef [2023-03-15T16:28:06.549Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:28:06.549Z] ---> Running in 38eab3bd87bd [2023-03-15T16:28:06.549Z] Removing intermediate container 38eab3bd87bd [2023-03-15T16:28:06.549Z] ---> 846cf37154c0 [2023-03-15T16:28:06.549Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:28:06.549Z] ---> Running in ab840da01dd3 [2023-03-15T16:28:06.549Z] Removing intermediate container ab840da01dd3 [2023-03-15T16:28:06.549Z] ---> 5a3c57ffe225 [2023-03-15T16:28:06.549Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:28:06.549Z] ---> Running in a8fd08195f79 [2023-03-15T16:28:06.549Z] Removing intermediate container a8fd08195f79 [2023-03-15T16:28:06.549Z] ---> 40b5ac9cb0b3 [2023-03-15T16:28:06.549Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:28:06.549Z] ---> Running in acc60856faff [2023-03-15T16:28:06.808Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:28:07.065Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:28:07.323Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:28:07.323Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:28:07.323Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:28:07.323Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:28:07.323Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:28:07.323Z] OK: 269 MiB in 57 packages [2023-03-15T16:28:07.896Z] Removing intermediate container acc60856faff [2023-03-15T16:28:07.896Z] ---> c5fecb7aac0d [2023-03-15T16:28:07.896Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-15T16:28:07.896Z] ---> Running in 46fb30074cd7 [2023-03-15T16:28:07.896Z] Removing intermediate container 46fb30074cd7 [2023-03-15T16:28:07.896Z] ---> a89f41c24ea6 [2023-03-15T16:28:07.896Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T16:28:07.896Z] ---> a70cbce71169 [2023-03-15T16:28:07.896Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:28:08.155Z] ---> Running in e8af44bd678b [2023-03-15T16:28:09.097Z] Still waiting to schedule task [2023-03-15T16:28:09.097Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-15T16:28:34.746Z] Removing intermediate container e8af44bd678b [2023-03-15T16:28:34.746Z] ---> 1c9b7cca7b26 [2023-03-15T16:28:34.746Z] Step 11/12 : COPY . . [2023-03-15T16:28:34.746Z] ---> e829bf9f573b [2023-03-15T16:28:34.746Z] Step 12/12 : RUN $MAKE [2023-03-15T16:28:34.746Z] ---> Running in 0b010740f90c [2023-03-15T16:28:34.746Z] noop [2023-03-15T16:28:34.746Z] Removing intermediate container 0b010740f90c [2023-03-15T16:28:34.746Z] ---> 17464eecb324 [2023-03-15T16:28:34.746Z] Successfully built 17464eecb324 [2023-03-15T16:28:34.746Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:35.059Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:28:35.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:28:35.128Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:28:35.156Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T16:28:35.525Z] $ docker top 86fb9bbf8e94d41041091ae14bf42fdefe27626097bd69afacd668c9961e0ab0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:28:35.861Z] + go version [2023-03-15T16:28:35.861Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T16:28:35.871Z] $ docker stop --time=1 86fb9bbf8e94d41041091ae14bf42fdefe27626097bd69afacd668c9961e0ab0 [2023-03-15T16:28:37.107Z] $ docker rm -f --volumes 86fb9bbf8e94d41041091ae14bf42fdefe27626097bd69afacd668c9961e0ab0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:28:37.505Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T16:28:37.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:28:37.578Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:28:37.605Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T16:28:37.975Z] $ docker top ebaec11d8ba6208c45e4e74a7f5c5eb805729b17dc1be02806f0599d0e5af65f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:28:38.310Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:28:38.597Z] + make test [2023-03-15T16:28:38.597Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:28:43.869Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-15T16:28:53.847Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-15T16:28:53.847Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.1% of statements [2023-03-15T16:29:01.955Z] go vet ./... [2023-03-15T16:29:05.244Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:29:05.244Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:29:05.244Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:29:05.254Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:29:05.266Z] $ docker stop --time=1 ebaec11d8ba6208c45e4e74a7f5c5eb805729b17dc1be02806f0599d0e5af65f [2023-03-15T16:29:08.111Z] $ docker rm -f --volumes ebaec11d8ba6208c45e4e74a7f5c5eb805729b17dc1be02806f0599d0e5af65f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:29:08.570Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:29:08.624Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T16:29:09.062Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:29:09.343Z] + ls -al . [2023-03-15T16:29:09.343Z] total 184 [2023-03-15T16:29:09.343Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:28 . [2023-03-15T16:29:09.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:27 .. [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:27 .dockerignore [2023-03-15T16:29:09.343Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:27 .git [2023-03-15T16:29:09.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:27 .github [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:27 .gitignore [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:27 .golangci.yml [2023-03-15T16:29:09.343Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:27 .semver [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:27 Attribution.txt [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:27 CHANGELOG.md [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:27 Dockerfile [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:27 GOVERNANCE.md [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:27 Jenkinsfile [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:27 LICENSE [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:27 Makefile [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:27 OWNERS.md [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:27 README.md [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:27 VERSION [2023-03-15T16:29:09.343Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:27 bin [2023-03-15T16:29:09.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:27 cmd [2023-03-15T16:29:09.343Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:28 coverage.out [2023-03-15T16:29:09.343Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:27 driver [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:27 go.mod [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:27 go.sum [2023-03-15T16:29:09.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:27 snap [2023-03-15T16:29:09.343Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:09.647Z] + 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=2ded8c8301fa9285dc80bb471c5f0972abc0b73a --label arch=amd64 --label version=3.0.0-dev.20 . [2023-03-15T16:29:09.647Z] Sending build context to Docker daemon 10.87MB [2023-03-15T16:29:09.647Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:29:09.647Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:29:09.647Z] ---> 17464eecb324 [2023-03-15T16:29:09.647Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:29:09.907Z] ---> Running in 7c0e7ceb21ff [2023-03-15T16:29:09.907Z] Removing intermediate container 7c0e7ceb21ff [2023-03-15T16:29:09.907Z] ---> 1ffd5a1a47ee [2023-03-15T16:29:09.907Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:29:09.907Z] ---> Running in 4aa1183383f7 [2023-03-15T16:29:09.907Z] Removing intermediate container 4aa1183383f7 [2023-03-15T16:29:09.907Z] ---> 3a81c5aab5a4 [2023-03-15T16:29:09.907Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:29:09.907Z] ---> Running in 4f83bcd9ac3e [2023-03-15T16:29:10.166Z] Removing intermediate container 4f83bcd9ac3e [2023-03-15T16:29:10.166Z] ---> a2fd79bf247e [2023-03-15T16:29:10.166Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:29:10.166Z] ---> Running in 6c1baf8249e1 [2023-03-15T16:29:10.166Z] Removing intermediate container 6c1baf8249e1 [2023-03-15T16:29:10.166Z] ---> 00d5e54ac7b0 [2023-03-15T16:29:10.166Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:29:10.166Z] ---> Running in a9dac3e6b2a8 [2023-03-15T16:29:10.425Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:29:10.684Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:29:10.954Z] OK: 269 MiB in 57 packages [2023-03-15T16:29:11.214Z] Removing intermediate container a9dac3e6b2a8 [2023-03-15T16:29:11.214Z] ---> e9ed7dfe5d51 [2023-03-15T16:29:11.214Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-15T16:29:11.214Z] ---> Running in 5c4d47c63191 [2023-03-15T16:29:11.214Z] Removing intermediate container 5c4d47c63191 [2023-03-15T16:29:11.214Z] ---> 5909f00332aa [2023-03-15T16:29:11.214Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T16:29:11.474Z] ---> 8bc52de70689 [2023-03-15T16:29:11.474Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:29:11.474Z] ---> Running in a5ec5a55fc7b [2023-03-15T16:29:12.501Z] Removing intermediate container a5ec5a55fc7b [2023-03-15T16:29:12.501Z] ---> 9f12d79866f0 [2023-03-15T16:29:12.501Z] Step 11/25 : COPY . . [2023-03-15T16:29:12.761Z] ---> b5e5ac91db27 [2023-03-15T16:29:12.761Z] Step 12/25 : RUN $MAKE [2023-03-15T16:29:12.761Z] ---> Running in 3ab5508df1a8 [2023-03-15T16:29:13.018Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-15T16:29:35.104Z] Removing intermediate container 3ab5508df1a8 [2023-03-15T16:29:35.104Z] ---> 1cde2d72f72f [2023-03-15T16:29:35.104Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:29:35.104Z] 3.17: Pulling from library/alpine [2023-03-15T16:29:35.104Z] 63b65145d645: Already exists [2023-03-15T16:29:35.104Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:29:35.104Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:29:35.104Z] ---> b2aa39c304c2 [2023-03-15T16:29:35.104Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T16:29:35.104Z] ---> Running in e667b5e53205 [2023-03-15T16:29:35.104Z] Removing intermediate container e667b5e53205 [2023-03-15T16:29:35.104Z] ---> 2cb098f546fd [2023-03-15T16:29:35.104Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-15T16:29:35.104Z] ---> Running in fc41f7dc2128 [2023-03-15T16:29:35.104Z] Removing intermediate container fc41f7dc2128 [2023-03-15T16:29:35.104Z] ---> 625a5b570b69 [2023-03-15T16:29:35.104Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:29:35.104Z] ---> Running in ecada0cbae34 [2023-03-15T16:29:35.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T16:29:35.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T16:29:35.104Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:29:35.104Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:29:35.104Z] OK: 7 MiB in 16 packages [2023-03-15T16:29:35.104Z] Removing intermediate container ecada0cbae34 [2023-03-15T16:29:35.104Z] ---> b6a326091474 [2023-03-15T16:29:35.104Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-15T16:29:35.104Z] ---> e042ff1593ae [2023-03-15T16:29:35.104Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-15T16:29:35.104Z] ---> 2ddbf3c3f5f8 [2023-03-15T16:29:35.104Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-15T16:29:35.104Z] ---> 16c4a208e4b0 [2023-03-15T16:29:35.104Z] Step 20/25 : EXPOSE 59986 [2023-03-15T16:29:35.104Z] ---> Running in 92cfe21d82a5 [2023-03-15T16:29:35.104Z] Removing intermediate container 92cfe21d82a5 [2023-03-15T16:29:35.104Z] ---> edd33c3d09d4 [2023-03-15T16:29:35.104Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-15T16:29:35.104Z] ---> Running in dc4c5a8cd4e3 [2023-03-15T16:29:35.104Z] Removing intermediate container dc4c5a8cd4e3 [2023-03-15T16:29:35.104Z] ---> 993a53c0b9b3 [2023-03-15T16:29:35.104Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:29:35.104Z] ---> Running in 8e8cae3e0e5c [2023-03-15T16:29:35.104Z] Removing intermediate container 8e8cae3e0e5c [2023-03-15T16:29:35.104Z] ---> e39ed09d2ce1 [2023-03-15T16:29:35.104Z] Step 23/25 : LABEL arch=amd64 [2023-03-15T16:29:35.104Z] ---> Running in de18c0b037ba [2023-03-15T16:29:35.104Z] Removing intermediate container de18c0b037ba [2023-03-15T16:29:35.104Z] ---> 932adcb5c82d [2023-03-15T16:29:35.104Z] Step 24/25 : LABEL git_sha=2ded8c8301fa9285dc80bb471c5f0972abc0b73a [2023-03-15T16:29:35.104Z] ---> Running in a7835057ed82 [2023-03-15T16:29:35.104Z] Removing intermediate container a7835057ed82 [2023-03-15T16:29:35.104Z] ---> 9d886ffdc808 [2023-03-15T16:29:35.104Z] Step 25/25 : LABEL version=3.0.0-dev.20 [2023-03-15T16:29:35.104Z] ---> Running in d1b88382a1f3 [2023-03-15T16:29:35.104Z] Removing intermediate container d1b88382a1f3 [2023-03-15T16:29:35.104Z] ---> 509e633c3a37 [2023-03-15T16:29:35.104Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:29:35.104Z] Successfully built 509e633c3a37 [2023-03-15T16:29:35.104Z] 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-03-15T16:29:35.182Z] provisioning config files... [2023-03-15T16:29:35.190Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2589938801612960465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:35.488Z] ---> docker-login.sh [2023-03-15T16:29:35.488Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:29:35.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:29:35.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:29:35.488Z] Configure a credential helper to remove this warning. See [2023-03-15T16:29:35.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:29:35.488Z] [2023-03-15T16:29:35.488Z] Login Succeeded [2023-03-15T16:29:35.488Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:29:35.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:29:35.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:29:35.488Z] Configure a credential helper to remove this warning. See [2023-03-15T16:29:35.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:29:35.488Z] [2023-03-15T16:29:35.488Z] Login Succeeded [2023-03-15T16:29:35.488Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:29:35.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:29:35.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:29:35.747Z] Configure a credential helper to remove this warning. See [2023-03-15T16:29:35.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:29:35.747Z] [2023-03-15T16:29:35.747Z] Login Succeeded [2023-03-15T16:29:35.747Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:29:35.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:29:35.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:29:35.747Z] Configure a credential helper to remove this warning. See [2023-03-15T16:29:35.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:29:35.747Z] [2023-03-15T16:29:35.747Z] Login Succeeded [2023-03-15T16:29:35.747Z] docker.io [2023-03-15T16:29:36.007Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:29:36.007Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:29:36.007Z] Configure a credential helper to remove this warning. See [2023-03-15T16:29:36.007Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:29:36.007Z] [2023-03-15T16:29:36.007Z] Login Succeeded [2023-03-15T16:29:36.007Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:29:36.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:29:36.037Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:29:36.051Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-03-15T16:29:36.051Z] 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [2023-03-15T16:29:36.051Z] latest [2023-03-15T16:29:36.051Z] 3.0.0-dev.20 [2023-03-15T16:29:36.051Z] 2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [2023-03-15T16:29:36.051Z] main [2023-03-15T16:29:36.051Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:36.354Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:36.658Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a [2023-03-15T16:29:36.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:29:36.659Z] c26a9718aec7: Preparing [2023-03-15T16:29:36.659Z] 2e736eccf18f: Preparing [2023-03-15T16:29:36.659Z] 1fa8adc56565: Preparing [2023-03-15T16:29:36.659Z] 028db08d625f: Preparing [2023-03-15T16:29:36.659Z] 7cd52847ad77: Preparing [2023-03-15T16:29:36.659Z] 7cd52847ad77: Layer already exists [2023-03-15T16:29:36.659Z] 2e736eccf18f: Pushed [2023-03-15T16:29:36.659Z] 028db08d625f: Pushed [2023-03-15T16:29:36.659Z] c26a9718aec7: Pushed [2023-03-15T16:29:39.943Z] 1fa8adc56565: Pushed [2023-03-15T16:29:39.943Z] 2ded8c8301fa9285dc80bb471c5f0972abc0b73a: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:40.250Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:40.556Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-15T16:29:40.556Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:29:40.556Z] c26a9718aec7: Preparing [2023-03-15T16:29:40.556Z] 2e736eccf18f: Preparing [2023-03-15T16:29:40.556Z] 1fa8adc56565: Preparing [2023-03-15T16:29:40.556Z] 028db08d625f: Preparing [2023-03-15T16:29:40.556Z] 7cd52847ad77: Preparing [2023-03-15T16:29:40.556Z] 2e736eccf18f: Layer already exists [2023-03-15T16:29:40.556Z] 7cd52847ad77: Layer already exists [2023-03-15T16:29:40.556Z] 1fa8adc56565: Layer already exists [2023-03-15T16:29:40.556Z] 028db08d625f: Layer already exists [2023-03-15T16:29:40.556Z] c26a9718aec7: Layer already exists [2023-03-15T16:29:40.556Z] latest: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:40.868Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:41.170Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.20 [2023-03-15T16:29:41.170Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:29:41.170Z] c26a9718aec7: Preparing [2023-03-15T16:29:41.170Z] 2e736eccf18f: Preparing [2023-03-15T16:29:41.170Z] 1fa8adc56565: Preparing [2023-03-15T16:29:41.170Z] 028db08d625f: Preparing [2023-03-15T16:29:41.170Z] 7cd52847ad77: Preparing [2023-03-15T16:29:41.170Z] 1fa8adc56565: Layer already exists [2023-03-15T16:29:41.170Z] 7cd52847ad77: Layer already exists [2023-03-15T16:29:41.170Z] 028db08d625f: Layer already exists [2023-03-15T16:29:41.170Z] 2e736eccf18f: Layer already exists [2023-03-15T16:29:41.170Z] c26a9718aec7: Layer already exists [2023-03-15T16:29:41.170Z] 3.0.0-dev.20: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:41.476Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:41.777Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [2023-03-15T16:29:41.777Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:29:41.777Z] c26a9718aec7: Preparing [2023-03-15T16:29:41.777Z] 2e736eccf18f: Preparing [2023-03-15T16:29:41.777Z] 1fa8adc56565: Preparing [2023-03-15T16:29:41.777Z] 028db08d625f: Preparing [2023-03-15T16:29:41.777Z] 7cd52847ad77: Preparing [2023-03-15T16:29:41.777Z] 1fa8adc56565: Layer already exists [2023-03-15T16:29:41.777Z] 2e736eccf18f: Layer already exists [2023-03-15T16:29:41.777Z] c26a9718aec7: Layer already exists [2023-03-15T16:29:41.777Z] 028db08d625f: Layer already exists [2023-03-15T16:29:41.777Z] 7cd52847ad77: Layer already exists [2023-03-15T16:29:41.777Z] 2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:42.085Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:42.387Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-03-15T16:29:42.387Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-03-15T16:29:42.387Z] c26a9718aec7: Preparing [2023-03-15T16:29:42.387Z] 2e736eccf18f: Preparing [2023-03-15T16:29:42.387Z] 1fa8adc56565: Preparing [2023-03-15T16:29:42.387Z] 028db08d625f: Preparing [2023-03-15T16:29:42.387Z] 7cd52847ad77: Preparing [2023-03-15T16:29:42.387Z] 7cd52847ad77: Layer already exists [2023-03-15T16:29:42.387Z] 1fa8adc56565: Layer already exists [2023-03-15T16:29:42.387Z] c26a9718aec7: Layer already exists [2023-03-15T16:29:42.387Z] 028db08d625f: Layer already exists [2023-03-15T16:29:42.387Z] 2e736eccf18f: Layer already exists [2023-03-15T16:29:42.387Z] main: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:29:42.428Z] ===================================================== [Pipeline] echo [2023-03-15T16:29:42.433Z] taggedImages: [2023-03-15T16:29:42.433Z] - nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a [2023-03-15T16:29:42.433Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-03-15T16:29:42.433Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.20 [2023-03-15T16:29:42.433Z] - nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [2023-03-15T16:29:42.433Z] - 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-03-15T16:29:42.788Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:29:42.788Z] [2023-03-15T16:29:42.788Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:29:43.081Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:29:43.082Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T16:29:43.082Z] 5eb5b503b376: Pulling fs layer [2023-03-15T16:29:43.082Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T16:29:43.082Z] ec43610c2a17: Pulling fs layer [2023-03-15T16:29:43.082Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T16:29:43.082Z] 33b1e0a273af: Pulling fs layer [2023-03-15T16:29:43.082Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T16:29:43.082Z] 2f39f015ded8: Pulling fs layer [2023-03-15T16:29:43.082Z] 3a2ae6a8a46f: Waiting [2023-03-15T16:29:43.082Z] 2f39f015ded8: Waiting [2023-03-15T16:29:43.082Z] 33b1e0a273af: Waiting [2023-03-15T16:29:43.082Z] 5d3b04190fa2: Waiting [2023-03-15T16:29:43.082Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T16:29:43.082Z] 5c69ac0246d0: Download complete [2023-03-15T16:29:43.082Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T16:29:43.340Z] 33b1e0a273af: Verifying Checksum [2023-03-15T16:29:43.340Z] 33b1e0a273af: Download complete [2023-03-15T16:29:43.340Z] ec43610c2a17: Verifying Checksum [2023-03-15T16:29:43.340Z] ec43610c2a17: Download complete [2023-03-15T16:29:43.340Z] 5d3b04190fa2: Download complete [2023-03-15T16:29:43.340Z] 5eb5b503b376: Verifying Checksum [2023-03-15T16:29:43.340Z] 5eb5b503b376: Download complete [2023-03-15T16:29:43.903Z] 2f39f015ded8: Download complete [2023-03-15T16:29:44.849Z] 5eb5b503b376: Pull complete [2023-03-15T16:29:44.849Z] 5c69ac0246d0: Pull complete [2023-03-15T16:29:45.415Z] ec43610c2a17: Pull complete [2023-03-15T16:29:45.415Z] 3a2ae6a8a46f: Pull complete [2023-03-15T16:29:45.415Z] 33b1e0a273af: Pull complete [2023-03-15T16:29:45.672Z] 5d3b04190fa2: Pull complete [2023-03-15T16:29:49.852Z] 2f39f015ded8: Pull complete [2023-03-15T16:29:49.852Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T16:29:49.852Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:29:49.852Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:29:49.926Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:29:49.960Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:29:52.639Z] $ docker top fe8a5f72f8c1b5bf965fe43851ede8e349afa6a4080aff48269c8f18f50b0403 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:29:53.007Z] ---> job-cost.sh [2023-03-15T16:29:53.007Z] lf-activate-venv: SKIPPING [2023-03-15T16:29:53.007Z] INFO: No Stack... [2023-03-15T16:29:53.305Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:29:53.605Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:29:53.942Z] + + catcut /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv -d, [2023-03-15T16:29:53.942Z] -f6 [Pipeline] lock [2023-03-15T16:29:53.956Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [2023-03-15T16:29:53.963Z] Resource [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] did not exist. Created. [2023-03-15T16:29:53.963Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:29:54.262Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T16:29:54.291Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:29:54.297Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:29:54.315Z] $ docker stop --time=1 fe8a5f72f8c1b5bf965fe43851ede8e349afa6a4080aff48269c8f18f50b0403 [2023-03-15T16:29:55.486Z] $ docker rm -f --volumes fe8a5f72f8c1b5bf965fe43851ede8e349afa6a4080aff48269c8f18f50b0403 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T16:47:47.504Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1963 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-03-15T16:47:47.513Z] Running in /w/workspace/device-rest-go/92 [Pipeline] { [Pipeline] checkout [2023-03-15T16:47:47.547Z] The recommended git tool is: git [2023-03-15T16:47:54.815Z] using credential edgex-jenkins-ssh [2023-03-15T16:47:54.832Z] Cloning the remote Git repository [2023-03-15T16:47:54.896Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T16:47:55.028Z] > git init /w/workspace/device-rest-go/92 # timeout=10 [2023-03-15T16:47:55.243Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-03-15T16:47:55.244Z] > git --version # timeout=10 [2023-03-15T16:47:55.272Z] > git --version # 'git version 2.25.1' [2023-03-15T16:47:55.275Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T16:47:55.529Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:47:57.621Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-03-15T16:47:57.647Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T16:47:58.759Z] Avoid second fetch [2023-03-15T16:47:58.760Z] Checking out Revision 2ded8c8301fa9285dc80bb471c5f0972abc0b73a (main) [2023-03-15T16:47:58.783Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T16:47:58.871Z] > git checkout -f 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 [2023-03-15T16:47:59.495Z] Commit message: "refactor(snap): Update command and metadata sourcing (#266)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:48:00.355Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T16:48:00.355Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:48:00.355Z] Dload Upload Total Spent Left Speed [2023-03-15T16:48:00.355Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh [2023-03-15T16:48:01.026Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T16:48:01.365Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-03-15T16:48:01.366Z] /etc/docker/daemon.json [2023-03-15T16:48:01.366Z] { [2023-03-15T16:48:01.366Z] "registry-mirrors": [ [2023-03-15T16:48:01.366Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T16:48:01.366Z] ], [2023-03-15T16:48:01.366Z] "bip": "10.250.0.254/24", [2023-03-15T16:48:01.366Z] "hosts": [ [2023-03-15T16:48:01.366Z] "tcp://0.0.0.0:5555", [2023-03-15T16:48:01.366Z] "unix:///var/run/docker.sock" [2023-03-15T16:48:01.366Z] ], [2023-03-15T16:48:01.366Z] "mtu": 1458, [2023-03-15T16:48:01.366Z] "selinux-enabled": true, [2023-03-15T16:48:01.366Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T16:48:01.366Z] } [Pipeline] sh [2023-03-15T16:48:01.718Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T16:48:02.064Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:48:20.401Z] provisioning config files... [2023-03-15T16:48:20.436Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/92@tmp/config10160018096729028033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:48:20.814Z] ---> docker-login.sh [2023-03-15T16:48:20.814Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:48:21.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:48:21.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:48:21.408Z] Configure a credential helper to remove this warning. See [2023-03-15T16:48:21.408Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:48:21.408Z] [2023-03-15T16:48:21.408Z] Login Succeeded [2023-03-15T16:48:21.408Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:48:21.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:48:21.966Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:48:21.966Z] Configure a credential helper to remove this warning. See [2023-03-15T16:48:21.966Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:48:21.966Z] [2023-03-15T16:48:21.966Z] Login Succeeded [2023-03-15T16:48:21.966Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:48:22.238Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:48:22.238Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:48:22.238Z] Configure a credential helper to remove this warning. See [2023-03-15T16:48:22.238Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:48:22.238Z] [2023-03-15T16:48:22.238Z] Login Succeeded [2023-03-15T16:48:22.238Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:48:22.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:48:22.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:48:22.794Z] Configure a credential helper to remove this warning. See [2023-03-15T16:48:22.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:48:22.794Z] [2023-03-15T16:48:22.794Z] Login Succeeded [2023-03-15T16:48:22.794Z] docker.io [2023-03-15T16:48:23.070Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:48:23.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:48:23.341Z] Configure a credential helper to remove this warning. See [2023-03-15T16:48:23.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:48:23.341Z] [2023-03-15T16:48:23.341Z] Login Succeeded [2023-03-15T16:48:23.341Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:48:23.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T16:48:23.689Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:48:23.702Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:48:23.710Z] ========================================================= [2023-03-15T16:48:23.710Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T16:48:23.710Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:48:24.070Z] + 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-03-15T16:48:24.070Z] Sending build context to Docker daemon 138.8kB [2023-03-15T16:48:24.346Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:48:24.346Z] Step 2/12 : FROM ${BASE} AS builder [2023-03-15T16:48:24.633Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T16:48:24.633Z] af6eaf76a39c: Pulling fs layer [2023-03-15T16:48:24.633Z] 55522c791124: Pulling fs layer [2023-03-15T16:48:24.633Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T16:48:24.633Z] 169dfbe0d373: Pulling fs layer [2023-03-15T16:48:24.633Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T16:48:24.633Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T16:48:24.633Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T16:48:24.633Z] 169dfbe0d373: Waiting [2023-03-15T16:48:24.633Z] e1ff8fa3b103: Waiting [2023-03-15T16:48:24.633Z] 52ebb69f0ebf: Waiting [2023-03-15T16:48:24.633Z] 5abe8eddf0d5: Waiting [2023-03-15T16:48:24.633Z] 55522c791124: Verifying Checksum [2023-03-15T16:48:24.633Z] 55522c791124: Download complete [2023-03-15T16:48:24.633Z] 169dfbe0d373: Verifying Checksum [2023-03-15T16:48:24.633Z] 169dfbe0d373: Download complete [2023-03-15T16:48:24.633Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T16:48:24.633Z] e1ff8fa3b103: Download complete [2023-03-15T16:48:24.633Z] af6eaf76a39c: Verifying Checksum [2023-03-15T16:48:24.633Z] af6eaf76a39c: Download complete [2023-03-15T16:48:26.090Z] af6eaf76a39c: Pull complete [2023-03-15T16:48:26.090Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T16:48:26.090Z] 5abe8eddf0d5: Download complete [2023-03-15T16:48:26.361Z] 55522c791124: Pull complete [2023-03-15T16:48:27.347Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T16:48:27.347Z] ce5c4a1c91eb: Download complete [2023-03-15T16:48:42.415Z] ce5c4a1c91eb: Pull complete [2023-03-15T16:48:42.415Z] 169dfbe0d373: Pull complete [2023-03-15T16:48:42.685Z] e1ff8fa3b103: Pull complete [2023-03-15T16:48:49.565Z] 52ebb69f0ebf: Pull complete [2023-03-15T16:48:51.539Z] 5abe8eddf0d5: Pull complete [2023-03-15T16:48:51.539Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T16:48:51.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T16:48:51.539Z] ---> 6cb57ee374ae [2023-03-15T16:48:51.539Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:48:53.499Z] ---> Running in 1d4130e7d94a [2023-03-15T16:48:53.769Z] Removing intermediate container 1d4130e7d94a [2023-03-15T16:48:53.769Z] ---> 1ccdad340491 [2023-03-15T16:48:53.769Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:48:53.769Z] ---> Running in 675bc64e2698 [2023-03-15T16:48:54.040Z] Removing intermediate container 675bc64e2698 [2023-03-15T16:48:54.040Z] ---> 8244f0f9b148 [2023-03-15T16:48:54.040Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:48:54.309Z] ---> Running in 830d4c165a67 [2023-03-15T16:48:54.901Z] Removing intermediate container 830d4c165a67 [2023-03-15T16:48:54.901Z] ---> e6abd7958e7e [2023-03-15T16:48:54.901Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:48:55.178Z] ---> Running in 0a2cbd917c69 [2023-03-15T16:48:55.449Z] Removing intermediate container 0a2cbd917c69 [2023-03-15T16:48:55.449Z] ---> 96ac4ef5e86e [2023-03-15T16:48:55.449Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:48:55.721Z] ---> Running in bf27668a5e46 [2023-03-15T16:48:57.143Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:48:57.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:48:58.833Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-03-15T16:48:58.833Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-03-15T16:48:58.833Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-03-15T16:48:58.833Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-03-15T16:48:58.833Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:48:58.833Z] OK: 268 MiB in 57 packages [2023-03-15T16:48:59.801Z] Removing intermediate container bf27668a5e46 [2023-03-15T16:48:59.801Z] ---> 7dc07f15c565 [2023-03-15T16:48:59.801Z] Step 8/12 : WORKDIR /device-rest-go [2023-03-15T16:49:00.070Z] ---> Running in 6b5d9d18d0c2 [2023-03-15T16:49:00.339Z] Removing intermediate container 6b5d9d18d0c2 [2023-03-15T16:49:00.339Z] ---> 5ef9dcc3f2f5 [2023-03-15T16:49:00.339Z] Step 9/12 : COPY go.mod vendor* ./ [2023-03-15T16:49:00.931Z] ---> 8b37318ef26f [2023-03-15T16:49:00.931Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:49:00.931Z] ---> Running in d4802e2968b2 [2023-03-15T16:50:08.874Z] Removing intermediate container d4802e2968b2 [2023-03-15T16:50:08.874Z] ---> 654af688bb2f [2023-03-15T16:50:08.874Z] Step 11/12 : COPY . . [2023-03-15T16:50:08.874Z] ---> 9103b7e843de [2023-03-15T16:50:08.874Z] Step 12/12 : RUN $MAKE [2023-03-15T16:50:08.874Z] ---> Running in 54219c558c53 [2023-03-15T16:50:09.460Z] noop [2023-03-15T16:50:10.048Z] Removing intermediate container 54219c558c53 [2023-03-15T16:50:10.317Z] ---> cadd6f0620e8 [2023-03-15T16:50:10.317Z] Successfully built cadd6f0620e8 [2023-03-15T16:50:10.317Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:50:10.684Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:50:10.684Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:50:10.925Z] prd-ubuntu20.04-docker-arm64-4c-16g-1963 does not seem to be running inside a container [2023-03-15T16:50:11.010Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/92 -v /w/workspace/device-rest-go/92:/w/workspace/device-rest-go/92:rw,z -v /w/workspace/device-rest-go/92@tmp:/w/workspace/device-rest-go/92@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-03-15T16:50:12.351Z] $ docker top 2c5710a8fa300bc4c4a5048d1d859b59ee69dbd13eedf42821f00f4000ceb1f4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:50:13.212Z] + go version [2023-03-15T16:50:13.212Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T16:50:13.237Z] $ docker stop --time=1 2c5710a8fa300bc4c4a5048d1d859b59ee69dbd13eedf42821f00f4000ceb1f4 [2023-03-15T16:50:14.930Z] $ docker rm -f --volumes 2c5710a8fa300bc4c4a5048d1d859b59ee69dbd13eedf42821f00f4000ceb1f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:50:15.467Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T16:50:15.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:50:15.664Z] prd-ubuntu20.04-docker-arm64-4c-16g-1963 does not seem to be running inside a container [2023-03-15T16:50:15.746Z] $ 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/92 -v /w/workspace/device-rest-go/92:/w/workspace/device-rest-go/92:rw,z -v /w/workspace/device-rest-go/92@tmp:/w/workspace/device-rest-go/92@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-03-15T16:50:16.977Z] $ docker top a93d5026b1c4c0d58e6d804b4c6abd89b74b4bce79aec40d6600c9e1430c13b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:50:17.821Z] + git config --global --add safe.directory /w/workspace/device-rest-go/92 [Pipeline] fileExists [Pipeline] sh [2023-03-15T16:50:18.469Z] + make test [2023-03-15T16:50:18.469Z] go test ./... -coverprofile=coverage.out ./... [2023-03-15T16:50:57.400Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-03-15T16:53:34.209Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-03-15T16:53:34.209Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 33.1% of statements [2023-03-15T16:53:34.209Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T16:53:34.209Z] go vet ./... [2023-03-15T16:54:00.922Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T16:54:00.922Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T16:54:00.922Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T16:54:00.943Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T16:54:00.956Z] $ docker stop --time=1 a93d5026b1c4c0d58e6d804b4c6abd89b74b4bce79aec40d6600c9e1430c13b4 [2023-03-15T16:54:02.833Z] $ docker rm -f --volumes a93d5026b1c4c0d58e6d804b4c6abd89b74b4bce79aec40d6600c9e1430c13b4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:54:04.007Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T16:54:04.029Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T16:54:04.521Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T16:54:04.902Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T16:54:05.236Z] + ls -al . [2023-03-15T16:54:05.236Z] total 180 [2023-03-15T16:54:05.236Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:50 . [2023-03-15T16:54:05.236Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:47 .. [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:47 .dockerignore [2023-03-15T16:54:05.236Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:47 .git [2023-03-15T16:54:05.236Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:47 .github [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:47 .gitignore [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:47 .golangci.yml [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:47 Attribution.txt [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:47 CHANGELOG.md [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:47 Dockerfile [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:47 GOVERNANCE.md [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:47 Jenkinsfile [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:47 LICENSE [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:47 Makefile [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:47 OWNERS.md [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:47 README.md [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:27 VERSION [2023-03-15T16:54:05.236Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:47 bin [2023-03-15T16:54:05.236Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:47 cmd [2023-03-15T16:54:05.236Z] -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:53 coverage.out [2023-03-15T16:54:05.236Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:47 driver [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:47 go.mod [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:47 go.sum [2023-03-15T16:54:05.236Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:47 snap [2023-03-15T16:54:05.236Z] -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:54:05.578Z] + 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=2ded8c8301fa9285dc80bb471c5f0972abc0b73a --label arch=arm64 --label version=3.0.0-dev.20 . [2023-03-15T16:54:05.578Z] Sending build context to Docker daemon 153.6kB [2023-03-15T16:54:05.846Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T16:54:05.846Z] Step 2/25 : FROM ${BASE} AS builder [2023-03-15T16:54:05.846Z] ---> cadd6f0620e8 [2023-03-15T16:54:05.846Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-03-15T16:54:05.846Z] ---> Running in 7e1754d1cf2f [2023-03-15T16:54:06.432Z] Removing intermediate container 7e1754d1cf2f [2023-03-15T16:54:06.432Z] ---> 62768fcd413b [2023-03-15T16:54:06.432Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-15T16:54:06.432Z] ---> Running in 6b4450cd39db [2023-03-15T16:54:06.699Z] Removing intermediate container 6b4450cd39db [2023-03-15T16:54:06.699Z] ---> 8cd727cbf36d [2023-03-15T16:54:06.699Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-03-15T16:54:06.699Z] ---> Running in 288cb1536af2 [2023-03-15T16:54:07.285Z] Removing intermediate container 288cb1536af2 [2023-03-15T16:54:07.285Z] ---> 3ab32e859f73 [2023-03-15T16:54:07.285Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-03-15T16:54:07.285Z] ---> Running in e318b39fe3f8 [2023-03-15T16:54:07.552Z] Removing intermediate container e318b39fe3f8 [2023-03-15T16:54:07.552Z] ---> 6269e4417ec9 [2023-03-15T16:54:07.552Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-15T16:54:07.823Z] ---> Running in e9759402da93 [2023-03-15T16:54:08.790Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:54:09.755Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:54:11.177Z] OK: 268 MiB in 57 packages [2023-03-15T16:54:11.767Z] Removing intermediate container e9759402da93 [2023-03-15T16:54:11.767Z] ---> 899decb4a7b0 [2023-03-15T16:54:11.767Z] Step 8/25 : WORKDIR /device-rest-go [2023-03-15T16:54:12.035Z] ---> Running in 72ec62eabeba [2023-03-15T16:54:12.305Z] Removing intermediate container 72ec62eabeba [2023-03-15T16:54:12.305Z] ---> ce1c9f9c4116 [2023-03-15T16:54:12.305Z] Step 9/25 : COPY go.mod vendor* ./ [2023-03-15T16:54:12.896Z] ---> dd4291d85ff4 [2023-03-15T16:54:12.896Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T16:54:12.896Z] ---> Running in 43156f0ace9d [2023-03-15T16:54:15.487Z] Removing intermediate container 43156f0ace9d [2023-03-15T16:54:15.487Z] ---> 343f002a2d9f [2023-03-15T16:54:15.487Z] Step 11/25 : COPY . . [2023-03-15T16:54:16.072Z] ---> 72614ac383f6 [2023-03-15T16:54:16.072Z] Step 12/25 : RUN $MAKE [2023-03-15T16:54:16.072Z] ---> Running in e9177f5cf3e3 [2023-03-15T16:54:17.029Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-03-15T16:56:53.830Z] Removing intermediate container e9177f5cf3e3 [2023-03-15T16:56:53.830Z] ---> 6091004fb039 [2023-03-15T16:56:53.830Z] Step 13/25 : FROM alpine:3.17 [2023-03-15T16:56:53.830Z] 3.17: Pulling from library/alpine [2023-03-15T16:56:53.830Z] af6eaf76a39c: Already exists [2023-03-15T16:56:53.830Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T16:56:53.830Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T16:56:53.830Z] ---> d74e625d9115 [2023-03-15T16:56:53.830Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T16:56:53.830Z] ---> Running in a156b87b3425 [2023-03-15T16:56:53.830Z] Removing intermediate container a156b87b3425 [2023-03-15T16:56:53.830Z] ---> 065750b7a989 [2023-03-15T16:56:53.830Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-03-15T16:56:53.830Z] ---> Running in 5f9e09a70ed8 [2023-03-15T16:56:53.830Z] Removing intermediate container 5f9e09a70ed8 [2023-03-15T16:56:53.830Z] ---> aafd9c666583 [2023-03-15T16:56:53.830Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-03-15T16:56:53.830Z] ---> Running in 2b8f13eddb80 [2023-03-15T16:56:53.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T16:56:53.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T16:56:54.812Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-03-15T16:56:54.812Z] Executing busybox-1.35.0-r29.trigger [2023-03-15T16:56:54.812Z] OK: 8 MiB in 16 packages [2023-03-15T16:56:56.251Z] Removing intermediate container 2b8f13eddb80 [2023-03-15T16:56:56.251Z] ---> bab77ba7fbaf [2023-03-15T16:56:56.251Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-03-15T16:56:57.682Z] ---> ec43d27114b0 [2023-03-15T16:56:57.682Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-03-15T16:56:58.274Z] ---> 95d7dc046c95 [2023-03-15T16:56:58.274Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-03-15T16:56:58.862Z] ---> 59671b952007 [2023-03-15T16:56:58.862Z] Step 20/25 : EXPOSE 59986 [2023-03-15T16:56:58.862Z] ---> Running in fbdfefd284c6 [2023-03-15T16:56:59.132Z] Removing intermediate container fbdfefd284c6 [2023-03-15T16:56:59.132Z] ---> 0f169b1d895e [2023-03-15T16:56:59.132Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-03-15T16:56:59.132Z] ---> Running in a408a378d406 [2023-03-15T16:56:59.719Z] Removing intermediate container a408a378d406 [2023-03-15T16:56:59.719Z] ---> 1c71f798d583 [2023-03-15T16:56:59.719Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-03-15T16:56:59.719Z] ---> Running in 6d75674072c6 [2023-03-15T16:56:59.986Z] Removing intermediate container 6d75674072c6 [2023-03-15T16:56:59.986Z] ---> 9396d9d6f1a6 [2023-03-15T16:56:59.986Z] Step 23/25 : LABEL arch=arm64 [2023-03-15T16:56:59.986Z] ---> Running in 340aed366b71 [2023-03-15T16:57:00.257Z] Removing intermediate container 340aed366b71 [2023-03-15T16:57:00.257Z] ---> 592227685787 [2023-03-15T16:57:00.257Z] Step 24/25 : LABEL git_sha=2ded8c8301fa9285dc80bb471c5f0972abc0b73a [2023-03-15T16:57:00.526Z] ---> Running in cd961fdeb692 [2023-03-15T16:57:00.796Z] Removing intermediate container cd961fdeb692 [2023-03-15T16:57:00.796Z] ---> ab55e82e62cc [2023-03-15T16:57:00.796Z] Step 25/25 : LABEL version=3.0.0-dev.20 [2023-03-15T16:57:00.796Z] ---> Running in b0ac8a8296cd [2023-03-15T16:57:01.063Z] Removing intermediate container b0ac8a8296cd [2023-03-15T16:57:01.063Z] ---> 47e647d5130d [2023-03-15T16:57:01.063Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T16:57:01.063Z] Successfully built 47e647d5130d [2023-03-15T16:57:01.063Z] 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-03-15T16:57:01.145Z] provisioning config files... [2023-03-15T16:57:01.161Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/92@tmp/config11435304903575676207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:57:01.508Z] ---> docker-login.sh [2023-03-15T16:57:01.508Z] nexus3.edgexfoundry.org:10001 [2023-03-15T16:57:01.779Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:57:01.779Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:57:01.779Z] Configure a credential helper to remove this warning. See [2023-03-15T16:57:01.779Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:57:01.779Z] [2023-03-15T16:57:01.779Z] Login Succeeded [2023-03-15T16:57:01.779Z] nexus3.edgexfoundry.org:10002 [2023-03-15T16:57:02.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:57:02.050Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:57:02.050Z] Configure a credential helper to remove this warning. See [2023-03-15T16:57:02.050Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:57:02.050Z] [2023-03-15T16:57:02.050Z] Login Succeeded [2023-03-15T16:57:02.323Z] nexus3.edgexfoundry.org:10003 [2023-03-15T16:57:02.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:57:02.597Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:57:02.597Z] Configure a credential helper to remove this warning. See [2023-03-15T16:57:02.597Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:57:02.597Z] [2023-03-15T16:57:02.597Z] Login Succeeded [2023-03-15T16:57:02.597Z] nexus3.edgexfoundry.org:10004 [2023-03-15T16:57:02.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:57:02.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:57:02.866Z] Configure a credential helper to remove this warning. See [2023-03-15T16:57:02.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:57:02.866Z] [2023-03-15T16:57:02.866Z] Login Succeeded [2023-03-15T16:57:02.866Z] docker.io [2023-03-15T16:57:03.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T16:57:03.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T16:57:03.402Z] Configure a credential helper to remove this warning. See [2023-03-15T16:57:03.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T16:57:03.402Z] [2023-03-15T16:57:03.402Z] Login Succeeded [2023-03-15T16:57:03.402Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T16:57:03.415Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:57:03.440Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T16:57:03.456Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-03-15T16:57:03.456Z] 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [2023-03-15T16:57:03.456Z] latest [2023-03-15T16:57:03.456Z] 3.0.0-dev.20 [2023-03-15T16:57:03.456Z] 2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [2023-03-15T16:57:03.456Z] main [2023-03-15T16:57:03.456Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:03.789Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:04.141Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a [2023-03-15T16:57:04.141Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:57:04.141Z] 26af1d532262: Preparing [2023-03-15T16:57:04.141Z] 1a389b30a886: Preparing [2023-03-15T16:57:04.141Z] e95ba51c1bed: Preparing [2023-03-15T16:57:04.141Z] a01bb7ac18fd: Preparing [2023-03-15T16:57:04.141Z] edf70074bd40: Preparing [2023-03-15T16:57:04.141Z] edf70074bd40: Layer already exists [2023-03-15T16:57:04.411Z] 1a389b30a886: Pushed [2023-03-15T16:57:04.411Z] a01bb7ac18fd: Pushed [2023-03-15T16:57:04.411Z] 26af1d532262: Pushed [2023-03-15T16:57:09.757Z] e95ba51c1bed: Pushed [2023-03-15T16:57:10.025Z] 2ded8c8301fa9285dc80bb471c5f0972abc0b73a: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:10.383Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:10.736Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-15T16:57:10.736Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:57:10.736Z] 26af1d532262: Preparing [2023-03-15T16:57:10.736Z] 1a389b30a886: Preparing [2023-03-15T16:57:10.736Z] e95ba51c1bed: Preparing [2023-03-15T16:57:10.736Z] a01bb7ac18fd: Preparing [2023-03-15T16:57:10.736Z] edf70074bd40: Preparing [2023-03-15T16:57:10.736Z] e95ba51c1bed: Layer already exists [2023-03-15T16:57:10.736Z] 26af1d532262: Layer already exists [2023-03-15T16:57:10.736Z] a01bb7ac18fd: Layer already exists [2023-03-15T16:57:10.736Z] edf70074bd40: Layer already exists [2023-03-15T16:57:10.736Z] 1a389b30a886: Layer already exists [2023-03-15T16:57:11.005Z] latest: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:11.352Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:11.699Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.20 [2023-03-15T16:57:11.699Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:57:11.699Z] 26af1d532262: Preparing [2023-03-15T16:57:11.699Z] 1a389b30a886: Preparing [2023-03-15T16:57:11.699Z] e95ba51c1bed: Preparing [2023-03-15T16:57:11.699Z] a01bb7ac18fd: Preparing [2023-03-15T16:57:11.699Z] edf70074bd40: Preparing [2023-03-15T16:57:11.699Z] a01bb7ac18fd: Layer already exists [2023-03-15T16:57:11.699Z] 1a389b30a886: Layer already exists [2023-03-15T16:57:11.699Z] edf70074bd40: Layer already exists [2023-03-15T16:57:11.699Z] e95ba51c1bed: Layer already exists [2023-03-15T16:57:11.699Z] 26af1d532262: Layer already exists [2023-03-15T16:57:11.699Z] 3.0.0-dev.20: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:12.046Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:12.396Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [2023-03-15T16:57:12.396Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:57:12.396Z] 26af1d532262: Preparing [2023-03-15T16:57:12.396Z] 1a389b30a886: Preparing [2023-03-15T16:57:12.396Z] e95ba51c1bed: Preparing [2023-03-15T16:57:12.396Z] a01bb7ac18fd: Preparing [2023-03-15T16:57:12.396Z] edf70074bd40: Preparing [2023-03-15T16:57:12.396Z] a01bb7ac18fd: Layer already exists [2023-03-15T16:57:12.396Z] e95ba51c1bed: Layer already exists [2023-03-15T16:57:12.396Z] edf70074bd40: Layer already exists [2023-03-15T16:57:12.396Z] 26af1d532262: Layer already exists [2023-03-15T16:57:12.396Z] 1a389b30a886: Layer already exists [2023-03-15T16:57:12.664Z] 2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:13.018Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:13.384Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-03-15T16:57:13.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-03-15T16:57:13.384Z] 26af1d532262: Preparing [2023-03-15T16:57:13.384Z] 1a389b30a886: Preparing [2023-03-15T16:57:13.384Z] e95ba51c1bed: Preparing [2023-03-15T16:57:13.384Z] a01bb7ac18fd: Preparing [2023-03-15T16:57:13.384Z] edf70074bd40: Preparing [2023-03-15T16:57:13.384Z] 1a389b30a886: Layer already exists [2023-03-15T16:57:13.384Z] e95ba51c1bed: Layer already exists [2023-03-15T16:57:13.384Z] edf70074bd40: Layer already exists [2023-03-15T16:57:13.384Z] a01bb7ac18fd: Layer already exists [2023-03-15T16:57:13.384Z] 26af1d532262: Layer already exists [2023-03-15T16:57:13.654Z] main: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-03-15T16:57:13.700Z] ===================================================== [Pipeline] echo [2023-03-15T16:57:13.706Z] taggedImages: [2023-03-15T16:57:13.706Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a [2023-03-15T16:57:13.706Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-03-15T16:57:13.706Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.20 [2023-03-15T16:57:13.706Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [2023-03-15T16:57:13.706Z] - 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-03-15T16:57:14.060Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:57:14.060Z] [2023-03-15T16:57:14.060Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:57:14.413Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:57:14.685Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T16:57:14.685Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T16:57:14.685Z] 04944245beec: Pulling fs layer [2023-03-15T16:57:14.685Z] 699f458cf7ca: Pulling fs layer [2023-03-15T16:57:14.685Z] 765212b225bb: Pulling fs layer [2023-03-15T16:57:14.685Z] f23df028b6ca: Pulling fs layer [2023-03-15T16:57:14.685Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T16:57:14.685Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T16:57:14.685Z] f23df028b6ca: Waiting [2023-03-15T16:57:14.685Z] d65c8cfc05b1: Waiting [2023-03-15T16:57:14.685Z] 2437ff75d9bd: Waiting [2023-03-15T16:57:14.685Z] 765212b225bb: Waiting [2023-03-15T16:57:14.685Z] 04944245beec: Verifying Checksum [2023-03-15T16:57:14.685Z] 04944245beec: Download complete [2023-03-15T16:57:14.685Z] 765212b225bb: Verifying Checksum [2023-03-15T16:57:14.685Z] 765212b225bb: Download complete [2023-03-15T16:57:14.685Z] f23df028b6ca: Verifying Checksum [2023-03-15T16:57:14.685Z] f23df028b6ca: Download complete [2023-03-15T16:57:14.685Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T16:57:14.685Z] d65c8cfc05b1: Download complete [2023-03-15T16:57:14.958Z] 699f458cf7ca: Verifying Checksum [2023-03-15T16:57:14.958Z] 699f458cf7ca: Download complete [2023-03-15T16:57:15.230Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T16:57:15.503Z] 8998bd30e6a1: Download complete [2023-03-15T16:57:18.105Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T16:57:18.105Z] 2437ff75d9bd: Download complete [2023-03-15T16:57:20.062Z] 8998bd30e6a1: Pull complete [2023-03-15T16:57:20.333Z] 04944245beec: Pull complete [2023-03-15T16:57:22.293Z] 699f458cf7ca: Pull complete [2023-03-15T16:57:22.293Z] 765212b225bb: Pull complete [2023-03-15T16:57:23.260Z] f23df028b6ca: Pull complete [2023-03-15T16:57:23.260Z] d65c8cfc05b1: Pull complete [2023-03-15T16:57:38.286Z] 2437ff75d9bd: Pull complete [2023-03-15T16:57:38.286Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T16:57:38.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T16:57:38.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:57:38.509Z] prd-ubuntu20.04-docker-arm64-4c-16g-1963 does not seem to be running inside a container [2023-03-15T16:57:38.595Z] $ 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/92 -v /w/workspace/device-rest-go/92:/w/workspace/device-rest-go/92:rw,z -v /w/workspace/device-rest-go/92@tmp:/w/workspace/device-rest-go/92@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-03-15T16:57:43.611Z] $ docker top 877e845b553bbdd89277a338362b39c02a61aea3e1b5b6272de2737d72ab394c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:57:44.519Z] ---> job-cost.sh [2023-03-15T16:57:44.519Z] lf-activate-venv: SKIPPING [2023-03-15T16:57:44.519Z] INFO: No Stack... [2023-03-15T16:57:45.111Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T16:57:46.097Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T16:57:46.755Z] + cut -d, -f6 [2023-03-15T16:57:46.755Z] + cat /w/workspace/device-rest-go/92/archives/cost.csv [Pipeline] lock [2023-03-15T16:57:46.801Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [2023-03-15T16:57:46.810Z] Resource [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] did not exist. Created. [2023-03-15T16:57:46.810Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T16:57:47.489Z] /w/workspace/device-rest-go/92@tmp/durable-834a2748/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T16:57:48.172Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T16:57:48.192Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T16:57:48.249Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T16:57:48.255Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T16:57:48.278Z] $ docker stop --time=1 877e845b553bbdd89277a338362b39c02a61aea3e1b5b6272de2737d72ab394c [2023-03-15T16:57:49.869Z] $ docker rm -f --volumes 877e845b553bbdd89277a338362b39c02a61aea3e1b5b6272de2737d72ab394c [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-03-15T16:57:50.304Z] provisioning config files... [2023-03-15T16:57:50.311Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6376006005384122343tmp [Pipeline] { [Pipeline] sh [2023-03-15T16:57:50.607Z] + set +x [2023-03-15T16:57:50.607Z] + bash -s -- [2023-03-15T16:57:50.607Z] + curl -s https://codecov.io/bash [2023-03-15T16:57:50.607Z] [2023-03-15T16:57:50.607Z] _____ _ [2023-03-15T16:57:50.607Z] / ____| | | [2023-03-15T16:57:50.607Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T16:57:50.607Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T16:57:50.607Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T16:57:50.607Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T16:57:50.607Z] Bash-1.0.6 [2023-03-15T16:57:50.607Z] [2023-03-15T16:57:50.607Z] [2023-03-15T16:57:50.607Z] ==> git version 2.25.1 found [2023-03-15T16:57:50.607Z] ==> 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-03-15T16:57:50.607Z] Release-Date: 2020-01-08 [2023-03-15T16:57:50.607Z] 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-03-15T16:57:50.607Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T16:57:50.607Z] ==> Jenkins CI detected. [2023-03-15T16:57:50.607Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-03-15T16:57:50.607Z] project root: . [2023-03-15T16:57:50.607Z] --> token set from env [2023-03-15T16:57:50.607Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T16:57:50.607Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T16:57:50.607Z] ==> Python coveragepy not found [2023-03-15T16:57:50.607Z] ==> Searching for coverage reports in: [2023-03-15T16:57:50.607Z] + . [2023-03-15T16:57:50.607Z] -> Found 1 reports [2023-03-15T16:57:50.607Z] ==> Detecting git/mercurial file structure [2023-03-15T16:57:50.607Z] ==> Reading reports [2023-03-15T16:57:50.607Z] + ./coverage.out bytes=14200 [2023-03-15T16:57:50.607Z] ==> Appending adjustments [2023-03-15T16:57:50.607Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T16:57:50.865Z] + Found adjustments [2023-03-15T16:57:50.865Z] ==> Gzipping contents [2023-03-15T16:57:50.865Z] 4.0K /tmp/codecov.1A63sL.gz [2023-03-15T16:57:50.865Z] ==> Uploading reports [2023-03-15T16:57:50.865Z] url: https://codecov.io [2023-03-15T16:57:50.865Z] query: branch=main&commit=2ded8c8301fa9285dc80bb471c5f0972abc0b73a&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T16:57:50.865Z] -> Pinging Codecov [2023-03-15T16:57:50.865Z] 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=2ded8c8301fa9285dc80bb471c5f0972abc0b73a&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-03-15T16:58:17.413Z] -> Uploading to [2023-03-15T16:58:17.413Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/4E5D53B4F1F92C436F7061BF334D961C/2ded8c8301fa9285dc80bb471c5f0972abc0b73a/2a3fa3f1-d2fa-4922-8014-9975332ba5a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T165813Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1397819ef765b11fb0c6d9d8ff9b4d21c5977ff47a493d11f6908384a3fe4855 [2023-03-15T16:58:17.413Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T16:58:17.414Z] Dload Upload Total Spent Left Speed [2023-03-15T16:58:17.414Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 9372 --:--:-- --:--:-- --:--:-- 9372 [2023-03-15T16:58:17.414Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] } [2023-03-15T16:58:17.421Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-03-15T16:58:17.533Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-03-15T16:58:17.541Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:58:17.837Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:58:17.837Z] [2023-03-15T16:58:17.837Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:58:18.139Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:58:18.139Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-03-15T16:58:18.139Z] df9b9388f04a: Pulling fs layer [2023-03-15T16:58:18.139Z] 52dc419b0ee2: Pulling fs layer [2023-03-15T16:58:18.139Z] 25bc292e5bac: Pulling fs layer [2023-03-15T16:58:18.139Z] 114826534d7a: Pulling fs layer [2023-03-15T16:58:18.139Z] 4657fd5d0bcf: Pulling fs layer [2023-03-15T16:58:18.139Z] 6ad1cebc031e: Pulling fs layer [2023-03-15T16:58:18.139Z] 8a3aa393b2d8: Pulling fs layer [2023-03-15T16:58:18.139Z] 4657fd5d0bcf: Waiting [2023-03-15T16:58:18.139Z] 6ad1cebc031e: Waiting [2023-03-15T16:58:18.139Z] 8a3aa393b2d8: Waiting [2023-03-15T16:58:18.139Z] 114826534d7a: Waiting [2023-03-15T16:58:18.139Z] 25bc292e5bac: Verifying Checksum [2023-03-15T16:58:18.139Z] 25bc292e5bac: Download complete [2023-03-15T16:58:18.139Z] 52dc419b0ee2: Verifying Checksum [2023-03-15T16:58:18.139Z] 52dc419b0ee2: Download complete [2023-03-15T16:58:18.139Z] 4657fd5d0bcf: Download complete [2023-03-15T16:58:18.139Z] df9b9388f04a: Download complete [2023-03-15T16:58:18.400Z] df9b9388f04a: Pull complete [2023-03-15T16:58:18.400Z] 52dc419b0ee2: Pull complete [2023-03-15T16:58:18.400Z] 6ad1cebc031e: Verifying Checksum [2023-03-15T16:58:18.400Z] 6ad1cebc031e: Download complete [2023-03-15T16:58:18.658Z] 25bc292e5bac: Pull complete [2023-03-15T16:58:19.224Z] 114826534d7a: Verifying Checksum [2023-03-15T16:58:19.224Z] 114826534d7a: Download complete [2023-03-15T16:58:19.224Z] 8a3aa393b2d8: Verifying Checksum [2023-03-15T16:58:19.224Z] 8a3aa393b2d8: Download complete [2023-03-15T16:58:23.405Z] 114826534d7a: Pull complete [2023-03-15T16:58:23.405Z] 4657fd5d0bcf: Pull complete [2023-03-15T16:58:23.405Z] 6ad1cebc031e: Pull complete [2023-03-15T16:58:25.934Z] 8a3aa393b2d8: Pull complete [2023-03-15T16:58:25.934Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-03-15T16:58:25.934Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-03-15T16:58:25.934Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:58:26.023Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:58:26.051Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-03-15T16:58:28.374Z] $ docker top 577a79f0e019b1c5078a0e7eb5c9b562d7a2927927010a99c4c2df261babe7b7 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-03-15T16:58:28.438Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-03-15T16:58:28.714Z] + set -o pipefail [2023-03-15T16:58:28.714Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-03-15T16:58:32.917Z] [2023-03-15T16:58:32.917Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-03-15T16:58:32.917Z] [2023-03-15T16:58:32.917Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/a73d8949-673c-4bed-99b2-804e500bcb9a [2023-03-15T16:58:32.917Z] [2023-03-15T16:58:32.917Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-03-15T16:58:32.917Z] [2023-03-15T16:58:32.917Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-03-15T16:58:32.917Z] [2023-03-15T16:58:32.917Z] [2023-03-15T16:58:32.917Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-03-15T16:58:32.917Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-03-15T16:58:32.917Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-03-15T16:58:32.929Z] $ docker stop --time=1 577a79f0e019b1c5078a0e7eb5c9b562d7a2927927010a99c4c2df261babe7b7 [2023-03-15T16:58:35.328Z] $ docker rm -f --volumes 577a79f0e019b1c5078a0e7eb5c9b562d7a2927927010a99c4c2df261babe7b7 [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-03-15T16:58:35.999Z] + git log --format=format:%s -1 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] sh [2023-03-15T16:58:36.292Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:58:36.293Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:58:36.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:58:36.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:58:36.658Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:58:36.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:58:37.117Z] $ docker top 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 -eo pid,comm [2023-03-15T16:58:37.172Z] 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-03-15T16:58:37.172Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:58:37.217Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:58:37.217Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:58:37.323Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:58:37.322Z] $ docker exec 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 ssh-agent [2023-03-15T16:58:37.437Z] SSH_AUTH_SOCK=/tmp/ssh-JVLzbzpzC09K/agent.32 [2023-03-15T16:58:37.437Z] SSH_AGENT_PID=38 [2023-03-15T16:58:37.442Z] Running ssh-add (command line suppressed) [2023-03-15T16:58:37.531Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8638216999990450933.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8638216999990450933.key) [2023-03-15T16:58:37.545Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:58:37.827Z] + git semver tag [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,030 [run_tag] DEBUG tag force:False [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,031 [check_head_tag] DEBUG check head tag [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,032 [execute] INFO git cat-file --batch-check [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,036 [execute] INFO git cat-file --batch [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,059 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,059 [execute] INFO git tag -a v3.0.0-dev.20 -m v3.0.0-dev.20 [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,060 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.20', '-m', 'v3.0.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:58:38.087Z] 2023-03-15 16:58:38,064 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:58:38.087Z] 3.0.0-dev.20 [Pipeline] } [2023-03-15T16:58:38.352Z] $ docker exec --env ******** --env ******** 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 ssh-agent -k [2023-03-15T16:58:38.449Z] unset SSH_AUTH_SOCK; [2023-03-15T16:58:38.449Z] unset SSH_AGENT_PID; [2023-03-15T16:58:38.449Z] echo Agent pid 38 killed; [2023-03-15T16:58:38.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:58:38.758Z] + git semver [Pipeline] } [2023-03-15T16:58:39.026Z] $ docker stop --time=1 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 [2023-03-15T16:58:40.338Z] $ docker rm -f --volumes 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:58:40.723Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:58:40.723Z] [2023-03-15T16:58:40.723Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:58:41.023Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:58:41.023Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-03-15T16:58:41.023Z] ab5ef0e58194: Pulling fs layer [2023-03-15T16:58:41.023Z] 9712f1f96733: Pulling fs layer [2023-03-15T16:58:41.023Z] 63f879dbbcfc: Pulling fs layer [2023-03-15T16:58:41.023Z] 0d9ebad4ef96: Pulling fs layer [2023-03-15T16:58:41.023Z] e9a5061849ea: Pulling fs layer [2023-03-15T16:58:41.023Z] d747dcd14b5f: Pulling fs layer [2023-03-15T16:58:41.023Z] 2de7ff778b66: Pulling fs layer [2023-03-15T16:58:41.023Z] 0d9ebad4ef96: Waiting [2023-03-15T16:58:41.023Z] e9a5061849ea: Waiting [2023-03-15T16:58:41.023Z] d747dcd14b5f: Waiting [2023-03-15T16:58:41.023Z] 2de7ff778b66: Waiting [2023-03-15T16:58:41.023Z] 9712f1f96733: Verifying Checksum [2023-03-15T16:58:41.023Z] 9712f1f96733: Download complete [2023-03-15T16:58:41.612Z] 63f879dbbcfc: Verifying Checksum [2023-03-15T16:58:41.612Z] 63f879dbbcfc: Download complete [2023-03-15T16:58:41.872Z] 0d9ebad4ef96: Verifying Checksum [2023-03-15T16:58:41.872Z] 0d9ebad4ef96: Download complete [2023-03-15T16:58:41.872Z] d747dcd14b5f: Verifying Checksum [2023-03-15T16:58:41.872Z] d747dcd14b5f: Download complete [2023-03-15T16:58:41.872Z] e9a5061849ea: Verifying Checksum [2023-03-15T16:58:41.872Z] e9a5061849ea: Download complete [2023-03-15T16:58:41.872Z] ab5ef0e58194: Verifying Checksum [2023-03-15T16:58:41.872Z] ab5ef0e58194: Download complete [2023-03-15T16:58:42.129Z] 2de7ff778b66: Verifying Checksum [2023-03-15T16:58:42.129Z] 2de7ff778b66: Download complete [2023-03-15T16:58:44.652Z] ab5ef0e58194: Pull complete [2023-03-15T16:58:44.652Z] 9712f1f96733: Pull complete [2023-03-15T16:58:45.217Z] 63f879dbbcfc: Pull complete [2023-03-15T16:58:49.399Z] 0d9ebad4ef96: Pull complete [2023-03-15T16:58:49.399Z] e9a5061849ea: Pull complete [2023-03-15T16:58:49.399Z] d747dcd14b5f: Pull complete [2023-03-15T16:58:50.332Z] 2de7ff778b66: Pull complete [2023-03-15T16:58:50.332Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-03-15T16:58:50.332Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-03-15T16:58:50.332Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:58:50.413Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:58:50.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-03-15T16:58:53.017Z] $ docker top 8ccb3787e4290c5e9678ee440349320ab395d2ccb629ac9db501c76d626291ad -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:58:53.083Z] provisioning config files... [2023-03-15T16:58:53.089Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7055091395746031694tmp [2023-03-15T16:58:53.097Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12655917872349853059tmp [2023-03-15T16:58:53.104Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config204760535545150207tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:58:53.118Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:58:53.395Z] ---> sigul-configuration.sh [2023-03-15T16:58:53.395Z] gpg: directory `/root/.gnupg' created [2023-03-15T16:58:53.395Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-03-15T16:58:53.395Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-03-15T16:58:53.395Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-03-15T16:58:53.395Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-03-15T16:58:53.395Z] gpg: CAST5 encrypted data [2023-03-15T16:58:53.395Z] gpg: encrypted with 1 passphrase [2023-03-15T16:58:53.395Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-03-15T16:58:53.675Z] + mkdir /home/jenkins [2023-03-15T16:58:53.675Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-03-15T16:58:53.952Z] + 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-03-15T16:58:53.960Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:58:54.237Z] ---> sigul-install.sh [2023-03-15T16:58:54.237Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-03-15T16:58:54.522Z] + git tag --list [2023-03-15T16:58:54.522Z] v1.0.0 [2023-03-15T16:58:54.522Z] v1.1.0 [2023-03-15T16:58:54.522Z] v1.1.1 [2023-03-15T16:58:54.522Z] v1.1.2 [2023-03-15T16:58:54.522Z] v1.2.0 [2023-03-15T16:58:54.522Z] v1.2.1 [2023-03-15T16:58:54.522Z] v2.0.0 [2023-03-15T16:58:54.522Z] v2.1.0 [2023-03-15T16:58:54.522Z] v2.1.1 [2023-03-15T16:58:54.522Z] v2.1.1-dev.1 [2023-03-15T16:58:54.522Z] v2.1.1-dev.2 [2023-03-15T16:58:54.522Z] v2.1.1-dev.3 [2023-03-15T16:58:54.522Z] v2.2.0 [2023-03-15T16:58:54.522Z] v2.2.1-dev.1 [2023-03-15T16:58:54.522Z] v2.2.1-dev.2 [2023-03-15T16:58:54.522Z] v2.2.1-dev.3 [2023-03-15T16:58:54.522Z] v2.2.1-dev.4 [2023-03-15T16:58:54.522Z] v2.2.1-dev.5 [2023-03-15T16:58:54.522Z] v2.2.1-dev.6 [2023-03-15T16:58:54.522Z] v2.2.1-dev.7 [2023-03-15T16:58:54.522Z] v2.2.1-dev.8 [2023-03-15T16:58:54.522Z] v2.2.1-dev.9 [2023-03-15T16:58:54.522Z] v2.3.0 [2023-03-15T16:58:54.522Z] v2.3.0-dev.10 [2023-03-15T16:58:54.522Z] v2.3.0-dev.11 [2023-03-15T16:58:54.522Z] v2.3.0-dev.12 [2023-03-15T16:58:54.522Z] v2.3.0-dev.13 [2023-03-15T16:58:54.522Z] v2.3.0-dev.14 [2023-03-15T16:58:54.522Z] v2.3.0-dev.15 [2023-03-15T16:58:54.522Z] v2.3.0-dev.16 [2023-03-15T16:58:54.522Z] v2.3.0-dev.17 [2023-03-15T16:58:54.522Z] v2.3.0-dev.18 [2023-03-15T16:58:54.522Z] v2.3.0-dev.19 [2023-03-15T16:58:54.522Z] v2.3.0-dev.20 [2023-03-15T16:58:54.522Z] v2.3.0-dev.21 [2023-03-15T16:58:54.522Z] v2.3.0-dev.22 [2023-03-15T16:58:54.522Z] v2.3.0-dev.23 [2023-03-15T16:58:54.522Z] v2.3.0-dev.24 [2023-03-15T16:58:54.522Z] v2.3.0-dev.25 [2023-03-15T16:58:54.522Z] v2.3.0-dev.9 [2023-03-15T16:58:54.522Z] v3.0.0-dev.1 [2023-03-15T16:58:54.522Z] v3.0.0-dev.10 [2023-03-15T16:58:54.522Z] v3.0.0-dev.11 [2023-03-15T16:58:54.522Z] v3.0.0-dev.12 [2023-03-15T16:58:54.522Z] v3.0.0-dev.13 [2023-03-15T16:58:54.522Z] v3.0.0-dev.14 [2023-03-15T16:58:54.522Z] v3.0.0-dev.15 [2023-03-15T16:58:54.522Z] v3.0.0-dev.16 [2023-03-15T16:58:54.522Z] v3.0.0-dev.17 [2023-03-15T16:58:54.522Z] v3.0.0-dev.18 [2023-03-15T16:58:54.522Z] v3.0.0-dev.19 [2023-03-15T16:58:54.522Z] v3.0.0-dev.2 [2023-03-15T16:58:54.522Z] v3.0.0-dev.20 [2023-03-15T16:58:54.522Z] v3.0.0-dev.3 [2023-03-15T16:58:54.522Z] v3.0.0-dev.4 [2023-03-15T16:58:54.522Z] v3.0.0-dev.5 [2023-03-15T16:58:54.522Z] v3.0.0-dev.6 [2023-03-15T16:58:54.522Z] v3.0.0-dev.7 [2023-03-15T16:58:54.522Z] v3.0.0-dev.8 [2023-03-15T16:58:54.522Z] v3.0.0-dev.9 [Pipeline] sh [2023-03-15T16:58:54.806Z] + lftools sign git-tag v3.0.0-dev.20 [2023-03-15T16:58:55.371Z] Signing Git tag with Sigul... [2023-03-15T16:58:55.371Z] Signing v3.0.0-dev.20 [Pipeline] echo [2023-03-15T16:58:55.636Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:58:55.919Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-03-15T16:58:55.925Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-03-15T16:58:55.937Z] $ docker stop --time=1 8ccb3787e4290c5e9678ee440349320ab395d2ccb629ac9db501c76d626291ad [2023-03-15T16:58:57.235Z] $ docker rm -f --volumes 8ccb3787e4290c5e9678ee440349320ab395d2ccb629ac9db501c76d626291ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-03-15T16:58:57.721Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:58:57.721Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:58:58.012Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:58:58.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:58:58.097Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:58:58.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:58:58.479Z] $ docker top aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e -eo pid,comm [2023-03-15T16:58:58.531Z] 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-03-15T16:58:58.531Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:58:58.560Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:58:58.560Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:58:58.661Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:58:58.660Z] $ docker exec aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e ssh-agent [2023-03-15T16:58:58.786Z] SSH_AUTH_SOCK=/tmp/ssh-JHHhzowqiBpJ/agent.32 [2023-03-15T16:58:58.786Z] SSH_AGENT_PID=38 [2023-03-15T16:58:58.792Z] Running ssh-add (command line suppressed) [2023-03-15T16:58:58.882Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2909575616765863439.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2909575616765863439.key) [2023-03-15T16:58:58.897Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:58:59.183Z] + git semver bump pre [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,370 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,370 [bump_version] DEBUG bumping version:3.0.0-dev.20 on axis:pre with prefix:dev [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,370 [bump_version] DEBUG bumped version:3.0.0-dev.21 [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,370 [write_version] DEBUG write version:3.0.0-dev.21 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,371 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,375 [execute] INFO git cat-file --batch-check [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,382 [execute] INFO git cat-file --batch [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:58:59.442Z] 2023-03-15 16:58:59,387 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:58:59.442Z] 3.0.0-dev.21 [Pipeline] } [2023-03-15T16:58:59.448Z] $ docker exec --env ******** --env ******** aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e ssh-agent -k [2023-03-15T16:58:59.550Z] unset SSH_AUTH_SOCK; [2023-03-15T16:58:59.550Z] unset SSH_AGENT_PID; [2023-03-15T16:58:59.551Z] echo Agent pid 38 killed; [2023-03-15T16:58:59.563Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:58:59.872Z] + git semver [Pipeline] } [2023-03-15T16:59:00.139Z] $ docker stop --time=1 aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e [2023-03-15T16:59:01.414Z] $ docker rm -f --volumes aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T16:59:01.748Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T16:59:01.748Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:59:02.041Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T16:59:02.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:59:02.112Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:59:02.137Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T16:59:02.481Z] $ docker top 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 -eo pid,comm [2023-03-15T16:59:02.534Z] 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-03-15T16:59:02.534Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T16:59:02.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T16:59:02.569Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T16:59:02.684Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T16:59:02.683Z] $ docker exec 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 ssh-agent [2023-03-15T16:59:02.793Z] SSH_AUTH_SOCK=/tmp/ssh-fVnDpHGqiWuG/agent.32 [2023-03-15T16:59:02.793Z] SSH_AGENT_PID=38 [2023-03-15T16:59:02.797Z] Running ssh-add (command line suppressed) [2023-03-15T16:59:02.899Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17666735228174873746.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17666735228174873746.key) [2023-03-15T16:59:02.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T16:59:03.195Z] + git semver push [2023-03-15T16:59:03.453Z] 2023-03-15 16:59:03,356 [run_push] DEBUG push [2023-03-15T16:59:03.453Z] 2023-03-15 16:59:03,357 [execute] INFO git cat-file --batch-check [2023-03-15T16:59:03.453Z] 2023-03-15 16:59:03,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T16:59:03.453Z] 2023-03-15 16:59:03,359 [execute] INFO git rev-list 869b011d0d6bc28787d74730eb042cb802e653d5 -- [2023-03-15T16:59:03.453Z] 2023-03-15 16:59:03,359 [execute] DEBUG Popen(['git', 'rev-list', '869b011d0d6bc28787d74730eb042cb802e653d5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:59:03.453Z] 2023-03-15 16:59:03,368 [execute] INFO git fetch -v origin [2023-03-15T16:59:03.453Z] 2023-03-15 16:59:03,368 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-03-15T16:59:04.022Z] 2023-03-15 16:59:03,858 [run_push] DEBUG no remote changes detected [2023-03-15T16:59:04.022Z] 2023-03-15 16:59:03,858 [execute] INFO git push origin semver [2023-03-15T16:59:04.022Z] 2023-03-15 16:59:03,859 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-03-15T16:59:04.959Z] 2023-03-15 16:59:04,729 [run_push] DEBUG push all version tags [2023-03-15T16:59:04.959Z] 2023-03-15 16:59:04,729 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-03-15T16:59:04.959Z] 2023-03-15 16:59:04,730 [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-03-15T16:59:05.896Z] 2023-03-15 16:59:05,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-03-15T16:59:05.896Z] 3.0.0-dev.21 [Pipeline] } [2023-03-15T16:59:05.903Z] $ docker exec --env ******** --env ******** 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 ssh-agent -k [2023-03-15T16:59:05.998Z] unset SSH_AUTH_SOCK; [2023-03-15T16:59:05.998Z] unset SSH_AGENT_PID; [2023-03-15T16:59:05.998Z] echo Agent pid 38 killed; [2023-03-15T16:59:06.014Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T16:59:06.312Z] + git semver [Pipeline] } [2023-03-15T16:59:06.578Z] $ docker stop --time=1 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 [2023-03-15T16:59:07.857Z] $ docker rm -f --volumes 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 [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-03-15T16:59:08.395Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-03-15T16:59:08.395Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-15T16:59:08.395Z] total 16 [2023-03-15T16:59:08.395Z] drwxr-xr-x 3 root root 4096 Mar 15 16:29 . [2023-03-15T16:59:08.395Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:58 .. [2023-03-15T16:59:08.396Z] drwxr-xr-x 2 root root 4096 Mar 15 16:29 cost [2023-03-15T16:59:08.396Z] -rw-r--r-- 1 root root 85 Mar 15 16:29 cost.csv [2023-03-15T16:59:08.396Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-15T16:59:08.396Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-03-15T16:59:08.396Z] total 16 [2023-03-15T16:59:08.396Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:29 . [2023-03-15T16:59:08.396Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:58 .. [2023-03-15T16:59:08.396Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:29 cost [2023-03-15T16:59:08.396Z] -rw-r--r-- 1 jenkins jenkins 85 Mar 15 16:29 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:59:08.685Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:59:09.539Z] ---> package-listing.sh [2023-03-15T16:59:09.539Z] ++ facter osfamily [2023-03-15T16:59:09.539Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T16:59:09.798Z] + OS_FAMILY=debian [2023-03-15T16:59:09.799Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-03-15T16:59:09.799Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T16:59:09.799Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T16:59:09.799Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T16:59:09.799Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T16:59:09.799Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-15T16:59:09.799Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T16:59:09.799Z] + case "${OS_FAMILY}" in [2023-03-15T16:59:09.799Z] + dpkg -l [2023-03-15T16:59:09.799Z] + grep '^ii' [2023-03-15T16:59:09.799Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T16:59:09.799Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T16:59:09.799Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T16:59:09.799Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-03-15T16:59:09.799Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-03-15T16:59:09.799Z] + 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-03-15T16:59:09.809Z] 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-03-15T16:59:10.085Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T16:59:10.637Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T16:59:10.637Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T16:59:10.709Z] prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container [2023-03-15T16:59:10.738Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T16:59:10.940Z] $ docker top 79b4b461b8c28f25e1b68133d44a09f36101ed71a603dddc324794d91b4c58bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T16:59:11.285Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T16:59:11.569Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T16:59:11.853Z] + ls /var/log/sa-host [2023-03-15T16:59:11.853Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T16:59:11.912Z] provisioning config files... [2023-03-15T16:59:11.920Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8467752978416968648tmp [Pipeline] { [Pipeline] echo [2023-03-15T16:59:11.931Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:59:12.213Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T16:59:12.220Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:59:12.544Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T16:59:12.551Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:59:12.835Z] ---> sudo-logs.sh [2023-03-15T16:59:12.835Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T16:59:12.862Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:59:13.144Z] ---> job-cost.sh [2023-03-15T16:59:13.144Z] lf-activate-venv: SKIPPING [2023-03-15T16:59:13.144Z] DEBUG: total: 0.2199999988079071 [2023-03-15T16:59:13.144Z] INFO: Retrieving Stack Cost... [2023-03-15T16:59:13.402Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T16:59:13.971Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T16:59:13.982Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T16:59:14.263Z] ---> logs-deploy.sh [2023-03-15T16:59:14.263Z] lf-activate-venv: SKIPPING [2023-03-15T16:59:14.263Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/92 [2023-03-15T16:59:14.263Z] INFO: archiving workspace using pattern(s): [2023-03-15T16:59:15.202Z] Archives upload complete. [2023-03-15T16:59:15.202Z] INFO: archiving logs to Nexus