Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f43bb6568d459ea684ddacde33420076da59f652 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-ssh10953944180886496071.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh7056399753737262713.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16510400254886217072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh7778049732286507190.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-ssh7700128995222724600.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4933 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 f43bb6568d459ea684ddacde33420076da59f652 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#335)" > git rev-list --no-walk cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-30T20:36:13.901Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-30T20:36:13.949Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-30T20:36:13.963Z] ========================================================= [2023-08-30T20:36:13.963Z] EdgeX Global Pipelines Version Info [2023-08-30T20:36:13.963Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:36:14.680Z] ------------------- [2023-08-30T20:36:14.680Z] stable info: [2023-08-30T20:36:14.680Z] ------------------- [2023-08-30T20:36:14.680Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-30T20:36:14.680Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T20:36:14.680Z] Message: update stable to v1.0.253 [2023-08-30T20:36:15.250Z] ------------------- [2023-08-30T20:36:15.250Z] experimental info: [2023-08-30T20:36:15.250Z] ------------------- [2023-08-30T20:36:15.250Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-30T20:36:15.250Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-30T20:36:15.250Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-30T20:36:15.406Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-08-30T20:36:15.421Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-08-30T20:36:15.438Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-30T20:36:15.447Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-30T20:36:15.456Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-30T20:36:15.466Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-30T20:36:15.481Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-30T20:36:15.492Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-08-30T20:36:15.504Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-30T20:36:15.517Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-30T20:36:15.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-30T20:36:15.548Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-08-30T20:36:15.565Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-30T20:36:15.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-30T20:36:15.590Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-30T20:36:15.601Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-08-30T20:36:15.619Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T20:36:15.637Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-30T20:36:15.655Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-30T20:36:15.672Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-30T20:36:15.688Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-08-30T20:36:15.701Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-08-30T20:36:15.725Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-30T20:36:15.738Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-30T20:36:15.749Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-30T20:36:15.767Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-30T20:36:15.787Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-30T20:36:15.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-08-30T20:36:15.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-08-30T20:36:15.831Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-08-30T20:36:15.849Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] echo [2023-08-30T20:36:15.868Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f43bb65 [Pipeline] echo [2023-08-30T20:36:15.886Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T20:36:15.933Z] provisioning config files... [2023-08-30T20:36:15.947Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15442201582169338816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:36:16.254Z] ---> docker-login.sh [2023-08-30T20:36:16.255Z] nexus3.edgexfoundry.org:10001 [2023-08-30T20:36:16.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:16.516Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:16.516Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:16.516Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:16.516Z] [2023-08-30T20:36:16.516Z] Login Succeeded [2023-08-30T20:36:16.516Z] nexus3.edgexfoundry.org:10002 [2023-08-30T20:36:16.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:16.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:16.776Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:16.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:16.776Z] [2023-08-30T20:36:16.776Z] Login Succeeded [2023-08-30T20:36:16.776Z] nexus3.edgexfoundry.org:10003 [2023-08-30T20:36:16.776Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:16.776Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:16.776Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:16.776Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:16.776Z] [2023-08-30T20:36:16.776Z] Login Succeeded [2023-08-30T20:36:16.776Z] nexus3.edgexfoundry.org:10004 [2023-08-30T20:36:17.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:17.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:17.044Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:17.044Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:17.044Z] [2023-08-30T20:36:17.044Z] Login Succeeded [2023-08-30T20:36:17.044Z] docker.io [2023-08-30T20:36:17.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:17.304Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:17.304Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:17.304Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:17.304Z] [2023-08-30T20:36:17.304Z] Login Succeeded [2023-08-30T20:36:17.304Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T20:36:17.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-30T20:36:17.704Z] + git rev-list -1 --merges f43bb6568d459ea684ddacde33420076da59f652~1..f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] echo [2023-08-30T20:36:17.755Z] -----------> git rev-list -1 --merges f43bb6568d459ea684ddacde33420076da59f652~1..f43bb6568d459ea684ddacde33420076da59f652 f43bb6568d459ea684ddacde33420076da59f652 [false] [Pipeline] sh [2023-08-30T20:36:18.048Z] + git log --format=format:%s -1 f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] echo [2023-08-30T20:36:18.089Z] ========================================================= [2023-08-30T20:36:18.089Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-30T20:36:18.089Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T20:36:18.444Z] + git log --format=format:%s -1 f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] echo [2023-08-30T20:36:18.456Z] [semverPrep] GIT_COMMIT: f43bb6568d459ea684ddacde33420076da59f652, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#335) [Pipeline] echo [2023-08-30T20:36:18.466Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-30T20:36:18.845Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T20:36:18.845Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-30T20:36:18.845Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-30T20:36:18.845Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-30T20:36:18.845Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-30T20:36:18.845Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-30T20:36:18.845Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:36:19.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T20:36:19.205Z] [2023-08-30T20:36:19.205Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:36:19.510Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T20:36:19.510Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-30T20:36:19.510Z] b85a868b505f: Pulling fs layer [2023-08-30T20:36:19.510Z] e2be974225ed: Pulling fs layer [2023-08-30T20:36:19.510Z] 339a4e72a1f5: Pulling fs layer [2023-08-30T20:36:19.510Z] 988bab9f4d93: Pulling fs layer [2023-08-30T20:36:19.510Z] 1469e6f7b9e6: Pulling fs layer [2023-08-30T20:36:19.510Z] eaf3925da568: Pulling fs layer [2023-08-30T20:36:19.510Z] bab4dde63d76: Pulling fs layer [2023-08-30T20:36:19.510Z] bde34c3a00c8: Pulling fs layer [2023-08-30T20:36:19.510Z] b352a97aabf1: Pulling fs layer [2023-08-30T20:36:19.510Z] 4872d77fe225: Pulling fs layer [2023-08-30T20:36:19.510Z] 5851b861e8e6: Pulling fs layer [2023-08-30T20:36:19.510Z] 988bab9f4d93: Waiting [2023-08-30T20:36:19.510Z] bde34c3a00c8: Waiting [2023-08-30T20:36:19.510Z] b352a97aabf1: Waiting [2023-08-30T20:36:19.510Z] eaf3925da568: Waiting [2023-08-30T20:36:19.510Z] 4872d77fe225: Waiting [2023-08-30T20:36:19.510Z] 1469e6f7b9e6: Waiting [2023-08-30T20:36:19.510Z] bab4dde63d76: Waiting [2023-08-30T20:36:19.510Z] 5851b861e8e6: Waiting [2023-08-30T20:36:19.510Z] e2be974225ed: Verifying Checksum [2023-08-30T20:36:19.510Z] e2be974225ed: Download complete [2023-08-30T20:36:19.770Z] 988bab9f4d93: Verifying Checksum [2023-08-30T20:36:19.770Z] 988bab9f4d93: Download complete [2023-08-30T20:36:19.770Z] 1469e6f7b9e6: Verifying Checksum [2023-08-30T20:36:19.770Z] 1469e6f7b9e6: Download complete [2023-08-30T20:36:19.770Z] 339a4e72a1f5: Verifying Checksum [2023-08-30T20:36:19.770Z] 339a4e72a1f5: Download complete [2023-08-30T20:36:19.770Z] eaf3925da568: Verifying Checksum [2023-08-30T20:36:19.770Z] eaf3925da568: Download complete [2023-08-30T20:36:19.770Z] bde34c3a00c8: Download complete [2023-08-30T20:36:19.770Z] b352a97aabf1: Verifying Checksum [2023-08-30T20:36:19.770Z] b352a97aabf1: Download complete [2023-08-30T20:36:19.770Z] 4872d77fe225: Download complete [2023-08-30T20:36:19.770Z] 5851b861e8e6: Verifying Checksum [2023-08-30T20:36:19.770Z] 5851b861e8e6: Download complete [2023-08-30T20:36:19.770Z] b85a868b505f: Verifying Checksum [2023-08-30T20:36:19.770Z] b85a868b505f: Download complete [2023-08-30T20:36:20.029Z] bab4dde63d76: Verifying Checksum [2023-08-30T20:36:20.029Z] bab4dde63d76: Download complete [2023-08-30T20:36:20.965Z] b85a868b505f: Pull complete [2023-08-30T20:36:21.225Z] e2be974225ed: Pull complete [2023-08-30T20:36:21.806Z] 339a4e72a1f5: Pull complete [2023-08-30T20:36:21.806Z] 988bab9f4d93: Pull complete [2023-08-30T20:36:22.065Z] 1469e6f7b9e6: Pull complete [2023-08-30T20:36:22.065Z] eaf3925da568: Pull complete [2023-08-30T20:36:23.974Z] bab4dde63d76: Pull complete [2023-08-30T20:36:23.974Z] bde34c3a00c8: Pull complete [2023-08-30T20:36:23.974Z] b352a97aabf1: Pull complete [2023-08-30T20:36:24.236Z] 4872d77fe225: Pull complete [2023-08-30T20:36:24.236Z] 5851b861e8e6: Pull complete [2023-08-30T20:36:24.236Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-30T20:36:24.236Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T20:36:24.236Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:36:24.347Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:36:24.358Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-30T20:36:27.078Z] $ docker top 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 -eo pid,comm [2023-08-30T20:36:27.150Z] 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-08-30T20:36:27.150Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T20:36:27.184Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T20:36:27.184Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T20:36:27.298Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T20:36:27.290Z] $ docker exec 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 ssh-agent [2023-08-30T20:36:27.410Z] SSH_AUTH_SOCK=/tmp/ssh-3LzV6rFrSlPy/agent.32 [2023-08-30T20:36:27.410Z] SSH_AGENT_PID=38 [2023-08-30T20:36:27.418Z] Running ssh-add (command line suppressed) [2023-08-30T20:36:27.507Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9368717266456125258.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9368717266456125258.key) [2023-08-30T20:36:27.538Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T20:36:27.827Z] + git tag --points-at HEAD [Pipeline] } [2023-08-30T20:36:27.825Z] $ docker exec --env ******** --env ******** 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 ssh-agent -k [2023-08-30T20:36:27.925Z] unset SSH_AUTH_SOCK; [2023-08-30T20:36:27.926Z] unset SSH_AGENT_PID; [2023-08-30T20:36:27.927Z] echo Agent pid 38 killed; [2023-08-30T20:36:27.949Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-30T20:36:27.973Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T20:36:27.973Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T20:36:28.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T20:36:28.075Z] $ docker exec 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 ssh-agent [2023-08-30T20:36:28.194Z] SSH_AUTH_SOCK=/tmp/ssh-IpvE9XaonnBO/agent.70 [2023-08-30T20:36:28.194Z] SSH_AGENT_PID=76 [2023-08-30T20:36:28.199Z] Running ssh-add (command line suppressed) [2023-08-30T20:36:28.280Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9314874481613004115.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9314874481613004115.key) [2023-08-30T20:36:28.310Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T20:36:28.591Z] + git semver init [2023-08-30T20:36:28.851Z] 2023-08-30 20:36:28,765 [run_init] DEBUG init version:0.0.0 force:False [2023-08-30T20:36:28.851Z] 2023-08-30 20:36:28,766 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-08-30T20:36:28.851Z] 2023-08-30 20:36:28,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-08-30T20:36:28.851Z] 2023-08-30 20:36:28,766 [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-08-30T20:36:30.230Z] 2023-08-30 20:36:29,832 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-08-30T20:36:30.230Z] 2023-08-30 20:36:29,832 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-08-30T20:36:30.230Z] 2023-08-30 20:36:29,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-30T20:36:30.230Z] 2023-08-30 20:36:29,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-30T20:36:30.230Z] 3.1.0-dev.7 [Pipeline] } [2023-08-30T20:36:30.228Z] $ docker exec --env ******** --env ******** 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 ssh-agent -k [2023-08-30T20:36:30.325Z] unset SSH_AUTH_SOCK; [2023-08-30T20:36:30.325Z] unset SSH_AGENT_PID; [2023-08-30T20:36:30.325Z] echo Agent pid 76 killed; [2023-08-30T20:36:30.347Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T20:36:30.650Z] + git semver [Pipeline] } [2023-08-30T20:36:30.910Z] $ docker stop --time=1 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 [2023-08-30T20:36:32.242Z] $ docker rm -f --volumes 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T20:36:32.597Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-30T20:36:32.808Z] Stashed 1 file(s) [Pipeline] echo [2023-08-30T20:36:32.810Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [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-08-30T20:36:32.950Z] provisioning config files... [2023-08-30T20:36:32.960Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11902361492872820931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:36:33.261Z] ---> docker-login.sh [2023-08-30T20:36:33.261Z] nexus3.edgexfoundry.org:10001 [2023-08-30T20:36:33.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:33.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:33.261Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:33.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:33.261Z] [2023-08-30T20:36:33.261Z] Login Succeeded [2023-08-30T20:36:33.261Z] nexus3.edgexfoundry.org:10002 [2023-08-30T20:36:33.261Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:33.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:33.261Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:33.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:33.261Z] [2023-08-30T20:36:33.261Z] Login Succeeded [2023-08-30T20:36:33.261Z] nexus3.edgexfoundry.org:10003 [2023-08-30T20:36:33.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:33.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:33.521Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:33.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:33.521Z] [2023-08-30T20:36:33.521Z] Login Succeeded [2023-08-30T20:36:33.521Z] nexus3.edgexfoundry.org:10004 [2023-08-30T20:36:33.521Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:33.521Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:33.521Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:33.521Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:33.521Z] [2023-08-30T20:36:33.521Z] Login Succeeded [2023-08-30T20:36:33.521Z] docker.io [2023-08-30T20:36:33.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:36:33.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:36:33.780Z] Configure a credential helper to remove this warning. See [2023-08-30T20:36:33.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:36:33.780Z] [2023-08-30T20:36:33.780Z] Login Succeeded [2023-08-30T20:36:33.780Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T20:36:33.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-30T20:36:33.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T20:36:33.854Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T20:36:33.860Z] ========================================================= [2023-08-30T20:36:33.860Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-30T20:36:33.860Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:36:34.174Z] + 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-08-30T20:36:34.174Z] Sending build context to Docker daemon 10.92MB [2023-08-30T20:36:34.174Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T20:36:34.174Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-30T20:36:34.174Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-30T20:36:34.174Z] 4db1b89c0bd1: Pulling fs layer [2023-08-30T20:36:34.174Z] 6911f1a30b25: Pulling fs layer [2023-08-30T20:36:34.174Z] e194b8c5c2a9: Pulling fs layer [2023-08-30T20:36:34.174Z] 6863d3e3a2b1: Pulling fs layer [2023-08-30T20:36:34.174Z] ec0bb842ea78: Pulling fs layer [2023-08-30T20:36:34.174Z] 40a00589a448: Pulling fs layer [2023-08-30T20:36:34.174Z] 6c08303d61cc: Pulling fs layer [2023-08-30T20:36:34.174Z] 798269fcf238: Pulling fs layer [2023-08-30T20:36:34.174Z] 6863d3e3a2b1: Waiting [2023-08-30T20:36:34.174Z] 6c08303d61cc: Waiting [2023-08-30T20:36:34.174Z] ec0bb842ea78: Waiting [2023-08-30T20:36:34.174Z] 40a00589a448: Waiting [2023-08-30T20:36:34.174Z] 798269fcf238: Waiting [2023-08-30T20:36:34.174Z] 6911f1a30b25: Verifying Checksum [2023-08-30T20:36:34.174Z] 6911f1a30b25: Download complete [2023-08-30T20:36:34.435Z] 6863d3e3a2b1: Verifying Checksum [2023-08-30T20:36:34.435Z] 6863d3e3a2b1: Download complete [2023-08-30T20:36:34.435Z] ec0bb842ea78: Verifying Checksum [2023-08-30T20:36:34.435Z] ec0bb842ea78: Download complete [2023-08-30T20:36:34.435Z] 4db1b89c0bd1: Verifying Checksum [2023-08-30T20:36:34.435Z] 4db1b89c0bd1: Download complete [2023-08-30T20:36:34.435Z] 40a00589a448: Verifying Checksum [2023-08-30T20:36:34.435Z] 40a00589a448: Download complete [2023-08-30T20:36:34.435Z] 4db1b89c0bd1: Pull complete [2023-08-30T20:36:34.696Z] 6911f1a30b25: Pull complete [2023-08-30T20:36:34.958Z] 798269fcf238: Verifying Checksum [2023-08-30T20:36:34.958Z] 798269fcf238: Download complete [2023-08-30T20:36:34.958Z] e194b8c5c2a9: Verifying Checksum [2023-08-30T20:36:34.958Z] e194b8c5c2a9: Download complete [2023-08-30T20:36:35.218Z] 6c08303d61cc: Verifying Checksum [2023-08-30T20:36:35.218Z] 6c08303d61cc: Download complete [2023-08-30T20:36:38.502Z] e194b8c5c2a9: Pull complete [2023-08-30T20:36:38.502Z] 6863d3e3a2b1: Pull complete [2023-08-30T20:36:38.769Z] ec0bb842ea78: Pull complete [2023-08-30T20:36:38.770Z] 40a00589a448: Pull complete [2023-08-30T20:36:41.308Z] 6c08303d61cc: Pull complete [2023-08-30T20:36:41.873Z] 798269fcf238: Pull complete [2023-08-30T20:36:41.873Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-30T20:36:41.873Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-30T20:36:41.873Z] ---> ec979cd7f677 [2023-08-30T20:36:41.873Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-30T20:36:47.163Z] ---> Running in 9108274d9808 [2023-08-30T20:36:47.164Z] Removing intermediate container 9108274d9808 [2023-08-30T20:36:47.164Z] ---> 6f43e2325116 [2023-08-30T20:36:47.164Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-30T20:36:47.164Z] ---> Running in b833e2d705c7 [2023-08-30T20:36:47.164Z] Removing intermediate container b833e2d705c7 [2023-08-30T20:36:47.164Z] ---> d6302ee7b545 [2023-08-30T20:36:47.164Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-30T20:36:47.164Z] ---> Running in 13eb758d34fa [2023-08-30T20:36:47.164Z] Removing intermediate container 13eb758d34fa [2023-08-30T20:36:47.164Z] ---> cf5d26501517 [2023-08-30T20:36:47.164Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-30T20:36:47.164Z] ---> Running in 5bf506902609 [2023-08-30T20:36:47.164Z] Removing intermediate container 5bf506902609 [2023-08-30T20:36:47.164Z] ---> fc7a71221491 [2023-08-30T20:36:47.164Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-30T20:36:47.164Z] ---> Running in 4699e4bd49ce [2023-08-30T20:36:47.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T20:36:47.164Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T20:36:47.422Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-30T20:36:47.422Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-30T20:36:47.688Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-30T20:36:47.688Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-30T20:36:47.688Z] Executing busybox-1.35.0-r29.trigger [2023-08-30T20:36:47.688Z] OK: 269 MiB in 57 packages [2023-08-30T20:36:47.919Z] Still waiting to schedule task [2023-08-30T20:36:47.919Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-30T20:36:47.948Z] Removing intermediate container 4699e4bd49ce [2023-08-30T20:36:47.948Z] ---> f0edcba7bd9f [2023-08-30T20:36:47.948Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-30T20:36:47.948Z] ---> Running in 3ad7c4fa365d [2023-08-30T20:36:48.207Z] Removing intermediate container 3ad7c4fa365d [2023-08-30T20:36:48.207Z] ---> 8a96d58aa9b6 [2023-08-30T20:36:48.207Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-30T20:36:48.207Z] ---> d59869ff6f4b [2023-08-30T20:36:48.207Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T20:36:48.207Z] ---> Running in a3b7cf4b7f91 [2023-08-30T20:37:34.947Z] Removing intermediate container a3b7cf4b7f91 [2023-08-30T20:37:34.947Z] ---> ee9e754a1e8f [2023-08-30T20:37:34.947Z] Step 11/12 : COPY . . [2023-08-30T20:37:34.947Z] ---> bb3ea42436c7 [2023-08-30T20:37:34.947Z] Step 12/12 : RUN $MAKE [2023-08-30T20:37:34.947Z] ---> Running in d86cf082d513 [2023-08-30T20:37:34.947Z] noop [2023-08-30T20:37:34.947Z] Removing intermediate container d86cf082d513 [2023-08-30T20:37:34.947Z] ---> 1dfe0dfa43d1 [2023-08-30T20:37:34.947Z] Successfully built 1dfe0dfa43d1 [2023-08-30T20:37:34.947Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:37:35.257Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T20:37:35.257Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:37:35.331Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:37:35.369Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-30T20:37:35.731Z] $ docker top 6b0096293aaa463362278ef15383269f939befff5f9b6176404a512bd1698306 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T20:37:36.065Z] + go version [2023-08-30T20:37:36.065Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-30T20:37:36.082Z] $ docker stop --time=1 6b0096293aaa463362278ef15383269f939befff5f9b6176404a512bd1698306 [2023-08-30T20:37:37.350Z] $ docker rm -f --volumes 6b0096293aaa463362278ef15383269f939befff5f9b6176404a512bd1698306 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:37:37.755Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-30T20:37:37.755Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:37:37.833Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:37:37.862Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-08-30T20:37:38.200Z] $ docker top ffb07bcb1d8da5d09e983837ae2aa5d69e02d807c255664c0accd87d46cfe91c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T20:37:38.534Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-08-30T20:37:38.824Z] + make test [2023-08-30T20:37:38.824Z] go test ./... -coverprofile=coverage.out ./... [2023-08-30T20:37:44.084Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-30T20:37:54.099Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-30T20:37:54.099Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements [2023-08-30T20:38:00.660Z] go vet ./... [2023-08-30T20:38:03.938Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T20:38:03.938Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T20:38:03.938Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T20:38:03.950Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T20:38:03.968Z] $ docker stop --time=1 ffb07bcb1d8da5d09e983837ae2aa5d69e02d807c255664c0accd87d46cfe91c [2023-08-30T20:38:08.169Z] $ docker rm -f --volumes ffb07bcb1d8da5d09e983837ae2aa5d69e02d807c255664c0accd87d46cfe91c [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T20:38:08.628Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T20:38:08.671Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-30T20:38:09.189Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T20:38:09.470Z] + ls -al . [2023-08-30T20:38:09.470Z] total 188 [2023-08-30T20:38:09.470Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 20:37 . [2023-08-30T20:38:09.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:36 .. [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 30 20:36 .dockerignore [2023-08-30T20:38:09.470Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 20:36 .git [2023-08-30T20:38:09.470Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:36 .github [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 30 20:36 .gitignore [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 20:36 .golangci.yml [2023-08-30T20:38:09.470Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 20:36 .semver [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 30 20:36 Attribution.txt [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 30 20:36 CHANGELOG.md [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 30 20:36 Dockerfile [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 20:36 GOVERNANCE.md [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 30 20:36 Jenkinsfile [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 30 20:36 LICENSE [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 2010 Aug 30 20:36 Makefile [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 30 20:36 OWNERS.md [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 30 20:36 README.md [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 30 20:36 VERSION [2023-08-30T20:38:09.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:36 bin [2023-08-30T20:38:09.470Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:36 cmd [2023-08-30T20:38:09.470Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 30 20:37 coverage.out [2023-08-30T20:38:09.470Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:36 driver [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 3889 Aug 30 20:36 go.mod [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 30 20:36 go.sum [2023-08-30T20:38:09.470Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:36 snap [2023-08-30T20:38:09.470Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 30 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:09.776Z] + 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=f43bb6568d459ea684ddacde33420076da59f652 --label arch=amd64 --label version=3.1.0-dev.7 . [2023-08-30T20:38:09.777Z] Sending build context to Docker daemon 10.93MB [2023-08-30T20:38:09.777Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T20:38:09.777Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-30T20:38:09.777Z] ---> 1dfe0dfa43d1 [2023-08-30T20:38:09.777Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-30T20:38:10.035Z] ---> Running in a01e166b1033 [2023-08-30T20:38:10.035Z] Removing intermediate container a01e166b1033 [2023-08-30T20:38:10.035Z] ---> 3ff7372e9cd3 [2023-08-30T20:38:10.035Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-30T20:38:10.035Z] ---> Running in 231ad48bc8d9 [2023-08-30T20:38:10.304Z] Removing intermediate container 231ad48bc8d9 [2023-08-30T20:38:10.304Z] ---> fe0fe31e50f7 [2023-08-30T20:38:10.304Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-30T20:38:10.304Z] ---> Running in 91647a0bc944 [2023-08-30T20:38:10.304Z] Removing intermediate container 91647a0bc944 [2023-08-30T20:38:10.304Z] ---> 411ccfdc4d2f [2023-08-30T20:38:10.304Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-30T20:38:10.304Z] ---> Running in 7bb3e52687bf [2023-08-30T20:38:10.562Z] Removing intermediate container 7bb3e52687bf [2023-08-30T20:38:10.562Z] ---> 4ca74dd57e6b [2023-08-30T20:38:10.562Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-30T20:38:10.562Z] ---> Running in 0049e14c90a5 [2023-08-30T20:38:10.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T20:38:10.821Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T20:38:11.081Z] OK: 269 MiB in 57 packages [2023-08-30T20:38:11.649Z] Removing intermediate container 0049e14c90a5 [2023-08-30T20:38:11.649Z] ---> 97f0dcbc7be3 [2023-08-30T20:38:11.649Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-30T20:38:11.649Z] ---> Running in 0c53dc9e5395 [2023-08-30T20:38:11.649Z] Removing intermediate container 0c53dc9e5395 [2023-08-30T20:38:11.649Z] ---> f1c22487932d [2023-08-30T20:38:11.649Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-30T20:38:11.649Z] ---> ca9f8d73b872 [2023-08-30T20:38:11.649Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T20:38:11.649Z] ---> Running in 9f5dd8636e73 [2023-08-30T20:38:12.217Z] Removing intermediate container 9f5dd8636e73 [2023-08-30T20:38:12.217Z] ---> 27370cf4de14 [2023-08-30T20:38:12.217Z] Step 11/25 : COPY . . [2023-08-30T20:38:12.858Z] ---> 3371aa0dfc37 [2023-08-30T20:38:12.858Z] Step 12/25 : RUN $MAKE [2023-08-30T20:38:12.858Z] ---> Running in 6173c08e9065 [2023-08-30T20:38:13.117Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-30T20:38:14.059Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4934 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-08-30T20:38:14.072Z] Running in /w/workspace/device-rest-go/127 [Pipeline] { [Pipeline] checkout [2023-08-30T20:38:14.104Z] The recommended git tool is: git [2023-08-30T20:38:18.778Z] using credential edgex-jenkins-ssh [2023-08-30T20:38:18.795Z] Cloning the remote Git repository [2023-08-30T20:38:18.824Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-08-30T20:38:18.907Z] > git init /w/workspace/device-rest-go/127 # timeout=10 [2023-08-30T20:38:19.041Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-08-30T20:38:19.042Z] > git --version # timeout=10 [2023-08-30T20:38:19.068Z] > git --version # 'git version 2.25.1' [2023-08-30T20:38:19.071Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-30T20:38:19.243Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T20:38:21.007Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-08-30T20:38:21.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-30T20:38:21.818Z] Avoid second fetch [2023-08-30T20:38:21.819Z] Checking out Revision f43bb6568d459ea684ddacde33420076da59f652 (main) [2023-08-30T20:38:22.364Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#335)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T20:38:21.825Z] > git config core.sparsecheckout # timeout=10 [2023-08-30T20:38:21.885Z] > git checkout -f f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 [2023-08-30T20:38:23.318Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-30T20:38:23.318Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T20:38:23.318Z] Dload Upload Total Spent Left Speed [2023-08-30T20:38:23.318Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh [2023-08-30T20:38:23.986Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-30T20:38:24.318Z] + sudo tee /etc/docker/daemon.new [2023-08-30T20:38:24.318Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-30T20:38:24.318Z] { [2023-08-30T20:38:24.318Z] "registry-mirrors": [ [2023-08-30T20:38:24.318Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-30T20:38:24.318Z] ], [2023-08-30T20:38:24.318Z] "bip": "10.250.0.254/24", [2023-08-30T20:38:24.318Z] "hosts": [ [2023-08-30T20:38:24.318Z] "tcp://0.0.0.0:5555", [2023-08-30T20:38:24.318Z] "unix:///var/run/docker.sock" [2023-08-30T20:38:24.318Z] ], [2023-08-30T20:38:24.318Z] "mtu": 1458, [2023-08-30T20:38:24.318Z] "selinux-enabled": true, [2023-08-30T20:38:24.318Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-30T20:38:24.318Z] } [Pipeline] sh [2023-08-30T20:38:24.639Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-30T20:38:24.967Z] + sudo service docker restart [2023-08-30T20:38:35.103Z] Removing intermediate container 6173c08e9065 [2023-08-30T20:38:35.103Z] ---> fafc4a3c76d9 [2023-08-30T20:38:35.103Z] Step 13/25 : FROM alpine:3.17 [2023-08-30T20:38:35.103Z] 3.17: Pulling from library/alpine [2023-08-30T20:38:35.103Z] 9398808236ff: Pulling fs layer [2023-08-30T20:38:35.378Z] 9398808236ff: Verifying Checksum [2023-08-30T20:38:35.378Z] 9398808236ff: Download complete [2023-08-30T20:38:35.378Z] 9398808236ff: Pull complete [2023-08-30T20:38:35.378Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T20:38:35.378Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T20:38:35.378Z] ---> 1e0b8b5322fc [2023-08-30T20:38:35.378Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-30T20:38:35.638Z] ---> Running in c4a8643ea614 [2023-08-30T20:38:35.638Z] Removing intermediate container c4a8643ea614 [2023-08-30T20:38:35.638Z] ---> 5e7854c8100b [2023-08-30T20:38:35.638Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-30T20:38:35.638Z] ---> Running in c2ae042b1d25 [2023-08-30T20:38:35.638Z] Removing intermediate container c2ae042b1d25 [2023-08-30T20:38:35.638Z] ---> 579fba2d1da9 [2023-08-30T20:38:35.638Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-30T20:38:35.897Z] ---> Running in ccaaa4a04465 [2023-08-30T20:38:35.897Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-30T20:38:36.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-30T20:38:36.413Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-30T20:38:36.413Z] Executing busybox-1.35.0-r29.trigger [2023-08-30T20:38:36.413Z] OK: 7 MiB in 16 packages [2023-08-30T20:38:36.673Z] Removing intermediate container ccaaa4a04465 [2023-08-30T20:38:36.673Z] ---> 2992f54aa6a1 [2023-08-30T20:38:36.673Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-30T20:38:37.609Z] ---> 66e35db82367 [2023-08-30T20:38:37.609Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-30T20:38:37.609Z] ---> f589b56612d9 [2023-08-30T20:38:37.609Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-30T20:38:37.869Z] ---> 3e91be7941a1 [2023-08-30T20:38:37.869Z] Step 20/25 : EXPOSE 59986 [2023-08-30T20:38:37.869Z] ---> Running in 4f031d716937 [2023-08-30T20:38:37.869Z] Removing intermediate container 4f031d716937 [2023-08-30T20:38:37.869Z] ---> 28789ba32758 [2023-08-30T20:38:37.869Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-30T20:38:37.869Z] ---> Running in d2dd8d313a0f [2023-08-30T20:38:38.129Z] Removing intermediate container d2dd8d313a0f [2023-08-30T20:38:38.129Z] ---> 55ebc06102eb [2023-08-30T20:38:38.129Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-30T20:38:38.129Z] ---> Running in 56631cbfbe19 [2023-08-30T20:38:38.129Z] Removing intermediate container 56631cbfbe19 [2023-08-30T20:38:38.129Z] ---> 626a457067eb [2023-08-30T20:38:38.129Z] Step 23/25 : LABEL arch=amd64 [2023-08-30T20:38:38.129Z] ---> Running in 2a6921f36471 [2023-08-30T20:38:38.129Z] Removing intermediate container 2a6921f36471 [2023-08-30T20:38:38.129Z] ---> 42ef202fe107 [2023-08-30T20:38:38.129Z] Step 24/25 : LABEL git_sha=f43bb6568d459ea684ddacde33420076da59f652 [2023-08-30T20:38:38.389Z] ---> Running in f841cd135cc4 [2023-08-30T20:38:38.389Z] Removing intermediate container f841cd135cc4 [2023-08-30T20:38:38.389Z] ---> d75f21ac89de [2023-08-30T20:38:38.389Z] Step 25/25 : LABEL version=3.1.0-dev.7 [2023-08-30T20:38:38.389Z] ---> Running in 2fa91730180e [2023-08-30T20:38:38.389Z] Removing intermediate container 2fa91730180e [2023-08-30T20:38:38.389Z] ---> 38a2af3c70f6 [2023-08-30T20:38:38.389Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T20:38:38.389Z] Successfully built 38a2af3c70f6 [2023-08-30T20:38:38.389Z] 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-08-30T20:38:38.495Z] provisioning config files... [2023-08-30T20:38:38.507Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17196657347231046258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:38:38.799Z] ---> docker-login.sh [2023-08-30T20:38:38.799Z] nexus3.edgexfoundry.org:10001 [2023-08-30T20:38:38.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:38.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:38.799Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:38.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:38.799Z] [2023-08-30T20:38:38.799Z] Login Succeeded [2023-08-30T20:38:38.799Z] nexus3.edgexfoundry.org:10002 [2023-08-30T20:38:38.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:38.799Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:38.799Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:38.799Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:38.799Z] [2023-08-30T20:38:38.799Z] Login Succeeded [2023-08-30T20:38:38.799Z] nexus3.edgexfoundry.org:10003 [2023-08-30T20:38:39.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:39.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:39.057Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:39.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:39.057Z] [2023-08-30T20:38:39.057Z] Login Succeeded [2023-08-30T20:38:39.057Z] nexus3.edgexfoundry.org:10004 [2023-08-30T20:38:39.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:39.057Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:39.057Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:39.057Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:39.057Z] [2023-08-30T20:38:39.057Z] Login Succeeded [2023-08-30T20:38:39.057Z] docker.io [2023-08-30T20:38:39.057Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:39.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:39.317Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:39.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:39.317Z] [2023-08-30T20:38:39.317Z] Login Succeeded [2023-08-30T20:38:39.317Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T20:38:39.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-30T20:38:39.352Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T20:38:39.367Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-08-30T20:38:39.367Z] f43bb6568d459ea684ddacde33420076da59f652 [2023-08-30T20:38:39.367Z] latest [2023-08-30T20:38:39.367Z] 3.1.0-dev.7 [2023-08-30T20:38:39.367Z] f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [2023-08-30T20:38:39.367Z] main [2023-08-30T20:38:39.367Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:39.674Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:39.984Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652 [2023-08-30T20:38:39.984Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-30T20:38:39.984Z] d9342a0cb03b: Preparing [2023-08-30T20:38:39.984Z] da66c9952e44: Preparing [2023-08-30T20:38:39.984Z] 3597e90955f5: Preparing [2023-08-30T20:38:39.984Z] e8840a1406fe: Preparing [2023-08-30T20:38:39.984Z] 36b50b131297: Preparing [2023-08-30T20:38:39.984Z] 36b50b131297: Layer already exists [2023-08-30T20:38:39.984Z] e8840a1406fe: Pushed [2023-08-30T20:38:39.984Z] da66c9952e44: Pushed [2023-08-30T20:38:39.984Z] d9342a0cb03b: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T20:38:43.243Z] provisioning config files... [2023-08-30T20:38:43.267Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/127@tmp/config4003867216713981494tmp [2023-08-30T20:38:43.269Z] 3597e90955f5: Pushed [2023-08-30T20:38:43.269Z] f43bb6568d459ea684ddacde33420076da59f652: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:43.611Z] ---> docker-login.sh [2023-08-30T20:38:43.611Z] nexus3.edgexfoundry.org:10001 [2023-08-30T20:38:43.648Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:43.880Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:43.956Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-08-30T20:38:43.956Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-30T20:38:43.956Z] d9342a0cb03b: Preparing [2023-08-30T20:38:43.956Z] da66c9952e44: Preparing [2023-08-30T20:38:43.956Z] 3597e90955f5: Preparing [2023-08-30T20:38:43.956Z] e8840a1406fe: Preparing [2023-08-30T20:38:43.956Z] 36b50b131297: Preparing [2023-08-30T20:38:43.956Z] da66c9952e44: Layer already exists [2023-08-30T20:38:43.956Z] 36b50b131297: Layer already exists [2023-08-30T20:38:43.956Z] d9342a0cb03b: Layer already exists [2023-08-30T20:38:43.956Z] 3597e90955f5: Layer already exists [2023-08-30T20:38:43.956Z] e8840a1406fe: Layer already exists [2023-08-30T20:38:43.956Z] latest: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:44.148Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:44.148Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:44.148Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:44.148Z] [2023-08-30T20:38:44.148Z] Login Succeeded [2023-08-30T20:38:44.148Z] nexus3.edgexfoundry.org:10002 [2023-08-30T20:38:44.271Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:44.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:44.585Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.7 [2023-08-30T20:38:44.585Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-30T20:38:44.585Z] d9342a0cb03b: Preparing [2023-08-30T20:38:44.585Z] da66c9952e44: Preparing [2023-08-30T20:38:44.585Z] 3597e90955f5: Preparing [2023-08-30T20:38:44.585Z] e8840a1406fe: Preparing [2023-08-30T20:38:44.585Z] 36b50b131297: Preparing [2023-08-30T20:38:44.585Z] da66c9952e44: Layer already exists [2023-08-30T20:38:44.585Z] e8840a1406fe: Layer already exists [2023-08-30T20:38:44.585Z] d9342a0cb03b: Layer already exists [2023-08-30T20:38:44.585Z] 36b50b131297: Layer already exists [2023-08-30T20:38:44.585Z] 3597e90955f5: Layer already exists [2023-08-30T20:38:44.585Z] 3.1.0-dev.7: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:44.685Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:44.685Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:44.685Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:44.685Z] [2023-08-30T20:38:44.685Z] Login Succeeded [2023-08-30T20:38:44.685Z] nexus3.edgexfoundry.org:10003 [2023-08-30T20:38:44.685Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:44.905Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:44.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:44.955Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:44.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:44.955Z] [2023-08-30T20:38:44.955Z] Login Succeeded [2023-08-30T20:38:44.955Z] nexus3.edgexfoundry.org:10004 [2023-08-30T20:38:45.214Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [2023-08-30T20:38:45.214Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-30T20:38:45.214Z] d9342a0cb03b: Preparing [2023-08-30T20:38:45.214Z] da66c9952e44: Preparing [2023-08-30T20:38:45.214Z] 3597e90955f5: Preparing [2023-08-30T20:38:45.214Z] e8840a1406fe: Preparing [2023-08-30T20:38:45.214Z] 36b50b131297: Preparing [2023-08-30T20:38:45.214Z] d9342a0cb03b: Layer already exists [2023-08-30T20:38:45.214Z] da66c9952e44: Layer already exists [2023-08-30T20:38:45.214Z] 36b50b131297: Layer already exists [2023-08-30T20:38:45.214Z] e8840a1406fe: Layer already exists [2023-08-30T20:38:45.214Z] 3597e90955f5: Layer already exists [2023-08-30T20:38:45.214Z] f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } [2023-08-30T20:38:45.223Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:45.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:45.223Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:45.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:45.223Z] [2023-08-30T20:38:45.223Z] Login Succeeded [2023-08-30T20:38:45.223Z] docker.io [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:45.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:38:45.529Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:45.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:38:45.758Z] Configure a credential helper to remove this warning. See [2023-08-30T20:38:45.758Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:38:45.758Z] [2023-08-30T20:38:45.758Z] Login Succeeded [2023-08-30T20:38:45.758Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T20:38:45.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-08-30T20:38:45.835Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-08-30T20:38:45.835Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-08-30T20:38:45.835Z] d9342a0cb03b: Preparing [2023-08-30T20:38:45.835Z] da66c9952e44: Preparing [2023-08-30T20:38:45.835Z] 3597e90955f5: Preparing [2023-08-30T20:38:45.835Z] e8840a1406fe: Preparing [2023-08-30T20:38:45.835Z] 36b50b131297: Preparing [2023-08-30T20:38:45.835Z] d9342a0cb03b: Layer already exists [2023-08-30T20:38:45.835Z] e8840a1406fe: Layer already exists [2023-08-30T20:38:45.835Z] da66c9952e44: Layer already exists [2023-08-30T20:38:45.835Z] 3597e90955f5: Layer already exists [2023-08-30T20:38:45.835Z] 36b50b131297: Layer already exists [2023-08-30T20:38:45.835Z] main: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-30T20:38:45.891Z] ===================================================== [Pipeline] echo [2023-08-30T20:38:45.903Z] taggedImages: [2023-08-30T20:38:45.903Z] - nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652 [2023-08-30T20:38:45.903Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-08-30T20:38:45.903Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.7 [2023-08-30T20:38:45.903Z] - nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [2023-08-30T20:38:45.903Z] - 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 [Pipeline] echo [2023-08-30T20:38:46.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T20:38:46.060Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T20:38:46.070Z] ========================================================= [2023-08-30T20:38:46.070Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-30T20:38:46.070Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:46.293Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T20:38:46.293Z] [2023-08-30T20:38:46.293Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:38:46.414Z] + 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-08-30T20:38:46.414Z] Sending build context to Docker daemon 143.4kB [2023-08-30T20:38:46.598Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T20:38:46.598Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-30T20:38:46.598Z] 5eb5b503b376: Pulling fs layer [2023-08-30T20:38:46.598Z] 5c69ac0246d0: Pulling fs layer [2023-08-30T20:38:46.598Z] ec43610c2a17: Pulling fs layer [2023-08-30T20:38:46.598Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-30T20:38:46.598Z] 33b1e0a273af: Pulling fs layer [2023-08-30T20:38:46.598Z] 5d3b04190fa2: Pulling fs layer [2023-08-30T20:38:46.598Z] 2f39f015ded8: Pulling fs layer [2023-08-30T20:38:46.598Z] 33b1e0a273af: Waiting [2023-08-30T20:38:46.598Z] 2f39f015ded8: Waiting [2023-08-30T20:38:46.598Z] 5d3b04190fa2: Waiting [2023-08-30T20:38:46.598Z] 3a2ae6a8a46f: Waiting [2023-08-30T20:38:46.598Z] 5c69ac0246d0: Download complete [2023-08-30T20:38:46.598Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-30T20:38:46.598Z] 3a2ae6a8a46f: Download complete [2023-08-30T20:38:46.598Z] 33b1e0a273af: Verifying Checksum [2023-08-30T20:38:46.598Z] 33b1e0a273af: Download complete [2023-08-30T20:38:46.598Z] ec43610c2a17: Verifying Checksum [2023-08-30T20:38:46.598Z] ec43610c2a17: Download complete [2023-08-30T20:38:46.598Z] 5d3b04190fa2: Download complete [2023-08-30T20:38:46.686Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T20:38:46.686Z] Step 2/12 : FROM ${BASE} AS builder [2023-08-30T20:38:46.686Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-30T20:38:46.686Z] edb6bdbacee9: Pulling fs layer [2023-08-30T20:38:46.686Z] 5f9638ab2659: Pulling fs layer [2023-08-30T20:38:46.686Z] 8d51d6327a98: Pulling fs layer [2023-08-30T20:38:46.686Z] 8b374f2dd631: Pulling fs layer [2023-08-30T20:38:46.686Z] ec14aa9079de: Pulling fs layer [2023-08-30T20:38:46.686Z] 2f466654f4bb: Pulling fs layer [2023-08-30T20:38:46.686Z] 554e91adad29: Pulling fs layer [2023-08-30T20:38:46.686Z] ec14aa9079de: Waiting [2023-08-30T20:38:46.686Z] 2f466654f4bb: Waiting [2023-08-30T20:38:46.686Z] 554e91adad29: Waiting [2023-08-30T20:38:46.686Z] 8b374f2dd631: Waiting [2023-08-30T20:38:46.686Z] 5f9638ab2659: Verifying Checksum [2023-08-30T20:38:46.686Z] 5f9638ab2659: Download complete [2023-08-30T20:38:46.856Z] 5eb5b503b376: Verifying Checksum [2023-08-30T20:38:46.856Z] 5eb5b503b376: Download complete [2023-08-30T20:38:46.964Z] 8b374f2dd631: Verifying Checksum [2023-08-30T20:38:46.964Z] 8b374f2dd631: Download complete [2023-08-30T20:38:46.964Z] ec14aa9079de: Verifying Checksum [2023-08-30T20:38:46.964Z] ec14aa9079de: Download complete [2023-08-30T20:38:46.964Z] edb6bdbacee9: Verifying Checksum [2023-08-30T20:38:46.964Z] edb6bdbacee9: Download complete [2023-08-30T20:38:47.438Z] 2f39f015ded8: Download complete [2023-08-30T20:38:47.929Z] edb6bdbacee9: Pull complete [2023-08-30T20:38:48.200Z] 554e91adad29: Verifying Checksum [2023-08-30T20:38:48.200Z] 554e91adad29: Download complete [2023-08-30T20:38:48.372Z] 5eb5b503b376: Pull complete [2023-08-30T20:38:48.372Z] 5c69ac0246d0: Pull complete [2023-08-30T20:38:48.471Z] 5f9638ab2659: Pull complete [2023-08-30T20:38:48.941Z] ec43610c2a17: Pull complete [2023-08-30T20:38:48.941Z] 3a2ae6a8a46f: Pull complete [2023-08-30T20:38:48.941Z] 33b1e0a273af: Pull complete [2023-08-30T20:38:49.200Z] 5d3b04190fa2: Pull complete [2023-08-30T20:38:49.444Z] 8d51d6327a98: Verifying Checksum [2023-08-30T20:38:49.444Z] 8d51d6327a98: Download complete [2023-08-30T20:38:49.444Z] 2f466654f4bb: Verifying Checksum [2023-08-30T20:38:49.444Z] 2f466654f4bb: Download complete [2023-08-30T20:38:53.389Z] 2f39f015ded8: Pull complete [2023-08-30T20:38:53.389Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-30T20:38:53.389Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T20:38:53.389Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:38:53.474Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:38:53.511Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-30T20:38:58.748Z] $ docker top 81ea6ddb293dca9f6d43562081ef475dc28c6509b2b6070752582a548a917e74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:38:59.173Z] ---> job-cost.sh [2023-08-30T20:38:59.173Z] lf-activate-venv: SKIPPING [2023-08-30T20:38:59.173Z] INFO: No Stack... [2023-08-30T20:38:59.432Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T20:38:59.694Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T20:38:59.983Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-08-30T20:38:59.983Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T20:38:59.997Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [2023-08-30T20:39:00.007Z] Resource [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] did not exist. Created. [2023-08-30T20:39:00.007Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T20:39:00.321Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-30T20:39:00.354Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T20:39:00.360Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T20:39:00.382Z] $ docker stop --time=1 81ea6ddb293dca9f6d43562081ef475dc28c6509b2b6070752582a548a917e74 [2023-08-30T20:39:01.615Z] $ docker rm -f --volumes 81ea6ddb293dca9f6d43562081ef475dc28c6509b2b6070752582a548a917e74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-30T20:39:01.784Z] 8d51d6327a98: Pull complete [2023-08-30T20:39:01.784Z] 8b374f2dd631: Pull complete [2023-08-30T20:39:01.784Z] ec14aa9079de: Pull complete [2023-08-30T20:39:07.136Z] 2f466654f4bb: Pull complete [2023-08-30T20:39:09.751Z] 554e91adad29: Pull complete [2023-08-30T20:39:09.751Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-30T20:39:09.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-30T20:39:09.751Z] ---> 1e15ea492957 [2023-08-30T20:39:09.751Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-08-30T20:39:11.173Z] ---> Running in 3715afa628a6 [2023-08-30T20:39:11.762Z] Removing intermediate container 3715afa628a6 [2023-08-30T20:39:11.762Z] ---> 820c35975876 [2023-08-30T20:39:11.762Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-30T20:39:11.762Z] ---> Running in 5a1e916a9278 [2023-08-30T20:39:12.029Z] Removing intermediate container 5a1e916a9278 [2023-08-30T20:39:12.029Z] ---> 792c5887dd6e [2023-08-30T20:39:12.029Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-30T20:39:12.029Z] ---> Running in c62dc5ac00bf [2023-08-30T20:39:12.298Z] Removing intermediate container c62dc5ac00bf [2023-08-30T20:39:12.298Z] ---> 5b284437f490 [2023-08-30T20:39:12.298Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-08-30T20:39:12.298Z] ---> Running in 43f86ae59af8 [2023-08-30T20:39:12.567Z] Removing intermediate container 43f86ae59af8 [2023-08-30T20:39:12.567Z] ---> e60aac41eded [2023-08-30T20:39:12.567Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-30T20:39:12.835Z] ---> Running in b842c467d27a [2023-08-30T20:39:13.793Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T20:39:14.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T20:39:15.350Z] (1/4) Installing openssh-keygen (9.1_p1-r4) [2023-08-30T20:39:15.350Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-08-30T20:39:15.350Z] (3/4) Installing openssh-client-common (9.1_p1-r4) [2023-08-30T20:39:15.350Z] (4/4) Installing openssh-client-default (9.1_p1-r4) [2023-08-30T20:39:15.350Z] Executing busybox-1.35.0-r29.trigger [2023-08-30T20:39:15.350Z] OK: 268 MiB in 57 packages [2023-08-30T20:39:16.352Z] Removing intermediate container b842c467d27a [2023-08-30T20:39:16.352Z] ---> a22c8e7003cf [2023-08-30T20:39:16.352Z] Step 8/12 : WORKDIR /device-rest-go [2023-08-30T20:39:16.622Z] ---> Running in 96d62522721b [2023-08-30T20:39:16.890Z] Removing intermediate container 96d62522721b [2023-08-30T20:39:16.890Z] ---> 091a1a612801 [2023-08-30T20:39:16.890Z] Step 9/12 : COPY go.mod vendor* ./ [2023-08-30T20:39:19.486Z] ---> 737c7318a585 [2023-08-30T20:39:19.486Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T20:39:19.757Z] ---> Running in 041540c4bbee [2023-08-30T20:40:27.629Z] Removing intermediate container 041540c4bbee [2023-08-30T20:40:27.629Z] ---> de4469ca0c1d [2023-08-30T20:40:27.629Z] Step 11/12 : COPY . . [2023-08-30T20:40:27.629Z] ---> fa3b3cfd641b [2023-08-30T20:40:27.629Z] Step 12/12 : RUN $MAKE [2023-08-30T20:40:27.629Z] ---> Running in 413fc0ad84a9 [2023-08-30T20:40:27.629Z] noop [2023-08-30T20:40:27.629Z] Removing intermediate container 413fc0ad84a9 [2023-08-30T20:40:27.629Z] ---> bb5950193ba0 [2023-08-30T20:40:27.629Z] Successfully built bb5950193ba0 [2023-08-30T20:40:27.629Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:40:27.968Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T20:40:27.968Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:40:28.159Z] prd-ubuntu20.04-docker-arm64-4c-16g-4934 does not seem to be running inside a container [2023-08-30T20:40:28.220Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/127 -v /w/workspace/device-rest-go/127:/w/workspace/device-rest-go/127:rw,z -v /w/workspace/device-rest-go/127@tmp:/w/workspace/device-rest-go/127@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-08-30T20:40:29.301Z] $ docker top a5c80d7c074cf8f004535cff8b1359a5a931d29ffacf433d4ddb7521cb26227b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T20:40:30.103Z] + go version [2023-08-30T20:40:30.103Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-30T20:40:30.124Z] $ docker stop --time=1 a5c80d7c074cf8f004535cff8b1359a5a931d29ffacf433d4ddb7521cb26227b [2023-08-30T20:40:31.693Z] $ docker rm -f --volumes a5c80d7c074cf8f004535cff8b1359a5a931d29ffacf433d4ddb7521cb26227b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:40:32.220Z] + docker inspect -f . ci-base-image-arm64 [2023-08-30T20:40:32.221Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:40:32.393Z] prd-ubuntu20.04-docker-arm64-4c-16g-4934 does not seem to be running inside a container [2023-08-30T20:40:32.457Z] $ 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/127 -v /w/workspace/device-rest-go/127:/w/workspace/device-rest-go/127:rw,z -v /w/workspace/device-rest-go/127@tmp:/w/workspace/device-rest-go/127@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-08-30T20:40:33.536Z] $ docker top 02a574db6a393a6c74f6e4c690d24e8d5a5e0fcbd282d25c74eeacc94cd71d30 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T20:40:34.015Z] + git config --global --add safe.directory /w/workspace/device-rest-go/127 [Pipeline] fileExists [Pipeline] sh [2023-08-30T20:40:34.337Z] + make test [2023-08-30T20:40:34.337Z] go test ./... -coverprofile=coverage.out ./... [2023-08-30T20:41:06.556Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-08-30T20:43:13.271Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-08-30T20:43:13.271Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.2% of statements [2023-08-30T20:43:13.271Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-30T20:43:13.271Z] go vet ./... [2023-08-30T20:43:39.958Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-30T20:43:39.958Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-30T20:43:39.958Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-08-30T20:43:39.978Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-30T20:43:40.001Z] $ docker stop --time=1 02a574db6a393a6c74f6e4c690d24e8d5a5e0fcbd282d25c74eeacc94cd71d30 [2023-08-30T20:43:41.842Z] $ docker rm -f --volumes 02a574db6a393a6c74f6e4c690d24e8d5a5e0fcbd282d25c74eeacc94cd71d30 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T20:43:42.932Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-30T20:43:42.954Z] Warning: overwriting stash ‘coverage-report’ [2023-08-30T20:43:43.353Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-30T20:43:43.758Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-30T20:43:44.077Z] + ls -al . [2023-08-30T20:43:44.077Z] total 184 [2023-08-30T20:43:44.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 20:40 . [2023-08-30T20:43:44.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:38 .. [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 151 Aug 30 20:38 .dockerignore [2023-08-30T20:43:44.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 20:38 .git [2023-08-30T20:43:44.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:38 .github [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 329 Aug 30 20:38 .gitignore [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 20:38 .golangci.yml [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 10300 Aug 30 20:38 Attribution.txt [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 15709 Aug 30 20:38 CHANGELOG.md [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 1578 Aug 30 20:38 Dockerfile [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 20:38 GOVERNANCE.md [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 680 Aug 30 20:38 Jenkinsfile [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 11340 Aug 30 20:38 LICENSE [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 2010 Aug 30 20:38 Makefile [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 620 Aug 30 20:38 OWNERS.md [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 15827 Aug 30 20:38 README.md [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 11 Aug 30 20:36 VERSION [2023-08-30T20:43:44.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:38 bin [2023-08-30T20:43:44.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:38 cmd [2023-08-30T20:43:44.077Z] -rw-r--r-- 1 jenkins jenkins 14499 Aug 30 20:43 coverage.out [2023-08-30T20:43:44.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:38 driver [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 3889 Aug 30 20:38 go.mod [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 34092 Aug 30 20:38 go.sum [2023-08-30T20:43:44.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:38 snap [2023-08-30T20:43:44.077Z] -rw-rw-r-- 1 jenkins jenkins 713 Aug 30 20:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:43:44.422Z] + 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=f43bb6568d459ea684ddacde33420076da59f652 --label arch=arm64 --label version=3.1.0-dev.7 . [2023-08-30T20:43:44.422Z] Sending build context to Docker daemon 158.7kB [2023-08-30T20:43:44.691Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-08-30T20:43:44.691Z] Step 2/25 : FROM ${BASE} AS builder [2023-08-30T20:43:44.691Z] ---> bb5950193ba0 [2023-08-30T20:43:44.691Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-08-30T20:43:44.691Z] ---> Running in 27e7c866da0f [2023-08-30T20:43:44.958Z] Removing intermediate container 27e7c866da0f [2023-08-30T20:43:44.958Z] ---> 7aa777e62dcb [2023-08-30T20:43:44.958Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-08-30T20:43:44.958Z] ---> Running in 2619ef45fa32 [2023-08-30T20:43:45.543Z] Removing intermediate container 2619ef45fa32 [2023-08-30T20:43:45.543Z] ---> 1dc177a9743f [2023-08-30T20:43:45.543Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-08-30T20:43:45.543Z] ---> Running in 234fb0a6a1ce [2023-08-30T20:43:45.811Z] Removing intermediate container 234fb0a6a1ce [2023-08-30T20:43:45.811Z] ---> f8e579c40777 [2023-08-30T20:43:45.811Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-08-30T20:43:45.811Z] ---> Running in 3b13a3dc47a9 [2023-08-30T20:43:46.081Z] Removing intermediate container 3b13a3dc47a9 [2023-08-30T20:43:46.081Z] ---> 0a7b9f3ab7b1 [2023-08-30T20:43:46.081Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-08-30T20:43:46.081Z] ---> Running in e702134741ed [2023-08-30T20:43:47.042Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T20:43:47.627Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T20:43:48.594Z] OK: 268 MiB in 57 packages [2023-08-30T20:43:49.558Z] Removing intermediate container e702134741ed [2023-08-30T20:43:49.558Z] ---> b9b856f98afc [2023-08-30T20:43:49.558Z] Step 8/25 : WORKDIR /device-rest-go [2023-08-30T20:43:49.558Z] ---> Running in 7cb293c8e9e6 [2023-08-30T20:43:49.826Z] Removing intermediate container 7cb293c8e9e6 [2023-08-30T20:43:49.826Z] ---> 18176e249aab [2023-08-30T20:43:49.826Z] Step 9/25 : COPY go.mod vendor* ./ [2023-08-30T20:43:50.419Z] ---> a9844ee0e83c [2023-08-30T20:43:50.419Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-30T20:43:50.419Z] ---> Running in 406cc674a141 [2023-08-30T20:43:52.371Z] Removing intermediate container 406cc674a141 [2023-08-30T20:43:52.371Z] ---> 273559dd72f1 [2023-08-30T20:43:52.371Z] Step 11/25 : COPY . . [2023-08-30T20:43:52.953Z] ---> d4340538f292 [2023-08-30T20:43:52.953Z] Step 12/25 : RUN $MAKE [2023-08-30T20:43:52.953Z] ---> Running in 5f1069f564f5 [2023-08-30T20:43:53.924Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-08-30T20:46:00.593Z] Removing intermediate container 5f1069f564f5 [2023-08-30T20:46:00.593Z] ---> 4687b90d1c20 [2023-08-30T20:46:00.593Z] Step 13/25 : FROM alpine:3.17 [2023-08-30T20:46:00.593Z] 3.17: Pulling from library/alpine [2023-08-30T20:46:00.593Z] 4060ece20d7a: Pulling fs layer [2023-08-30T20:46:00.860Z] 4060ece20d7a: Verifying Checksum [2023-08-30T20:46:00.860Z] 4060ece20d7a: Download complete [2023-08-30T20:46:03.425Z] 4060ece20d7a: Pull complete [2023-08-30T20:46:03.425Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-30T20:46:03.425Z] Status: Downloaded newer image for alpine:3.17 [2023-08-30T20:46:03.425Z] ---> 8650cd65339b [2023-08-30T20:46:03.425Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-30T20:46:03.425Z] ---> Running in 1d0e8de3ec4b [2023-08-30T20:46:03.691Z] Removing intermediate container 1d0e8de3ec4b [2023-08-30T20:46:03.691Z] ---> 251a6ceaa4d1 [2023-08-30T20:46:03.691Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-08-30T20:46:03.691Z] ---> Running in a6cb11675d8d [2023-08-30T20:46:03.958Z] Removing intermediate container a6cb11675d8d [2023-08-30T20:46:03.958Z] ---> 3fa7e427f581 [2023-08-30T20:46:03.958Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-08-30T20:46:03.958Z] ---> Running in 3ca1187d55c7 [2023-08-30T20:46:04.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-30T20:46:05.495Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-30T20:46:06.456Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-08-30T20:46:06.456Z] Executing busybox-1.35.0-r29.trigger [2023-08-30T20:46:06.456Z] OK: 8 MiB in 16 packages [2023-08-30T20:46:07.417Z] Removing intermediate container 3ca1187d55c7 [2023-08-30T20:46:07.417Z] ---> 873e7e4fedd1 [2023-08-30T20:46:07.417Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-08-30T20:46:08.819Z] ---> e60359294650 [2023-08-30T20:46:08.819Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-08-30T20:46:09.089Z] ---> f87122dc2a02 [2023-08-30T20:46:09.089Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-08-30T20:46:09.355Z] ---> 9d12580c96d7 [2023-08-30T20:46:09.355Z] Step 20/25 : EXPOSE 59986 [2023-08-30T20:46:09.625Z] ---> Running in e0fe11451f9c [2023-08-30T20:46:09.625Z] Removing intermediate container e0fe11451f9c [2023-08-30T20:46:09.625Z] ---> 26315f3fe1ee [2023-08-30T20:46:09.625Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-08-30T20:46:09.892Z] ---> Running in 90ce42106136 [2023-08-30T20:46:10.158Z] Removing intermediate container 90ce42106136 [2023-08-30T20:46:10.158Z] ---> 7e91e19a485e [2023-08-30T20:46:10.159Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-08-30T20:46:10.159Z] ---> Running in ab9f5cc90571 [2023-08-30T20:46:10.426Z] Removing intermediate container ab9f5cc90571 [2023-08-30T20:46:10.426Z] ---> 5023e602a019 [2023-08-30T20:46:10.426Z] Step 23/25 : LABEL arch=arm64 [2023-08-30T20:46:10.426Z] ---> Running in a7d5115e4d8f [2023-08-30T20:46:10.693Z] Removing intermediate container a7d5115e4d8f [2023-08-30T20:46:10.693Z] ---> efe427a22b9c [2023-08-30T20:46:10.693Z] Step 24/25 : LABEL git_sha=f43bb6568d459ea684ddacde33420076da59f652 [2023-08-30T20:46:10.693Z] ---> Running in 92212926202a [2023-08-30T20:46:10.960Z] Removing intermediate container 92212926202a [2023-08-30T20:46:10.960Z] ---> a9c5b41913c3 [2023-08-30T20:46:10.960Z] Step 25/25 : LABEL version=3.1.0-dev.7 [2023-08-30T20:46:11.225Z] ---> Running in 6978fa5eead8 [2023-08-30T20:46:11.494Z] Removing intermediate container 6978fa5eead8 [2023-08-30T20:46:11.494Z] ---> 8778097b2d07 [2023-08-30T20:46:11.494Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-30T20:46:11.494Z] Successfully built 8778097b2d07 [2023-08-30T20:46:11.494Z] 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-08-30T20:46:11.590Z] provisioning config files... [2023-08-30T20:46:11.602Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/127@tmp/config2916386352550352533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:46:11.924Z] ---> docker-login.sh [2023-08-30T20:46:11.924Z] nexus3.edgexfoundry.org:10001 [2023-08-30T20:46:11.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:46:12.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:46:12.191Z] Configure a credential helper to remove this warning. See [2023-08-30T20:46:12.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:46:12.191Z] [2023-08-30T20:46:12.191Z] Login Succeeded [2023-08-30T20:46:12.191Z] nexus3.edgexfoundry.org:10002 [2023-08-30T20:46:12.458Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:46:12.458Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:46:12.458Z] Configure a credential helper to remove this warning. See [2023-08-30T20:46:12.458Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:46:12.458Z] [2023-08-30T20:46:12.458Z] Login Succeeded [2023-08-30T20:46:12.458Z] nexus3.edgexfoundry.org:10003 [2023-08-30T20:46:12.723Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:46:12.723Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:46:12.723Z] Configure a credential helper to remove this warning. See [2023-08-30T20:46:12.723Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:46:12.723Z] [2023-08-30T20:46:12.723Z] Login Succeeded [2023-08-30T20:46:12.723Z] nexus3.edgexfoundry.org:10004 [2023-08-30T20:46:12.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:46:13.255Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:46:13.255Z] Configure a credential helper to remove this warning. See [2023-08-30T20:46:13.255Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:46:13.255Z] [2023-08-30T20:46:13.255Z] Login Succeeded [2023-08-30T20:46:13.255Z] docker.io [2023-08-30T20:46:13.520Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-30T20:46:13.520Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-30T20:46:13.520Z] Configure a credential helper to remove this warning. See [2023-08-30T20:46:13.520Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-30T20:46:13.520Z] [2023-08-30T20:46:13.520Z] Login Succeeded [2023-08-30T20:46:13.520Z] ---> docker-login.sh ends [Pipeline] } [2023-08-30T20:46:13.795Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-30T20:46:13.874Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-30T20:46:13.897Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-08-30T20:46:13.897Z] f43bb6568d459ea684ddacde33420076da59f652 [2023-08-30T20:46:13.897Z] latest [2023-08-30T20:46:13.897Z] 3.1.0-dev.7 [2023-08-30T20:46:13.897Z] f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [2023-08-30T20:46:13.897Z] main [2023-08-30T20:46:13.897Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:14.237Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:14.659Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652 [2023-08-30T20:46:14.659Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-30T20:46:14.659Z] 63b2540f098d: Preparing [2023-08-30T20:46:14.659Z] 55501c3e120d: Preparing [2023-08-30T20:46:14.659Z] d4eddc53e8a0: Preparing [2023-08-30T20:46:14.659Z] 60c793a74e3d: Preparing [2023-08-30T20:46:14.659Z] d2d9d24a8c2a: Preparing [2023-08-30T20:46:14.659Z] d2d9d24a8c2a: Layer already exists [2023-08-30T20:46:14.934Z] 55501c3e120d: Pushed [2023-08-30T20:46:14.934Z] 63b2540f098d: Pushed [2023-08-30T20:46:14.934Z] 60c793a74e3d: Pushed [2023-08-30T20:46:20.302Z] d4eddc53e8a0: Pushed [2023-08-30T20:46:20.569Z] f43bb6568d459ea684ddacde33420076da59f652: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:20.903Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:21.233Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-08-30T20:46:21.233Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-30T20:46:21.233Z] 63b2540f098d: Preparing [2023-08-30T20:46:21.233Z] 55501c3e120d: Preparing [2023-08-30T20:46:21.233Z] d4eddc53e8a0: Preparing [2023-08-30T20:46:21.233Z] 60c793a74e3d: Preparing [2023-08-30T20:46:21.233Z] d2d9d24a8c2a: Preparing [2023-08-30T20:46:21.233Z] d2d9d24a8c2a: Layer already exists [2023-08-30T20:46:21.233Z] 60c793a74e3d: Layer already exists [2023-08-30T20:46:21.233Z] d4eddc53e8a0: Layer already exists [2023-08-30T20:46:21.233Z] 55501c3e120d: Layer already exists [2023-08-30T20:46:21.233Z] 63b2540f098d: Layer already exists [2023-08-30T20:46:21.233Z] latest: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:21.571Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:21.904Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.7 [2023-08-30T20:46:21.904Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-30T20:46:21.904Z] 63b2540f098d: Preparing [2023-08-30T20:46:21.904Z] 55501c3e120d: Preparing [2023-08-30T20:46:21.904Z] d4eddc53e8a0: Preparing [2023-08-30T20:46:21.904Z] 60c793a74e3d: Preparing [2023-08-30T20:46:21.904Z] d2d9d24a8c2a: Preparing [2023-08-30T20:46:21.904Z] d4eddc53e8a0: Layer already exists [2023-08-30T20:46:21.904Z] d2d9d24a8c2a: Layer already exists [2023-08-30T20:46:21.904Z] 55501c3e120d: Layer already exists [2023-08-30T20:46:21.904Z] 63b2540f098d: Layer already exists [2023-08-30T20:46:21.904Z] 60c793a74e3d: Layer already exists [2023-08-30T20:46:21.904Z] 3.1.0-dev.7: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:22.235Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:22.579Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [2023-08-30T20:46:22.579Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-30T20:46:22.579Z] 63b2540f098d: Preparing [2023-08-30T20:46:22.579Z] 55501c3e120d: Preparing [2023-08-30T20:46:22.579Z] d4eddc53e8a0: Preparing [2023-08-30T20:46:22.579Z] 60c793a74e3d: Preparing [2023-08-30T20:46:22.579Z] d2d9d24a8c2a: Preparing [2023-08-30T20:46:22.579Z] 63b2540f098d: Layer already exists [2023-08-30T20:46:22.579Z] 55501c3e120d: Layer already exists [2023-08-30T20:46:22.579Z] d2d9d24a8c2a: Layer already exists [2023-08-30T20:46:22.579Z] d4eddc53e8a0: Layer already exists [2023-08-30T20:46:22.579Z] 60c793a74e3d: Layer already exists [2023-08-30T20:46:22.579Z] f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:22.917Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:23.248Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-08-30T20:46:23.248Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-08-30T20:46:23.248Z] 63b2540f098d: Preparing [2023-08-30T20:46:23.248Z] 55501c3e120d: Preparing [2023-08-30T20:46:23.248Z] d4eddc53e8a0: Preparing [2023-08-30T20:46:23.248Z] 60c793a74e3d: Preparing [2023-08-30T20:46:23.248Z] d2d9d24a8c2a: Preparing [2023-08-30T20:46:23.248Z] d4eddc53e8a0: Layer already exists [2023-08-30T20:46:23.248Z] 60c793a74e3d: Layer already exists [2023-08-30T20:46:23.248Z] d2d9d24a8c2a: Layer already exists [2023-08-30T20:46:23.248Z] 55501c3e120d: Layer already exists [2023-08-30T20:46:23.248Z] 63b2540f098d: Layer already exists [2023-08-30T20:46:23.248Z] main: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-08-30T20:46:23.298Z] ===================================================== [Pipeline] echo [2023-08-30T20:46:23.305Z] taggedImages: [2023-08-30T20:46:23.305Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652 [2023-08-30T20:46:23.305Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-08-30T20:46:23.305Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.7 [2023-08-30T20:46:23.305Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [2023-08-30T20:46:23.305Z] - 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-08-30T20:46:23.655Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T20:46:23.656Z] [2023-08-30T20:46:23.656Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:23.984Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T20:46:23.984Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-30T20:46:23.984Z] 8998bd30e6a1: Pulling fs layer [2023-08-30T20:46:23.984Z] 04944245beec: Pulling fs layer [2023-08-30T20:46:23.984Z] 699f458cf7ca: Pulling fs layer [2023-08-30T20:46:23.984Z] 765212b225bb: Pulling fs layer [2023-08-30T20:46:23.984Z] f23df028b6ca: Pulling fs layer [2023-08-30T20:46:23.984Z] d65c8cfc05b1: Pulling fs layer [2023-08-30T20:46:23.984Z] 2437ff75d9bd: Pulling fs layer [2023-08-30T20:46:23.984Z] 765212b225bb: Waiting [2023-08-30T20:46:23.984Z] f23df028b6ca: Waiting [2023-08-30T20:46:23.984Z] d65c8cfc05b1: Waiting [2023-08-30T20:46:23.984Z] 2437ff75d9bd: Waiting [2023-08-30T20:46:24.251Z] 04944245beec: Verifying Checksum [2023-08-30T20:46:24.252Z] 04944245beec: Download complete [2023-08-30T20:46:24.252Z] 765212b225bb: Verifying Checksum [2023-08-30T20:46:24.252Z] 765212b225bb: Download complete [2023-08-30T20:46:24.252Z] f23df028b6ca: Verifying Checksum [2023-08-30T20:46:24.252Z] f23df028b6ca: Download complete [2023-08-30T20:46:24.252Z] d65c8cfc05b1: Verifying Checksum [2023-08-30T20:46:24.252Z] d65c8cfc05b1: Download complete [2023-08-30T20:46:24.252Z] 699f458cf7ca: Verifying Checksum [2023-08-30T20:46:24.833Z] 8998bd30e6a1: Verifying Checksum [2023-08-30T20:46:24.833Z] 8998bd30e6a1: Download complete [2023-08-30T20:46:26.773Z] 2437ff75d9bd: Verifying Checksum [2023-08-30T20:46:26.773Z] 2437ff75d9bd: Download complete [2023-08-30T20:46:28.720Z] 8998bd30e6a1: Pull complete [2023-08-30T20:46:29.679Z] 04944245beec: Pull complete [2023-08-30T20:46:31.091Z] 699f458cf7ca: Pull complete [2023-08-30T20:46:31.091Z] 765212b225bb: Pull complete [2023-08-30T20:46:31.673Z] f23df028b6ca: Pull complete [2023-08-30T20:46:31.940Z] d65c8cfc05b1: Pull complete [2023-08-30T20:46:46.949Z] 2437ff75d9bd: Pull complete [2023-08-30T20:46:46.949Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-30T20:46:46.949Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-30T20:46:46.949Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:46:47.142Z] prd-ubuntu20.04-docker-arm64-4c-16g-4934 does not seem to be running inside a container [2023-08-30T20:46:47.213Z] $ 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/127 -v /w/workspace/device-rest-go/127:/w/workspace/device-rest-go/127:rw,z -v /w/workspace/device-rest-go/127@tmp:/w/workspace/device-rest-go/127@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-08-30T20:46:49.751Z] $ docker top 34733ee57a2905173f2a9b800cf2b94964a91bd13f8bed524f11101d189ba767 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:46:50.571Z] ---> job-cost.sh [2023-08-30T20:46:50.571Z] lf-activate-venv: SKIPPING [2023-08-30T20:46:50.571Z] INFO: No Stack... [2023-08-30T20:46:50.837Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-30T20:46:51.791Z] INFO: Archiving Costs [Pipeline] sh [2023-08-30T20:46:52.107Z] + cat /w/workspace/device-rest-go/127/archives/cost.csv [2023-08-30T20:46:52.107Z] + cut -d, -f6 [Pipeline] lock [2023-08-30T20:46:52.170Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [2023-08-30T20:46:52.176Z] Resource [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] did not exist. Created. [2023-08-30T20:46:52.176Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-30T20:46:52.825Z] /w/workspace/device-rest-go/127@tmp/durable-a812526a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-30T20:46:53.151Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-30T20:46:53.181Z] Warning: overwriting stash ‘stack-cost’ [2023-08-30T20:46:53.232Z] Stashed 1 file(s) [Pipeline] } [2023-08-30T20:46:53.239Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-30T20:46:53.266Z] $ docker stop --time=1 34733ee57a2905173f2a9b800cf2b94964a91bd13f8bed524f11101d189ba767 [2023-08-30T20:46:54.734Z] $ docker rm -f --volumes 34733ee57a2905173f2a9b800cf2b94964a91bd13f8bed524f11101d189ba767 [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-08-30T20:46:55.155Z] provisioning config files... [2023-08-30T20:46:55.162Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17407403650320079506tmp [Pipeline] { [Pipeline] sh [2023-08-30T20:46:55.455Z] + set +x [2023-08-30T20:46:55.455Z] + curl -s https://codecov.io/bash [2023-08-30T20:46:55.455Z] + bash -s -- [2023-08-30T20:46:55.455Z] [2023-08-30T20:46:55.455Z] _____ _ [2023-08-30T20:46:55.455Z] / ____| | | [2023-08-30T20:46:55.455Z] | | ___ __| | ___ ___ _____ __ [2023-08-30T20:46:55.455Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-30T20:46:55.455Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-30T20:46:55.455Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-30T20:46:55.455Z] Bash-1.0.6 [2023-08-30T20:46:55.455Z] [2023-08-30T20:46:55.455Z] [2023-08-30T20:46:55.455Z] ==> git version 2.25.1 found [2023-08-30T20:46:55.455Z] ==> 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-08-30T20:46:55.455Z] Release-Date: 2020-01-08 [2023-08-30T20:46:55.455Z] 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-08-30T20:46:55.455Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-30T20:46:55.455Z] ==> Jenkins CI detected. [2023-08-30T20:46:55.455Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-08-30T20:46:55.455Z] project root: . [2023-08-30T20:46:55.455Z] --> token set from env [2023-08-30T20:46:55.455Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-30T20:46:55.455Z] ==> Running gcov in . (disable via -X gcov) [2023-08-30T20:46:55.455Z] ==> Python coveragepy not found [2023-08-30T20:46:55.455Z] ==> Searching for coverage reports in: [2023-08-30T20:46:55.455Z] + . [2023-08-30T20:46:55.455Z] -> Found 1 reports [2023-08-30T20:46:55.455Z] ==> Detecting git/mercurial file structure [2023-08-30T20:46:55.714Z] ==> Reading reports [2023-08-30T20:46:55.715Z] + ./coverage.out bytes=14499 [2023-08-30T20:46:55.715Z] ==> Appending adjustments [2023-08-30T20:46:55.715Z] https://docs.codecov.io/docs/fixing-reports [2023-08-30T20:46:55.715Z] + Found adjustments [2023-08-30T20:46:55.715Z] ==> Gzipping contents [2023-08-30T20:46:55.715Z] 4.0K /tmp/codecov.fB4Mfy.gz [2023-08-30T20:46:55.715Z] ==> Uploading reports [2023-08-30T20:46:55.715Z] url: https://codecov.io [2023-08-30T20:46:55.715Z] query: branch=main&commit=f43bb6568d459ea684ddacde33420076da59f652&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-30T20:46:55.715Z] -> Pinging Codecov [2023-08-30T20:46:55.715Z] 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=f43bb6568d459ea684ddacde33420076da59f652&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-08-30T20:46:55.715Z] -> Uploading to [2023-08-30T20:46:55.715Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-30/4E5D53B4F1F92C436F7061BF334D961C/f43bb6568d459ea684ddacde33420076da59f652/ea0681f7-d4ed-435d-a425-b5a90059b283.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T204655Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=adf11bdfc215efe1b5a656e60267c85c2f632a47a8cfe9f911c5f446a25966d9 [2023-08-30T20:46:55.974Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-30T20:46:55.974Z] Dload Upload Total Spent Left Speed [2023-08-30T20:46:55.974Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12280 --:--:-- --:--:-- --:--:-- 12280 [2023-08-30T20:46:55.974Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] } [2023-08-30T20:46:55.980Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-08-30T20:46:56.203Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-08-30T20:46:56.211Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:56.503Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-30T20:46:56.503Z] [2023-08-30T20:46:56.503Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:46:56.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-30T20:46:56.806Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-08-30T20:46:56.806Z] df9b9388f04a: Pulling fs layer [2023-08-30T20:46:56.806Z] 52dc419b0ee2: Pulling fs layer [2023-08-30T20:46:56.806Z] 25bc292e5bac: Pulling fs layer [2023-08-30T20:46:56.806Z] 114826534d7a: Pulling fs layer [2023-08-30T20:46:56.806Z] 4657fd5d0bcf: Pulling fs layer [2023-08-30T20:46:56.806Z] 6ad1cebc031e: Pulling fs layer [2023-08-30T20:46:56.806Z] 8a3aa393b2d8: Pulling fs layer [2023-08-30T20:46:56.806Z] 114826534d7a: Waiting [2023-08-30T20:46:56.806Z] 4657fd5d0bcf: Waiting [2023-08-30T20:46:56.806Z] 6ad1cebc031e: Waiting [2023-08-30T20:46:56.806Z] 8a3aa393b2d8: Waiting [2023-08-30T20:46:56.806Z] 25bc292e5bac: Verifying Checksum [2023-08-30T20:46:56.806Z] 25bc292e5bac: Download complete [2023-08-30T20:46:56.806Z] 52dc419b0ee2: Download complete [2023-08-30T20:46:56.806Z] 4657fd5d0bcf: Verifying Checksum [2023-08-30T20:46:56.806Z] 4657fd5d0bcf: Download complete [2023-08-30T20:46:56.806Z] df9b9388f04a: Download complete [2023-08-30T20:46:57.067Z] df9b9388f04a: Pull complete [2023-08-30T20:46:57.067Z] 6ad1cebc031e: Verifying Checksum [2023-08-30T20:46:57.067Z] 6ad1cebc031e: Download complete [2023-08-30T20:46:57.067Z] 52dc419b0ee2: Pull complete [2023-08-30T20:46:57.067Z] 25bc292e5bac: Pull complete [2023-08-30T20:46:57.635Z] 114826534d7a: Verifying Checksum [2023-08-30T20:46:57.635Z] 114826534d7a: Download complete [2023-08-30T20:46:57.635Z] 8a3aa393b2d8: Verifying Checksum [2023-08-30T20:46:57.635Z] 8a3aa393b2d8: Download complete [2023-08-30T20:47:00.917Z] 114826534d7a: Pull complete [2023-08-30T20:47:00.917Z] 4657fd5d0bcf: Pull complete [2023-08-30T20:47:01.176Z] 6ad1cebc031e: Pull complete [2023-08-30T20:47:09.244Z] 8a3aa393b2d8: Pull complete [2023-08-30T20:47:09.244Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-08-30T20:47:09.244Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-08-30T20:47:09.244Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:47:09.326Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:47:09.373Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-08-30T20:47:13.920Z] $ docker top b8400ec9bcbb4458f772349b8c503e08120c558b88c21578ce48e562b48a2107 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-08-30T20:47:13.973Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-08-30T20:47:14.255Z] + set -o pipefail [2023-08-30T20:47:14.255Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-08-30T20:47:19.539Z] [2023-08-30T20:47:19.539Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-08-30T20:47:19.539Z] [2023-08-30T20:47:19.539Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f9ac37e5-f1fe-4de1-ae84-b1da88611da0 [2023-08-30T20:47:19.539Z] [2023-08-30T20:47:19.539Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-08-30T20:47:19.539Z] [2023-08-30T20:47:19.539Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-08-30T20:47:19.539Z] [2023-08-30T20:47:19.820Z] [2023-08-30T20:47:19.820Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-08-30T20:47:19.820Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-08-30T20:47:19.820Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-08-30T20:47:19.843Z] $ docker stop --time=1 b8400ec9bcbb4458f772349b8c503e08120c558b88c21578ce48e562b48a2107 [2023-08-30T20:47:24.417Z] $ docker rm -f --volumes b8400ec9bcbb4458f772349b8c503e08120c558b88c21578ce48e562b48a2107 [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-08-30T20:47:25.181Z] + git log --format=format:%s -1 f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] sh [2023-08-30T20:47:25.478Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T20:47:25.478Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:47:25.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T20:47:25.778Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:47:25.860Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:47:25.902Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-30T20:47:26.378Z] $ docker top 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 -eo pid,comm [2023-08-30T20:47:26.417Z] 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-08-30T20:47:26.417Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T20:47:26.456Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T20:47:26.457Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T20:47:26.565Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T20:47:26.579Z] $ docker exec 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 ssh-agent [2023-08-30T20:47:26.669Z] SSH_AUTH_SOCK=/tmp/ssh-w9aFvxDKjgTm/agent.31 [2023-08-30T20:47:26.669Z] SSH_AGENT_PID=37 [2023-08-30T20:47:26.674Z] Running ssh-add (command line suppressed) [2023-08-30T20:47:26.788Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7796031902687568971.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7796031902687568971.key) [2023-08-30T20:47:26.789Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T20:47:27.080Z] + git semver tag [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,259 [run_tag] DEBUG tag force:False [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,259 [check_head_tag] DEBUG check head tag [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,260 [execute] INFO git cat-file --batch-check [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,263 [execute] INFO git cat-file --batch [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,272 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,272 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,273 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-08-30T20:47:27.340Z] 2023-08-30 20:47:27,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-30T20:47:27.340Z] 3.1.0-dev.7 [Pipeline] } [2023-08-30T20:47:27.362Z] $ docker exec --env ******** --env ******** 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 ssh-agent -k [2023-08-30T20:47:27.449Z] unset SSH_AUTH_SOCK; [2023-08-30T20:47:27.450Z] unset SSH_AGENT_PID; [2023-08-30T20:47:27.450Z] echo Agent pid 37 killed; [2023-08-30T20:47:27.448Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T20:47:27.759Z] + git semver [Pipeline] } [2023-08-30T20:47:28.041Z] $ docker stop --time=1 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 [2023-08-30T20:47:29.329Z] $ docker rm -f --volumes 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:47:29.701Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-30T20:47:29.701Z] [2023-08-30T20:47:29.701Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:47:29.997Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-30T20:47:29.997Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-08-30T20:47:29.997Z] ab5ef0e58194: Pulling fs layer [2023-08-30T20:47:29.997Z] 9712f1f96733: Pulling fs layer [2023-08-30T20:47:29.997Z] 63f879dbbcfc: Pulling fs layer [2023-08-30T20:47:29.997Z] 0d9ebad4ef96: Pulling fs layer [2023-08-30T20:47:29.997Z] e9a5061849ea: Pulling fs layer [2023-08-30T20:47:29.997Z] d747dcd14b5f: Pulling fs layer [2023-08-30T20:47:29.997Z] 2de7ff778b66: Pulling fs layer [2023-08-30T20:47:29.997Z] e9a5061849ea: Waiting [2023-08-30T20:47:29.997Z] d747dcd14b5f: Waiting [2023-08-30T20:47:29.997Z] 2de7ff778b66: Waiting [2023-08-30T20:47:29.997Z] 0d9ebad4ef96: Waiting [2023-08-30T20:47:29.997Z] 9712f1f96733: Verifying Checksum [2023-08-30T20:47:29.997Z] 9712f1f96733: Download complete [2023-08-30T20:47:30.567Z] 63f879dbbcfc: Verifying Checksum [2023-08-30T20:47:30.567Z] 63f879dbbcfc: Download complete [2023-08-30T20:47:30.567Z] 0d9ebad4ef96: Download complete [2023-08-30T20:47:30.567Z] d747dcd14b5f: Verifying Checksum [2023-08-30T20:47:30.567Z] d747dcd14b5f: Download complete [2023-08-30T20:47:30.567Z] e9a5061849ea: Verifying Checksum [2023-08-30T20:47:30.567Z] e9a5061849ea: Download complete [2023-08-30T20:47:30.567Z] ab5ef0e58194: Download complete [2023-08-30T20:47:30.826Z] 2de7ff778b66: Verifying Checksum [2023-08-30T20:47:30.826Z] 2de7ff778b66: Download complete [2023-08-30T20:47:33.354Z] ab5ef0e58194: Pull complete [2023-08-30T20:47:33.354Z] 9712f1f96733: Pull complete [2023-08-30T20:47:34.287Z] 63f879dbbcfc: Pull complete [2023-08-30T20:47:37.578Z] 0d9ebad4ef96: Pull complete [2023-08-30T20:47:37.837Z] e9a5061849ea: Pull complete [2023-08-30T20:47:37.837Z] d747dcd14b5f: Pull complete [2023-08-30T20:47:38.777Z] 2de7ff778b66: Pull complete [2023-08-30T20:47:39.036Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-08-30T20:47:39.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-08-30T20:47:39.036Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:47:39.129Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:47:39.172Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-08-30T20:47:48.949Z] $ docker top b8a1ec1568c668fa025c1ac2f16af5caf79fe3f2b2a8552e31606e89d8273d2f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-08-30T20:47:49.024Z] provisioning config files... [2023-08-30T20:47:49.031Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13388849429867284555tmp [2023-08-30T20:47:49.041Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4463984416422161387tmp [2023-08-30T20:47:49.050Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7169031735181113335tmp [Pipeline] { [Pipeline] echo [2023-08-30T20:47:49.065Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:47:49.347Z] ---> sigul-configuration.sh [2023-08-30T20:47:49.347Z] gpg: directory `/root/.gnupg' created [2023-08-30T20:47:49.347Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-08-30T20:47:49.347Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-08-30T20:47:49.347Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-08-30T20:47:49.347Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-08-30T20:47:49.347Z] gpg: CAST5 encrypted data [2023-08-30T20:47:49.347Z] gpg: encrypted with 1 passphrase [2023-08-30T20:47:49.347Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-08-30T20:47:49.632Z] + mkdir /home/jenkins [2023-08-30T20:47:49.632Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-08-30T20:47:49.918Z] + 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-08-30T20:47:49.926Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:47:50.209Z] ---> sigul-install.sh [2023-08-30T20:47:50.209Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-08-30T20:47:50.492Z] + git tag --list [2023-08-30T20:47:50.492Z] v1.0.0 [2023-08-30T20:47:50.492Z] v1.1.0 [2023-08-30T20:47:50.492Z] v1.1.1 [2023-08-30T20:47:50.492Z] v1.1.2 [2023-08-30T20:47:50.492Z] v1.2.0 [2023-08-30T20:47:50.492Z] v1.2.1 [2023-08-30T20:47:50.492Z] v2.0.0 [2023-08-30T20:47:50.492Z] v2.1.0 [2023-08-30T20:47:50.492Z] v2.1.1 [2023-08-30T20:47:50.492Z] v2.2.0 [2023-08-30T20:47:50.492Z] v2.3.0 [2023-08-30T20:47:50.492Z] v3.0 [2023-08-30T20:47:50.492Z] v3.0.0 [2023-08-30T20:47:50.492Z] v3.1.0-dev.1 [2023-08-30T20:47:50.492Z] v3.1.0-dev.2 [2023-08-30T20:47:50.492Z] v3.1.0-dev.3 [2023-08-30T20:47:50.492Z] v3.1.0-dev.4 [2023-08-30T20:47:50.492Z] v3.1.0-dev.5 [2023-08-30T20:47:50.492Z] v3.1.0-dev.6 [2023-08-30T20:47:50.492Z] v3.1.0-dev.7 [Pipeline] sh [2023-08-30T20:47:50.778Z] + lftools sign git-tag v3.1.0-dev.7 [2023-08-30T20:47:51.345Z] Signing Git tag with Sigul... [2023-08-30T20:47:51.345Z] Signing v3.1.0-dev.7 [Pipeline] echo [2023-08-30T20:47:51.918Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:47:52.196Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-08-30T20:47:52.203Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-08-30T20:47:52.235Z] $ docker stop --time=1 b8a1ec1568c668fa025c1ac2f16af5caf79fe3f2b2a8552e31606e89d8273d2f [2023-08-30T20:47:53.970Z] $ docker rm -f --volumes b8a1ec1568c668fa025c1ac2f16af5caf79fe3f2b2a8552e31606e89d8273d2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-08-30T20:47:54.432Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T20:47:54.432Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:47:54.727Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T20:47:54.727Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:47:54.808Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:47:54.850Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-30T20:47:55.862Z] $ docker top 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 -eo pid,comm [2023-08-30T20:47:55.894Z] 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-08-30T20:47:55.894Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T20:47:55.930Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T20:47:55.930Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T20:47:56.044Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T20:47:56.059Z] $ docker exec 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 ssh-agent [2023-08-30T20:47:56.182Z] SSH_AUTH_SOCK=/tmp/ssh-Lrdq4C5qqk8d/agent.14 [2023-08-30T20:47:56.182Z] SSH_AGENT_PID=20 [2023-08-30T20:47:56.187Z] Running ssh-add (command line suppressed) [2023-08-30T20:47:56.305Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10000324124800477557.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10000324124800477557.key) [2023-08-30T20:47:56.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T20:47:56.598Z] + git semver bump pre [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,829 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,829 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,829 [bump_version] DEBUG bumped version:3.1.0-dev.8 [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,829 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,829 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,829 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,831 [execute] INFO git cat-file --batch-check [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,837 [execute] INFO git cat-file --batch [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T20:47:56.857Z] 2023-08-30 20:47:56,842 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-30T20:47:56.857Z] 3.1.0-dev.8 [Pipeline] } [2023-08-30T20:47:57.135Z] $ docker exec --env ******** --env ******** 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 ssh-agent -k [2023-08-30T20:47:57.236Z] unset SSH_AUTH_SOCK; [2023-08-30T20:47:57.236Z] unset SSH_AGENT_PID; [2023-08-30T20:47:57.236Z] echo Agent pid 20 killed; [2023-08-30T20:47:57.235Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T20:47:57.542Z] + git semver [Pipeline] } [2023-08-30T20:47:58.131Z] $ docker stop --time=1 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 [2023-08-30T20:47:59.410Z] $ docker rm -f --volumes 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-30T20:47:59.728Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-30T20:47:59.728Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:48:00.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-30T20:48:00.028Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:48:00.098Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:48:00.143Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-08-30T20:48:00.492Z] $ docker top cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f -eo pid,comm [2023-08-30T20:48:00.524Z] 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-08-30T20:48:00.524Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-30T20:48:00.568Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-30T20:48:00.568Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-30T20:48:00.671Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-30T20:48:00.686Z] $ docker exec cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f ssh-agent [2023-08-30T20:48:00.775Z] SSH_AUTH_SOCK=/tmp/ssh-nMTKj6dojT96/agent.32 [2023-08-30T20:48:00.775Z] SSH_AGENT_PID=38 [2023-08-30T20:48:00.781Z] Running ssh-add (command line suppressed) [2023-08-30T20:48:00.902Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4659859696990259637.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4659859696990259637.key) [2023-08-30T20:48:00.908Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-30T20:48:01.192Z] + git semver push [2023-08-30T20:48:01.451Z] 2023-08-30 20:48:01,412 [run_push] DEBUG push [2023-08-30T20:48:01.451Z] 2023-08-30 20:48:01,412 [execute] INFO git cat-file --batch-check [2023-08-30T20:48:01.451Z] 2023-08-30 20:48:01,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-08-30T20:48:01.451Z] 2023-08-30 20:48:01,415 [execute] INFO git rev-list eb728bacbdfed1ebe22cf4dfeaf3f9c22083749c -- [2023-08-30T20:48:01.451Z] 2023-08-30 20:48:01,416 [execute] DEBUG Popen(['git', 'rev-list', 'eb728bacbdfed1ebe22cf4dfeaf3f9c22083749c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-30T20:48:01.451Z] 2023-08-30 20:48:01,423 [execute] INFO git fetch -v origin [2023-08-30T20:48:01.451Z] 2023-08-30 20:48:01,424 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-08-30T20:48:02.018Z] 2023-08-30 20:48:01,904 [run_push] DEBUG no remote changes detected [2023-08-30T20:48:02.018Z] 2023-08-30 20:48:01,905 [execute] INFO git push origin semver [2023-08-30T20:48:02.018Z] 2023-08-30 20:48:01,905 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-08-30T20:48:02.956Z] 2023-08-30 20:48:02,711 [run_push] DEBUG push all version tags [2023-08-30T20:48:02.956Z] 2023-08-30 20:48:02,712 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-08-30T20:48:02.956Z] 2023-08-30 20:48:02,712 [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-08-30T20:48:03.525Z] 2023-08-30 20:48:03,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-08-30T20:48:03.525Z] 3.1.0-dev.8 [Pipeline] } [2023-08-30T20:48:03.806Z] $ docker exec --env ******** --env ******** cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f ssh-agent -k [2023-08-30T20:48:03.905Z] unset SSH_AUTH_SOCK; [2023-08-30T20:48:03.905Z] unset SSH_AGENT_PID; [2023-08-30T20:48:03.905Z] echo Agent pid 38 killed; [2023-08-30T20:48:03.904Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-30T20:48:04.222Z] + git semver [Pipeline] } [2023-08-30T20:48:04.685Z] $ docker stop --time=1 cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f [2023-08-30T20:48:06.012Z] $ docker rm -f --volumes cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f [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-08-30T20:48:06.653Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-08-30T20:48:06.653Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-30T20:48:06.653Z] total 16 [2023-08-30T20:48:06.653Z] drwxr-xr-x 3 root root 4096 Aug 30 20:38 . [2023-08-30T20:48:06.653Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 20:47 .. [2023-08-30T20:48:06.653Z] drwxr-xr-x 2 root root 4096 Aug 30 20:38 cost [2023-08-30T20:48:06.653Z] -rw-r--r-- 1 root root 86 Aug 30 20:38 cost.csv [2023-08-30T20:48:06.653Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-30T20:48:06.653Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-08-30T20:48:06.653Z] total 16 [2023-08-30T20:48:06.653Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 20:38 . [2023-08-30T20:48:06.653Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 20:47 .. [2023-08-30T20:48:06.653Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 20:38 cost [2023-08-30T20:48:06.653Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 30 20:38 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:48:06.945Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:48:07.807Z] ---> package-listing.sh [2023-08-30T20:48:07.807Z] ++ facter osfamily [2023-08-30T20:48:07.807Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-30T20:48:08.066Z] + OS_FAMILY=debian [2023-08-30T20:48:08.066Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-08-30T20:48:08.066Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-30T20:48:08.066Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-30T20:48:08.066Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-30T20:48:08.066Z] + PACKAGES=/tmp/packages_start.txt [2023-08-30T20:48:08.066Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-08-30T20:48:08.066Z] + PACKAGES=/tmp/packages_end.txt [2023-08-30T20:48:08.066Z] + case "${OS_FAMILY}" in [2023-08-30T20:48:08.066Z] + dpkg -l [2023-08-30T20:48:08.066Z] + grep '^ii' [2023-08-30T20:48:08.066Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-30T20:48:08.066Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-30T20:48:08.066Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-30T20:48:08.066Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-08-30T20:48:08.066Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-08-30T20:48:08.066Z] + 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-08-30T20:48:08.076Z] 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-08-30T20:48:08.351Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-30T20:48:08.910Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-30T20:48:08.910Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-30T20:48:08.983Z] prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container [2023-08-30T20:48:09.029Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-08-30T20:48:09.273Z] $ docker top 2caaf5a7c883cffa52060fc8a29a13e0f85a1c6a303a857623dfdd51569bf7f7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-30T20:48:09.616Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-30T20:48:09.903Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-30T20:48:10.187Z] + ls /var/log/sa-host [2023-08-30T20:48:10.187Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-30T20:48:10.257Z] provisioning config files... [2023-08-30T20:48:10.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11435627834044886499tmp [Pipeline] { [Pipeline] echo [2023-08-30T20:48:10.280Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:48:10.563Z] ---> create-netrc.sh [Pipeline] } [2023-08-30T20:48:10.570Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:48:10.887Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-30T20:48:10.896Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:48:11.181Z] ---> sudo-logs.sh [2023-08-30T20:48:11.181Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-30T20:48:11.212Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:48:11.502Z] ---> job-cost.sh [2023-08-30T20:48:11.502Z] lf-activate-venv: SKIPPING [2023-08-30T20:48:11.502Z] DEBUG: total: 0.2199999988079071 [2023-08-30T20:48:11.502Z] INFO: Retrieving Stack Cost... [2023-08-30T20:48:11.761Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-30T20:48:12.330Z] INFO: Archiving Costs [Pipeline] echo [2023-08-30T20:48:12.340Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-30T20:48:12.623Z] ---> logs-deploy.sh [2023-08-30T20:48:12.624Z] lf-activate-venv: SKIPPING [2023-08-30T20:48:12.624Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/127 [2023-08-30T20:48:12.624Z] INFO: archiving workspace using pattern(s): [2023-08-30T20:48:13.558Z] Archives upload complete. [2023-08-30T20:48:13.558Z] INFO: archiving logs to Nexus