Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 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-ssh12997981718319687730.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh3996823961723774949.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7732230677899289443.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh16940123422955832604.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-ssh2208519307030879417.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7885 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 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 (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 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#346)" > git rev-list --no-walk d6f941c2af2fad29136a7acf5385bb2680494e78 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-25T21:28:53.662Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-25T21:28:53.707Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-25T21:28:53.721Z] ========================================================= [2023-09-25T21:28:53.721Z] EdgeX Global Pipelines Version Info [2023-09-25T21:28:53.721Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:28:54.434Z] ------------------- [2023-09-25T21:28:54.435Z] stable info: [2023-09-25T21:28:54.435Z] ------------------- [2023-09-25T21:28:54.435Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-25T21:28:54.435Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T21:28:54.435Z] Message: update stable to v1.0.254 [2023-09-25T21:28:55.004Z] ------------------- [2023-09-25T21:28:55.004Z] experimental info: [2023-09-25T21:28:55.004Z] ------------------- [2023-09-25T21:28:55.004Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-25T21:28:55.004Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-25T21:28:55.004Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-25T21:28:55.161Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-09-25T21:28:55.175Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-09-25T21:28:55.188Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-25T21:28:55.200Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-25T21:28:55.219Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-25T21:28:55.232Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-25T21:28:55.244Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-25T21:28:55.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-09-25T21:28:55.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-25T21:28:55.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-25T21:28:55.309Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-25T21:28:55.325Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-09-25T21:28:55.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-25T21:28:55.357Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-25T21:28:55.374Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T21:28:55.395Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-09-25T21:28:55.411Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T21:28:55.422Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-25T21:28:55.436Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-25T21:28:55.447Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-25T21:28:55.460Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-09-25T21:28:55.472Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-09-25T21:28:55.481Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-25T21:28:55.490Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-25T21:28:55.499Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-25T21:28:55.512Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-25T21:28:55.522Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-25T21:28:55.533Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-09-25T21:28:55.543Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-09-25T21:28:55.553Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-09-25T21:28:55.564Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] echo [2023-09-25T21:28:55.574Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 73bea07 [Pipeline] echo [2023-09-25T21:28:55.584Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T21:28:55.640Z] provisioning config files... [2023-09-25T21:28:55.657Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7928463713767788230tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:28:55.962Z] ---> docker-login.sh [2023-09-25T21:28:55.962Z] nexus3.edgexfoundry.org:10001 [2023-09-25T21:28:56.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:28:56.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:28:56.487Z] Configure a credential helper to remove this warning. See [2023-09-25T21:28:56.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:28:56.487Z] [2023-09-25T21:28:56.487Z] Login Succeeded [2023-09-25T21:28:56.487Z] nexus3.edgexfoundry.org:10002 [2023-09-25T21:28:56.487Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:28:56.487Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:28:56.487Z] Configure a credential helper to remove this warning. See [2023-09-25T21:28:56.487Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:28:56.487Z] [2023-09-25T21:28:56.487Z] Login Succeeded [2023-09-25T21:28:56.487Z] nexus3.edgexfoundry.org:10003 [2023-09-25T21:28:56.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:28:56.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:28:56.747Z] Configure a credential helper to remove this warning. See [2023-09-25T21:28:56.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:28:56.747Z] [2023-09-25T21:28:56.747Z] Login Succeeded [2023-09-25T21:28:56.747Z] nexus3.edgexfoundry.org:10004 [2023-09-25T21:28:56.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:28:56.747Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:28:56.747Z] Configure a credential helper to remove this warning. See [2023-09-25T21:28:56.747Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:28:56.747Z] [2023-09-25T21:28:56.747Z] Login Succeeded [2023-09-25T21:28:56.747Z] docker.io [2023-09-25T21:28:56.747Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:28:57.008Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:28:57.008Z] Configure a credential helper to remove this warning. See [2023-09-25T21:28:57.008Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:28:57.008Z] [2023-09-25T21:28:57.008Z] Login Succeeded [2023-09-25T21:28:57.008Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T21:28:57.015Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-25T21:28:57.410Z] + git rev-list -1 --merges 73bea07d0c9b5090e1f6a3014a45db50fae0ec58~1..73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] echo [2023-09-25T21:28:57.461Z] -----------> git rev-list -1 --merges 73bea07d0c9b5090e1f6a3014a45db50fae0ec58~1..73bea07d0c9b5090e1f6a3014a45db50fae0ec58 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [false] [Pipeline] sh [2023-09-25T21:28:57.754Z] + git log --format=format:%s -1 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] echo [2023-09-25T21:28:57.772Z] ========================================================= [2023-09-25T21:28:57.772Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-25T21:28:57.772Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T21:28:58.101Z] + git log --format=format:%s -1 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] echo [2023-09-25T21:28:58.111Z] [semverPrep] GIT_COMMIT: 73bea07d0c9b5090e1f6a3014a45db50fae0ec58, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#346) [Pipeline] echo [2023-09-25T21:28:58.120Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-25T21:28:58.501Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T21:28:58.502Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-25T21:28:58.502Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-25T21:28:58.502Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-25T21:28:58.502Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-25T21:28:58.502Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-25T21:28:58.502Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:28:58.900Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T21:28:58.900Z] [2023-09-25T21:28:58.900Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:28:59.195Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T21:28:59.196Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-25T21:28:59.196Z] b85a868b505f: Pulling fs layer [2023-09-25T21:28:59.196Z] e2be974225ed: Pulling fs layer [2023-09-25T21:28:59.196Z] 339a4e72a1f5: Pulling fs layer [2023-09-25T21:28:59.196Z] 988bab9f4d93: Pulling fs layer [2023-09-25T21:28:59.196Z] 1469e6f7b9e6: Pulling fs layer [2023-09-25T21:28:59.196Z] eaf3925da568: Pulling fs layer [2023-09-25T21:28:59.196Z] bab4dde63d76: Pulling fs layer [2023-09-25T21:28:59.196Z] bde34c3a00c8: Pulling fs layer [2023-09-25T21:28:59.196Z] b352a97aabf1: Pulling fs layer [2023-09-25T21:28:59.196Z] 4872d77fe225: Pulling fs layer [2023-09-25T21:28:59.196Z] 5851b861e8e6: Pulling fs layer [2023-09-25T21:28:59.196Z] bab4dde63d76: Waiting [2023-09-25T21:28:59.196Z] bde34c3a00c8: Waiting [2023-09-25T21:28:59.196Z] b352a97aabf1: Waiting [2023-09-25T21:28:59.196Z] 988bab9f4d93: Waiting [2023-09-25T21:28:59.196Z] 4872d77fe225: Waiting [2023-09-25T21:28:59.196Z] 5851b861e8e6: Waiting [2023-09-25T21:28:59.196Z] eaf3925da568: Waiting [2023-09-25T21:28:59.196Z] 1469e6f7b9e6: Waiting [2023-09-25T21:28:59.196Z] e2be974225ed: Download complete [2023-09-25T21:28:59.196Z] 988bab9f4d93: Verifying Checksum [2023-09-25T21:28:59.196Z] 988bab9f4d93: Download complete [2023-09-25T21:28:59.455Z] 1469e6f7b9e6: Verifying Checksum [2023-09-25T21:28:59.455Z] 1469e6f7b9e6: Download complete [2023-09-25T21:28:59.455Z] eaf3925da568: Verifying Checksum [2023-09-25T21:28:59.455Z] eaf3925da568: Download complete [2023-09-25T21:28:59.455Z] 339a4e72a1f5: Verifying Checksum [2023-09-25T21:28:59.455Z] 339a4e72a1f5: Download complete [2023-09-25T21:28:59.455Z] bde34c3a00c8: Verifying Checksum [2023-09-25T21:28:59.455Z] bde34c3a00c8: Download complete [2023-09-25T21:28:59.455Z] b352a97aabf1: Verifying Checksum [2023-09-25T21:28:59.455Z] b352a97aabf1: Download complete [2023-09-25T21:28:59.455Z] 4872d77fe225: Verifying Checksum [2023-09-25T21:28:59.455Z] 4872d77fe225: Download complete [2023-09-25T21:28:59.455Z] 5851b861e8e6: Verifying Checksum [2023-09-25T21:28:59.455Z] 5851b861e8e6: Download complete [2023-09-25T21:28:59.455Z] b85a868b505f: Download complete [2023-09-25T21:28:59.714Z] bab4dde63d76: Verifying Checksum [2023-09-25T21:28:59.714Z] bab4dde63d76: Download complete [2023-09-25T21:29:01.093Z] b85a868b505f: Pull complete [2023-09-25T21:29:01.093Z] e2be974225ed: Pull complete [2023-09-25T21:29:01.354Z] 339a4e72a1f5: Pull complete [2023-09-25T21:29:01.617Z] 988bab9f4d93: Pull complete [2023-09-25T21:29:01.878Z] 1469e6f7b9e6: Pull complete [2023-09-25T21:29:01.878Z] eaf3925da568: Pull complete [2023-09-25T21:29:03.783Z] bab4dde63d76: Pull complete [2023-09-25T21:29:03.783Z] bde34c3a00c8: Pull complete [2023-09-25T21:29:04.043Z] b352a97aabf1: Pull complete [2023-09-25T21:29:04.043Z] 4872d77fe225: Pull complete [2023-09-25T21:29:04.303Z] 5851b861e8e6: Pull complete [2023-09-25T21:29:04.303Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-25T21:29:04.303Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T21:29:04.303Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:29:04.416Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:29:04.426Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T21:29:07.303Z] $ docker top b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 -eo pid,comm [2023-09-25T21:29:07.364Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-25T21:29:07.364Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T21:29:07.406Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T21:29:07.406Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T21:29:07.516Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T21:29:07.506Z] $ docker exec b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 ssh-agent [2023-09-25T21:29:07.626Z] SSH_AUTH_SOCK=/tmp/ssh-kDKrXnW7ZoyP/agent.33 [2023-09-25T21:29:07.626Z] SSH_AGENT_PID=39 [2023-09-25T21:29:07.634Z] Running ssh-add (command line suppressed) [2023-09-25T21:29:07.733Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5008588374328362816.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5008588374328362816.key) [2023-09-25T21:29:07.761Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T21:29:08.051Z] + git tag --points-at HEAD [Pipeline] } [2023-09-25T21:29:08.050Z] $ docker exec --env ******** --env ******** b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 ssh-agent -k [2023-09-25T21:29:08.159Z] unset SSH_AUTH_SOCK; [2023-09-25T21:29:08.159Z] unset SSH_AGENT_PID; [2023-09-25T21:29:08.159Z] echo Agent pid 39 killed; [2023-09-25T21:29:08.182Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-25T21:29:08.213Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T21:29:08.213Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T21:29:08.338Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T21:29:08.328Z] $ docker exec b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 ssh-agent [2023-09-25T21:29:08.466Z] SSH_AUTH_SOCK=/tmp/ssh-i3nEUhK3jtJ3/agent.71 [2023-09-25T21:29:08.466Z] SSH_AGENT_PID=77 [2023-09-25T21:29:08.471Z] Running ssh-add (command line suppressed) [2023-09-25T21:29:08.576Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18122316631264898989.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18122316631264898989.key) [2023-09-25T21:29:08.608Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T21:29:08.893Z] + git semver init [2023-09-25T21:29:09.153Z] 2023-09-25 21:29:09,056 [run_init] DEBUG init version:0.0.0 force:False [2023-09-25T21:29:09.153Z] 2023-09-25 21:29:09,057 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-25T21:29:09.153Z] 2023-09-25 21:29:09,057 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-09-25T21:29:09.153Z] 2023-09-25 21:29:09,058 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-25T21:29:10.532Z] 2023-09-25 21:29:10,093 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-09-25T21:29:10.532Z] 2023-09-25 21:29:10,093 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-09-25T21:29:10.532Z] 2023-09-25 21:29:10,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-25T21:29:10.532Z] 2023-09-25 21:29:10,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-25T21:29:10.532Z] 3.1.0-dev.18 [Pipeline] } [2023-09-25T21:29:10.531Z] $ docker exec --env ******** --env ******** b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 ssh-agent -k [2023-09-25T21:29:10.623Z] unset SSH_AUTH_SOCK; [2023-09-25T21:29:10.623Z] unset SSH_AGENT_PID; [2023-09-25T21:29:10.625Z] echo Agent pid 77 killed; [2023-09-25T21:29:10.648Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T21:29:10.945Z] + git semver [Pipeline] } [2023-09-25T21:29:11.207Z] $ docker stop --time=1 b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 [2023-09-25T21:29:12.500Z] $ docker rm -f --volumes b1a9e42f05b13ae0a6dc3dfb878c0b7d1ca34dc93f51982047ad203b60b3d570 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T21:29:12.846Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-25T21:29:13.061Z] Stashed 1 file(s) [Pipeline] echo [2023-09-25T21:29:13.064Z] [edgeXSemver]: initialized semver on version 3.1.0-dev.18 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T21:29:13.217Z] provisioning config files... [2023-09-25T21:29:13.227Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15521480666480329000tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:29:13.523Z] ---> docker-login.sh [2023-09-25T21:29:13.523Z] nexus3.edgexfoundry.org:10001 [2023-09-25T21:29:13.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:29:13.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:29:13.523Z] Configure a credential helper to remove this warning. See [2023-09-25T21:29:13.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:29:13.523Z] [2023-09-25T21:29:13.523Z] Login Succeeded [2023-09-25T21:29:13.523Z] nexus3.edgexfoundry.org:10002 [2023-09-25T21:29:13.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:29:13.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:29:13.523Z] Configure a credential helper to remove this warning. See [2023-09-25T21:29:13.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:29:13.523Z] [2023-09-25T21:29:13.523Z] Login Succeeded [2023-09-25T21:29:13.523Z] nexus3.edgexfoundry.org:10003 [2023-09-25T21:29:13.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:29:13.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:29:13.785Z] Configure a credential helper to remove this warning. See [2023-09-25T21:29:13.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:29:13.785Z] [2023-09-25T21:29:13.785Z] Login Succeeded [2023-09-25T21:29:13.785Z] nexus3.edgexfoundry.org:10004 [2023-09-25T21:29:13.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:29:13.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:29:13.785Z] Configure a credential helper to remove this warning. See [2023-09-25T21:29:13.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:29:13.785Z] [2023-09-25T21:29:13.785Z] Login Succeeded [2023-09-25T21:29:14.052Z] docker.io [2023-09-25T21:29:14.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:29:14.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:29:14.311Z] Configure a credential helper to remove this warning. See [2023-09-25T21:29:14.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:29:14.311Z] [2023-09-25T21:29:14.311Z] Login Succeeded [2023-09-25T21:29:14.311Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T21:29:14.319Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T21:29:14.374Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T21:29:14.385Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T21:29:14.391Z] ========================================================= [2023-09-25T21:29:14.391Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-25T21:29:14.391Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:29:14.696Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-25T21:29:14.696Z] Sending build context to Docker daemon 10.91MB [2023-09-25T21:29:14.696Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T21:29:14.696Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-25T21:29:14.696Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-25T21:29:14.696Z] 7264a8db6415: Pulling fs layer [2023-09-25T21:29:14.696Z] c4d48a809fc2: Pulling fs layer [2023-09-25T21:29:14.696Z] 4f1c88b9dad5: Pulling fs layer [2023-09-25T21:29:14.696Z] ad3a456e5733: Pulling fs layer [2023-09-25T21:29:14.696Z] 33e27b845d1e: Pulling fs layer [2023-09-25T21:29:14.696Z] c68163c4e522: Pulling fs layer [2023-09-25T21:29:14.696Z] 50da416c3ac9: Pulling fs layer [2023-09-25T21:29:14.696Z] 23d2d4c4bb30: Pulling fs layer [2023-09-25T21:29:14.696Z] 33e27b845d1e: Waiting [2023-09-25T21:29:14.696Z] 23d2d4c4bb30: Waiting [2023-09-25T21:29:14.696Z] c68163c4e522: Waiting [2023-09-25T21:29:14.696Z] ad3a456e5733: Waiting [2023-09-25T21:29:14.696Z] 50da416c3ac9: Waiting [2023-09-25T21:29:14.956Z] c4d48a809fc2: Verifying Checksum [2023-09-25T21:29:14.956Z] c4d48a809fc2: Download complete [2023-09-25T21:29:14.956Z] ad3a456e5733: Verifying Checksum [2023-09-25T21:29:14.956Z] ad3a456e5733: Download complete [2023-09-25T21:29:14.956Z] 7264a8db6415: Verifying Checksum [2023-09-25T21:29:14.956Z] 7264a8db6415: Download complete [2023-09-25T21:29:14.956Z] 33e27b845d1e: Verifying Checksum [2023-09-25T21:29:14.956Z] 33e27b845d1e: Download complete [2023-09-25T21:29:14.956Z] c68163c4e522: Verifying Checksum [2023-09-25T21:29:14.956Z] c68163c4e522: Download complete [2023-09-25T21:29:14.956Z] 7264a8db6415: Pull complete [2023-09-25T21:29:15.216Z] 23d2d4c4bb30: Verifying Checksum [2023-09-25T21:29:15.216Z] 23d2d4c4bb30: Download complete [2023-09-25T21:29:15.216Z] c4d48a809fc2: Pull complete [2023-09-25T21:29:15.474Z] 4f1c88b9dad5: Verifying Checksum [2023-09-25T21:29:15.474Z] 4f1c88b9dad5: Download complete [2023-09-25T21:29:15.732Z] 50da416c3ac9: Verifying Checksum [2023-09-25T21:29:15.732Z] 50da416c3ac9: Download complete [2023-09-25T21:29:19.022Z] 4f1c88b9dad5: Pull complete [2023-09-25T21:29:19.022Z] ad3a456e5733: Pull complete [2023-09-25T21:29:19.022Z] 33e27b845d1e: Pull complete [2023-09-25T21:29:19.022Z] c68163c4e522: Pull complete [2023-09-25T21:29:20.923Z] 50da416c3ac9: Pull complete [2023-09-25T21:29:21.491Z] 23d2d4c4bb30: Pull complete [2023-09-25T21:29:21.491Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-09-25T21:29:21.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-25T21:29:21.491Z] ---> 0786185ac409 [2023-09-25T21:29:21.491Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-25T21:29:25.685Z] ---> Running in 59dca9e05908 [2023-09-25T21:29:25.685Z] Removing intermediate container 59dca9e05908 [2023-09-25T21:29:25.685Z] ---> 2e1aa2050bc7 [2023-09-25T21:29:25.685Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T21:29:25.685Z] ---> Running in 477dc28f3a0e [2023-09-25T21:29:25.685Z] Removing intermediate container 477dc28f3a0e [2023-09-25T21:29:25.685Z] ---> b6fdef977fb9 [2023-09-25T21:29:25.685Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T21:29:25.685Z] ---> Running in 050cd44346b2 [2023-09-25T21:29:25.685Z] Removing intermediate container 050cd44346b2 [2023-09-25T21:29:25.686Z] ---> 4f9842d8b144 [2023-09-25T21:29:25.686Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T21:29:25.686Z] ---> Running in a2056a80034e [2023-09-25T21:29:25.686Z] Removing intermediate container a2056a80034e [2023-09-25T21:29:25.686Z] ---> 3ff23875cc7d [2023-09-25T21:29:25.686Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T21:29:25.945Z] ---> Running in 79f8a6035f9d [2023-09-25T21:29:26.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T21:29:26.204Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T21:29:26.463Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T21:29:26.463Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-25T21:29:26.463Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T21:29:26.463Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T21:29:26.463Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T21:29:26.463Z] OK: 268 MiB in 56 packages [2023-09-25T21:29:27.031Z] Removing intermediate container 79f8a6035f9d [2023-09-25T21:29:27.031Z] ---> 68064f9f3c51 [2023-09-25T21:29:27.031Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-25T21:29:27.031Z] ---> Running in 6360098fd8e2 [2023-09-25T21:29:27.290Z] Removing intermediate container 6360098fd8e2 [2023-09-25T21:29:27.290Z] ---> 97da74fa69bf [2023-09-25T21:29:27.290Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-25T21:29:27.290Z] ---> df5ae6e2f9ab [2023-09-25T21:29:27.290Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T21:29:27.290Z] ---> Running in 40b9aa606cc7 [2023-09-25T21:29:28.172Z] Still waiting to schedule task [2023-09-25T21:29:28.173Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-25T21:30:06.058Z] Removing intermediate container 40b9aa606cc7 [2023-09-25T21:30:06.058Z] ---> 097fd02ee07d [2023-09-25T21:30:06.058Z] Step 11/12 : COPY . . [2023-09-25T21:30:06.058Z] ---> dc7858f91202 [2023-09-25T21:30:06.058Z] Step 12/12 : RUN $MAKE [2023-09-25T21:30:06.058Z] ---> Running in 7f2816bc9348 [2023-09-25T21:30:06.058Z] noop [2023-09-25T21:30:06.058Z] Removing intermediate container 7f2816bc9348 [2023-09-25T21:30:06.058Z] ---> 01367b3420bc [2023-09-25T21:30:06.058Z] Successfully built 01367b3420bc [2023-09-25T21:30:06.058Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:30:06.366Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T21:30:06.366Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:30:06.436Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:30:06.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T21:30:06.805Z] $ docker top 5081117214aae83e75ae186de51bccc93510f53fc0355102ae08ba9320b85a46 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T21:30:07.131Z] + go version [2023-09-25T21:30:07.131Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-25T21:30:07.145Z] $ docker stop --time=1 5081117214aae83e75ae186de51bccc93510f53fc0355102ae08ba9320b85a46 [2023-09-25T21:30:08.433Z] $ docker rm -f --volumes 5081117214aae83e75ae186de51bccc93510f53fc0355102ae08ba9320b85a46 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:30:08.826Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-25T21:30:08.826Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:30:08.894Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:30:08.926Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-25T21:30:09.244Z] $ docker top 104ea21e612a4eb42f4e6427c23cb8dd8a9cd099b443af536496bc5f00bd3a5d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T21:30:09.575Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-09-25T21:30:09.868Z] + make test [2023-09-25T21:30:09.868Z] go test ./... -coverprofile=coverage.out ./... [2023-09-25T21:30:11.257Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-25T21:30:21.220Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-25T21:30:21.220Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements [2023-09-25T21:30:26.477Z] go vet ./... [2023-09-25T21:30:30.659Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T21:30:30.659Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T21:30:30.659Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T21:30:30.669Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T21:30:30.681Z] $ docker stop --time=1 104ea21e612a4eb42f4e6427c23cb8dd8a9cd099b443af536496bc5f00bd3a5d [2023-09-25T21:30:33.993Z] $ docker rm -f --volumes 104ea21e612a4eb42f4e6427c23cb8dd8a9cd099b443af536496bc5f00bd3a5d [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T21:30:34.486Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T21:30:34.532Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-25T21:30:34.951Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T21:30:35.237Z] + ls -al . [2023-09-25T21:30:35.237Z] total 188 [2023-09-25T21:30:35.237Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 25 21:30 . [2023-09-25T21:30:35.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 21:28 .. [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 25 21:28 .dockerignore [2023-09-25T21:30:35.237Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 21:30 .git [2023-09-25T21:30:35.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 21:28 .github [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 25 21:28 .gitignore [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 21:28 .golangci.yml [2023-09-25T21:30:35.237Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 21:29 .semver [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 25 21:28 Attribution.txt [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 25 21:28 CHANGELOG.md [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 25 21:28 Dockerfile [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 21:28 GOVERNANCE.md [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 21:28 Jenkinsfile [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 21:28 LICENSE [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 25 21:28 Makefile [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 25 21:28 OWNERS.md [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 25 21:28 README.md [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 21:29 VERSION [2023-09-25T21:30:35.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 21:28 bin [2023-09-25T21:30:35.237Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 21:28 cmd [2023-09-25T21:30:35.237Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 25 21:30 coverage.out [2023-09-25T21:30:35.237Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 21:28 driver [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 25 21:28 go.mod [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 25 21:28 go.sum [2023-09-25T21:30:35.237Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 21:28 snap [2023-09-25T21:30:35.237Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 25 21:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:30:35.563Z] + 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=73bea07d0c9b5090e1f6a3014a45db50fae0ec58 --label arch=amd64 --label version=3.1.0-dev.18 . [2023-09-25T21:30:35.563Z] Sending build context to Docker daemon 10.93MB [2023-09-25T21:30:35.563Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T21:30:35.563Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-25T21:30:35.563Z] ---> 01367b3420bc [2023-09-25T21:30:35.563Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-25T21:30:35.840Z] ---> Running in cb8134c691a6 [2023-09-25T21:30:35.840Z] Removing intermediate container cb8134c691a6 [2023-09-25T21:30:35.840Z] ---> 410bc66b089b [2023-09-25T21:30:35.840Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T21:30:35.840Z] ---> Running in 2f53c71bc7e2 [2023-09-25T21:30:35.840Z] Removing intermediate container 2f53c71bc7e2 [2023-09-25T21:30:35.840Z] ---> 8f0ed53bc5c9 [2023-09-25T21:30:35.840Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T21:30:35.840Z] ---> Running in ff8f66e9a773 [2023-09-25T21:30:36.099Z] Removing intermediate container ff8f66e9a773 [2023-09-25T21:30:36.099Z] ---> 3ad1cadbdb70 [2023-09-25T21:30:36.099Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T21:30:36.099Z] ---> Running in f7f9a573ac6e [2023-09-25T21:30:36.099Z] Removing intermediate container f7f9a573ac6e [2023-09-25T21:30:36.099Z] ---> ceb5eeeb46d4 [2023-09-25T21:30:36.099Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T21:30:36.099Z] ---> Running in be2a866b57f8 [2023-09-25T21:30:36.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T21:30:36.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T21:30:36.875Z] OK: 268 MiB in 56 packages [2023-09-25T21:30:37.441Z] Removing intermediate container be2a866b57f8 [2023-09-25T21:30:37.441Z] ---> 6ae8f32f9cc6 [2023-09-25T21:30:37.442Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-25T21:30:37.442Z] ---> Running in 0226d8c8c0a4 [2023-09-25T21:30:37.442Z] Removing intermediate container 0226d8c8c0a4 [2023-09-25T21:30:37.442Z] ---> f8bab24436c3 [2023-09-25T21:30:37.442Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-25T21:30:37.442Z] ---> c310ea0b7ad3 [2023-09-25T21:30:37.442Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T21:30:37.442Z] ---> Running in 93f5360302aa [2023-09-25T21:30:38.492Z] Removing intermediate container 93f5360302aa [2023-09-25T21:30:38.492Z] ---> 1f8f6db58484 [2023-09-25T21:30:38.492Z] Step 11/25 : COPY . . [2023-09-25T21:30:38.750Z] ---> 2be87da56a65 [2023-09-25T21:30:38.750Z] Step 12/25 : RUN $MAKE [2023-09-25T21:30:38.750Z] ---> Running in 19063e435132 [2023-09-25T21:30:39.008Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-25T21:31:01.127Z] Removing intermediate container 19063e435132 [2023-09-25T21:31:01.127Z] ---> c13e73b62946 [2023-09-25T21:31:01.127Z] Step 13/25 : FROM alpine:3.18 [2023-09-25T21:31:01.127Z] 3.18: Pulling from library/alpine [2023-09-25T21:31:01.127Z] 7264a8db6415: Already exists [2023-09-25T21:31:01.127Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T21:31:01.127Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T21:31:01.127Z] ---> 7e01a0d0a1dc [2023-09-25T21:31:01.127Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-25T21:31:01.127Z] ---> Running in 9d48c3951dec [2023-09-25T21:31:01.127Z] Removing intermediate container 9d48c3951dec [2023-09-25T21:31:01.127Z] ---> 543fb220b7f4 [2023-09-25T21:31:01.127Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-25T21:31:01.127Z] ---> Running in 7741307914ae [2023-09-25T21:31:01.127Z] Removing intermediate container 7741307914ae [2023-09-25T21:31:01.127Z] ---> 44f8bb12b27b [2023-09-25T21:31:01.127Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-25T21:31:01.127Z] ---> Running in 5a6a34b011fb [2023-09-25T21:31:01.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-25T21:31:01.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-25T21:31:01.127Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T21:31:01.127Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T21:31:01.127Z] OK: 7 MiB in 16 packages [2023-09-25T21:31:01.127Z] Removing intermediate container 5a6a34b011fb [2023-09-25T21:31:01.127Z] ---> c5f6dfdcc7dd [2023-09-25T21:31:01.127Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-25T21:31:01.127Z] ---> 0e2adf1b83d3 [2023-09-25T21:31:01.127Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-25T21:31:01.127Z] ---> 10eb5d8610d8 [2023-09-25T21:31:01.127Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-25T21:31:01.127Z] ---> 6ef0ae35e317 [2023-09-25T21:31:01.127Z] Step 20/25 : EXPOSE 59986 [2023-09-25T21:31:01.127Z] ---> Running in e503eadb81a5 [2023-09-25T21:31:01.127Z] Removing intermediate container e503eadb81a5 [2023-09-25T21:31:01.127Z] ---> 34788b1fa451 [2023-09-25T21:31:01.127Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-25T21:31:01.127Z] ---> Running in 959a7c320fb3 [2023-09-25T21:31:01.127Z] Removing intermediate container 959a7c320fb3 [2023-09-25T21:31:01.127Z] ---> 719535951fcc [2023-09-25T21:31:01.127Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-25T21:31:01.127Z] ---> Running in 47e870d5054d [2023-09-25T21:31:01.127Z] Removing intermediate container 47e870d5054d [2023-09-25T21:31:01.127Z] ---> da22b08c16ce [2023-09-25T21:31:01.127Z] Step 23/25 : LABEL arch=amd64 [2023-09-25T21:31:01.127Z] ---> Running in 60c9e9b14bcc [2023-09-25T21:31:01.127Z] Removing intermediate container 60c9e9b14bcc [2023-09-25T21:31:01.127Z] ---> 191897cde0ef [2023-09-25T21:31:01.127Z] Step 24/25 : LABEL git_sha=73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [2023-09-25T21:31:01.127Z] ---> Running in bdb0a6932d4e [2023-09-25T21:31:01.127Z] Removing intermediate container bdb0a6932d4e [2023-09-25T21:31:01.127Z] ---> a1ec1782293f [2023-09-25T21:31:01.127Z] Step 25/25 : LABEL version=3.1.0-dev.18 [2023-09-25T21:31:01.127Z] ---> Running in 8a6a099ed65d [2023-09-25T21:31:01.127Z] Removing intermediate container 8a6a099ed65d [2023-09-25T21:31:01.127Z] ---> ef6cf05c75a9 [2023-09-25T21:31:01.127Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T21:31:01.127Z] Successfully built ef6cf05c75a9 [2023-09-25T21:31:01.127Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T21:31:01.250Z] provisioning config files... [2023-09-25T21:31:01.270Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16152179958362939154tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:31:01.592Z] ---> docker-login.sh [2023-09-25T21:31:01.592Z] nexus3.edgexfoundry.org:10001 [2023-09-25T21:31:01.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:01.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:01.592Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:01.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:01.592Z] [2023-09-25T21:31:01.592Z] Login Succeeded [2023-09-25T21:31:01.592Z] nexus3.edgexfoundry.org:10002 [2023-09-25T21:31:01.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:01.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:01.592Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:01.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:01.592Z] [2023-09-25T21:31:01.592Z] Login Succeeded [2023-09-25T21:31:01.592Z] nexus3.edgexfoundry.org:10003 [2023-09-25T21:31:01.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:01.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:01.850Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:01.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:01.850Z] [2023-09-25T21:31:01.850Z] Login Succeeded [2023-09-25T21:31:01.850Z] nexus3.edgexfoundry.org:10004 [2023-09-25T21:31:01.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:01.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:01.850Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:01.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:01.850Z] [2023-09-25T21:31:01.850Z] Login Succeeded [2023-09-25T21:31:01.850Z] docker.io [2023-09-25T21:31:01.850Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:02.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:02.108Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:02.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:02.108Z] [2023-09-25T21:31:02.108Z] Login Succeeded [2023-09-25T21:31:02.108Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T21:31:02.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T21:31:02.147Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T21:31:02.171Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-09-25T21:31:02.171Z] 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [2023-09-25T21:31:02.171Z] latest [2023-09-25T21:31:02.171Z] 3.1.0-dev.18 [2023-09-25T21:31:02.171Z] 73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [2023-09-25T21:31:02.171Z] main [2023-09-25T21:31:02.171Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:02.500Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:02.815Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [2023-09-25T21:31:02.815Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-25T21:31:02.815Z] a7f84264b7c9: Preparing [2023-09-25T21:31:02.815Z] def6c850b318: Preparing [2023-09-25T21:31:02.815Z] 21928474a6f8: Preparing [2023-09-25T21:31:02.815Z] 8411eba1ff2e: Preparing [2023-09-25T21:31:02.815Z] 4693057ce236: Preparing [2023-09-25T21:31:02.815Z] 4693057ce236: Layer already exists [2023-09-25T21:31:02.815Z] def6c850b318: Pushed [2023-09-25T21:31:02.815Z] a7f84264b7c9: Pushed [2023-09-25T21:31:02.815Z] 8411eba1ff2e: Pushed [2023-09-25T21:31:03.059Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7886 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-09-25T21:31:03.072Z] Running in /w/workspace/device-rest-go/138 [Pipeline] { [Pipeline] checkout [2023-09-25T21:31:03.136Z] The recommended git tool is: git [2023-09-25T21:31:06.101Z] 21928474a6f8: Pushed [2023-09-25T21:31:06.102Z] 73bea07d0c9b5090e1f6a3014a45db50fae0ec58: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:06.421Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:06.733Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-25T21:31:06.733Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-25T21:31:06.733Z] a7f84264b7c9: Preparing [2023-09-25T21:31:06.733Z] def6c850b318: Preparing [2023-09-25T21:31:06.733Z] 21928474a6f8: Preparing [2023-09-25T21:31:06.733Z] 8411eba1ff2e: Preparing [2023-09-25T21:31:06.733Z] 4693057ce236: Preparing [2023-09-25T21:31:06.733Z] 8411eba1ff2e: Layer already exists [2023-09-25T21:31:06.733Z] 21928474a6f8: Layer already exists [2023-09-25T21:31:06.733Z] def6c850b318: Layer already exists [2023-09-25T21:31:06.733Z] 4693057ce236: Layer already exists [2023-09-25T21:31:06.733Z] a7f84264b7c9: Layer already exists [2023-09-25T21:31:06.733Z] latest: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:07.056Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:07.369Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.18 [2023-09-25T21:31:07.369Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-25T21:31:07.370Z] a7f84264b7c9: Preparing [2023-09-25T21:31:07.370Z] def6c850b318: Preparing [2023-09-25T21:31:07.370Z] 21928474a6f8: Preparing [2023-09-25T21:31:07.370Z] 8411eba1ff2e: Preparing [2023-09-25T21:31:07.370Z] 4693057ce236: Preparing [2023-09-25T21:31:07.370Z] def6c850b318: Layer already exists [2023-09-25T21:31:07.370Z] 21928474a6f8: Layer already exists [2023-09-25T21:31:07.370Z] a7f84264b7c9: Layer already exists [2023-09-25T21:31:07.370Z] 8411eba1ff2e: Layer already exists [2023-09-25T21:31:07.370Z] 4693057ce236: Layer already exists [2023-09-25T21:31:07.370Z] 3.1.0-dev.18: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:07.687Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:07.965Z] using credential edgex-jenkins-ssh [2023-09-25T21:31:07.985Z] Cloning the remote Git repository [2023-09-25T21:31:07.990Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [2023-09-25T21:31:07.990Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-25T21:31:07.990Z] a7f84264b7c9: Preparing [2023-09-25T21:31:07.990Z] def6c850b318: Preparing [2023-09-25T21:31:07.990Z] 21928474a6f8: Preparing [2023-09-25T21:31:07.990Z] 8411eba1ff2e: Preparing [2023-09-25T21:31:07.990Z] 4693057ce236: Preparing [2023-09-25T21:31:07.990Z] a7f84264b7c9: Layer already exists [2023-09-25T21:31:07.990Z] 8411eba1ff2e: Layer already exists [2023-09-25T21:31:07.990Z] 21928474a6f8: Layer already exists [2023-09-25T21:31:07.990Z] 4693057ce236: Layer already exists [2023-09-25T21:31:07.990Z] def6c850b318: Layer already exists [2023-09-25T21:31:07.990Z] 73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:08.026Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-09-25T21:31:08.307Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:08.612Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-09-25T21:31:08.612Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-09-25T21:31:08.612Z] a7f84264b7c9: Preparing [2023-09-25T21:31:08.612Z] def6c850b318: Preparing [2023-09-25T21:31:08.612Z] 21928474a6f8: Preparing [2023-09-25T21:31:08.612Z] 8411eba1ff2e: Preparing [2023-09-25T21:31:08.612Z] 4693057ce236: Preparing [2023-09-25T21:31:08.612Z] 21928474a6f8: Layer already exists [2023-09-25T21:31:08.612Z] 8411eba1ff2e: Layer already exists [2023-09-25T21:31:08.612Z] def6c850b318: Layer already exists [2023-09-25T21:31:08.612Z] a7f84264b7c9: Layer already exists [2023-09-25T21:31:08.612Z] 4693057ce236: Layer already exists [2023-09-25T21:31:08.612Z] main: digest: sha256:c7ebc99c4d3ccb0f1bf3ec605ab9b3223654bbe8cef8618528643aff18a0c469 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T21:31:08.665Z] ===================================================== [Pipeline] echo [2023-09-25T21:31:08.674Z] taggedImages: [2023-09-25T21:31:08.674Z] - nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [2023-09-25T21:31:08.674Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-09-25T21:31:08.674Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.18 [2023-09-25T21:31:08.674Z] - nexus3.edgexfoundry.org:10004/device-rest:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [2023-09-25T21:31:08.674Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:09.042Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T21:31:09.042Z] [2023-09-25T21:31:09.042Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:08.112Z] > git init /w/workspace/device-rest-go/138 # timeout=10 [2023-09-25T21:31:08.269Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-09-25T21:31:08.270Z] > git --version # timeout=10 [2023-09-25T21:31:08.287Z] > git --version # 'git version 2.25.1' [2023-09-25T21:31:08.290Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-25T21:31:08.431Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T21:31:09.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T21:31:09.338Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-25T21:31:09.338Z] 5eb5b503b376: Pulling fs layer [2023-09-25T21:31:09.338Z] 5c69ac0246d0: Pulling fs layer [2023-09-25T21:31:09.338Z] ec43610c2a17: Pulling fs layer [2023-09-25T21:31:09.338Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-25T21:31:09.338Z] 33b1e0a273af: Pulling fs layer [2023-09-25T21:31:09.338Z] 5d3b04190fa2: Pulling fs layer [2023-09-25T21:31:09.338Z] 2f39f015ded8: Pulling fs layer [2023-09-25T21:31:09.338Z] 33b1e0a273af: Waiting [2023-09-25T21:31:09.338Z] 5d3b04190fa2: Waiting [2023-09-25T21:31:09.338Z] 2f39f015ded8: Waiting [2023-09-25T21:31:09.338Z] 3a2ae6a8a46f: Waiting [2023-09-25T21:31:09.338Z] 5c69ac0246d0: Download complete [2023-09-25T21:31:09.338Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-25T21:31:09.338Z] 3a2ae6a8a46f: Download complete [2023-09-25T21:31:09.338Z] 33b1e0a273af: Verifying Checksum [2023-09-25T21:31:09.338Z] 33b1e0a273af: Download complete [2023-09-25T21:31:09.338Z] 5d3b04190fa2: Verifying Checksum [2023-09-25T21:31:09.338Z] 5d3b04190fa2: Download complete [2023-09-25T21:31:09.338Z] ec43610c2a17: Verifying Checksum [2023-09-25T21:31:09.338Z] ec43610c2a17: Download complete [2023-09-25T21:31:09.597Z] 5eb5b503b376: Verifying Checksum [2023-09-25T21:31:09.597Z] 5eb5b503b376: Download complete [2023-09-25T21:31:10.228Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-09-25T21:31:10.250Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-25T21:31:10.970Z] 5eb5b503b376: Pull complete [2023-09-25T21:31:10.970Z] 5c69ac0246d0: Pull complete [2023-09-25T21:31:11.029Z] Avoid second fetch [2023-09-25T21:31:11.030Z] Checking out Revision 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 (main) [2023-09-25T21:31:11.536Z] ec43610c2a17: Pull complete [2023-09-25T21:31:11.536Z] 3a2ae6a8a46f: Pull complete [2023-09-25T21:31:11.568Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#346)" [2023-09-25T21:31:11.794Z] 33b1e0a273af: Pull complete [2023-09-25T21:31:11.794Z] 5d3b04190fa2: Pull complete [2023-09-25T21:31:11.048Z] > git config core.sparsecheckout # timeout=10 [2023-09-25T21:31:11.118Z] > git checkout -f 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 # timeout=10 [2023-09-25T21:31:11.962Z] [2023-09-25T21:31:11.962Z] GitHub has been notified of this commit’s build result [2023-09-25T21:31:11.962Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T21:31:12.488Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-25T21:31:12.489Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T21:31:12.489Z] Dload Upload Total Spent Left Speed [2023-09-25T21:31:12.489Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 87937 0 --:--:-- --:--:-- --:--:-- 87937 [Pipeline] sh [2023-09-25T21:31:13.127Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-25T21:31:13.453Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-25T21:31:13.453Z] + sudo tee /etc/docker/daemon.new [2023-09-25T21:31:13.453Z] { [2023-09-25T21:31:13.453Z] "registry-mirrors": [ [2023-09-25T21:31:13.453Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-25T21:31:13.453Z] ], [2023-09-25T21:31:13.453Z] "bip": "10.250.0.254/24", [2023-09-25T21:31:13.453Z] "hosts": [ [2023-09-25T21:31:13.453Z] "tcp://0.0.0.0:5555", [2023-09-25T21:31:13.453Z] "unix:///var/run/docker.sock" [2023-09-25T21:31:13.453Z] ], [2023-09-25T21:31:13.453Z] "mtu": 1458, [2023-09-25T21:31:13.453Z] "selinux-enabled": true, [2023-09-25T21:31:13.453Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-25T21:31:13.453Z] } [Pipeline] sh [2023-09-25T21:31:13.779Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-25T21:31:14.110Z] + sudo service docker restart [2023-09-25T21:31:17.066Z] 2f39f015ded8: Pull complete [2023-09-25T21:31:17.066Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-25T21:31:17.066Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T21:31:17.066Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:31:17.142Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:31:17.178Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T21:31:21.931Z] $ docker top a3011e2c2daa7d1b19b8f5ba7ac922fbc0fb94f18da9e725c753ff574dda81a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:31:22.319Z] ---> job-cost.sh [2023-09-25T21:31:22.319Z] lf-activate-venv: SKIPPING [2023-09-25T21:31:22.319Z] INFO: No Stack... [2023-09-25T21:31:22.578Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T21:31:22.836Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T21:31:23.127Z] + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csvcut [2023-09-25T21:31:23.127Z] -d, -f6 [Pipeline] lock [2023-09-25T21:31:23.140Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [2023-09-25T21:31:23.146Z] Resource [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] did not exist. Created. [2023-09-25T21:31:23.146Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T21:31:23.443Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-25T21:31:23.472Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T21:31:23.481Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T21:31:23.501Z] $ docker stop --time=1 a3011e2c2daa7d1b19b8f5ba7ac922fbc0fb94f18da9e725c753ff574dda81a0 [2023-09-25T21:31:24.644Z] $ docker rm -f --volumes a3011e2c2daa7d1b19b8f5ba7ac922fbc0fb94f18da9e725c753ff574dda81a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T21:31:32.377Z] provisioning config files... [2023-09-25T21:31:32.400Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/138@tmp/config11910369584806753167tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:31:32.752Z] ---> docker-login.sh [2023-09-25T21:31:32.752Z] nexus3.edgexfoundry.org:10001 [2023-09-25T21:31:33.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:33.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:33.291Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:33.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:33.292Z] [2023-09-25T21:31:33.292Z] Login Succeeded [2023-09-25T21:31:33.292Z] nexus3.edgexfoundry.org:10002 [2023-09-25T21:31:33.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:33.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:33.561Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:33.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:33.561Z] [2023-09-25T21:31:33.561Z] Login Succeeded [2023-09-25T21:31:33.561Z] nexus3.edgexfoundry.org:10003 [2023-09-25T21:31:33.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:34.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:34.100Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:34.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:34.101Z] [2023-09-25T21:31:34.101Z] Login Succeeded [2023-09-25T21:31:34.101Z] nexus3.edgexfoundry.org:10004 [2023-09-25T21:31:34.101Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:34.369Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:34.369Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:34.369Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:34.369Z] [2023-09-25T21:31:34.369Z] Login Succeeded [2023-09-25T21:31:34.369Z] docker.io [2023-09-25T21:31:34.639Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:31:34.905Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:31:34.906Z] Configure a credential helper to remove this warning. See [2023-09-25T21:31:34.906Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:31:34.906Z] [2023-09-25T21:31:34.906Z] Login Succeeded [2023-09-25T21:31:34.906Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T21:31:34.919Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-25T21:31:35.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T21:31:35.167Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T21:31:35.175Z] ========================================================= [2023-09-25T21:31:35.175Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-25T21:31:35.175Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:31:35.535Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-25T21:31:35.535Z] Sending build context to Docker daemon 144.4kB [2023-09-25T21:31:35.805Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T21:31:35.805Z] Step 2/12 : FROM ${BASE} AS builder [2023-09-25T21:31:36.082Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-25T21:31:36.082Z] 9fda8d8052c6: Pulling fs layer [2023-09-25T21:31:36.082Z] 5d54e960e981: Pulling fs layer [2023-09-25T21:31:36.082Z] c4a7e357bf2a: Pulling fs layer [2023-09-25T21:31:36.082Z] f0e02332f6b5: Pulling fs layer [2023-09-25T21:31:36.082Z] cefa15bbcfad: Pulling fs layer [2023-09-25T21:31:36.082Z] 17808c966233: Pulling fs layer [2023-09-25T21:31:36.082Z] f4c1fc716caa: Pulling fs layer [2023-09-25T21:31:36.082Z] f0e02332f6b5: Waiting [2023-09-25T21:31:36.082Z] cefa15bbcfad: Waiting [2023-09-25T21:31:36.082Z] 17808c966233: Waiting [2023-09-25T21:31:36.082Z] f4c1fc716caa: Waiting [2023-09-25T21:31:36.082Z] 5d54e960e981: Verifying Checksum [2023-09-25T21:31:36.082Z] 5d54e960e981: Download complete [2023-09-25T21:31:36.082Z] f0e02332f6b5: Verifying Checksum [2023-09-25T21:31:36.082Z] f0e02332f6b5: Download complete [2023-09-25T21:31:36.082Z] cefa15bbcfad: Verifying Checksum [2023-09-25T21:31:36.082Z] cefa15bbcfad: Download complete [2023-09-25T21:31:36.082Z] 9fda8d8052c6: Verifying Checksum [2023-09-25T21:31:36.082Z] 9fda8d8052c6: Download complete [2023-09-25T21:31:36.682Z] f4c1fc716caa: Verifying Checksum [2023-09-25T21:31:36.682Z] f4c1fc716caa: Download complete [2023-09-25T21:31:37.266Z] 9fda8d8052c6: Pull complete [2023-09-25T21:31:37.870Z] 5d54e960e981: Pull complete [2023-09-25T21:31:38.463Z] c4a7e357bf2a: Verifying Checksum [2023-09-25T21:31:38.463Z] c4a7e357bf2a: Download complete [2023-09-25T21:31:39.052Z] 17808c966233: Verifying Checksum [2023-09-25T21:31:39.053Z] 17808c966233: Download complete [2023-09-25T21:31:49.149Z] c4a7e357bf2a: Pull complete [2023-09-25T21:31:49.149Z] f0e02332f6b5: Pull complete [2023-09-25T21:31:49.149Z] cefa15bbcfad: Pull complete [2023-09-25T21:31:57.380Z] 17808c966233: Pull complete [2023-09-25T21:31:57.658Z] f4c1fc716caa: Pull complete [2023-09-25T21:31:57.658Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-09-25T21:31:57.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-25T21:31:57.658Z] ---> ea914061e18c [2023-09-25T21:31:57.658Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-09-25T21:31:59.614Z] ---> Running in 9b34924d55d5 [2023-09-25T21:31:59.614Z] Removing intermediate container 9b34924d55d5 [2023-09-25T21:31:59.614Z] ---> 9e4a33842c53 [2023-09-25T21:31:59.614Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T21:31:59.614Z] ---> Running in 4565d795fc75 [2023-09-25T21:31:59.883Z] Removing intermediate container 4565d795fc75 [2023-09-25T21:31:59.883Z] ---> 74ac9df4d99f [2023-09-25T21:31:59.883Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T21:32:00.151Z] ---> Running in 3345c36e715f [2023-09-25T21:32:00.419Z] Removing intermediate container 3345c36e715f [2023-09-25T21:32:00.419Z] ---> 8259cfd759fd [2023-09-25T21:32:00.419Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T21:32:00.419Z] ---> Running in 552795d62e83 [2023-09-25T21:32:00.689Z] Removing intermediate container 552795d62e83 [2023-09-25T21:32:00.689Z] ---> d85a1b98c037 [2023-09-25T21:32:00.689Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T21:32:00.689Z] ---> Running in 28e1d673ce8c [2023-09-25T21:32:02.104Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T21:32:02.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T21:32:03.411Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-09-25T21:32:03.411Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-09-25T21:32:03.411Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-09-25T21:32:03.411Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-09-25T21:32:03.411Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T21:32:03.411Z] OK: 270 MiB in 56 packages [2023-09-25T21:32:04.385Z] Removing intermediate container 28e1d673ce8c [2023-09-25T21:32:04.385Z] ---> db534a8f545b [2023-09-25T21:32:04.385Z] Step 8/12 : WORKDIR /device-rest-go [2023-09-25T21:32:04.654Z] ---> Running in a4f6db96daa5 [2023-09-25T21:32:04.921Z] Removing intermediate container a4f6db96daa5 [2023-09-25T21:32:04.921Z] ---> 23012ca29e91 [2023-09-25T21:32:04.921Z] Step 9/12 : COPY go.mod vendor* ./ [2023-09-25T21:32:05.193Z] ---> 267a1e7cc007 [2023-09-25T21:32:05.193Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T21:32:05.463Z] ---> Running in 1838859fc64e [2023-09-25T21:33:13.357Z] Removing intermediate container 1838859fc64e [2023-09-25T21:33:13.357Z] ---> d88458e76b71 [2023-09-25T21:33:13.357Z] Step 11/12 : COPY . . [2023-09-25T21:33:13.357Z] ---> d12505a0e25f [2023-09-25T21:33:13.357Z] Step 12/12 : RUN $MAKE [2023-09-25T21:33:13.357Z] ---> Running in 1332e49461b2 [2023-09-25T21:33:13.625Z] noop [2023-09-25T21:33:14.210Z] Removing intermediate container 1332e49461b2 [2023-09-25T21:33:14.210Z] ---> b418e20dd897 [2023-09-25T21:33:14.210Z] Successfully built b418e20dd897 [2023-09-25T21:33:14.210Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:33:14.562Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T21:33:14.562Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:33:14.770Z] prd-ubuntu20.04-docker-arm64-4c-16g-7886 does not seem to be running inside a container [2023-09-25T21:33:14.837Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/138 -v /w/workspace/device-rest-go/138:/w/workspace/device-rest-go/138:rw,z -v /w/workspace/device-rest-go/138@tmp:/w/workspace/device-rest-go/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-25T21:33:15.961Z] $ docker top 530c2652676931de08259a38d10770ae724921975501b8d0eb97c6f78d5f38cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T21:33:16.785Z] + go version [2023-09-25T21:33:16.785Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-25T21:33:16.808Z] $ docker stop --time=1 530c2652676931de08259a38d10770ae724921975501b8d0eb97c6f78d5f38cc [2023-09-25T21:33:18.418Z] $ docker rm -f --volumes 530c2652676931de08259a38d10770ae724921975501b8d0eb97c6f78d5f38cc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:33:18.960Z] + docker inspect -f . ci-base-image-arm64 [2023-09-25T21:33:18.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:33:19.130Z] prd-ubuntu20.04-docker-arm64-4c-16g-7886 does not seem to be running inside a container [2023-09-25T21:33:19.195Z] $ 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/138 -v /w/workspace/device-rest-go/138:/w/workspace/device-rest-go/138:rw,z -v /w/workspace/device-rest-go/138@tmp:/w/workspace/device-rest-go/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-25T21:33:20.346Z] $ docker top 0f8b4486938fd10715c04d5806b77458b85aee4bf1833e9a05c87704d0c0a1bf -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T21:33:20.846Z] + git config --global --add safe.directory /w/workspace/device-rest-go/138 [Pipeline] fileExists [Pipeline] sh [2023-09-25T21:33:21.170Z] + make test [2023-09-25T21:33:21.437Z] go test ./... -coverprofile=coverage.out ./... [2023-09-25T21:33:25.704Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-09-25T21:35:02.382Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-09-25T21:35:02.382Z] ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements [2023-09-25T21:35:02.382Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-25T21:35:02.382Z] go vet ./... [2023-09-25T21:35:10.619Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-25T21:35:10.619Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-25T21:35:10.619Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-25T21:35:10.637Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-25T21:35:10.654Z] $ docker stop --time=1 0f8b4486938fd10715c04d5806b77458b85aee4bf1833e9a05c87704d0c0a1bf [2023-09-25T21:35:12.564Z] $ docker rm -f --volumes 0f8b4486938fd10715c04d5806b77458b85aee4bf1833e9a05c87704d0c0a1bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T21:35:13.704Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-25T21:35:13.725Z] Warning: overwriting stash ‘coverage-report’ [2023-09-25T21:35:14.151Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-25T21:35:14.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-25T21:35:14.863Z] + ls -al . [2023-09-25T21:35:14.863Z] total 184 [2023-09-25T21:35:14.863Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 21:33 . [2023-09-25T21:35:14.863Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 21:31 .. [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 151 Sep 25 21:31 .dockerignore [2023-09-25T21:35:14.863Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 25 21:31 .git [2023-09-25T21:35:14.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 21:31 .github [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 329 Sep 25 21:31 .gitignore [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 41 Sep 25 21:31 .golangci.yml [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 10300 Sep 25 21:31 Attribution.txt [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 15709 Sep 25 21:31 CHANGELOG.md [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 1578 Sep 25 21:31 Dockerfile [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 25 21:31 GOVERNANCE.md [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 680 Sep 25 21:31 Jenkinsfile [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 11340 Sep 25 21:31 LICENSE [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 2010 Sep 25 21:31 Makefile [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 620 Sep 25 21:31 OWNERS.md [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 15827 Sep 25 21:31 README.md [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 12 Sep 25 21:29 VERSION [2023-09-25T21:35:14.863Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 21:31 bin [2023-09-25T21:35:14.863Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 25 21:31 cmd [2023-09-25T21:35:14.863Z] -rw-r--r-- 1 jenkins jenkins 14499 Sep 25 21:34 coverage.out [2023-09-25T21:35:14.863Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 25 21:31 driver [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 3890 Sep 25 21:31 go.mod [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 35623 Sep 25 21:31 go.sum [2023-09-25T21:35:14.863Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 25 21:31 snap [2023-09-25T21:35:14.863Z] -rw-rw-r-- 1 jenkins jenkins 713 Sep 25 21:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:35:15.196Z] + 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=73bea07d0c9b5090e1f6a3014a45db50fae0ec58 --label arch=arm64 --label version=3.1.0-dev.18 . [2023-09-25T21:35:15.196Z] Sending build context to Docker daemon 159.7kB [2023-09-25T21:35:15.464Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-09-25T21:35:15.464Z] Step 2/25 : FROM ${BASE} AS builder [2023-09-25T21:35:15.464Z] ---> b418e20dd897 [2023-09-25T21:35:15.464Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-09-25T21:35:15.729Z] ---> Running in 96be0c7fec55 [2023-09-25T21:35:15.995Z] Removing intermediate container 96be0c7fec55 [2023-09-25T21:35:15.995Z] ---> 7bd56b97ea0d [2023-09-25T21:35:15.995Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-09-25T21:35:15.995Z] ---> Running in 2c8ba3afa49a [2023-09-25T21:35:16.577Z] Removing intermediate container 2c8ba3afa49a [2023-09-25T21:35:16.577Z] ---> bf9636b388fb [2023-09-25T21:35:16.577Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-09-25T21:35:16.577Z] ---> Running in 7dd98012ad2d [2023-09-25T21:35:16.844Z] Removing intermediate container 7dd98012ad2d [2023-09-25T21:35:16.845Z] ---> b2e0d0aa04de [2023-09-25T21:35:16.845Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-09-25T21:35:16.845Z] ---> Running in 509ceff564c7 [2023-09-25T21:35:17.110Z] Removing intermediate container 509ceff564c7 [2023-09-25T21:35:17.110Z] ---> 118308ce1e87 [2023-09-25T21:35:17.110Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-09-25T21:35:17.375Z] ---> Running in 81384014a045 [2023-09-25T21:35:18.332Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T21:35:18.595Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T21:35:20.006Z] OK: 270 MiB in 56 packages [2023-09-25T21:35:20.594Z] Removing intermediate container 81384014a045 [2023-09-25T21:35:20.595Z] ---> 950cc42bc6cb [2023-09-25T21:35:20.595Z] Step 8/25 : WORKDIR /device-rest-go [2023-09-25T21:35:20.595Z] ---> Running in a93a56a2d249 [2023-09-25T21:35:21.178Z] Removing intermediate container a93a56a2d249 [2023-09-25T21:35:21.178Z] ---> cf0bab15e765 [2023-09-25T21:35:21.178Z] Step 9/25 : COPY go.mod vendor* ./ [2023-09-25T21:35:21.448Z] ---> e5291615bc9e [2023-09-25T21:35:21.448Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-25T21:35:21.714Z] ---> Running in 0686382ff7b2 [2023-09-25T21:35:24.299Z] Removing intermediate container 0686382ff7b2 [2023-09-25T21:35:24.299Z] ---> b614e46358f1 [2023-09-25T21:35:24.299Z] Step 11/25 : COPY . . [2023-09-25T21:35:24.887Z] ---> 5f9728fa041f [2023-09-25T21:35:24.888Z] Step 12/25 : RUN $MAKE [2023-09-25T21:35:24.888Z] ---> Running in 6ba81398bea0 [2023-09-25T21:35:25.852Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.18 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.30" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-09-25T21:37:17.512Z] Removing intermediate container 6ba81398bea0 [2023-09-25T21:37:17.512Z] ---> eb402fd88b1f [2023-09-25T21:37:17.512Z] Step 13/25 : FROM alpine:3.18 [2023-09-25T21:37:17.512Z] 3.18: Pulling from library/alpine [2023-09-25T21:37:17.512Z] 9fda8d8052c6: Already exists [2023-09-25T21:37:17.512Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-25T21:37:17.512Z] Status: Downloaded newer image for alpine:3.18 [2023-09-25T21:37:17.512Z] ---> f6648c04cd6c [2023-09-25T21:37:17.512Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-25T21:37:17.512Z] ---> Running in 87e847f708b4 [2023-09-25T21:37:17.512Z] Removing intermediate container 87e847f708b4 [2023-09-25T21:37:17.512Z] ---> 0bf446b9f00d [2023-09-25T21:37:17.512Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-09-25T21:37:17.512Z] ---> Running in 31c4786fb7a6 [2023-09-25T21:37:17.512Z] Removing intermediate container 31c4786fb7a6 [2023-09-25T21:37:17.512Z] ---> cc2e1c45fc85 [2023-09-25T21:37:17.512Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-09-25T21:37:17.512Z] ---> Running in 99c527e2fb6b [2023-09-25T21:37:17.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-25T21:37:17.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-25T21:37:17.512Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-09-25T21:37:17.512Z] Executing busybox-1.36.1-r2.trigger [2023-09-25T21:37:17.512Z] OK: 8 MiB in 16 packages [2023-09-25T21:37:18.472Z] Removing intermediate container 99c527e2fb6b [2023-09-25T21:37:18.472Z] ---> bf71497dea15 [2023-09-25T21:37:18.472Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-09-25T21:37:20.412Z] ---> 7e1c5a392477 [2023-09-25T21:37:20.413Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-09-25T21:37:20.413Z] ---> 242791934a22 [2023-09-25T21:37:20.413Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-09-25T21:37:20.996Z] ---> 872c70a8b823 [2023-09-25T21:37:20.996Z] Step 20/25 : EXPOSE 59986 [2023-09-25T21:37:20.996Z] ---> Running in a73101173bb2 [2023-09-25T21:37:21.265Z] Removing intermediate container a73101173bb2 [2023-09-25T21:37:21.265Z] ---> bfa986f265df [2023-09-25T21:37:21.265Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-09-25T21:37:21.265Z] ---> Running in 79ae53d10f68 [2023-09-25T21:37:21.539Z] Removing intermediate container 79ae53d10f68 [2023-09-25T21:37:21.539Z] ---> b4c8c3c2f36e [2023-09-25T21:37:21.539Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-09-25T21:37:21.807Z] ---> Running in 3fd5cb409aaa [2023-09-25T21:37:22.087Z] Removing intermediate container 3fd5cb409aaa [2023-09-25T21:37:22.087Z] ---> 18d55d91bf50 [2023-09-25T21:37:22.087Z] Step 23/25 : LABEL arch=arm64 [2023-09-25T21:37:22.087Z] ---> Running in 613b68e3818f [2023-09-25T21:37:22.355Z] Removing intermediate container 613b68e3818f [2023-09-25T21:37:22.355Z] ---> 0cd59619bc02 [2023-09-25T21:37:22.355Z] Step 24/25 : LABEL git_sha=73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [2023-09-25T21:37:22.355Z] ---> Running in ee1e79b6978a [2023-09-25T21:37:22.625Z] Removing intermediate container ee1e79b6978a [2023-09-25T21:37:22.625Z] ---> 98d332489d4f [2023-09-25T21:37:22.625Z] Step 25/25 : LABEL version=3.1.0-dev.18 [2023-09-25T21:37:22.892Z] ---> Running in 273b58d42bf4 [2023-09-25T21:37:23.158Z] Removing intermediate container 273b58d42bf4 [2023-09-25T21:37:23.158Z] ---> 12501061d35f [2023-09-25T21:37:23.158Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-25T21:37:23.158Z] Successfully built 12501061d35f [2023-09-25T21:37:23.158Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T21:37:23.284Z] provisioning config files... [2023-09-25T21:37:23.298Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/138@tmp/config9345957614843851422tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:37:23.627Z] ---> docker-login.sh [2023-09-25T21:37:23.627Z] nexus3.edgexfoundry.org:10001 [2023-09-25T21:37:23.627Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:37:23.893Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:37:23.893Z] Configure a credential helper to remove this warning. See [2023-09-25T21:37:23.893Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:37:23.893Z] [2023-09-25T21:37:23.893Z] Login Succeeded [2023-09-25T21:37:23.893Z] nexus3.edgexfoundry.org:10002 [2023-09-25T21:37:24.160Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:37:24.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:37:24.160Z] Configure a credential helper to remove this warning. See [2023-09-25T21:37:24.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:37:24.160Z] [2023-09-25T21:37:24.160Z] Login Succeeded [2023-09-25T21:37:24.160Z] nexus3.edgexfoundry.org:10003 [2023-09-25T21:37:24.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:37:24.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:37:24.692Z] Configure a credential helper to remove this warning. See [2023-09-25T21:37:24.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:37:24.692Z] [2023-09-25T21:37:24.692Z] Login Succeeded [2023-09-25T21:37:24.692Z] nexus3.edgexfoundry.org:10004 [2023-09-25T21:37:24.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:37:24.959Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:37:24.960Z] Configure a credential helper to remove this warning. See [2023-09-25T21:37:24.960Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:37:24.960Z] [2023-09-25T21:37:24.960Z] Login Succeeded [2023-09-25T21:37:24.960Z] docker.io [2023-09-25T21:37:25.225Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-25T21:37:25.491Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-25T21:37:25.491Z] Configure a credential helper to remove this warning. See [2023-09-25T21:37:25.491Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-25T21:37:25.491Z] [2023-09-25T21:37:25.491Z] Login Succeeded [2023-09-25T21:37:25.491Z] ---> docker-login.sh ends [Pipeline] } [2023-09-25T21:37:25.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T21:37:25.546Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-25T21:37:25.570Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-09-25T21:37:25.570Z] 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [2023-09-25T21:37:25.570Z] latest [2023-09-25T21:37:25.570Z] 3.1.0-dev.18 [2023-09-25T21:37:25.570Z] 73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [2023-09-25T21:37:25.570Z] main [2023-09-25T21:37:25.570Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:25.922Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:26.264Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [2023-09-25T21:37:26.264Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-25T21:37:26.264Z] b097f07e066a: Preparing [2023-09-25T21:37:26.264Z] 06dc307d7d04: Preparing [2023-09-25T21:37:26.264Z] 50986f9461dc: Preparing [2023-09-25T21:37:26.264Z] 1b69808d7730: Preparing [2023-09-25T21:37:26.264Z] b2191e2be29d: Preparing [2023-09-25T21:37:26.264Z] b2191e2be29d: Layer already exists [2023-09-25T21:37:26.528Z] b097f07e066a: Pushed [2023-09-25T21:37:26.528Z] 1b69808d7730: Pushed [2023-09-25T21:37:26.528Z] 06dc307d7d04: Pushed [2023-09-25T21:37:31.854Z] 50986f9461dc: Pushed [2023-09-25T21:37:31.854Z] 73bea07d0c9b5090e1f6a3014a45db50fae0ec58: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:32.188Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:32.518Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-25T21:37:32.518Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-25T21:37:32.518Z] b097f07e066a: Preparing [2023-09-25T21:37:32.518Z] 06dc307d7d04: Preparing [2023-09-25T21:37:32.518Z] 50986f9461dc: Preparing [2023-09-25T21:37:32.518Z] 1b69808d7730: Preparing [2023-09-25T21:37:32.518Z] b2191e2be29d: Preparing [2023-09-25T21:37:32.518Z] b2191e2be29d: Layer already exists [2023-09-25T21:37:32.518Z] b097f07e066a: Layer already exists [2023-09-25T21:37:32.518Z] 50986f9461dc: Layer already exists [2023-09-25T21:37:32.518Z] 06dc307d7d04: Layer already exists [2023-09-25T21:37:32.518Z] 1b69808d7730: Layer already exists [2023-09-25T21:37:32.518Z] latest: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:32.855Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:33.198Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.18 [2023-09-25T21:37:33.198Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-25T21:37:33.198Z] b097f07e066a: Preparing [2023-09-25T21:37:33.198Z] 06dc307d7d04: Preparing [2023-09-25T21:37:33.198Z] 50986f9461dc: Preparing [2023-09-25T21:37:33.198Z] 1b69808d7730: Preparing [2023-09-25T21:37:33.198Z] b2191e2be29d: Preparing [2023-09-25T21:37:33.198Z] b2191e2be29d: Layer already exists [2023-09-25T21:37:33.198Z] 06dc307d7d04: Layer already exists [2023-09-25T21:37:33.198Z] 50986f9461dc: Layer already exists [2023-09-25T21:37:33.198Z] 1b69808d7730: Layer already exists [2023-09-25T21:37:33.198Z] b097f07e066a: Layer already exists [2023-09-25T21:37:33.198Z] 3.1.0-dev.18: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:33.531Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:33.861Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [2023-09-25T21:37:33.861Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-25T21:37:33.861Z] b097f07e066a: Preparing [2023-09-25T21:37:33.861Z] 06dc307d7d04: Preparing [2023-09-25T21:37:33.861Z] 50986f9461dc: Preparing [2023-09-25T21:37:33.861Z] 1b69808d7730: Preparing [2023-09-25T21:37:33.861Z] b2191e2be29d: Preparing [2023-09-25T21:37:33.861Z] b2191e2be29d: Layer already exists [2023-09-25T21:37:33.861Z] 06dc307d7d04: Layer already exists [2023-09-25T21:37:33.861Z] 1b69808d7730: Layer already exists [2023-09-25T21:37:33.861Z] b097f07e066a: Layer already exists [2023-09-25T21:37:33.861Z] 50986f9461dc: Layer already exists [2023-09-25T21:37:33.861Z] 73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:34.199Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:34.533Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-09-25T21:37:34.533Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-09-25T21:37:34.533Z] b097f07e066a: Preparing [2023-09-25T21:37:34.533Z] 06dc307d7d04: Preparing [2023-09-25T21:37:34.533Z] 50986f9461dc: Preparing [2023-09-25T21:37:34.533Z] 1b69808d7730: Preparing [2023-09-25T21:37:34.533Z] b2191e2be29d: Preparing [2023-09-25T21:37:34.533Z] b2191e2be29d: Layer already exists [2023-09-25T21:37:34.533Z] b097f07e066a: Layer already exists [2023-09-25T21:37:34.533Z] 06dc307d7d04: Layer already exists [2023-09-25T21:37:34.533Z] 50986f9461dc: Layer already exists [2023-09-25T21:37:34.533Z] 1b69808d7730: Layer already exists [2023-09-25T21:37:34.533Z] main: digest: sha256:85f46bd058e26a1b21533d741e7a2b9f877de0b94959a66b2de861d6a6391c39 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-09-25T21:37:34.582Z] ===================================================== [Pipeline] echo [2023-09-25T21:37:34.589Z] taggedImages: [2023-09-25T21:37:34.589Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [2023-09-25T21:37:34.589Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-09-25T21:37:34.589Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.18 [2023-09-25T21:37:34.589Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:73bea07d0c9b5090e1f6a3014a45db50fae0ec58-3.1.0-dev.18 [2023-09-25T21:37:34.589Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:35.024Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T21:37:35.025Z] [2023-09-25T21:37:35.025Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:37:35.364Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T21:37:35.364Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-25T21:37:35.364Z] 8998bd30e6a1: Pulling fs layer [2023-09-25T21:37:35.364Z] 04944245beec: Pulling fs layer [2023-09-25T21:37:35.364Z] 699f458cf7ca: Pulling fs layer [2023-09-25T21:37:35.364Z] 765212b225bb: Pulling fs layer [2023-09-25T21:37:35.365Z] f23df028b6ca: Pulling fs layer [2023-09-25T21:37:35.365Z] d65c8cfc05b1: Pulling fs layer [2023-09-25T21:37:35.365Z] 2437ff75d9bd: Pulling fs layer [2023-09-25T21:37:35.365Z] f23df028b6ca: Waiting [2023-09-25T21:37:35.365Z] d65c8cfc05b1: Waiting [2023-09-25T21:37:35.365Z] 2437ff75d9bd: Waiting [2023-09-25T21:37:35.365Z] 765212b225bb: Waiting [2023-09-25T21:37:35.651Z] 04944245beec: Verifying Checksum [2023-09-25T21:37:35.651Z] 04944245beec: Download complete [2023-09-25T21:37:35.651Z] 765212b225bb: Verifying Checksum [2023-09-25T21:37:35.651Z] 765212b225bb: Download complete [2023-09-25T21:37:35.651Z] f23df028b6ca: Verifying Checksum [2023-09-25T21:37:35.651Z] f23df028b6ca: Download complete [2023-09-25T21:37:35.651Z] d65c8cfc05b1: Download complete [2023-09-25T21:37:35.651Z] 699f458cf7ca: Verifying Checksum [2023-09-25T21:37:35.651Z] 699f458cf7ca: Download complete [2023-09-25T21:37:36.264Z] 8998bd30e6a1: Verifying Checksum [2023-09-25T21:37:36.264Z] 8998bd30e6a1: Download complete [2023-09-25T21:37:38.234Z] 2437ff75d9bd: Verifying Checksum [2023-09-25T21:37:38.234Z] 2437ff75d9bd: Download complete [2023-09-25T21:37:40.176Z] 8998bd30e6a1: Pull complete [2023-09-25T21:37:40.444Z] 04944245beec: Pull complete [2023-09-25T21:37:41.852Z] 699f458cf7ca: Pull complete [2023-09-25T21:37:42.119Z] 765212b225bb: Pull complete [2023-09-25T21:37:45.458Z] f23df028b6ca: Pull complete [2023-09-25T21:37:45.723Z] d65c8cfc05b1: Pull complete [2023-09-25T21:38:00.725Z] 2437ff75d9bd: Pull complete [2023-09-25T21:38:00.725Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-25T21:38:00.725Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-25T21:38:00.726Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:38:01.007Z] prd-ubuntu20.04-docker-arm64-4c-16g-7886 does not seem to be running inside a container [2023-09-25T21:38:01.073Z] $ 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/138 -v /w/workspace/device-rest-go/138:/w/workspace/device-rest-go/138:rw,z -v /w/workspace/device-rest-go/138@tmp:/w/workspace/device-rest-go/138@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-25T21:38:03.478Z] $ docker top 8c2ca7570035225d038504f84128ef5bc549ba4c17172a5a760c969ea5a11129 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:38:03.995Z] ---> job-cost.sh [2023-09-25T21:38:04.260Z] lf-activate-venv: SKIPPING [2023-09-25T21:38:04.260Z] INFO: No Stack... [2023-09-25T21:38:04.525Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-25T21:38:05.252Z] INFO: Archiving Costs [Pipeline] sh [2023-09-25T21:38:05.883Z] + cut -d, -f6 [2023-09-25T21:38:05.883Z] + cat /w/workspace/device-rest-go/138/archives/cost.csv [Pipeline] lock [2023-09-25T21:38:05.942Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [2023-09-25T21:38:05.952Z] Resource [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] did not exist. Created. [2023-09-25T21:38:05.952Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T21:38:06.597Z] /w/workspace/device-rest-go/138@tmp/durable-cfbbc79e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-25T21:38:06.924Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-25T21:38:06.938Z] Warning: overwriting stash ‘stack-cost’ [2023-09-25T21:38:06.986Z] Stashed 1 file(s) [Pipeline] } [2023-09-25T21:38:06.995Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-138-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-25T21:38:07.025Z] $ docker stop --time=1 8c2ca7570035225d038504f84128ef5bc549ba4c17172a5a760c969ea5a11129 [2023-09-25T21:38:08.498Z] $ docker rm -f --volumes 8c2ca7570035225d038504f84128ef5bc549ba4c17172a5a760c969ea5a11129 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-09-25T21:38:08.888Z] provisioning config files... [2023-09-25T21:38:08.894Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5820192560417947862tmp [Pipeline] { [Pipeline] sh [2023-09-25T21:38:09.181Z] + set +x [2023-09-25T21:38:09.181Z] + curl -s https://codecov.io/bash [2023-09-25T21:38:09.181Z] + bash -s -- [2023-09-25T21:38:09.181Z] [2023-09-25T21:38:09.181Z] _____ _ [2023-09-25T21:38:09.181Z] / ____| | | [2023-09-25T21:38:09.181Z] | | ___ __| | ___ ___ _____ __ [2023-09-25T21:38:09.181Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-25T21:38:09.181Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-25T21:38:09.181Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-25T21:38:09.181Z] Bash-1.0.6 [2023-09-25T21:38:09.181Z] [2023-09-25T21:38:09.181Z] [2023-09-25T21:38:09.181Z] ==> git version 2.25.1 found [2023-09-25T21:38:09.181Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-09-25T21:38:09.181Z] Release-Date: 2020-01-08 [2023-09-25T21:38:09.181Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-09-25T21:38:09.181Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-25T21:38:09.181Z] ==> Jenkins CI detected. [2023-09-25T21:38:09.181Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-09-25T21:38:09.181Z] project root: . [2023-09-25T21:38:09.181Z] --> token set from env [2023-09-25T21:38:09.181Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-25T21:38:09.181Z] ==> Running gcov in . (disable via -X gcov) [2023-09-25T21:38:09.181Z] ==> Python coveragepy not found [2023-09-25T21:38:09.181Z] ==> Searching for coverage reports in: [2023-09-25T21:38:09.181Z] + . [2023-09-25T21:38:09.181Z] -> Found 1 reports [2023-09-25T21:38:09.181Z] ==> Detecting git/mercurial file structure [2023-09-25T21:38:09.439Z] ==> Reading reports [2023-09-25T21:38:09.439Z] + ./coverage.out bytes=14499 [2023-09-25T21:38:09.439Z] ==> Appending adjustments [2023-09-25T21:38:09.439Z] https://docs.codecov.io/docs/fixing-reports [2023-09-25T21:38:09.439Z] + Found adjustments [2023-09-25T21:38:09.439Z] ==> Gzipping contents [2023-09-25T21:38:09.439Z] 4.0K /tmp/codecov.A6ljDo.gz [2023-09-25T21:38:09.439Z] ==> Uploading reports [2023-09-25T21:38:09.439Z] url: https://codecov.io [2023-09-25T21:38:09.439Z] query: branch=main&commit=73bea07d0c9b5090e1f6a3014a45db50fae0ec58&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-25T21:38:09.439Z] -> Pinging Codecov [2023-09-25T21:38:09.439Z] 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=73bea07d0c9b5090e1f6a3014a45db50fae0ec58&build=138&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F138%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-09-25T21:38:09.439Z] -> Uploading to [2023-09-25T21:38:09.439Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-25/4E5D53B4F1F92C436F7061BF334D961C/73bea07d0c9b5090e1f6a3014a45db50fae0ec58/9a8dd158-4f8d-443d-a5b9-22fe8eb259bc.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230925%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230925T213809Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2ea38ec789b5ad6988306a3f6c34d40e065f5fbf0910584cda82c7843755b1c7 [2023-09-25T21:38:09.439Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-25T21:38:09.439Z] Dload Upload Total Spent Left Speed [2023-09-25T21:38:09.699Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 11280 --:--:-- --:--:-- --:--:-- 11229 100 2493 0 0 100 2493 0 11129 --:--:-- --:--:-- --:--:-- 11129 [2023-09-25T21:38:09.699Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] } [2023-09-25T21:38:09.706Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-09-25T21:38:09.924Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-09-25T21:38:09.933Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:38:10.243Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T21:38:10.243Z] [2023-09-25T21:38:10.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:38:10.542Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T21:38:10.542Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-09-25T21:38:10.542Z] df9b9388f04a: Pulling fs layer [2023-09-25T21:38:10.542Z] 52dc419b0ee2: Pulling fs layer [2023-09-25T21:38:10.542Z] 25bc292e5bac: Pulling fs layer [2023-09-25T21:38:10.542Z] 114826534d7a: Pulling fs layer [2023-09-25T21:38:10.542Z] 4657fd5d0bcf: Pulling fs layer [2023-09-25T21:38:10.542Z] 6ad1cebc031e: Pulling fs layer [2023-09-25T21:38:10.542Z] 8a3aa393b2d8: Pulling fs layer [2023-09-25T21:38:10.542Z] 4657fd5d0bcf: Waiting [2023-09-25T21:38:10.542Z] 6ad1cebc031e: Waiting [2023-09-25T21:38:10.542Z] 114826534d7a: Waiting [2023-09-25T21:38:10.542Z] 8a3aa393b2d8: Waiting [2023-09-25T21:38:10.542Z] 25bc292e5bac: Verifying Checksum [2023-09-25T21:38:10.542Z] 25bc292e5bac: Download complete [2023-09-25T21:38:10.542Z] 52dc419b0ee2: Verifying Checksum [2023-09-25T21:38:10.542Z] 52dc419b0ee2: Download complete [2023-09-25T21:38:10.542Z] 4657fd5d0bcf: Verifying Checksum [2023-09-25T21:38:10.542Z] 4657fd5d0bcf: Download complete [2023-09-25T21:38:10.542Z] df9b9388f04a: Download complete [2023-09-25T21:38:10.804Z] 6ad1cebc031e: Verifying Checksum [2023-09-25T21:38:10.804Z] 6ad1cebc031e: Download complete [2023-09-25T21:38:10.804Z] df9b9388f04a: Pull complete [2023-09-25T21:38:10.804Z] 52dc419b0ee2: Pull complete [2023-09-25T21:38:10.804Z] 25bc292e5bac: Pull complete [2023-09-25T21:38:11.372Z] 114826534d7a: Verifying Checksum [2023-09-25T21:38:11.372Z] 114826534d7a: Download complete [2023-09-25T21:38:11.372Z] 8a3aa393b2d8: Verifying Checksum [2023-09-25T21:38:11.372Z] 8a3aa393b2d8: Download complete [2023-09-25T21:38:14.425Z] 114826534d7a: Pull complete [2023-09-25T21:38:14.762Z] 4657fd5d0bcf: Pull complete [2023-09-25T21:38:15.187Z] 6ad1cebc031e: Pull complete [2023-09-25T21:38:17.337Z] 8a3aa393b2d8: Pull complete [2023-09-25T21:38:17.337Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-09-25T21:38:17.337Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-09-25T21:38:17.337Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:38:17.423Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:38:17.457Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-09-25T21:38:22.864Z] $ docker top 9f24ae8c92bd4e8dbcfb48d7931022d13106b221d224b68306f3ea176372f1da -eo pid,comm [Pipeline] { [Pipeline] echo [2023-09-25T21:38:22.917Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-09-25T21:38:23.195Z] + set -o pipefail [2023-09-25T21:38:23.195Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-09-25T21:38:28.460Z] [2023-09-25T21:38:28.460Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-09-25T21:38:28.460Z] [2023-09-25T21:38:28.460Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/0fb77234-63b4-4d4d-9b25-62b62b2136be [2023-09-25T21:38:28.460Z] [2023-09-25T21:38:28.460Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-09-25T21:38:28.460Z] [2023-09-25T21:38:28.460Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-09-25T21:38:28.460Z] [2023-09-25T21:38:28.460Z] [2023-09-25T21:38:28.460Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-09-25T21:38:28.460Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-09-25T21:38:28.460Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-09-25T21:38:28.477Z] $ docker stop --time=1 9f24ae8c92bd4e8dbcfb48d7931022d13106b221d224b68306f3ea176372f1da [2023-09-25T21:38:32.883Z] $ docker rm -f --volumes 9f24ae8c92bd4e8dbcfb48d7931022d13106b221d224b68306f3ea176372f1da [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-25T21:38:33.641Z] + git log --format=format:%s -1 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 [Pipeline] sh [2023-09-25T21:38:33.931Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T21:38:33.931Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:38:34.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T21:38:34.227Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:38:34.305Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:38:34.339Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T21:38:34.774Z] $ docker top 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T21:38:34.848Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T21:38:34.848Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T21:38:34.954Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T21:38:34.964Z] $ docker exec 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d ssh-agent [2023-09-25T21:38:35.075Z] SSH_AUTH_SOCK=/tmp/ssh-MXl4J45C1dXQ/agent.32 [2023-09-25T21:38:35.075Z] SSH_AGENT_PID=38 [2023-09-25T21:38:35.090Z] Running ssh-add (command line suppressed) [2023-09-25T21:38:35.206Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10994992960839959635.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10994992960839959635.key) [2023-09-25T21:38:35.213Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T21:38:35.502Z] + git semver tag [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,702 [run_tag] DEBUG tag force:False [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,703 [check_head_tag] DEBUG check head tag [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,704 [execute] INFO git cat-file --batch-check [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,704 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,709 [execute] INFO git cat-file --batch [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,710 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,722 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,722 [execute] INFO git tag -a v3.1.0-dev.18 -m v3.1.0-dev.18 [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,722 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.18', '-m', 'v3.1.0-dev.18'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-25T21:38:35.761Z] 2023-09-25 21:38:35,727 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-25T21:38:35.761Z] 3.1.0-dev.18 [Pipeline] } [2023-09-25T21:38:35.777Z] $ docker exec --env ******** --env ******** 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d ssh-agent -k [2023-09-25T21:38:35.866Z] unset SSH_AUTH_SOCK; [2023-09-25T21:38:35.867Z] unset SSH_AGENT_PID; [2023-09-25T21:38:35.867Z] echo Agent pid 38 killed; [2023-09-25T21:38:35.869Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T21:38:36.166Z] + git semver [Pipeline] } [2023-09-25T21:38:36.445Z] $ docker stop --time=1 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d [2023-09-25T21:38:37.806Z] $ docker rm -f --volumes 382dc5dd44c591dac8a4a81aac0fe8786787c967fb122f42db25bc4b2db5585d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:38:38.172Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T21:38:38.172Z] [2023-09-25T21:38:38.172Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:38:38.468Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T21:38:38.468Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-09-25T21:38:38.468Z] ab5ef0e58194: Pulling fs layer [2023-09-25T21:38:38.468Z] 9712f1f96733: Pulling fs layer [2023-09-25T21:38:38.468Z] 63f879dbbcfc: Pulling fs layer [2023-09-25T21:38:38.468Z] 0d9ebad4ef96: Pulling fs layer [2023-09-25T21:38:38.468Z] e9a5061849ea: Pulling fs layer [2023-09-25T21:38:38.468Z] d747dcd14b5f: Pulling fs layer [2023-09-25T21:38:38.468Z] 2de7ff778b66: Pulling fs layer [2023-09-25T21:38:38.468Z] 0d9ebad4ef96: Waiting [2023-09-25T21:38:38.468Z] d747dcd14b5f: Waiting [2023-09-25T21:38:38.468Z] e9a5061849ea: Waiting [2023-09-25T21:38:38.468Z] 2de7ff778b66: Waiting [2023-09-25T21:38:38.468Z] 9712f1f96733: Verifying Checksum [2023-09-25T21:38:38.468Z] 9712f1f96733: Download complete [2023-09-25T21:38:38.728Z] 63f879dbbcfc: Verifying Checksum [2023-09-25T21:38:38.728Z] 63f879dbbcfc: Download complete [2023-09-25T21:38:38.988Z] e9a5061849ea: Verifying Checksum [2023-09-25T21:38:38.988Z] e9a5061849ea: Download complete [2023-09-25T21:38:38.988Z] 0d9ebad4ef96: Verifying Checksum [2023-09-25T21:38:38.988Z] 0d9ebad4ef96: Download complete [2023-09-25T21:38:38.988Z] d747dcd14b5f: Verifying Checksum [2023-09-25T21:38:38.988Z] d747dcd14b5f: Download complete [2023-09-25T21:38:38.988Z] ab5ef0e58194: Verifying Checksum [2023-09-25T21:38:38.988Z] ab5ef0e58194: Download complete [2023-09-25T21:38:38.988Z] 2de7ff778b66: Verifying Checksum [2023-09-25T21:38:38.988Z] 2de7ff778b66: Download complete [2023-09-25T21:38:41.517Z] ab5ef0e58194: Pull complete [2023-09-25T21:38:41.517Z] 9712f1f96733: Pull complete [2023-09-25T21:38:42.450Z] 63f879dbbcfc: Pull complete [2023-09-25T21:38:46.631Z] 0d9ebad4ef96: Pull complete [2023-09-25T21:38:46.631Z] e9a5061849ea: Pull complete [2023-09-25T21:38:46.631Z] d747dcd14b5f: Pull complete [2023-09-25T21:38:47.198Z] 2de7ff778b66: Pull complete [2023-09-25T21:38:47.457Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-09-25T21:38:47.457Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-09-25T21:38:47.457Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:38:47.542Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:38:47.582Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-09-25T21:38:53.847Z] $ docker top b2081afc522fa5cd73b13c075c7980c01af3e10311a9f94f6245c2e14851b237 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-09-25T21:38:53.911Z] provisioning config files... [2023-09-25T21:38:53.918Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16316742722009870391tmp [2023-09-25T21:38:53.928Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5000499926207900214tmp [2023-09-25T21:38:53.938Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16118528580417250898tmp [Pipeline] { [Pipeline] echo [2023-09-25T21:38:53.955Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:38:54.238Z] ---> sigul-configuration.sh [2023-09-25T21:38:54.239Z] gpg: directory `/root/.gnupg' created [2023-09-25T21:38:54.239Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-09-25T21:38:54.239Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-09-25T21:38:54.239Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-09-25T21:38:54.239Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-09-25T21:38:54.239Z] gpg: CAST5 encrypted data [2023-09-25T21:38:54.239Z] gpg: encrypted with 1 passphrase [2023-09-25T21:38:54.239Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-09-25T21:38:54.528Z] + mkdir /home/jenkins [2023-09-25T21:38:54.528Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-09-25T21:38:54.816Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-09-25T21:38:54.824Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:38:55.111Z] ---> sigul-install.sh [2023-09-25T21:38:55.111Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-09-25T21:38:55.398Z] + git tag --list [2023-09-25T21:38:55.398Z] v1.0.0 [2023-09-25T21:38:55.398Z] v1.1.0 [2023-09-25T21:38:55.398Z] v1.1.1 [2023-09-25T21:38:55.398Z] v1.1.2 [2023-09-25T21:38:55.398Z] v1.2.0 [2023-09-25T21:38:55.398Z] v1.2.1 [2023-09-25T21:38:55.398Z] v2.0.0 [2023-09-25T21:38:55.398Z] v2.1.0 [2023-09-25T21:38:55.398Z] v2.1.1 [2023-09-25T21:38:55.398Z] v2.2.0 [2023-09-25T21:38:55.398Z] v2.3.0 [2023-09-25T21:38:55.398Z] v3.0 [2023-09-25T21:38:55.398Z] v3.0.0 [2023-09-25T21:38:55.398Z] v3.1.0-dev.1 [2023-09-25T21:38:55.398Z] v3.1.0-dev.10 [2023-09-25T21:38:55.399Z] v3.1.0-dev.11 [2023-09-25T21:38:55.399Z] v3.1.0-dev.12 [2023-09-25T21:38:55.399Z] v3.1.0-dev.13 [2023-09-25T21:38:55.399Z] v3.1.0-dev.14 [2023-09-25T21:38:55.399Z] v3.1.0-dev.15 [2023-09-25T21:38:55.399Z] v3.1.0-dev.16 [2023-09-25T21:38:55.399Z] v3.1.0-dev.17 [2023-09-25T21:38:55.399Z] v3.1.0-dev.18 [2023-09-25T21:38:55.399Z] v3.1.0-dev.2 [2023-09-25T21:38:55.399Z] v3.1.0-dev.3 [2023-09-25T21:38:55.399Z] v3.1.0-dev.4 [2023-09-25T21:38:55.399Z] v3.1.0-dev.5 [2023-09-25T21:38:55.399Z] v3.1.0-dev.6 [2023-09-25T21:38:55.399Z] v3.1.0-dev.7 [2023-09-25T21:38:55.399Z] v3.1.0-dev.8 [2023-09-25T21:38:55.399Z] v3.1.0-dev.9 [Pipeline] sh [2023-09-25T21:38:55.688Z] + lftools sign git-tag v3.1.0-dev.18 [2023-09-25T21:38:56.259Z] Signing Git tag with Sigul... [2023-09-25T21:38:56.259Z] Signing v3.1.0-dev.18 [Pipeline] echo [2023-09-25T21:38:56.527Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:38:56.815Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-09-25T21:38:56.822Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-09-25T21:38:56.849Z] $ docker stop --time=1 b2081afc522fa5cd73b13c075c7980c01af3e10311a9f94f6245c2e14851b237 [2023-09-25T21:38:58.225Z] $ docker rm -f --volumes b2081afc522fa5cd73b13c075c7980c01af3e10311a9f94f6245c2e14851b237 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-09-25T21:38:58.628Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T21:38:58.628Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:38:58.929Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T21:38:58.929Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:38:59.003Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:38:59.038Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T21:38:59.350Z] $ docker top 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f -eo pid,comm [2023-09-25T21:38:59.391Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-25T21:38:59.391Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T21:38:59.429Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T21:38:59.429Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T21:38:59.543Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T21:38:59.553Z] $ docker exec 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f ssh-agent [2023-09-25T21:38:59.662Z] SSH_AUTH_SOCK=/tmp/ssh-aHIU1fvGECuF/agent.32 [2023-09-25T21:38:59.662Z] SSH_AGENT_PID=38 [2023-09-25T21:38:59.667Z] Running ssh-add (command line suppressed) [2023-09-25T21:38:59.771Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6528915508471558152.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6528915508471558152.key) [2023-09-25T21:38:59.776Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T21:39:00.059Z] + git semver bump pre [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,207 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,207 [bump_version] DEBUG bumping version:3.1.0-dev.18 on axis:pre with prefix:dev [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,207 [bump_version] DEBUG bumped version:3.1.0-dev.19 [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,208 [write_version] DEBUG write version:3.1.0-dev.19 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,208 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,208 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,210 [execute] INFO git cat-file --batch-check [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,210 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,214 [execute] INFO git cat-file --batch [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,215 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T21:39:00.320Z] 2023-09-25 21:39:00,219 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-25T21:39:00.320Z] 3.1.0-dev.19 [Pipeline] } [2023-09-25T21:39:00.336Z] $ docker exec --env ******** --env ******** 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f ssh-agent -k [2023-09-25T21:39:00.431Z] unset SSH_AUTH_SOCK; [2023-09-25T21:39:00.431Z] unset SSH_AGENT_PID; [2023-09-25T21:39:00.431Z] echo Agent pid 38 killed; [2023-09-25T21:39:00.433Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T21:39:00.736Z] + git semver [Pipeline] } [2023-09-25T21:39:01.015Z] $ docker stop --time=1 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f [2023-09-25T21:39:02.281Z] $ docker rm -f --volumes 895d9766eb08af592a4c2b9523fcfd2139423f30a47f4c7532502e3f43ccf58f [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-25T21:39:02.602Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-25T21:39:02.602Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:39:02.896Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-25T21:39:02.896Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:39:02.971Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:39:03.011Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-09-25T21:39:03.347Z] $ docker top 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc -eo pid,comm [2023-09-25T21:39:03.386Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-09-25T21:39:03.386Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-25T21:39:03.424Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-25T21:39:03.424Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-25T21:39:03.526Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-25T21:39:03.536Z] $ docker exec 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc ssh-agent [2023-09-25T21:39:03.627Z] SSH_AUTH_SOCK=/tmp/ssh-pWhhk3VDYETU/agent.33 [2023-09-25T21:39:03.627Z] SSH_AGENT_PID=39 [2023-09-25T21:39:03.632Z] Running ssh-add (command line suppressed) [2023-09-25T21:39:03.734Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15025873618780901123.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15025873618780901123.key) [2023-09-25T21:39:03.739Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-25T21:39:04.027Z] + git semver push [2023-09-25T21:39:04.285Z] 2023-09-25 21:39:04,205 [run_push] DEBUG push [2023-09-25T21:39:04.285Z] 2023-09-25 21:39:04,205 [execute] INFO git cat-file --batch-check [2023-09-25T21:39:04.285Z] 2023-09-25 21:39:04,206 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-09-25T21:39:04.285Z] 2023-09-25 21:39:04,209 [execute] INFO git rev-list 742a2a9ad0213b7997002540ca4424c719c85ce3 -- [2023-09-25T21:39:04.285Z] 2023-09-25 21:39:04,209 [execute] DEBUG Popen(['git', 'rev-list', '742a2a9ad0213b7997002540ca4424c719c85ce3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-25T21:39:04.285Z] 2023-09-25 21:39:04,214 [execute] INFO git fetch -v origin [2023-09-25T21:39:04.285Z] 2023-09-25 21:39:04,214 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-09-25T21:39:04.853Z] 2023-09-25 21:39:04,698 [run_push] DEBUG no remote changes detected [2023-09-25T21:39:04.853Z] 2023-09-25 21:39:04,699 [execute] INFO git push origin semver [2023-09-25T21:39:04.853Z] 2023-09-25 21:39:04,699 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-09-25T21:39:05.789Z] 2023-09-25 21:39:05,473 [run_push] DEBUG push all version tags [2023-09-25T21:39:05.789Z] 2023-09-25 21:39:05,474 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-09-25T21:39:05.789Z] 2023-09-25 21:39:05,474 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-09-25T21:39:06.358Z] 2023-09-25 21:39:06,186 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-09-25T21:39:06.358Z] 3.1.0-dev.19 [Pipeline] } [2023-09-25T21:39:06.374Z] $ docker exec --env ******** --env ******** 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc ssh-agent -k [2023-09-25T21:39:06.461Z] unset SSH_AUTH_SOCK; [2023-09-25T21:39:06.464Z] unset SSH_AGENT_PID; [2023-09-25T21:39:06.464Z] echo Agent pid 39 killed; [2023-09-25T21:39:06.462Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-25T21:39:06.761Z] + git semver [Pipeline] } [2023-09-25T21:39:07.041Z] $ docker stop --time=1 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc [2023-09-25T21:39:08.309Z] $ docker rm -f --volumes 640b8a8887411bd820a6a8952434ef73645a48a405fb11bea2b945a7e57229fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-09-25T21:39:08.888Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-09-25T21:39:08.888Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-25T21:39:08.888Z] total 16 [2023-09-25T21:39:08.888Z] drwxr-xr-x 3 root root 4096 Sep 25 21:31 . [2023-09-25T21:39:08.888Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 21:38 .. [2023-09-25T21:39:08.888Z] drwxr-xr-x 2 root root 4096 Sep 25 21:31 cost [2023-09-25T21:39:08.888Z] -rw-r--r-- 1 root root 86 Sep 25 21:31 cost.csv [2023-09-25T21:39:08.888Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-25T21:39:08.888Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-09-25T21:39:08.888Z] total 16 [2023-09-25T21:39:08.888Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 25 21:31 . [2023-09-25T21:39:08.888Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 25 21:38 .. [2023-09-25T21:39:08.888Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 25 21:31 cost [2023-09-25T21:39:08.888Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 25 21:31 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:39:09.184Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:39:10.041Z] ---> package-listing.sh [2023-09-25T21:39:10.042Z] ++ facter osfamily [2023-09-25T21:39:10.042Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-25T21:39:10.300Z] + OS_FAMILY=debian [2023-09-25T21:39:10.300Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-09-25T21:39:10.300Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-25T21:39:10.300Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-25T21:39:10.300Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-25T21:39:10.300Z] + PACKAGES=/tmp/packages_start.txt [2023-09-25T21:39:10.300Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-25T21:39:10.300Z] + PACKAGES=/tmp/packages_end.txt [2023-09-25T21:39:10.300Z] + case "${OS_FAMILY}" in [2023-09-25T21:39:10.300Z] + dpkg -l [2023-09-25T21:39:10.300Z] + grep '^ii' [2023-09-25T21:39:10.300Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-25T21:39:10.300Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-25T21:39:10.300Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-25T21:39:10.300Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-09-25T21:39:10.300Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-09-25T21:39:10.300Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-09-25T21:39:10.310Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-25T21:39:10.588Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-25T21:39:11.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-25T21:39:11.143Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-25T21:39:11.209Z] prd-ubuntu20.04-docker-8c-8g-7885 does not seem to be running inside a container [2023-09-25T21:39:11.278Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-25T21:39:11.487Z] $ docker top bd522150338e04873016a64a9733888285677ba962203f2989fd5c0615d979e7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-25T21:39:11.888Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-25T21:39:12.174Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-25T21:39:12.458Z] + ls /var/log/sa-host [2023-09-25T21:39:12.458Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-25T21:39:12.607Z] provisioning config files... [2023-09-25T21:39:12.616Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9013976436141789373tmp [Pipeline] { [Pipeline] echo [2023-09-25T21:39:12.631Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:39:12.914Z] ---> create-netrc.sh [Pipeline] } [2023-09-25T21:39:12.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:39:13.298Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-25T21:39:13.307Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:39:13.588Z] ---> sudo-logs.sh [2023-09-25T21:39:13.588Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-25T21:39:13.620Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:39:13.901Z] ---> job-cost.sh [2023-09-25T21:39:13.901Z] lf-activate-venv: SKIPPING [2023-09-25T21:39:13.901Z] DEBUG: total: 0.2199999988079071 [2023-09-25T21:39:13.901Z] INFO: Retrieving Stack Cost... [2023-09-25T21:39:14.469Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-25T21:39:14.730Z] INFO: Archiving Costs [Pipeline] echo [2023-09-25T21:39:14.741Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-25T21:39:15.022Z] ---> logs-deploy.sh [2023-09-25T21:39:15.022Z] lf-activate-venv: SKIPPING [2023-09-25T21:39:15.022Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/138 [2023-09-25T21:39:15.022Z] INFO: archiving workspace using pattern(s): [2023-09-25T21:39:15.958Z] Archives upload complete. [2023-09-25T21:39:15.958Z] INFO: archiving logs to Nexus