Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 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-ssh10555214542637340734.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh11214139941878102184.key Verifying host key using known hosts file > 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 6c1167a966ce7273a24629bf6583a1975ad218c3 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-ssh5811566881332249635.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > 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-ssh12276041480807606312.key Verifying host key using known hosts file > 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-ssh1746004513210321658.key Verifying host key using known hosts file > 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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8404’ Running on prd-ubuntu20.04-docker-8c-8g-8406 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb (main) Commit message: "Merge pull request #220 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" > 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 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 > git rev-list --no-walk 336f3e767954e61a02384677edb3fa394267c1fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-17T20:24:32.402Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-17T20:24:32.442Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-17T20:24:32.454Z] ========================================================= [2022-10-17T20:24:32.454Z] EdgeX Global Pipelines Version Info [2022-10-17T20:24:32.454Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:24:33.571Z] ------------------- [2022-10-17T20:24:33.571Z] stable info: [2022-10-17T20:24:33.571Z] ------------------- [2022-10-17T20:24:33.571Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-17T20:24:33.571Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-17T20:24:33.571Z] Message: update stable to v1.0.243 [2022-10-17T20:24:33.832Z] ------------------- [2022-10-17T20:24:33.832Z] experimental info: [2022-10-17T20:24:33.832Z] ------------------- [2022-10-17T20:24:33.832Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-17T20:24:33.832Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-17T20:24:33.832Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-17T20:24:34.002Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-17T20:24:34.010Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-17T20:24:34.020Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-17T20:24:34.033Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-17T20:24:34.042Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-17T20:24:34.050Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-17T20:24:34.058Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-17T20:24:34.065Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-17T20:24:34.073Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-17T20:24:34.081Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-17T20:24:34.095Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-17T20:24:34.108Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-17T20:24:34.119Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-17T20:24:34.129Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-17T20:24:34.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T20:24:34.158Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-17T20:24:34.170Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T20:24:34.181Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-17T20:24:34.194Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-17T20:24:34.204Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-17T20:24:34.214Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-17T20:24:34.227Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-17T20:24:34.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-17T20:24:34.253Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-17T20:24:34.264Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-17T20:24:34.274Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-17T20:24:34.285Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-17T20:24:34.297Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-17T20:24:34.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-17T20:24:34.319Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-17T20:24:34.330Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] echo [2022-10-17T20:24:34.342Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 626f6c6 [Pipeline] echo [2022-10-17T20:24:34.358Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:24:34.399Z] provisioning config files... [2022-10-17T20:24:34.411Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8015977963317179296tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:24:34.721Z] ---> docker-login.sh [2022-10-17T20:24:34.721Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:24:34.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:34.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:34.981Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:34.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:34.981Z] [2022-10-17T20:24:34.981Z] Login Succeeded [2022-10-17T20:24:34.981Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:24:34.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:34.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:34.981Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:34.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:34.981Z] [2022-10-17T20:24:34.981Z] Login Succeeded [2022-10-17T20:24:34.981Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:24:35.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:35.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:35.241Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:35.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:35.241Z] [2022-10-17T20:24:35.241Z] Login Succeeded [2022-10-17T20:24:35.241Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:24:35.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:35.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:35.241Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:35.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:35.241Z] [2022-10-17T20:24:35.241Z] Login Succeeded [2022-10-17T20:24:35.241Z] docker.io [2022-10-17T20:24:35.241Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:35.808Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:35.808Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:35.808Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:35.808Z] [2022-10-17T20:24:35.808Z] Login Succeeded [2022-10-17T20:24:35.808Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:24:35.815Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-17T20:24:36.179Z] + git rev-list -1 --merges 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb~1..626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] echo [2022-10-17T20:24:36.207Z] -----------> git rev-list -1 --merges 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb~1..626f6c6d709bfdfff0bd38f00197e38acd6ec0eb 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [2022-10-17T20:24:36.207Z] 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [false] [Pipeline] sh [2022-10-17T20:24:36.492Z] + git log --format=format:%s -1 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] echo [2022-10-17T20:24:36.507Z] ========================================================= [2022-10-17T20:24:36.507Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-17T20:24:36.507Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T20:24:36.822Z] + git log --format=format:%s -1 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] echo [2022-10-17T20:24:36.832Z] [semverPrep] GIT_COMMIT: 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb, Commit Message: Merge pull request #220 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40 [Pipeline] echo [2022-10-17T20:24:36.839Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-17T20:24:37.170Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T20:24:37.170Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-17T20:24:37.170Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-17T20:24:37.170Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-17T20:24:37.170Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-17T20:24:37.170Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-17T20:24:37.170Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:24:37.509Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:24:37.509Z] [2022-10-17T20:24:37.509Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:24:37.806Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:24:37.806Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-17T20:24:37.806Z] b85a868b505f: Pulling fs layer [2022-10-17T20:24:37.806Z] e2be974225ed: Pulling fs layer [2022-10-17T20:24:37.806Z] 339a4e72a1f5: Pulling fs layer [2022-10-17T20:24:37.806Z] 988bab9f4d93: Pulling fs layer [2022-10-17T20:24:37.806Z] 1469e6f7b9e6: Pulling fs layer [2022-10-17T20:24:37.806Z] eaf3925da568: Pulling fs layer [2022-10-17T20:24:37.806Z] 1469e6f7b9e6: Waiting [2022-10-17T20:24:37.806Z] 988bab9f4d93: Waiting [2022-10-17T20:24:37.806Z] eaf3925da568: Waiting [2022-10-17T20:24:37.806Z] bab4dde63d76: Pulling fs layer [2022-10-17T20:24:37.806Z] bde34c3a00c8: Pulling fs layer [2022-10-17T20:24:37.806Z] b352a97aabf1: Pulling fs layer [2022-10-17T20:24:37.806Z] 4872d77fe225: Pulling fs layer [2022-10-17T20:24:37.806Z] 5851b861e8e6: Pulling fs layer [2022-10-17T20:24:37.806Z] bde34c3a00c8: Waiting [2022-10-17T20:24:37.806Z] 5851b861e8e6: Waiting [2022-10-17T20:24:37.806Z] bab4dde63d76: Waiting [2022-10-17T20:24:37.806Z] b352a97aabf1: Waiting [2022-10-17T20:24:37.806Z] 4872d77fe225: Waiting [2022-10-17T20:24:37.806Z] e2be974225ed: Verifying Checksum [2022-10-17T20:24:37.806Z] e2be974225ed: Download complete [2022-10-17T20:24:37.806Z] 988bab9f4d93: Verifying Checksum [2022-10-17T20:24:37.806Z] 988bab9f4d93: Download complete [2022-10-17T20:24:38.066Z] 1469e6f7b9e6: Verifying Checksum [2022-10-17T20:24:38.066Z] 1469e6f7b9e6: Download complete [2022-10-17T20:24:38.066Z] 339a4e72a1f5: Verifying Checksum [2022-10-17T20:24:38.066Z] 339a4e72a1f5: Download complete [2022-10-17T20:24:38.066Z] eaf3925da568: Verifying Checksum [2022-10-17T20:24:38.066Z] eaf3925da568: Download complete [2022-10-17T20:24:38.066Z] bde34c3a00c8: Verifying Checksum [2022-10-17T20:24:38.066Z] bde34c3a00c8: Download complete [2022-10-17T20:24:38.066Z] b352a97aabf1: Download complete [2022-10-17T20:24:38.066Z] 4872d77fe225: Verifying Checksum [2022-10-17T20:24:38.066Z] 4872d77fe225: Download complete [2022-10-17T20:24:38.066Z] 5851b861e8e6: Verifying Checksum [2022-10-17T20:24:38.066Z] 5851b861e8e6: Download complete [2022-10-17T20:24:38.066Z] b85a868b505f: Verifying Checksum [2022-10-17T20:24:38.066Z] b85a868b505f: Download complete [2022-10-17T20:24:38.325Z] bab4dde63d76: Verifying Checksum [2022-10-17T20:24:38.325Z] bab4dde63d76: Download complete [2022-10-17T20:24:39.259Z] b85a868b505f: Pull complete [2022-10-17T20:24:39.259Z] e2be974225ed: Pull complete [2022-10-17T20:24:39.825Z] 339a4e72a1f5: Pull complete [2022-10-17T20:24:39.825Z] 988bab9f4d93: Pull complete [2022-10-17T20:24:40.084Z] 1469e6f7b9e6: Pull complete [2022-10-17T20:24:40.084Z] eaf3925da568: Pull complete [2022-10-17T20:24:41.986Z] bab4dde63d76: Pull complete [2022-10-17T20:24:41.986Z] bde34c3a00c8: Pull complete [2022-10-17T20:24:41.986Z] b352a97aabf1: Pull complete [2022-10-17T20:24:41.986Z] 4872d77fe225: Pull complete [2022-10-17T20:24:41.986Z] 5851b861e8e6: Pull complete [2022-10-17T20:24:41.986Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-17T20:24:41.986Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:24:41.986Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:24:42.066Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:24:42.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T20:24:44.449Z] $ docker top a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 -eo pid,comm [2022-10-17T20:24:44.494Z] 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). [2022-10-17T20:24:44.494Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T20:24:44.531Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T20:24:44.531Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T20:24:44.633Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T20:24:44.639Z] $ docker exec a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 ssh-agent [2022-10-17T20:24:44.733Z] SSH_AUTH_SOCK=/tmp/ssh-HuZcDq4A0gKF/agent.32 [2022-10-17T20:24:44.733Z] SSH_AGENT_PID=38 [2022-10-17T20:24:44.739Z] Running ssh-add (command line suppressed) [2022-10-17T20:24:44.838Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8550333669797013926.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8550333669797013926.key) [2022-10-17T20:24:44.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T20:24:45.135Z] + git tag --points-at HEAD [Pipeline] } [2022-10-17T20:24:45.153Z] $ docker exec --env ******** --env ******** a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 ssh-agent -k [2022-10-17T20:24:45.261Z] unset SSH_AUTH_SOCK; [2022-10-17T20:24:45.261Z] unset SSH_AGENT_PID; [2022-10-17T20:24:45.262Z] echo Agent pid 38 killed; [2022-10-17T20:24:45.269Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-17T20:24:45.299Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T20:24:45.299Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T20:24:45.413Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T20:24:45.419Z] $ docker exec a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 ssh-agent [2022-10-17T20:24:45.516Z] SSH_AUTH_SOCK=/tmp/ssh-iOeR7soB15oI/agent.71 [2022-10-17T20:24:45.516Z] SSH_AGENT_PID=77 [2022-10-17T20:24:45.521Z] Running ssh-add (command line suppressed) [2022-10-17T20:24:45.623Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1695571091931587181.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1695571091931587181.key) [2022-10-17T20:24:45.633Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T20:24:45.922Z] + git semver init [2022-10-17T20:24:46.180Z] 2022-10-17 20:24:46,097 [run_init] DEBUG init version:0.0.0 force:False [2022-10-17T20:24:46.181Z] 2022-10-17 20:24:46,098 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-10-17T20:24:46.181Z] 2022-10-17 20:24:46,098 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-10-17T20:24:46.181Z] 2022-10-17 20:24:46,099 [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) [2022-10-17T20:24:47.561Z] 2022-10-17 20:24:47,269 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-10-17T20:24:47.561Z] 2022-10-17 20:24:47,269 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-10-17T20:24:47.561Z] 2022-10-17 20:24:47,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-17T20:24:47.561Z] 2022-10-17 20:24:47,270 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-17T20:24:47.561Z] 2.3.0-dev.20 [Pipeline] } [2022-10-17T20:24:47.574Z] $ docker exec --env ******** --env ******** a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 ssh-agent -k [2022-10-17T20:24:47.673Z] unset SSH_AUTH_SOCK; [2022-10-17T20:24:47.674Z] unset SSH_AGENT_PID; [2022-10-17T20:24:47.674Z] echo Agent pid 77 killed; [2022-10-17T20:24:47.681Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T20:24:47.985Z] + git semver [Pipeline] } [2022-10-17T20:24:48.261Z] $ docker stop --time=1 a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 [2022-10-17T20:24:49.574Z] $ docker rm -f a623940ae0b95b877a6f85286eefa12269d6f53395ea54c73faaf7e41166c620 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:24:49.904Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-17T20:24:50.073Z] Stashed 1 file(s) [Pipeline] echo [2022-10-17T20:24:50.076Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:24:50.198Z] provisioning config files... [2022-10-17T20:24:50.208Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3866818743828281781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:24:50.511Z] ---> docker-login.sh [2022-10-17T20:24:50.511Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:24:50.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:50.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:50.511Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:50.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:50.511Z] [2022-10-17T20:24:50.511Z] Login Succeeded [2022-10-17T20:24:50.511Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:24:50.511Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:50.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:50.511Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:50.511Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:50.511Z] [2022-10-17T20:24:50.511Z] Login Succeeded [2022-10-17T20:24:50.511Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:24:50.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:50.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:50.772Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:50.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:50.772Z] [2022-10-17T20:24:50.772Z] Login Succeeded [2022-10-17T20:24:50.772Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:24:50.772Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:50.772Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:50.772Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:50.772Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:50.772Z] [2022-10-17T20:24:50.772Z] Login Succeeded [2022-10-17T20:24:50.772Z] docker.io [2022-10-17T20:24:51.032Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:24:51.292Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:24:51.292Z] Configure a credential helper to remove this warning. See [2022-10-17T20:24:51.292Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:24:51.292Z] [2022-10-17T20:24:51.292Z] Login Succeeded [2022-10-17T20:24:51.292Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:24:51.300Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T20:24:51.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:24:51.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:24:51.378Z] ========================================================= [2022-10-17T20:24:51.378Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-17T20:24:51.378Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:24:51.691Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T20:24:51.691Z] Sending build context to Docker daemon 10.73MB [2022-10-17T20:24:51.691Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:24:51.691Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T20:24:51.691Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-17T20:24:51.691Z] 213ec9aee27d: Pulling fs layer [2022-10-17T20:24:51.691Z] 4583459ba037: Pulling fs layer [2022-10-17T20:24:51.691Z] 93c1e223e6f2: Pulling fs layer [2022-10-17T20:24:51.691Z] 53926ce57604: Pulling fs layer [2022-10-17T20:24:51.692Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-17T20:24:51.692Z] 30f14e443154: Pulling fs layer [2022-10-17T20:24:51.692Z] 801331c1e519: Pulling fs layer [2022-10-17T20:24:51.692Z] 99cc6dd402b0: Pulling fs layer [2022-10-17T20:24:51.692Z] 7d9ed39f4882: Pulling fs layer [2022-10-17T20:24:51.692Z] 21b2b0c7a3f4: Waiting [2022-10-17T20:24:51.692Z] 30f14e443154: Waiting [2022-10-17T20:24:51.692Z] 801331c1e519: Waiting [2022-10-17T20:24:51.692Z] 99cc6dd402b0: Waiting [2022-10-17T20:24:51.692Z] 7d9ed39f4882: Waiting [2022-10-17T20:24:51.692Z] 4583459ba037: Download complete [2022-10-17T20:24:51.692Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-17T20:24:51.692Z] 21b2b0c7a3f4: Download complete [2022-10-17T20:24:51.958Z] 30f14e443154: Verifying Checksum [2022-10-17T20:24:51.958Z] 30f14e443154: Download complete [2022-10-17T20:24:51.958Z] 213ec9aee27d: Verifying Checksum [2022-10-17T20:24:51.958Z] 213ec9aee27d: Download complete [2022-10-17T20:24:51.958Z] 801331c1e519: Verifying Checksum [2022-10-17T20:24:51.958Z] 801331c1e519: Download complete [2022-10-17T20:24:51.958Z] 213ec9aee27d: Pull complete [2022-10-17T20:24:52.219Z] 4583459ba037: Pull complete [2022-10-17T20:24:52.219Z] 93c1e223e6f2: Pull complete [2022-10-17T20:24:52.479Z] 7d9ed39f4882: Verifying Checksum [2022-10-17T20:24:52.479Z] 7d9ed39f4882: Download complete [2022-10-17T20:24:52.479Z] 99cc6dd402b0: Verifying Checksum [2022-10-17T20:24:52.479Z] 99cc6dd402b0: Download complete [2022-10-17T20:24:52.738Z] 53926ce57604: Download complete [2022-10-17T20:24:56.930Z] 53926ce57604: Pull complete [2022-10-17T20:24:56.930Z] 21b2b0c7a3f4: Pull complete [2022-10-17T20:24:56.930Z] 30f14e443154: Pull complete [2022-10-17T20:24:56.930Z] 801331c1e519: Pull complete [2022-10-17T20:24:58.829Z] 99cc6dd402b0: Pull complete [2022-10-17T20:24:59.764Z] 7d9ed39f4882: Pull complete [2022-10-17T20:24:59.764Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-17T20:24:59.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-17T20:24:59.764Z] ---> 1dedd983c030 [2022-10-17T20:24:59.764Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T20:25:03.066Z] ---> Running in 68cc20fc636a [2022-10-17T20:25:03.325Z] Removing intermediate container 68cc20fc636a [2022-10-17T20:25:03.325Z] ---> c5d257b0af1c [2022-10-17T20:25:03.325Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T20:25:03.325Z] ---> Running in 97a4ab4181db [2022-10-17T20:25:03.325Z] Removing intermediate container 97a4ab4181db [2022-10-17T20:25:03.325Z] ---> 1809844983df [2022-10-17T20:25:03.325Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T20:25:03.325Z] ---> Running in 702c573df624 [2022-10-17T20:25:03.584Z] Removing intermediate container 702c573df624 [2022-10-17T20:25:03.584Z] ---> d911ec903f06 [2022-10-17T20:25:03.584Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T20:25:03.584Z] ---> Running in 9286ae884a41 [2022-10-17T20:25:03.584Z] Removing intermediate container 9286ae884a41 [2022-10-17T20:25:03.584Z] ---> f42f433c6b6a [2022-10-17T20:25:03.584Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:25:03.584Z] ---> Running in 0c9b1f03384e [2022-10-17T20:25:04.151Z] Removing intermediate container 0c9b1f03384e [2022-10-17T20:25:04.151Z] ---> b65f5d7407ca [2022-10-17T20:25:04.151Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T20:25:04.151Z] ---> Running in a9247d1cf108 [2022-10-17T20:25:04.409Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T20:25:05.171Z] Still waiting to schedule task [2022-10-17T20:25:05.171Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8405’ [2022-10-17T20:25:05.345Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T20:25:05.605Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T20:25:05.605Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T20:25:05.863Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T20:25:05.863Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T20:25:06.121Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:25:06.121Z] OK: 216 MiB in 55 packages [2022-10-17T20:25:06.687Z] Removing intermediate container a9247d1cf108 [2022-10-17T20:25:06.687Z] ---> 640f7a2a57d8 [2022-10-17T20:25:06.687Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-17T20:25:06.687Z] ---> Running in 2cb8671d2914 [2022-10-17T20:25:06.687Z] Removing intermediate container 2cb8671d2914 [2022-10-17T20:25:06.687Z] ---> bcd6891b2676 [2022-10-17T20:25:06.687Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T20:25:06.687Z] ---> 196a50e0d662 [2022-10-17T20:25:06.687Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:25:06.687Z] ---> Running in bc85f13871c3 [2022-10-17T20:25:28.627Z] Removing intermediate container bc85f13871c3 [2022-10-17T20:25:28.627Z] ---> c5705ee8e3a6 [2022-10-17T20:25:28.627Z] Step 12/13 : COPY . . [2022-10-17T20:25:28.627Z] ---> 8b0d7adbb59d [2022-10-17T20:25:28.627Z] Step 13/13 : RUN $MAKE [2022-10-17T20:25:28.627Z] ---> Running in ac7639e9f821 [2022-10-17T20:25:28.627Z] noop [2022-10-17T20:25:28.627Z] Removing intermediate container ac7639e9f821 [2022-10-17T20:25:28.627Z] ---> 74aba4f3c313 [2022-10-17T20:25:28.627Z] Successfully built 74aba4f3c313 [2022-10-17T20:25:28.627Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:25:28.931Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T20:25:28.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:25:28.996Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:25:29.023Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T20:25:29.368Z] $ docker top 6162e7b15d6ad05b4b8c3c8c674ee4f84d471be453cb4686ccb5f41a97b7ed78 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:25:29.701Z] + go version [2022-10-17T20:25:29.701Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-17T20:25:29.714Z] $ docker stop --time=1 6162e7b15d6ad05b4b8c3c8c674ee4f84d471be453cb4686ccb5f41a97b7ed78 [2022-10-17T20:25:30.970Z] $ docker rm -f 6162e7b15d6ad05b4b8c3c8c674ee4f84d471be453cb4686ccb5f41a97b7ed78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:25:31.343Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-17T20:25:31.343Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:25:31.401Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:25:31.432Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-10-17T20:25:31.811Z] $ docker top 4bbf6e3b10d878d7c280af28d7e90917e8aa4879386866ca833bd017902b70fd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:25:32.139Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-10-17T20:25:32.433Z] + make test [2022-10-17T20:25:32.433Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T20:25:32.690Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-17T20:25:42.667Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-17T20:25:42.667Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-10-17T20:25:49.298Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-10-17T20:25:49.298Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T20:25:52.580Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T20:25:52.580Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T20:25:52.580Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T20:25:52.592Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T20:25:52.605Z] $ docker stop --time=1 4bbf6e3b10d878d7c280af28d7e90917e8aa4879386866ca833bd017902b70fd [2022-10-17T20:25:55.913Z] $ docker rm -f 4bbf6e3b10d878d7c280af28d7e90917e8aa4879386866ca833bd017902b70fd [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:25:56.391Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T20:25:56.433Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-17T20:25:56.863Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T20:25:57.151Z] + ls -al . [2022-10-17T20:25:57.151Z] total 180 [2022-10-17T20:25:57.151Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 17 20:25 . [2022-10-17T20:25:57.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:24 .. [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 20:24 .dockerignore [2022-10-17T20:25:57.151Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:25 .git [2022-10-17T20:25:57.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:24 .github [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 20:24 .gitignore [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 20:24 .golangci.yml [2022-10-17T20:25:57.151Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:24 .semver [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 17 20:24 Attribution.txt [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 17 20:24 CHANGELOG.md [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 17 20:24 Dockerfile [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:24 GOVERNANCE.md [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 20:24 Jenkinsfile [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 20:24 LICENSE [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 17 20:24 Makefile [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 20:24 OWNERS.md [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 17 20:24 README.md [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 20:24 VERSION [2022-10-17T20:25:57.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:24 bin [2022-10-17T20:25:57.151Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:24 cmd [2022-10-17T20:25:57.151Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 17 20:25 coverage.out [2022-10-17T20:25:57.151Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:24 driver [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 17 20:24 go.mod [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 20:24 go.sum [2022-10-17T20:25:57.151Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:24 snap [2022-10-17T20:25:57.151Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 20:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:25:57.473Z] + 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=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb --label arch=amd64 --label version=2.3.0-dev.20 . [2022-10-17T20:25:57.473Z] Sending build context to Docker daemon 10.74MB [2022-10-17T20:25:57.473Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:25:57.473Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-17T20:25:57.473Z] ---> 74aba4f3c313 [2022-10-17T20:25:57.473Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-17T20:25:57.732Z] ---> Running in aa0181c7223d [2022-10-17T20:25:57.732Z] Removing intermediate container aa0181c7223d [2022-10-17T20:25:57.732Z] ---> efb2674c9797 [2022-10-17T20:25:57.732Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T20:25:57.732Z] ---> Running in 531410a9d0ab [2022-10-17T20:25:57.732Z] Removing intermediate container 531410a9d0ab [2022-10-17T20:25:57.732Z] ---> ac499b830cf6 [2022-10-17T20:25:57.732Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T20:25:57.732Z] ---> Running in 6e31b5310d2b [2022-10-17T20:25:57.990Z] Removing intermediate container 6e31b5310d2b [2022-10-17T20:25:57.990Z] ---> d4f1f5abd48e [2022-10-17T20:25:57.990Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T20:25:57.990Z] ---> Running in 4df005395fa7 [2022-10-17T20:25:57.990Z] Removing intermediate container 4df005395fa7 [2022-10-17T20:25:57.990Z] ---> ec9424911a1b [2022-10-17T20:25:57.990Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:25:57.990Z] ---> Running in 6dbd282fe53d [2022-10-17T20:25:58.556Z] Removing intermediate container 6dbd282fe53d [2022-10-17T20:25:58.556Z] ---> a77ad4f6b449 [2022-10-17T20:25:58.556Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T20:25:58.556Z] ---> Running in 2075fdbb044d [2022-10-17T20:25:58.814Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T20:25:59.751Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T20:26:00.010Z] OK: 216 MiB in 55 packages [2022-10-17T20:26:00.268Z] Removing intermediate container 2075fdbb044d [2022-10-17T20:26:00.268Z] ---> 2198377ecac8 [2022-10-17T20:26:00.268Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-17T20:26:00.268Z] ---> Running in da9bd1e7999a [2022-10-17T20:26:00.268Z] Removing intermediate container da9bd1e7999a [2022-10-17T20:26:00.268Z] ---> 1142eac0901e [2022-10-17T20:26:00.268Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-17T20:26:00.527Z] ---> a960ea0704a2 [2022-10-17T20:26:00.527Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:26:00.527Z] ---> Running in c550bf19840b [2022-10-17T20:26:01.093Z] Removing intermediate container c550bf19840b [2022-10-17T20:26:01.093Z] ---> d7e9cf5556b2 [2022-10-17T20:26:01.093Z] Step 12/26 : COPY . . [2022-10-17T20:26:01.660Z] ---> 2bbcecdffc35 [2022-10-17T20:26:01.660Z] Step 13/26 : RUN $MAKE [2022-10-17T20:26:01.660Z] ---> Running in d4f256e4cab1 [2022-10-17T20:26:01.660Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-17T20:26:23.580Z] Removing intermediate container d4f256e4cab1 [2022-10-17T20:26:23.581Z] ---> 59166e73f5c1 [2022-10-17T20:26:23.581Z] Step 14/26 : FROM alpine:3.16 [2022-10-17T20:26:23.581Z] 3.16: Pulling from library/alpine [2022-10-17T20:26:23.581Z] 213ec9aee27d: Already exists [2022-10-17T20:26:23.839Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T20:26:23.839Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T20:26:23.839Z] ---> 9c6f07244728 [2022-10-17T20:26:23.839Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:26:23.839Z] ---> Running in b8c7edc30922 [2022-10-17T20:26:24.097Z] Removing intermediate container b8c7edc30922 [2022-10-17T20:26:24.097Z] ---> bff3f2d51281 [2022-10-17T20:26:24.097Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-17T20:26:24.097Z] ---> Running in 61c71fdefc20 [2022-10-17T20:26:24.097Z] Removing intermediate container 61c71fdefc20 [2022-10-17T20:26:24.097Z] ---> 90951b5c1163 [2022-10-17T20:26:24.097Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T20:26:24.097Z] ---> Running in be93d24de6ea [2022-10-17T20:26:24.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-17T20:26:24.356Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-17T20:26:24.614Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T20:26:24.614Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T20:26:24.614Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T20:26:24.614Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T20:26:24.614Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T20:26:24.614Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T20:26:24.614Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:26:24.871Z] OK: 8 MiB in 20 packages [2022-10-17T20:26:25.128Z] Removing intermediate container be93d24de6ea [2022-10-17T20:26:25.128Z] ---> 548efeb60341 [2022-10-17T20:26:25.128Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-17T20:26:25.694Z] ---> bebdfe050742 [2022-10-17T20:26:25.694Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-17T20:26:25.953Z] ---> 340ba4ce944c [2022-10-17T20:26:25.953Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-17T20:26:25.953Z] ---> f7573628d372 [2022-10-17T20:26:25.953Z] Step 21/26 : EXPOSE 59986 [2022-10-17T20:26:25.953Z] ---> Running in a91b9abf8c93 [2022-10-17T20:26:25.953Z] Removing intermediate container a91b9abf8c93 [2022-10-17T20:26:25.953Z] ---> 06daa230d19b [2022-10-17T20:26:25.953Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-17T20:26:26.211Z] ---> Running in ff01dcb68726 [2022-10-17T20:26:26.211Z] Removing intermediate container ff01dcb68726 [2022-10-17T20:26:26.211Z] ---> 78e594bc0b87 [2022-10-17T20:26:26.211Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-17T20:26:26.211Z] ---> Running in 3e50cc9fad8f [2022-10-17T20:26:26.211Z] Removing intermediate container 3e50cc9fad8f [2022-10-17T20:26:26.211Z] ---> a9ceec858a62 [2022-10-17T20:26:26.211Z] Step 24/26 : LABEL arch=amd64 [2022-10-17T20:26:26.211Z] ---> Running in 75907ce7c0af [2022-10-17T20:26:26.468Z] Removing intermediate container 75907ce7c0af [2022-10-17T20:26:26.468Z] ---> 2213b9a03fd4 [2022-10-17T20:26:26.468Z] Step 25/26 : LABEL git_sha=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [2022-10-17T20:26:26.468Z] ---> Running in 380e58ed974f [2022-10-17T20:26:26.468Z] Removing intermediate container 380e58ed974f [2022-10-17T20:26:26.468Z] ---> 83ee3d7df55b [2022-10-17T20:26:26.468Z] Step 26/26 : LABEL version=2.3.0-dev.20 [2022-10-17T20:26:26.468Z] ---> Running in 9b511b654a77 [2022-10-17T20:26:26.468Z] Removing intermediate container 9b511b654a77 [2022-10-17T20:26:26.468Z] ---> 7ec33020e478 [2022-10-17T20:26:26.468Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T20:26:26.468Z] Successfully built 7ec33020e478 [2022-10-17T20:26:26.468Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:26:26.577Z] provisioning config files... [2022-10-17T20:26:26.585Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17714753931034699174tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:26:26.877Z] ---> docker-login.sh [2022-10-17T20:26:26.877Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:26:26.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:26:26.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:26:26.877Z] Configure a credential helper to remove this warning. See [2022-10-17T20:26:26.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:26:26.877Z] [2022-10-17T20:26:26.877Z] Login Succeeded [2022-10-17T20:26:26.877Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:26:26.877Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:26:26.877Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:26:26.877Z] Configure a credential helper to remove this warning. See [2022-10-17T20:26:26.877Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:26:26.877Z] [2022-10-17T20:26:26.877Z] Login Succeeded [2022-10-17T20:26:26.877Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:26:27.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:26:27.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:26:27.136Z] Configure a credential helper to remove this warning. See [2022-10-17T20:26:27.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:26:27.136Z] [2022-10-17T20:26:27.136Z] Login Succeeded [2022-10-17T20:26:27.136Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:26:27.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:26:27.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:26:27.136Z] Configure a credential helper to remove this warning. See [2022-10-17T20:26:27.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:26:27.136Z] [2022-10-17T20:26:27.136Z] Login Succeeded [2022-10-17T20:26:27.136Z] docker.io [2022-10-17T20:26:27.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:26:27.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:26:27.704Z] Configure a credential helper to remove this warning. See [2022-10-17T20:26:27.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:26:27.704Z] [2022-10-17T20:26:27.704Z] Login Succeeded [2022-10-17T20:26:27.704Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:26:27.711Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-17T20:26:27.745Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:26:27.763Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-10-17T20:26:27.763Z] 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [2022-10-17T20:26:27.763Z] latest [2022-10-17T20:26:27.763Z] 2.3.0-dev.20 [2022-10-17T20:26:27.763Z] 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [2022-10-17T20:26:27.763Z] main [2022-10-17T20:26:27.763Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:28.082Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:28.384Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [2022-10-17T20:26:28.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-17T20:26:28.384Z] 9f6970fc9006: Preparing [2022-10-17T20:26:28.384Z] f7f21b02bf44: Preparing [2022-10-17T20:26:28.384Z] d52ca33b073d: Preparing [2022-10-17T20:26:28.384Z] 0d2d0033c881: Preparing [2022-10-17T20:26:28.384Z] 994393dc58e7: Preparing [2022-10-17T20:26:28.384Z] 994393dc58e7: Layer already exists [2022-10-17T20:26:28.384Z] f7f21b02bf44: Pushed [2022-10-17T20:26:28.384Z] 9f6970fc9006: Pushed [2022-10-17T20:26:28.642Z] 0d2d0033c881: Pushed [2022-10-17T20:26:31.174Z] d52ca33b073d: Pushed [2022-10-17T20:26:31.174Z] 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:31.485Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:31.787Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-10-17T20:26:31.787Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-17T20:26:31.787Z] 9f6970fc9006: Preparing [2022-10-17T20:26:31.787Z] f7f21b02bf44: Preparing [2022-10-17T20:26:31.787Z] d52ca33b073d: Preparing [2022-10-17T20:26:31.787Z] 0d2d0033c881: Preparing [2022-10-17T20:26:31.787Z] 994393dc58e7: Preparing [2022-10-17T20:26:31.787Z] f7f21b02bf44: Layer already exists [2022-10-17T20:26:31.787Z] d52ca33b073d: Layer already exists [2022-10-17T20:26:31.787Z] 9f6970fc9006: Layer already exists [2022-10-17T20:26:31.787Z] 0d2d0033c881: Layer already exists [2022-10-17T20:26:31.787Z] 994393dc58e7: Layer already exists [2022-10-17T20:26:31.787Z] latest: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:32.087Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:32.392Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.20 [2022-10-17T20:26:32.392Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-17T20:26:32.392Z] 9f6970fc9006: Preparing [2022-10-17T20:26:32.392Z] f7f21b02bf44: Preparing [2022-10-17T20:26:32.392Z] d52ca33b073d: Preparing [2022-10-17T20:26:32.392Z] 0d2d0033c881: Preparing [2022-10-17T20:26:32.392Z] 994393dc58e7: Preparing [2022-10-17T20:26:32.392Z] 0d2d0033c881: Layer already exists [2022-10-17T20:26:32.392Z] 994393dc58e7: Layer already exists [2022-10-17T20:26:32.392Z] 9f6970fc9006: Layer already exists [2022-10-17T20:26:32.392Z] d52ca33b073d: Layer already exists [2022-10-17T20:26:32.392Z] f7f21b02bf44: Layer already exists [2022-10-17T20:26:32.392Z] 2.3.0-dev.20: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:32.697Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:33.002Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [2022-10-17T20:26:33.002Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-17T20:26:33.002Z] 9f6970fc9006: Preparing [2022-10-17T20:26:33.002Z] f7f21b02bf44: Preparing [2022-10-17T20:26:33.002Z] d52ca33b073d: Preparing [2022-10-17T20:26:33.002Z] 0d2d0033c881: Preparing [2022-10-17T20:26:33.002Z] 994393dc58e7: Preparing [2022-10-17T20:26:33.002Z] f7f21b02bf44: Layer already exists [2022-10-17T20:26:33.002Z] 0d2d0033c881: Layer already exists [2022-10-17T20:26:33.002Z] 994393dc58e7: Layer already exists [2022-10-17T20:26:33.002Z] d52ca33b073d: Layer already exists [2022-10-17T20:26:33.002Z] 9f6970fc9006: Layer already exists [2022-10-17T20:26:33.002Z] 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:33.303Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:33.617Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-10-17T20:26:33.617Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-17T20:26:33.617Z] 9f6970fc9006: Preparing [2022-10-17T20:26:33.617Z] f7f21b02bf44: Preparing [2022-10-17T20:26:33.617Z] d52ca33b073d: Preparing [2022-10-17T20:26:33.617Z] 0d2d0033c881: Preparing [2022-10-17T20:26:33.617Z] 994393dc58e7: Preparing [2022-10-17T20:26:33.617Z] d52ca33b073d: Layer already exists [2022-10-17T20:26:33.617Z] f7f21b02bf44: Layer already exists [2022-10-17T20:26:33.617Z] 0d2d0033c881: Layer already exists [2022-10-17T20:26:33.617Z] 994393dc58e7: Layer already exists [2022-10-17T20:26:33.617Z] 9f6970fc9006: Layer already exists [2022-10-17T20:26:33.617Z] main: digest: sha256:a74d26848fcca108f694c50e44930ffed59cd79fdcc73caa17e6c0bed1efdba5 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-17T20:26:33.652Z] ===================================================== [Pipeline] echo [2022-10-17T20:26:33.657Z] taggedImages: [2022-10-17T20:26:33.657Z] - nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [2022-10-17T20:26:33.657Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-10-17T20:26:33.657Z] - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.20 [2022-10-17T20:26:33.657Z] - nexus3.edgexfoundry.org:10004/device-rest:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [2022-10-17T20:26:33.657Z] - 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 [2022-10-17T20:26:33.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:26:33.996Z] [2022-10-17T20:26:33.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:26:34.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:26:34.294Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-17T20:26:34.294Z] 5eb5b503b376: Pulling fs layer [2022-10-17T20:26:34.294Z] 5c69ac0246d0: Pulling fs layer [2022-10-17T20:26:34.294Z] ec43610c2a17: Pulling fs layer [2022-10-17T20:26:34.294Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-17T20:26:34.294Z] 33b1e0a273af: Pulling fs layer [2022-10-17T20:26:34.294Z] 5d3b04190fa2: Pulling fs layer [2022-10-17T20:26:34.294Z] 2f39f015ded8: Pulling fs layer [2022-10-17T20:26:34.294Z] 3a2ae6a8a46f: Waiting [2022-10-17T20:26:34.294Z] 33b1e0a273af: Waiting [2022-10-17T20:26:34.294Z] 5d3b04190fa2: Waiting [2022-10-17T20:26:34.294Z] 2f39f015ded8: Waiting [2022-10-17T20:26:34.294Z] 5c69ac0246d0: Verifying Checksum [2022-10-17T20:26:34.294Z] 5c69ac0246d0: Download complete [2022-10-17T20:26:34.294Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-17T20:26:34.294Z] 3a2ae6a8a46f: Download complete [2022-10-17T20:26:34.294Z] 33b1e0a273af: Verifying Checksum [2022-10-17T20:26:34.294Z] 33b1e0a273af: Download complete [2022-10-17T20:26:34.294Z] 5d3b04190fa2: Verifying Checksum [2022-10-17T20:26:34.294Z] 5d3b04190fa2: Download complete [2022-10-17T20:26:34.554Z] ec43610c2a17: Verifying Checksum [2022-10-17T20:26:34.554Z] ec43610c2a17: Download complete [2022-10-17T20:26:34.554Z] 5eb5b503b376: Verifying Checksum [2022-10-17T20:26:34.554Z] 5eb5b503b376: Download complete [2022-10-17T20:26:35.119Z] 2f39f015ded8: Download complete [2022-10-17T20:26:35.684Z] 5eb5b503b376: Pull complete [2022-10-17T20:26:35.942Z] 5c69ac0246d0: Pull complete [2022-10-17T20:26:36.200Z] ec43610c2a17: Pull complete [2022-10-17T20:26:36.459Z] 3a2ae6a8a46f: Pull complete [2022-10-17T20:26:36.459Z] 33b1e0a273af: Pull complete [2022-10-17T20:26:36.717Z] 5d3b04190fa2: Pull complete [2022-10-17T20:26:40.902Z] 2f39f015ded8: Pull complete [2022-10-17T20:26:40.902Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-17T20:26:40.902Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:26:40.902Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:26:40.974Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:26:41.008Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T20:26:44.622Z] $ docker top e3eec76b8533fa199f0e1ea74b179b6265ce8c2b1920631ece4e7f38acdd87bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:26:44.998Z] ---> job-cost.sh [2022-10-17T20:26:44.998Z] lf-activate-venv: SKIPPING [2022-10-17T20:26:44.998Z] INFO: No Stack... [2022-10-17T20:26:45.566Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T20:26:45.824Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T20:26:46.107Z] + cut -d, -f6 [2022-10-17T20:26:46.107Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock [2022-10-17T20:26:46.121Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [2022-10-17T20:26:46.126Z] Resource [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] did not exist. Created. [2022-10-17T20:26:46.126Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T20:26:46.427Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-17T20:26:46.453Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T20:26:46.463Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T20:26:46.481Z] $ docker stop --time=1 e3eec76b8533fa199f0e1ea74b179b6265ce8c2b1920631ece4e7f38acdd87bf [2022-10-17T20:26:47.624Z] $ docker rm -f e3eec76b8533fa199f0e1ea74b179b6265ce8c2b1920631ece4e7f38acdd87bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-17T20:27:30.511Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8409 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-10-17T20:27:30.527Z] Running in /w/workspace/device-rest-go/64 [Pipeline] { [Pipeline] checkout [2022-10-17T20:27:30.563Z] The recommended git tool is: git [2022-10-17T20:27:36.184Z] using credential edgex-jenkins-ssh [2022-10-17T20:27:36.200Z] Cloning the remote Git repository [2022-10-17T20:27:36.250Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-17T20:27:36.341Z] > git init /w/workspace/device-rest-go/64 # timeout=10 [2022-10-17T20:27:36.520Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-17T20:27:36.521Z] > git --version # timeout=10 [2022-10-17T20:27:36.548Z] > git --version # 'git version 2.25.1' [2022-10-17T20:27:36.551Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-17T20:27:36.611Z] Verifying host key using known hosts file [2022-10-17T20:27:36.856Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-10-17T20:27:36.875Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T20:27:38.958Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-17T20:27:38.984Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-17T20:27:39.985Z] Avoid second fetch [2022-10-17T20:27:39.985Z] Checking out Revision 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb (main) [2022-10-17T20:27:40.562Z] Commit message: "Merge pull request #220 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.3.0-dev.40" [2022-10-17T20:27:40.002Z] > git config core.sparsecheckout # timeout=10 [2022-10-17T20:27:40.028Z] > git checkout -f 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T20:27:41.418Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-17T20:27:41.418Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T20:27:41.418Z] Dload Upload Total Spent Left Speed [2022-10-17T20:27:41.418Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2022-10-17T20:27:42.023Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-17T20:27:42.370Z] + sudo tee /etc/docker/daemon.new [2022-10-17T20:27:42.370Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-17T20:27:42.370Z] { [2022-10-17T20:27:42.370Z] "registry-mirrors": [ [2022-10-17T20:27:42.370Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-17T20:27:42.370Z] ], [2022-10-17T20:27:42.370Z] "bip": "10.250.0.254/24", [2022-10-17T20:27:42.370Z] "hosts": [ [2022-10-17T20:27:42.370Z] "tcp://0.0.0.0:5555", [2022-10-17T20:27:42.370Z] "unix:///var/run/docker.sock" [2022-10-17T20:27:42.370Z] ], [2022-10-17T20:27:42.370Z] "mtu": 1458, [2022-10-17T20:27:42.370Z] "selinux-enabled": true, [2022-10-17T20:27:42.370Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-17T20:27:42.370Z] } [Pipeline] sh [2022-10-17T20:27:42.714Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-17T20:27:43.064Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:28:01.347Z] provisioning config files... [2022-10-17T20:28:01.381Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/64@tmp/config7002208247899467389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:28:01.756Z] ---> docker-login.sh [2022-10-17T20:28:01.756Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:28:02.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:28:02.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:28:02.350Z] Configure a credential helper to remove this warning. See [2022-10-17T20:28:02.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:28:02.350Z] [2022-10-17T20:28:02.350Z] Login Succeeded [2022-10-17T20:28:02.350Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:28:02.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:28:02.897Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:28:02.897Z] Configure a credential helper to remove this warning. See [2022-10-17T20:28:02.897Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:28:02.897Z] [2022-10-17T20:28:02.897Z] Login Succeeded [2022-10-17T20:28:02.897Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:28:03.167Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:28:03.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:28:03.167Z] Configure a credential helper to remove this warning. See [2022-10-17T20:28:03.167Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:28:03.167Z] [2022-10-17T20:28:03.167Z] Login Succeeded [2022-10-17T20:28:03.167Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:28:03.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:28:03.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:28:03.712Z] Configure a credential helper to remove this warning. See [2022-10-17T20:28:03.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:28:03.712Z] [2022-10-17T20:28:03.712Z] Login Succeeded [2022-10-17T20:28:03.712Z] docker.io [2022-10-17T20:28:03.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:28:04.251Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:28:04.251Z] Configure a credential helper to remove this warning. See [2022-10-17T20:28:04.251Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:28:04.251Z] [2022-10-17T20:28:04.251Z] Login Succeeded [2022-10-17T20:28:04.251Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:28:04.266Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-17T20:28:04.453Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:28:04.465Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:28:04.473Z] ========================================================= [2022-10-17T20:28:04.473Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-17T20:28:04.473Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:28:04.830Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-10-17T20:28:04.830Z] Sending build context to Docker daemon 127.5kB [2022-10-17T20:28:05.103Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:28:05.103Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-17T20:28:05.373Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-17T20:28:05.373Z] 9b18e9b68314: Pulling fs layer [2022-10-17T20:28:05.373Z] d32db5db7311: Pulling fs layer [2022-10-17T20:28:05.373Z] d0c4b47475fc: Pulling fs layer [2022-10-17T20:28:05.373Z] 5831b945b038: Pulling fs layer [2022-10-17T20:28:05.373Z] 86bbec2aaacd: Pulling fs layer [2022-10-17T20:28:05.373Z] e10730c5d714: Pulling fs layer [2022-10-17T20:28:05.373Z] 5dd5c2283517: Pulling fs layer [2022-10-17T20:28:05.373Z] d5ac0230b979: Pulling fs layer [2022-10-17T20:28:05.373Z] 86bbec2aaacd: Waiting [2022-10-17T20:28:05.373Z] e10730c5d714: Waiting [2022-10-17T20:28:05.373Z] 5dd5c2283517: Waiting [2022-10-17T20:28:05.373Z] d5ac0230b979: Waiting [2022-10-17T20:28:05.373Z] 5831b945b038: Waiting [2022-10-17T20:28:05.373Z] d0c4b47475fc: Verifying Checksum [2022-10-17T20:28:05.373Z] d0c4b47475fc: Download complete [2022-10-17T20:28:05.373Z] d32db5db7311: Verifying Checksum [2022-10-17T20:28:05.373Z] d32db5db7311: Download complete [2022-10-17T20:28:05.373Z] 86bbec2aaacd: Verifying Checksum [2022-10-17T20:28:05.373Z] 86bbec2aaacd: Download complete [2022-10-17T20:28:05.373Z] e10730c5d714: Verifying Checksum [2022-10-17T20:28:05.373Z] e10730c5d714: Download complete [2022-10-17T20:28:05.373Z] 9b18e9b68314: Verifying Checksum [2022-10-17T20:28:05.373Z] 9b18e9b68314: Download complete [2022-10-17T20:28:06.354Z] 9b18e9b68314: Pull complete [2022-10-17T20:28:06.624Z] d5ac0230b979: Verifying Checksum [2022-10-17T20:28:06.624Z] d5ac0230b979: Download complete [2022-10-17T20:28:07.221Z] d32db5db7311: Pull complete [2022-10-17T20:28:07.509Z] d0c4b47475fc: Pull complete [2022-10-17T20:28:08.104Z] 5dd5c2283517: Verifying Checksum [2022-10-17T20:28:08.104Z] 5dd5c2283517: Download complete [2022-10-17T20:28:08.702Z] 5831b945b038: Verifying Checksum [2022-10-17T20:28:08.702Z] 5831b945b038: Download complete [2022-10-17T20:28:21.072Z] 5831b945b038: Pull complete [2022-10-17T20:28:21.344Z] 86bbec2aaacd: Pull complete [2022-10-17T20:28:21.612Z] e10730c5d714: Pull complete [2022-10-17T20:28:29.951Z] 5dd5c2283517: Pull complete [2022-10-17T20:28:30.976Z] d5ac0230b979: Pull complete [2022-10-17T20:28:30.976Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-17T20:28:30.976Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-17T20:28:30.976Z] ---> 59b3b1a385d4 [2022-10-17T20:28:30.976Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-17T20:28:31.948Z] ---> Running in 3752853c177a [2022-10-17T20:28:32.216Z] Removing intermediate container 3752853c177a [2022-10-17T20:28:32.216Z] ---> 4b0ebe6b7ef8 [2022-10-17T20:28:32.216Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T20:28:32.485Z] ---> Running in a392d6995915 [2022-10-17T20:28:32.754Z] Removing intermediate container a392d6995915 [2022-10-17T20:28:32.754Z] ---> b676ef627698 [2022-10-17T20:28:32.754Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T20:28:32.754Z] ---> Running in f9274be93c68 [2022-10-17T20:28:33.025Z] Removing intermediate container f9274be93c68 [2022-10-17T20:28:33.025Z] ---> 6045e14f6403 [2022-10-17T20:28:33.025Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T20:28:33.291Z] ---> Running in 1af66d6dfc96 [2022-10-17T20:28:33.560Z] Removing intermediate container 1af66d6dfc96 [2022-10-17T20:28:33.560Z] ---> d616fc58d8b5 [2022-10-17T20:28:33.560Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:28:33.560Z] ---> Running in deb34f6f7c4d [2022-10-17T20:28:35.512Z] Removing intermediate container deb34f6f7c4d [2022-10-17T20:28:35.512Z] ---> 01247defd50f [2022-10-17T20:28:35.512Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T20:28:35.512Z] ---> Running in 8e5146f3bcc0 [2022-10-17T20:28:36.475Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T20:28:37.436Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T20:28:38.420Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-17T20:28:38.704Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-17T20:28:38.704Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-17T20:28:38.982Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-17T20:28:38.982Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:28:38.982Z] OK: 226 MiB in 55 packages [2022-10-17T20:28:39.946Z] Removing intermediate container 8e5146f3bcc0 [2022-10-17T20:28:39.947Z] ---> 18fc0a87ee45 [2022-10-17T20:28:39.947Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-17T20:28:40.217Z] ---> Running in edfb40adabd4 [2022-10-17T20:28:40.485Z] Removing intermediate container edfb40adabd4 [2022-10-17T20:28:40.485Z] ---> 53cbeaffddbe [2022-10-17T20:28:40.485Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-17T20:28:41.073Z] ---> ec5f2b0f4829 [2022-10-17T20:28:41.073Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:28:41.348Z] ---> Running in 43ee5b043aad [2022-10-17T20:29:37.787Z] Removing intermediate container 43ee5b043aad [2022-10-17T20:29:37.787Z] ---> 9c1974dfe36d [2022-10-17T20:29:37.787Z] Step 12/13 : COPY . . [2022-10-17T20:29:37.787Z] ---> 4371ebd22baa [2022-10-17T20:29:37.787Z] Step 13/13 : RUN $MAKE [2022-10-17T20:29:37.787Z] ---> Running in 5ace850819cb [2022-10-17T20:29:37.787Z] noop [2022-10-17T20:29:37.787Z] Removing intermediate container 5ace850819cb [2022-10-17T20:29:37.787Z] ---> 600f4c50e44b [2022-10-17T20:29:37.787Z] Successfully built 600f4c50e44b [2022-10-17T20:29:37.787Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:29:38.146Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T20:29:38.146Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:29:38.368Z] prd-ubuntu20.04-docker-arm64-4c-16g-8409 does not seem to be running inside a container [2022-10-17T20:29:38.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/64 -v /w/workspace/device-rest-go/64:/w/workspace/device-rest-go/64:rw,z -v /w/workspace/device-rest-go/64@tmp:/w/workspace/device-rest-go/64@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 [2022-10-17T20:29:39.733Z] $ docker top 6c9f4f8e46d98ae2c3c1bb6ac38076329b165a446e11c592e34c0baf0e07b1a4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:29:40.571Z] + go version [2022-10-17T20:29:40.571Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-17T20:29:40.601Z] $ docker stop --time=1 6c9f4f8e46d98ae2c3c1bb6ac38076329b165a446e11c592e34c0baf0e07b1a4 [2022-10-17T20:29:42.252Z] $ docker rm -f 6c9f4f8e46d98ae2c3c1bb6ac38076329b165a446e11c592e34c0baf0e07b1a4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:29:42.754Z] + docker inspect -f . ci-base-image-arm64 [2022-10-17T20:29:42.754Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:29:42.921Z] prd-ubuntu20.04-docker-arm64-4c-16g-8409 does not seem to be running inside a container [2022-10-17T20:29:42.994Z] $ 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/64 -v /w/workspace/device-rest-go/64:/w/workspace/device-rest-go/64:rw,z -v /w/workspace/device-rest-go/64@tmp:/w/workspace/device-rest-go/64@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 [2022-10-17T20:29:44.175Z] $ docker top 5d0e9dab715c8f3497924612741522a25624e758578b2351b6731fe143f42445 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:29:45.008Z] + git config --global --add safe.directory /w/workspace/device-rest-go/64 [Pipeline] fileExists [Pipeline] sh [2022-10-17T20:29:45.673Z] + make test [2022-10-17T20:29:45.673Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-17T20:29:47.619Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-17T20:31:24.296Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-17T20:31:24.296Z] ok github.com/edgexfoundry/device-rest-go/driver 0.079s coverage: 55.2% of statements [2022-10-17T20:31:24.296Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-17T20:31:24.296Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-17T20:31:51.028Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-17T20:31:51.028Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-17T20:31:51.028Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-17T20:31:51.638Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-17T20:31:51.659Z] $ docker stop --time=1 5d0e9dab715c8f3497924612741522a25624e758578b2351b6731fe143f42445 [2022-10-17T20:31:53.538Z] $ docker rm -f 5d0e9dab715c8f3497924612741522a25624e758578b2351b6731fe143f42445 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:31:54.584Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-17T20:31:54.609Z] Warning: overwriting stash ‘coverage-report’ [2022-10-17T20:31:55.082Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-17T20:31:55.492Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-17T20:31:55.832Z] + ls -al . [2022-10-17T20:31:55.832Z] total 176 [2022-10-17T20:31:55.832Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:29 . [2022-10-17T20:31:55.832Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:27 .. [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 17 20:27 .dockerignore [2022-10-17T20:31:55.832Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 17 20:27 .git [2022-10-17T20:31:55.832Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:27 .github [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 17 20:27 .gitignore [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 17 20:27 .golangci.yml [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 17 20:27 Attribution.txt [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 17 20:27 CHANGELOG.md [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 17 20:27 Dockerfile [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 17 20:27 GOVERNANCE.md [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 17 20:27 Jenkinsfile [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 17 20:27 LICENSE [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 17 20:27 Makefile [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 17 20:27 OWNERS.md [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 17 20:27 README.md [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 17 20:24 VERSION [2022-10-17T20:31:55.832Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:27 bin [2022-10-17T20:31:55.832Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 17 20:27 cmd [2022-10-17T20:31:55.832Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 17 20:31 coverage.out [2022-10-17T20:31:55.832Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 17 20:27 driver [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 3547 Oct 17 20:27 go.mod [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 37946 Oct 17 20:27 go.sum [2022-10-17T20:31:55.832Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 17 20:27 snap [2022-10-17T20:31:55.832Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 17 20:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:31:56.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=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb --label arch=arm64 --label version=2.3.0-dev.20 . [2022-10-17T20:31:56.196Z] Sending build context to Docker daemon 137.7kB [2022-10-17T20:31:56.465Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-17T20:31:56.465Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-17T20:31:56.465Z] ---> 600f4c50e44b [2022-10-17T20:31:56.465Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-17T20:31:56.741Z] ---> Running in ef1b98154e3c [2022-10-17T20:31:57.020Z] Removing intermediate container ef1b98154e3c [2022-10-17T20:31:57.020Z] ---> fa930b248d6c [2022-10-17T20:31:57.020Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-17T20:31:57.020Z] ---> Running in 971aec247116 [2022-10-17T20:31:57.629Z] Removing intermediate container 971aec247116 [2022-10-17T20:31:57.629Z] ---> ce5fda6c51df [2022-10-17T20:31:57.629Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-17T20:31:57.629Z] ---> Running in 208cb3003ff6 [2022-10-17T20:31:57.901Z] Removing intermediate container 208cb3003ff6 [2022-10-17T20:31:57.901Z] ---> 6712c2962233 [2022-10-17T20:31:57.901Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-17T20:31:58.171Z] ---> Running in f7e616e1531d [2022-10-17T20:31:58.442Z] Removing intermediate container f7e616e1531d [2022-10-17T20:31:58.442Z] ---> fe98742f8312 [2022-10-17T20:31:58.442Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-17T20:31:58.442Z] ---> Running in 1904ba4c6af3 [2022-10-17T20:32:01.085Z] Removing intermediate container 1904ba4c6af3 [2022-10-17T20:32:01.085Z] ---> 8e10e281b521 [2022-10-17T20:32:01.085Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-17T20:32:01.085Z] ---> Running in 38eb05fc0278 [2022-10-17T20:32:02.518Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T20:32:03.496Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T20:32:04.931Z] OK: 226 MiB in 55 packages [2022-10-17T20:32:05.905Z] Removing intermediate container 38eb05fc0278 [2022-10-17T20:32:05.905Z] ---> 5f24c8d02944 [2022-10-17T20:32:05.905Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-17T20:32:06.175Z] ---> Running in cf7b1aba683a [2022-10-17T20:32:06.763Z] Removing intermediate container cf7b1aba683a [2022-10-17T20:32:06.763Z] ---> 746fb1347b00 [2022-10-17T20:32:06.763Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-17T20:32:07.729Z] ---> eb5b4f923f51 [2022-10-17T20:32:07.729Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-17T20:32:07.729Z] ---> Running in 629d76ef8db0 [2022-10-17T20:32:10.331Z] Removing intermediate container 629d76ef8db0 [2022-10-17T20:32:10.331Z] ---> bcba99c342e6 [2022-10-17T20:32:10.331Z] Step 12/26 : COPY . . [2022-10-17T20:32:10.922Z] ---> 6cc80951ed5f [2022-10-17T20:32:10.922Z] Step 13/26 : RUN $MAKE [2022-10-17T20:32:11.191Z] ---> Running in f5f4552e26a6 [2022-10-17T20:32:12.168Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.20" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-17T20:35:19.009Z] Removing intermediate container f5f4552e26a6 [2022-10-17T20:35:19.009Z] ---> e31cb972ab39 [2022-10-17T20:35:19.009Z] Step 14/26 : FROM alpine:3.16 [2022-10-17T20:35:19.009Z] 3.16: Pulling from library/alpine [2022-10-17T20:35:19.009Z] 9b18e9b68314: Already exists [2022-10-17T20:35:19.009Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-17T20:35:19.009Z] Status: Downloaded newer image for alpine:3.16 [2022-10-17T20:35:19.009Z] ---> a6215f271958 [2022-10-17T20:35:19.009Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-17T20:35:19.009Z] ---> Running in fb98e5a5e50e [2022-10-17T20:35:19.009Z] Removing intermediate container fb98e5a5e50e [2022-10-17T20:35:19.009Z] ---> 7ddfc837993c [2022-10-17T20:35:19.009Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-17T20:35:19.009Z] ---> Running in e612183b11ba [2022-10-17T20:35:19.009Z] Removing intermediate container e612183b11ba [2022-10-17T20:35:19.009Z] ---> 4f6a67482d61 [2022-10-17T20:35:19.009Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-17T20:35:19.009Z] ---> Running in 7a1c49a5aeda [2022-10-17T20:35:19.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-17T20:35:19.009Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-17T20:35:19.009Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-17T20:35:19.009Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-17T20:35:19.009Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-17T20:35:19.009Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-17T20:35:19.009Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-17T20:35:19.009Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-17T20:35:19.009Z] Executing busybox-1.35.0-r17.trigger [2022-10-17T20:35:19.009Z] OK: 8 MiB in 20 packages [2022-10-17T20:35:19.009Z] Removing intermediate container 7a1c49a5aeda [2022-10-17T20:35:19.009Z] ---> a17f3eeacd83 [2022-10-17T20:35:19.009Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-17T20:35:19.009Z] ---> d52b29e2d25f [2022-10-17T20:35:19.009Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-17T20:35:19.009Z] ---> f6efa7e4efcf [2022-10-17T20:35:19.009Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-17T20:35:19.009Z] ---> 2336ab8de7dc [2022-10-17T20:35:19.009Z] Step 21/26 : EXPOSE 59986 [2022-10-17T20:35:19.009Z] ---> Running in 1b8a209d1e13 [2022-10-17T20:35:19.009Z] Removing intermediate container 1b8a209d1e13 [2022-10-17T20:35:19.009Z] ---> c9f16dae3936 [2022-10-17T20:35:19.009Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-17T20:35:19.009Z] ---> Running in ef52c3de74de [2022-10-17T20:35:19.009Z] Removing intermediate container ef52c3de74de [2022-10-17T20:35:19.009Z] ---> 5c17d1e5937e [2022-10-17T20:35:19.009Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-17T20:35:19.009Z] ---> Running in 654a7c8092b4 [2022-10-17T20:35:19.009Z] Removing intermediate container 654a7c8092b4 [2022-10-17T20:35:19.009Z] ---> d0bc135a39d7 [2022-10-17T20:35:19.009Z] Step 24/26 : LABEL arch=arm64 [2022-10-17T20:35:19.009Z] ---> Running in 18ba8e556c1b [2022-10-17T20:35:19.009Z] Removing intermediate container 18ba8e556c1b [2022-10-17T20:35:19.009Z] ---> 2ff3f9fc453b [2022-10-17T20:35:19.009Z] Step 25/26 : LABEL git_sha=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [2022-10-17T20:35:19.009Z] ---> Running in beb59555cdb3 [2022-10-17T20:35:19.009Z] Removing intermediate container beb59555cdb3 [2022-10-17T20:35:19.009Z] ---> 5efdad2c3a8b [2022-10-17T20:35:19.009Z] Step 26/26 : LABEL version=2.3.0-dev.20 [2022-10-17T20:35:19.009Z] ---> Running in a019a415f4d3 [2022-10-17T20:35:19.009Z] Removing intermediate container a019a415f4d3 [2022-10-17T20:35:19.009Z] ---> 20e91f030a71 [2022-10-17T20:35:19.009Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-17T20:35:19.009Z] Successfully built 20e91f030a71 [2022-10-17T20:35:19.009Z] 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 [2022-10-17T20:35:19.131Z] provisioning config files... [2022-10-17T20:35:19.147Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/64@tmp/config2942926495055295198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:35:19.488Z] ---> docker-login.sh [2022-10-17T20:35:19.488Z] nexus3.edgexfoundry.org:10001 [2022-10-17T20:35:19.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:35:19.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:35:19.757Z] Configure a credential helper to remove this warning. See [2022-10-17T20:35:19.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:35:19.757Z] [2022-10-17T20:35:19.757Z] Login Succeeded [2022-10-17T20:35:19.757Z] nexus3.edgexfoundry.org:10002 [2022-10-17T20:35:20.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:35:20.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:35:20.295Z] Configure a credential helper to remove this warning. See [2022-10-17T20:35:20.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:35:20.295Z] [2022-10-17T20:35:20.295Z] Login Succeeded [2022-10-17T20:35:20.295Z] nexus3.edgexfoundry.org:10003 [2022-10-17T20:35:20.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:35:20.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:35:20.564Z] Configure a credential helper to remove this warning. See [2022-10-17T20:35:20.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:35:20.564Z] [2022-10-17T20:35:20.564Z] Login Succeeded [2022-10-17T20:35:20.564Z] nexus3.edgexfoundry.org:10004 [2022-10-17T20:35:20.832Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:35:21.101Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:35:21.101Z] Configure a credential helper to remove this warning. See [2022-10-17T20:35:21.101Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:35:21.101Z] [2022-10-17T20:35:21.101Z] Login Succeeded [2022-10-17T20:35:21.101Z] docker.io [2022-10-17T20:35:21.367Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-17T20:35:21.633Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-17T20:35:21.633Z] Configure a credential helper to remove this warning. See [2022-10-17T20:35:21.633Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-17T20:35:21.633Z] [2022-10-17T20:35:21.633Z] Login Succeeded [2022-10-17T20:35:21.633Z] ---> docker-login.sh ends [Pipeline] } [2022-10-17T20:35:21.646Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-17T20:35:21.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-17T20:35:21.709Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-10-17T20:35:21.709Z] 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [2022-10-17T20:35:21.709Z] latest [2022-10-17T20:35:21.709Z] 2.3.0-dev.20 [2022-10-17T20:35:21.709Z] 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [2022-10-17T20:35:21.709Z] main [2022-10-17T20:35:21.709Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:22.066Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:22.414Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [2022-10-17T20:35:22.414Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-17T20:35:22.414Z] 2437951ba477: Preparing [2022-10-17T20:35:22.414Z] 28cdaeb34e85: Preparing [2022-10-17T20:35:22.414Z] 623c077d4bd7: Preparing [2022-10-17T20:35:22.414Z] 3192649d10c0: Preparing [2022-10-17T20:35:22.414Z] 5d3e392a13a0: Preparing [2022-10-17T20:35:22.415Z] 5d3e392a13a0: Layer already exists [2022-10-17T20:35:22.682Z] 2437951ba477: Pushed [2022-10-17T20:35:22.682Z] 28cdaeb34e85: Pushed [2022-10-17T20:35:23.267Z] 3192649d10c0: Pushed [2022-10-17T20:35:28.617Z] 623c077d4bd7: Pushed [2022-10-17T20:35:28.617Z] 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:28.967Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:29.311Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-10-17T20:35:29.311Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-17T20:35:29.311Z] 2437951ba477: Preparing [2022-10-17T20:35:29.311Z] 28cdaeb34e85: Preparing [2022-10-17T20:35:29.311Z] 623c077d4bd7: Preparing [2022-10-17T20:35:29.311Z] 3192649d10c0: Preparing [2022-10-17T20:35:29.311Z] 5d3e392a13a0: Preparing [2022-10-17T20:35:29.311Z] 28cdaeb34e85: Layer already exists [2022-10-17T20:35:29.311Z] 5d3e392a13a0: Layer already exists [2022-10-17T20:35:29.311Z] 623c077d4bd7: Layer already exists [2022-10-17T20:35:29.311Z] 2437951ba477: Layer already exists [2022-10-17T20:35:29.311Z] 3192649d10c0: Layer already exists [2022-10-17T20:35:29.397Z] latest: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:29.769Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:30.126Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.20 [2022-10-17T20:35:30.126Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-17T20:35:30.126Z] 2437951ba477: Preparing [2022-10-17T20:35:30.126Z] 28cdaeb34e85: Preparing [2022-10-17T20:35:30.126Z] 623c077d4bd7: Preparing [2022-10-17T20:35:30.126Z] 3192649d10c0: Preparing [2022-10-17T20:35:30.126Z] 5d3e392a13a0: Preparing [2022-10-17T20:35:30.126Z] 623c077d4bd7: Layer already exists [2022-10-17T20:35:30.126Z] 28cdaeb34e85: Layer already exists [2022-10-17T20:35:30.126Z] 3192649d10c0: Layer already exists [2022-10-17T20:35:30.126Z] 5d3e392a13a0: Layer already exists [2022-10-17T20:35:30.126Z] 2437951ba477: Layer already exists [2022-10-17T20:35:30.395Z] 2.3.0-dev.20: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:30.761Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:31.134Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [2022-10-17T20:35:31.134Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-17T20:35:31.134Z] 2437951ba477: Preparing [2022-10-17T20:35:31.134Z] 28cdaeb34e85: Preparing [2022-10-17T20:35:31.134Z] 623c077d4bd7: Preparing [2022-10-17T20:35:31.134Z] 3192649d10c0: Preparing [2022-10-17T20:35:31.134Z] 5d3e392a13a0: Preparing [2022-10-17T20:35:31.134Z] 5d3e392a13a0: Layer already exists [2022-10-17T20:35:31.134Z] 623c077d4bd7: Layer already exists [2022-10-17T20:35:31.134Z] 28cdaeb34e85: Layer already exists [2022-10-17T20:35:31.134Z] 2437951ba477: Layer already exists [2022-10-17T20:35:31.134Z] 3192649d10c0: Layer already exists [2022-10-17T20:35:31.134Z] 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:31.484Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:31.816Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-10-17T20:35:31.816Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-17T20:35:31.816Z] 2437951ba477: Preparing [2022-10-17T20:35:31.816Z] 28cdaeb34e85: Preparing [2022-10-17T20:35:31.816Z] 623c077d4bd7: Preparing [2022-10-17T20:35:31.816Z] 3192649d10c0: Preparing [2022-10-17T20:35:31.816Z] 5d3e392a13a0: Preparing [2022-10-17T20:35:31.816Z] 5d3e392a13a0: Layer already exists [2022-10-17T20:35:31.816Z] 2437951ba477: Layer already exists [2022-10-17T20:35:31.816Z] 28cdaeb34e85: Layer already exists [2022-10-17T20:35:31.816Z] 3192649d10c0: Layer already exists [2022-10-17T20:35:31.816Z] 623c077d4bd7: Layer already exists [2022-10-17T20:35:31.816Z] main: digest: sha256:249633dab5a53e5d2ad87a9d37142311a20ecb4a7952dbf169f1144f0d93c271 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-17T20:35:32.140Z] ===================================================== [Pipeline] echo [2022-10-17T20:35:32.149Z] taggedImages: [2022-10-17T20:35:32.149Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [2022-10-17T20:35:32.149Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-10-17T20:35:32.149Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.20 [2022-10-17T20:35:32.149Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:626f6c6d709bfdfff0bd38f00197e38acd6ec0eb-2.3.0-dev.20 [2022-10-17T20:35:32.149Z] - 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 [2022-10-17T20:35:32.507Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T20:35:32.507Z] [2022-10-17T20:35:32.507Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:35:32.839Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T20:35:32.839Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-17T20:35:32.839Z] 8998bd30e6a1: Pulling fs layer [2022-10-17T20:35:32.839Z] 04944245beec: Pulling fs layer [2022-10-17T20:35:32.839Z] 699f458cf7ca: Pulling fs layer [2022-10-17T20:35:32.839Z] 765212b225bb: Pulling fs layer [2022-10-17T20:35:32.839Z] f23df028b6ca: Pulling fs layer [2022-10-17T20:35:32.839Z] d65c8cfc05b1: Pulling fs layer [2022-10-17T20:35:32.839Z] 2437ff75d9bd: Pulling fs layer [2022-10-17T20:35:32.839Z] 765212b225bb: Waiting [2022-10-17T20:35:32.839Z] f23df028b6ca: Waiting [2022-10-17T20:35:32.839Z] d65c8cfc05b1: Waiting [2022-10-17T20:35:32.839Z] 2437ff75d9bd: Waiting [2022-10-17T20:35:33.118Z] 04944245beec: Verifying Checksum [2022-10-17T20:35:33.118Z] 04944245beec: Download complete [2022-10-17T20:35:33.118Z] 765212b225bb: Verifying Checksum [2022-10-17T20:35:33.118Z] 765212b225bb: Download complete [2022-10-17T20:35:33.118Z] f23df028b6ca: Verifying Checksum [2022-10-17T20:35:33.118Z] f23df028b6ca: Download complete [2022-10-17T20:35:33.118Z] d65c8cfc05b1: Verifying Checksum [2022-10-17T20:35:33.118Z] d65c8cfc05b1: Download complete [2022-10-17T20:35:33.388Z] 699f458cf7ca: Verifying Checksum [2022-10-17T20:35:33.388Z] 699f458cf7ca: Download complete [2022-10-17T20:35:33.656Z] 8998bd30e6a1: Download complete [2022-10-17T20:35:36.239Z] 2437ff75d9bd: Verifying Checksum [2022-10-17T20:35:36.239Z] 2437ff75d9bd: Download complete [2022-10-17T20:35:37.644Z] 8998bd30e6a1: Pull complete [2022-10-17T20:35:38.227Z] 04944245beec: Pull complete [2022-10-17T20:35:39.637Z] 699f458cf7ca: Pull complete [2022-10-17T20:35:39.637Z] 765212b225bb: Pull complete [2022-10-17T20:35:40.221Z] f23df028b6ca: Pull complete [2022-10-17T20:35:40.488Z] d65c8cfc05b1: Pull complete [2022-10-17T20:35:55.512Z] 2437ff75d9bd: Pull complete [2022-10-17T20:35:55.512Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-17T20:35:55.512Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-17T20:35:55.512Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:35:55.684Z] prd-ubuntu20.04-docker-arm64-4c-16g-8409 does not seem to be running inside a container [2022-10-17T20:35:55.764Z] $ 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/64 -v /w/workspace/device-rest-go/64:/w/workspace/device-rest-go/64:rw,z -v /w/workspace/device-rest-go/64@tmp:/w/workspace/device-rest-go/64@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 [2022-10-17T20:35:58.438Z] $ docker top f73cce21038777de389c2c187dbf7b3ed8791cfad71d71ea680170e81d420bef -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:35:59.268Z] ---> job-cost.sh [2022-10-17T20:35:59.269Z] lf-activate-venv: SKIPPING [2022-10-17T20:35:59.269Z] INFO: No Stack... [2022-10-17T20:35:59.536Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-17T20:36:00.496Z] INFO: Archiving Costs [Pipeline] sh [2022-10-17T20:36:01.137Z] + cat /w/workspace/device-rest-go/64/archives/cost.csv [2022-10-17T20:36:01.137Z] + cut -d, -f6 [Pipeline] lock [2022-10-17T20:36:01.215Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [2022-10-17T20:36:01.224Z] Resource [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] did not exist. Created. [2022-10-17T20:36:01.224Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-17T20:36:01.884Z] /w/workspace/device-rest-go/64@tmp/durable-412ab839/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-17T20:36:02.223Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-17T20:36:02.249Z] Warning: overwriting stash ‘stack-cost’ [2022-10-17T20:36:02.306Z] Stashed 1 file(s) [Pipeline] } [2022-10-17T20:36:02.313Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-64-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-17T20:36:02.346Z] $ docker stop --time=1 f73cce21038777de389c2c187dbf7b3ed8791cfad71d71ea680170e81d420bef [2022-10-17T20:36:03.888Z] $ docker rm -f f73cce21038777de389c2c187dbf7b3ed8791cfad71d71ea680170e81d420bef [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 [2022-10-17T20:36:04.260Z] provisioning config files... [2022-10-17T20:36:04.268Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1464981318839917447tmp [Pipeline] { [Pipeline] sh [2022-10-17T20:36:04.560Z] + set +x [2022-10-17T20:36:04.561Z] + + bashcurl -s -s -- https://codecov.io/bash [2022-10-17T20:36:04.561Z] [2022-10-17T20:36:04.561Z] [2022-10-17T20:36:04.561Z] _____ _ [2022-10-17T20:36:04.561Z] / ____| | | [2022-10-17T20:36:04.561Z] | | ___ __| | ___ ___ _____ __ [2022-10-17T20:36:04.561Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-17T20:36:04.561Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-17T20:36:04.561Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-17T20:36:04.561Z] Bash-1.0.6 [2022-10-17T20:36:04.561Z] [2022-10-17T20:36:04.561Z] [2022-10-17T20:36:04.561Z] ==> git version 2.25.1 found [2022-10-17T20:36:04.561Z] ==> 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 [2022-10-17T20:36:04.561Z] Release-Date: 2020-01-08 [2022-10-17T20:36:04.561Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-10-17T20:36:04.561Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-17T20:36:04.561Z] ==> Jenkins CI detected. [2022-10-17T20:36:04.561Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-10-17T20:36:04.561Z] project root: . [2022-10-17T20:36:04.561Z] --> token set from env [2022-10-17T20:36:04.561Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-17T20:36:04.561Z] ==> Running gcov in . (disable via -X gcov) [2022-10-17T20:36:04.561Z] ==> Python coveragepy not found [2022-10-17T20:36:04.561Z] ==> Searching for coverage reports in: [2022-10-17T20:36:04.561Z] + . [2022-10-17T20:36:04.561Z] -> Found 1 reports [2022-10-17T20:36:04.561Z] ==> Detecting git/mercurial file structure [2022-10-17T20:36:04.561Z] ==> Reading reports [2022-10-17T20:36:04.561Z] + ./coverage.out bytes=9355 [2022-10-17T20:36:04.561Z] ==> Appending adjustments [2022-10-17T20:36:04.561Z] https://docs.codecov.io/docs/fixing-reports [2022-10-17T20:36:04.821Z] + Found adjustments [2022-10-17T20:36:04.821Z] ==> Gzipping contents [2022-10-17T20:36:04.821Z] 4.0K /tmp/codecov.D2GI2w.gz [2022-10-17T20:36:04.821Z] ==> Uploading reports [2022-10-17T20:36:04.821Z] url: https://codecov.io [2022-10-17T20:36:04.821Z] query: branch=main&commit=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-17T20:36:04.821Z] -> Pinging Codecov [2022-10-17T20:36:04.821Z] 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=626f6c6d709bfdfff0bd38f00197e38acd6ec0eb&build=64&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F64%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-17T20:36:05.082Z] -> Uploading to [2022-10-17T20:36:05.082Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-17/4E5D53B4F1F92C436F7061BF334D961C/626f6c6d709bfdfff0bd38f00197e38acd6ec0eb/b8f9c425-2067-4a13-8f75-403a06881dc6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221017%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221017T203604Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=124d2da9006356253c38469b9215c40af83b3d60f40f5d67993c1926bf85d441 [2022-10-17T20:36:05.082Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-17T20:36:05.082Z] Dload Upload Total Spent Left Speed [2022-10-17T20:36:05.082Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7936 --:--:-- --:--:-- --:--:-- 7936 [2022-10-17T20:36:05.082Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] } [2022-10-17T20:36:05.089Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-17T20:36:05.297Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-17T20:36:05.311Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:36:05.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-17T20:36:05.606Z] [2022-10-17T20:36:05.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:36:05.904Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-17T20:36:05.904Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-17T20:36:05.904Z] df9b9388f04a: Pulling fs layer [2022-10-17T20:36:05.904Z] 52dc419b0ee2: Pulling fs layer [2022-10-17T20:36:05.904Z] 25bc292e5bac: Pulling fs layer [2022-10-17T20:36:05.904Z] 114826534d7a: Pulling fs layer [2022-10-17T20:36:05.904Z] 4657fd5d0bcf: Pulling fs layer [2022-10-17T20:36:05.904Z] 6ad1cebc031e: Pulling fs layer [2022-10-17T20:36:05.904Z] 8a3aa393b2d8: Pulling fs layer [2022-10-17T20:36:05.904Z] 114826534d7a: Waiting [2022-10-17T20:36:05.904Z] 6ad1cebc031e: Waiting [2022-10-17T20:36:05.904Z] 8a3aa393b2d8: Waiting [2022-10-17T20:36:05.904Z] 25bc292e5bac: Download complete [2022-10-17T20:36:05.904Z] 52dc419b0ee2: Download complete [2022-10-17T20:36:05.904Z] 4657fd5d0bcf: Download complete [2022-10-17T20:36:05.904Z] df9b9388f04a: Verifying Checksum [2022-10-17T20:36:05.904Z] df9b9388f04a: Download complete [2022-10-17T20:36:06.174Z] df9b9388f04a: Pull complete [2022-10-17T20:36:06.174Z] 52dc419b0ee2: Pull complete [2022-10-17T20:36:06.174Z] 6ad1cebc031e: Verifying Checksum [2022-10-17T20:36:06.174Z] 6ad1cebc031e: Download complete [2022-10-17T20:36:06.174Z] 25bc292e5bac: Pull complete [2022-10-17T20:36:07.167Z] 114826534d7a: Verifying Checksum [2022-10-17T20:36:07.167Z] 114826534d7a: Download complete [2022-10-17T20:36:07.167Z] 8a3aa393b2d8: Verifying Checksum [2022-10-17T20:36:07.167Z] 8a3aa393b2d8: Download complete [2022-10-17T20:36:10.447Z] 114826534d7a: Pull complete [2022-10-17T20:36:10.447Z] 4657fd5d0bcf: Pull complete [2022-10-17T20:36:10.705Z] 6ad1cebc031e: Pull complete [2022-10-17T20:36:13.228Z] 8a3aa393b2d8: Pull complete [2022-10-17T20:36:13.228Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-17T20:36:13.228Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-17T20:36:13.228Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:36:13.301Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:36:13.325Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-10-17T20:36:16.427Z] $ docker top e157c2e559dde4813efdaf42f28df200b499d3b77b7200d691f0be5554304f2b -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-17T20:36:16.489Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-10-17T20:36:16.767Z] + set -o pipefail [2022-10-17T20:36:16.767Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-10-17T20:36:23.323Z] [2022-10-17T20:36:23.324Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-10-17T20:36:23.324Z] [2022-10-17T20:36:23.324Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/74ad1114-ea5e-48cc-9900-2e9d2892ee29 [2022-10-17T20:36:23.324Z] [2022-10-17T20:36:23.324Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-10-17T20:36:23.324Z] [2022-10-17T20:36:23.324Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-17T20:36:23.324Z] [2022-10-17T20:36:23.324Z] [2022-10-17T20:36:23.324Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-17T20:36:23.324Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-17T20:36:23.324Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-17T20:36:23.329Z] $ docker stop --time=1 e157c2e559dde4813efdaf42f28df200b499d3b77b7200d691f0be5554304f2b [2022-10-17T20:36:26.491Z] $ docker rm -f e157c2e559dde4813efdaf42f28df200b499d3b77b7200d691f0be5554304f2b [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 [2022-10-17T20:36:27.133Z] + git log --format=format:%s -1 626f6c6d709bfdfff0bd38f00197e38acd6ec0eb [Pipeline] sh [2022-10-17T20:36:27.417Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T20:36:27.417Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:36:27.708Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:36:27.708Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:36:27.764Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:36:27.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T20:36:28.208Z] $ docker top 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f -eo pid,comm [2022-10-17T20:36:28.258Z] 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). [2022-10-17T20:36:28.258Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T20:36:28.295Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T20:36:28.295Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T20:36:28.401Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T20:36:28.399Z] $ docker exec 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f ssh-agent [2022-10-17T20:36:28.519Z] SSH_AUTH_SOCK=/tmp/ssh-C2bOfd71IGnz/agent.32 [2022-10-17T20:36:28.519Z] SSH_AGENT_PID=38 [2022-10-17T20:36:28.524Z] Running ssh-add (command line suppressed) [2022-10-17T20:36:28.611Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11668627921518720390.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11668627921518720390.key) [2022-10-17T20:36:28.628Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T20:36:28.910Z] + git semver tag [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,075 [run_tag] DEBUG tag force:False [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,075 [check_head_tag] DEBUG check head tag [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,076 [execute] INFO git cat-file --batch-check [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,076 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,079 [execute] INFO git cat-file --batch [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,080 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,094 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,094 [execute] INFO git tag -a v2.3.0-dev.20 -m v2.3.0-dev.20 [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,095 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.20', '-m', 'v2.3.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-10-17T20:36:29.168Z] 2022-10-17 20:36:29,099 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-17T20:36:29.168Z] 2.3.0-dev.20 [Pipeline] } [2022-10-17T20:36:29.172Z] $ docker exec --env ******** --env ******** 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f ssh-agent -k [2022-10-17T20:36:29.270Z] unset SSH_AUTH_SOCK; [2022-10-17T20:36:29.271Z] unset SSH_AGENT_PID; [2022-10-17T20:36:29.271Z] echo Agent pid 38 killed; [2022-10-17T20:36:29.285Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T20:36:29.583Z] + git semver [Pipeline] } [2022-10-17T20:36:29.849Z] $ docker stop --time=1 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f [2022-10-17T20:36:31.131Z] $ docker rm -f 55e43987bfc2f05a2b79482077f1c8773b040e43be4f42baeda08493d35cff3f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:36:31.519Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-17T20:36:31.519Z] [2022-10-17T20:36:31.519Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:36:31.812Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-17T20:36:31.813Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-17T20:36:31.813Z] ab5ef0e58194: Pulling fs layer [2022-10-17T20:36:31.813Z] 9712f1f96733: Pulling fs layer [2022-10-17T20:36:31.813Z] 63f879dbbcfc: Pulling fs layer [2022-10-17T20:36:31.813Z] 0d9ebad4ef96: Pulling fs layer [2022-10-17T20:36:31.813Z] e9a5061849ea: Pulling fs layer [2022-10-17T20:36:31.813Z] d747dcd14b5f: Pulling fs layer [2022-10-17T20:36:31.813Z] 2de7ff778b66: Pulling fs layer [2022-10-17T20:36:31.813Z] d747dcd14b5f: Waiting [2022-10-17T20:36:31.813Z] 0d9ebad4ef96: Waiting [2022-10-17T20:36:31.813Z] 2de7ff778b66: Waiting [2022-10-17T20:36:31.813Z] e9a5061849ea: Waiting [2022-10-17T20:36:31.813Z] 9712f1f96733: Download complete [2022-10-17T20:36:32.385Z] 63f879dbbcfc: Verifying Checksum [2022-10-17T20:36:32.385Z] 63f879dbbcfc: Download complete [2022-10-17T20:36:32.385Z] 0d9ebad4ef96: Verifying Checksum [2022-10-17T20:36:32.385Z] 0d9ebad4ef96: Download complete [2022-10-17T20:36:32.385Z] d747dcd14b5f: Verifying Checksum [2022-10-17T20:36:32.385Z] d747dcd14b5f: Download complete [2022-10-17T20:36:32.646Z] e9a5061849ea: Verifying Checksum [2022-10-17T20:36:32.646Z] e9a5061849ea: Download complete [2022-10-17T20:36:32.646Z] ab5ef0e58194: Verifying Checksum [2022-10-17T20:36:32.646Z] ab5ef0e58194: Download complete [2022-10-17T20:36:32.646Z] 2de7ff778b66: Verifying Checksum [2022-10-17T20:36:32.646Z] 2de7ff778b66: Download complete [2022-10-17T20:36:35.178Z] ab5ef0e58194: Pull complete [2022-10-17T20:36:35.178Z] 9712f1f96733: Pull complete [2022-10-17T20:36:35.746Z] 63f879dbbcfc: Pull complete [2022-10-17T20:36:39.024Z] 0d9ebad4ef96: Pull complete [2022-10-17T20:36:39.282Z] e9a5061849ea: Pull complete [2022-10-17T20:36:39.282Z] d747dcd14b5f: Pull complete [2022-10-17T20:36:40.215Z] 2de7ff778b66: Pull complete [2022-10-17T20:36:40.216Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-17T20:36:40.216Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-17T20:36:40.216Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:36:40.283Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:36:40.305Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-10-17T20:36:44.441Z] $ docker top a67e4398689460be0d77a7c50532ca9c63b747f180bcabeccad71095222df1ea -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:36:44.519Z] provisioning config files... [2022-10-17T20:36:44.525Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16546795479766559960tmp [2022-10-17T20:36:44.535Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8053853947325378313tmp [2022-10-17T20:36:44.545Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5645594005876839120tmp [Pipeline] { [Pipeline] echo [2022-10-17T20:36:44.558Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:36:44.834Z] ---> sigul-configuration.sh [2022-10-17T20:36:44.834Z] gpg: directory `/root/.gnupg' created [2022-10-17T20:36:44.834Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-17T20:36:44.834Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-17T20:36:44.834Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-17T20:36:44.834Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-17T20:36:44.834Z] gpg: CAST5 encrypted data [2022-10-17T20:36:44.834Z] gpg: encrypted with 1 passphrase [2022-10-17T20:36:44.834Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-17T20:36:45.116Z] + mkdir /home/jenkins [2022-10-17T20:36:45.116Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-17T20:36:45.403Z] + 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 [2022-10-17T20:36:45.412Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:36:45.692Z] ---> sigul-install.sh [2022-10-17T20:36:45.692Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-17T20:36:45.972Z] + git tag --list [2022-10-17T20:36:45.972Z] v1.0.0 [2022-10-17T20:36:45.972Z] v1.1.0 [2022-10-17T20:36:45.972Z] v1.1.1 [2022-10-17T20:36:45.972Z] v1.1.2 [2022-10-17T20:36:45.972Z] v1.2.0 [2022-10-17T20:36:45.972Z] v1.2.1 [2022-10-17T20:36:45.972Z] v2.0.0 [2022-10-17T20:36:45.972Z] v2.1.0 [2022-10-17T20:36:45.972Z] v2.1.1 [2022-10-17T20:36:45.972Z] v2.1.1-dev.1 [2022-10-17T20:36:45.972Z] v2.1.1-dev.2 [2022-10-17T20:36:45.972Z] v2.1.1-dev.3 [2022-10-17T20:36:45.972Z] v2.2.0 [2022-10-17T20:36:45.972Z] v2.2.1-dev.1 [2022-10-17T20:36:45.972Z] v2.2.1-dev.2 [2022-10-17T20:36:45.972Z] v2.2.1-dev.3 [2022-10-17T20:36:45.972Z] v2.2.1-dev.4 [2022-10-17T20:36:45.972Z] v2.2.1-dev.5 [2022-10-17T20:36:45.972Z] v2.2.1-dev.6 [2022-10-17T20:36:45.972Z] v2.2.1-dev.7 [2022-10-17T20:36:45.972Z] v2.2.1-dev.8 [2022-10-17T20:36:45.972Z] v2.2.1-dev.9 [2022-10-17T20:36:45.972Z] v2.3.0-dev.10 [2022-10-17T20:36:45.972Z] v2.3.0-dev.11 [2022-10-17T20:36:45.972Z] v2.3.0-dev.12 [2022-10-17T20:36:45.972Z] v2.3.0-dev.13 [2022-10-17T20:36:45.972Z] v2.3.0-dev.14 [2022-10-17T20:36:45.972Z] v2.3.0-dev.15 [2022-10-17T20:36:45.972Z] v2.3.0-dev.16 [2022-10-17T20:36:45.972Z] v2.3.0-dev.17 [2022-10-17T20:36:45.972Z] v2.3.0-dev.18 [2022-10-17T20:36:45.972Z] v2.3.0-dev.19 [2022-10-17T20:36:45.972Z] v2.3.0-dev.20 [2022-10-17T20:36:45.972Z] v2.3.0-dev.9 [Pipeline] sh [2022-10-17T20:36:46.257Z] + lftools sign git-tag v2.3.0-dev.20 [2022-10-17T20:36:46.822Z] Signing Git tag with Sigul... [2022-10-17T20:36:46.822Z] Signing v2.3.0-dev.20 [Pipeline] echo [2022-10-17T20:36:47.091Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:36:47.373Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-17T20:36:47.381Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-17T20:36:47.395Z] $ docker stop --time=1 a67e4398689460be0d77a7c50532ca9c63b747f180bcabeccad71095222df1ea [2022-10-17T20:36:48.687Z] $ docker rm -f a67e4398689460be0d77a7c50532ca9c63b747f180bcabeccad71095222df1ea [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-17T20:36:49.118Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T20:36:49.118Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:36:49.411Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:36:49.411Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:36:49.479Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:36:49.501Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T20:36:49.820Z] $ docker top e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T20:36:49.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T20:36:49.896Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T20:36:49.996Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T20:36:49.994Z] $ docker exec e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 ssh-agent [2022-10-17T20:36:50.119Z] SSH_AUTH_SOCK=/tmp/ssh-w7A3pW3kk76f/agent.32 [2022-10-17T20:36:50.119Z] SSH_AGENT_PID=38 [2022-10-17T20:36:50.123Z] Running ssh-add (command line suppressed) [2022-10-17T20:36:50.214Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7990176688183297067.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7990176688183297067.key) [2022-10-17T20:36:50.231Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T20:36:50.512Z] + git semver bump pre [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,676 [bump_version] DEBUG bumping version:2.3.0-dev.20 on axis:pre with prefix:dev [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,676 [bump_version] DEBUG bumped version:2.3.0-dev.21 [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,676 [write_version] DEBUG write version:2.3.0-dev.21 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,676 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,676 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,679 [execute] INFO git cat-file --batch-check [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,679 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,684 [execute] INFO git cat-file --batch [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,684 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T20:36:50.772Z] 2022-10-17 20:36:50,690 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-17T20:36:50.772Z] 2.3.0-dev.21 [Pipeline] } [2022-10-17T20:36:50.778Z] $ docker exec --env ******** --env ******** e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 ssh-agent -k [2022-10-17T20:36:50.876Z] unset SSH_AUTH_SOCK; [2022-10-17T20:36:50.876Z] unset SSH_AGENT_PID; [2022-10-17T20:36:50.876Z] echo Agent pid 38 killed; [2022-10-17T20:36:50.890Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T20:36:51.186Z] + git semver [Pipeline] } [2022-10-17T20:36:51.452Z] $ docker stop --time=1 e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 [2022-10-17T20:36:52.714Z] $ docker rm -f e1b2b14727e933e53cc88d2b4ecee94b59dabe41ded242749644b09f9d093014 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-17T20:36:53.046Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-17T20:36:53.046Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:36:53.339Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-17T20:36:53.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:36:53.395Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:36:53.418Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-10-17T20:36:53.751Z] $ docker top 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 -eo pid,comm [2022-10-17T20:36:53.801Z] 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). [2022-10-17T20:36:53.801Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-17T20:36:53.838Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-17T20:36:53.838Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-17T20:36:53.937Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-17T20:36:53.935Z] $ docker exec 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 ssh-agent [2022-10-17T20:36:54.048Z] SSH_AUTH_SOCK=/tmp/ssh-susDpqoQ5xKx/agent.33 [2022-10-17T20:36:54.048Z] SSH_AGENT_PID=39 [2022-10-17T20:36:54.053Z] Running ssh-add (command line suppressed) [2022-10-17T20:36:54.149Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4846517087314932625.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4846517087314932625.key) [2022-10-17T20:36:54.166Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-17T20:36:54.453Z] + git semver push [2022-10-17T20:36:54.712Z] 2022-10-17 20:36:54,598 [run_push] DEBUG push [2022-10-17T20:36:54.712Z] 2022-10-17 20:36:54,599 [execute] INFO git cat-file --batch-check [2022-10-17T20:36:54.712Z] 2022-10-17 20:36:54,599 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-17T20:36:54.712Z] 2022-10-17 20:36:54,603 [execute] INFO git rev-list 72b625d7db8911b89954c84e538ea44f2e65ebcb -- [2022-10-17T20:36:54.712Z] 2022-10-17 20:36:54,603 [execute] DEBUG Popen(['git', 'rev-list', '72b625d7db8911b89954c84e538ea44f2e65ebcb', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-17T20:36:54.712Z] 2022-10-17 20:36:54,611 [execute] INFO git fetch -v origin [2022-10-17T20:36:54.712Z] 2022-10-17 20:36:54,611 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-10-17T20:36:55.286Z] 2022-10-17 20:36:55,207 [run_push] DEBUG no remote changes detected [2022-10-17T20:36:55.286Z] 2022-10-17 20:36:55,208 [execute] INFO git push origin semver [2022-10-17T20:36:55.286Z] 2022-10-17 20:36:55,208 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-17T20:36:56.222Z] 2022-10-17 20:36:56,013 [run_push] DEBUG push all version tags [2022-10-17T20:36:56.222Z] 2022-10-17 20:36:56,013 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-17T20:36:56.222Z] 2022-10-17 20:36:56,014 [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) [2022-10-17T20:36:57.158Z] 2022-10-17 20:36:56,937 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-17T20:36:57.158Z] 2.3.0-dev.21 [Pipeline] } [2022-10-17T20:36:57.162Z] $ docker exec --env ******** --env ******** 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 ssh-agent -k [2022-10-17T20:36:57.255Z] unset SSH_AUTH_SOCK; [2022-10-17T20:36:57.256Z] unset SSH_AGENT_PID; [2022-10-17T20:36:57.256Z] echo Agent pid 39 killed; [2022-10-17T20:36:57.272Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-17T20:36:57.568Z] + git semver [Pipeline] } [2022-10-17T20:36:57.850Z] $ docker stop --time=1 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 [2022-10-17T20:36:59.134Z] $ docker rm -f 3143b30cf180005ea29e7c7560c1fa41ed7822b96bb0e5e66fd2934af4c13395 [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 [2022-10-17T20:36:59.660Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-10-17T20:36:59.660Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-17T20:36:59.660Z] total 16 [2022-10-17T20:36:59.660Z] drwxr-xr-x 3 root root 4096 Oct 17 20:26 . [2022-10-17T20:36:59.660Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:36 .. [2022-10-17T20:36:59.660Z] drwxr-xr-x 2 root root 4096 Oct 17 20:26 cost [2022-10-17T20:36:59.660Z] -rw-r--r-- 1 root root 85 Oct 17 20:26 cost.csv [2022-10-17T20:36:59.660Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-17T20:36:59.660Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-17T20:36:59.660Z] total 16 [2022-10-17T20:36:59.660Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 17 20:26 . [2022-10-17T20:36:59.660Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 17 20:36 .. [2022-10-17T20:36:59.660Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 17 20:26 cost [2022-10-17T20:36:59.660Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 17 20:26 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:37:00.007Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:37:00.866Z] ---> package-listing.sh [2022-10-17T20:37:00.866Z] ++ facter osfamily [2022-10-17T20:37:00.866Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-17T20:37:01.125Z] + OS_FAMILY=debian [2022-10-17T20:37:01.125Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-10-17T20:37:01.125Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-17T20:37:01.125Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-17T20:37:01.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-17T20:37:01.125Z] + PACKAGES=/tmp/packages_start.txt [2022-10-17T20:37:01.125Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-17T20:37:01.125Z] + PACKAGES=/tmp/packages_end.txt [2022-10-17T20:37:01.125Z] + case "${OS_FAMILY}" in [2022-10-17T20:37:01.125Z] + dpkg -l [2022-10-17T20:37:01.125Z] + grep '^ii' [2022-10-17T20:37:01.125Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-17T20:37:01.125Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-17T20:37:01.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-17T20:37:01.125Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-17T20:37:01.125Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-10-17T20:37:01.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-10-17T20:37:01.134Z] 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 [2022-10-17T20:37:01.409Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-17T20:37:01.967Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-17T20:37:01.967Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-17T20:37:02.031Z] prd-ubuntu20.04-docker-8c-8g-8406 does not seem to be running inside a container [2022-10-17T20:37:02.056Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-10-17T20:37:02.260Z] $ docker top 7a9f6fa520b9ec04e0c5923b5de1527930effcb135bff173fb0898a830aa611c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-17T20:37:02.605Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-17T20:37:02.889Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-17T20:37:03.170Z] + ls /var/log/sa-host [2022-10-17T20:37:03.170Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-17T20:37:03.229Z] provisioning config files... [2022-10-17T20:37:03.236Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11568447852546063408tmp [Pipeline] { [Pipeline] echo [2022-10-17T20:37:03.248Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:37:03.529Z] ---> create-netrc.sh [Pipeline] } [2022-10-17T20:37:03.536Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:37:03.849Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-17T20:37:03.856Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:37:04.137Z] ---> sudo-logs.sh [2022-10-17T20:37:04.137Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-17T20:37:04.155Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:37:04.432Z] ---> job-cost.sh [2022-10-17T20:37:04.432Z] lf-activate-venv: SKIPPING [2022-10-17T20:37:04.432Z] DEBUG: total: 0.2199999988079071 [2022-10-17T20:37:04.432Z] INFO: Retrieving Stack Cost... [2022-10-17T20:37:05.000Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-17T20:37:05.260Z] INFO: Archiving Costs [Pipeline] echo [2022-10-17T20:37:05.272Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-17T20:37:05.555Z] ---> logs-deploy.sh [2022-10-17T20:37:05.555Z] lf-activate-venv: SKIPPING [2022-10-17T20:37:05.555Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/64 [2022-10-17T20:37:05.555Z] INFO: archiving workspace using pattern(s): [2022-10-17T20:37:06.491Z] Archives upload complete. [2022-10-17T20:37:06.491Z] INFO: archiving logs to Nexus