Push event to branch main Started by user Eric Ball Rebuilds build #66 Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 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-ssh17968313390991759087.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-ssh3333445641900726590.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-ssh12597885574501453052.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-ssh14345377122369750040.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-ssh10136696846574887216.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-116950 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 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 Commit message: "Merge pull request #223 from hahattan/update-topic" > git rev-list --no-walk 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-10-25T18:50:03.646Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-10-25T18:50:03.710Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-10-25T18:50:03.729Z] ========================================================= [2022-10-25T18:50:03.729Z] EdgeX Global Pipelines Version Info [2022-10-25T18:50:03.729Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-10-25T18:50:05.518Z] ------------------- [2022-10-25T18:50:05.518Z] stable info: [2022-10-25T18:50:05.518Z] ------------------- [2022-10-25T18:50:05.518Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-10-25T18:50:05.518Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T18:50:05.518Z] Message: update stable to v1.0.243 [2022-10-25T18:50:06.088Z] ------------------- [2022-10-25T18:50:06.088Z] experimental info: [2022-10-25T18:50:06.088Z] ------------------- [2022-10-25T18:50:06.088Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-10-25T18:50:06.088Z] Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 [2022-10-25T18:50:06.088Z] Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-10-25T18:50:06.261Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-10-25T18:50:06.274Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-10-25T18:50:06.287Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-10-25T18:50:06.299Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-10-25T18:50:06.319Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-10-25T18:50:06.330Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-10-25T18:50:06.341Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-10-25T18:50:06.351Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-10-25T18:50:06.361Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-10-25T18:50:06.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-10-25T18:50:06.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-10-25T18:50:06.397Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-10-25T18:50:06.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-10-25T18:50:06.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-10-25T18:50:06.435Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T18:50:06.452Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-10-25T18:50:06.466Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T18:50:06.476Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-10-25T18:50:06.487Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-10-25T18:50:06.500Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-10-25T18:50:06.512Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-10-25T18:50:06.525Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-10-25T18:50:06.538Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-10-25T18:50:06.552Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-10-25T18:50:06.564Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-10-25T18:50:06.578Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-10-25T18:50:06.589Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-10-25T18:50:06.602Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-10-25T18:50:06.616Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-10-25T18:50:06.629Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-10-25T18:50:06.645Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] echo [2022-10-25T18:50:06.661Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 02d6d2e [Pipeline] echo [2022-10-25T18:50:06.672Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T18:50:06.719Z] provisioning config files... [2022-10-25T18:50:06.741Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3137893860635431465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T18:50:07.044Z] ---> docker-login.sh [2022-10-25T18:50:07.044Z] nexus3.edgexfoundry.org:10001 [2022-10-25T18:50:07.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:07.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:07.310Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:07.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:07.310Z] [2022-10-25T18:50:07.310Z] Login Succeeded [2022-10-25T18:50:07.310Z] nexus3.edgexfoundry.org:10002 [2022-10-25T18:50:07.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:07.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:07.310Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:07.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:07.310Z] [2022-10-25T18:50:07.310Z] Login Succeeded [2022-10-25T18:50:07.310Z] nexus3.edgexfoundry.org:10003 [2022-10-25T18:50:07.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:07.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:07.570Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:07.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:07.570Z] [2022-10-25T18:50:07.570Z] Login Succeeded [2022-10-25T18:50:07.570Z] nexus3.edgexfoundry.org:10004 [2022-10-25T18:50:07.570Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:07.570Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:07.570Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:07.570Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:07.570Z] [2022-10-25T18:50:07.570Z] Login Succeeded [2022-10-25T18:50:07.570Z] docker.io [2022-10-25T18:50:07.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:08.090Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:08.090Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:08.090Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:08.090Z] [2022-10-25T18:50:08.090Z] Login Succeeded [2022-10-25T18:50:08.090Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T18:50:08.098Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-10-25T18:50:08.462Z] + git rev-list -1 --merges 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2~1..02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] echo [2022-10-25T18:50:08.492Z] -----------> git rev-list -1 --merges 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2~1..02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [2022-10-25T18:50:08.492Z] 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [false] [Pipeline] sh [2022-10-25T18:50:08.793Z] + git log --format=format:%s -1 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] echo [2022-10-25T18:50:08.807Z] ========================================================= [2022-10-25T18:50:08.807Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-10-25T18:50:08.807Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T18:50:09.138Z] + git log --format=format:%s -1 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] echo [2022-10-25T18:50:09.150Z] [semverPrep] GIT_COMMIT: 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2, Commit Message: Merge pull request #223 from hahattan/update-topic [Pipeline] echo [2022-10-25T18:50:09.155Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-10-25T18:50:09.492Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T18:50:09.493Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-10-25T18:50:09.493Z] + [ -e /tmp/ssh_known_hosts ] [2022-10-25T18:50:09.493Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-10-25T18:50:09.493Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-10-25T18:50:09.493Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-10-25T18:50:09.493Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:50:09.846Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T18:50:09.846Z] [2022-10-25T18:50:09.846Z] 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-25T18:50:10.153Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T18:50:10.153Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-10-25T18:50:10.153Z] b85a868b505f: Pulling fs layer [2022-10-25T18:50:10.153Z] e2be974225ed: Pulling fs layer [2022-10-25T18:50:10.153Z] 339a4e72a1f5: Pulling fs layer [2022-10-25T18:50:10.153Z] 988bab9f4d93: Pulling fs layer [2022-10-25T18:50:10.153Z] 1469e6f7b9e6: Pulling fs layer [2022-10-25T18:50:10.153Z] eaf3925da568: Pulling fs layer [2022-10-25T18:50:10.153Z] 988bab9f4d93: Waiting [2022-10-25T18:50:10.153Z] 1469e6f7b9e6: Waiting [2022-10-25T18:50:10.153Z] eaf3925da568: Waiting [2022-10-25T18:50:10.153Z] bab4dde63d76: Pulling fs layer [2022-10-25T18:50:10.153Z] bde34c3a00c8: Pulling fs layer [2022-10-25T18:50:10.153Z] bab4dde63d76: Waiting [2022-10-25T18:50:10.153Z] bde34c3a00c8: Waiting [2022-10-25T18:50:10.153Z] b352a97aabf1: Pulling fs layer [2022-10-25T18:50:10.153Z] 4872d77fe225: Pulling fs layer [2022-10-25T18:50:10.153Z] 5851b861e8e6: Pulling fs layer [2022-10-25T18:50:10.153Z] 4872d77fe225: Waiting [2022-10-25T18:50:10.153Z] 5851b861e8e6: Waiting [2022-10-25T18:50:10.153Z] b352a97aabf1: Waiting [2022-10-25T18:50:10.153Z] e2be974225ed: Download complete [2022-10-25T18:50:10.153Z] 988bab9f4d93: Download complete [2022-10-25T18:50:10.413Z] 1469e6f7b9e6: Verifying Checksum [2022-10-25T18:50:10.413Z] 1469e6f7b9e6: Download complete [2022-10-25T18:50:10.413Z] 339a4e72a1f5: Verifying Checksum [2022-10-25T18:50:10.413Z] 339a4e72a1f5: Download complete [2022-10-25T18:50:10.413Z] eaf3925da568: Download complete [2022-10-25T18:50:10.413Z] bde34c3a00c8: Download complete [2022-10-25T18:50:10.413Z] b352a97aabf1: Verifying Checksum [2022-10-25T18:50:10.413Z] b352a97aabf1: Download complete [2022-10-25T18:50:10.413Z] 4872d77fe225: Download complete [2022-10-25T18:50:10.413Z] 5851b861e8e6: Verifying Checksum [2022-10-25T18:50:10.413Z] 5851b861e8e6: Download complete [2022-10-25T18:50:10.413Z] b85a868b505f: Download complete [2022-10-25T18:50:10.674Z] bab4dde63d76: Verifying Checksum [2022-10-25T18:50:10.674Z] bab4dde63d76: Download complete [2022-10-25T18:50:12.051Z] b85a868b505f: Pull complete [2022-10-25T18:50:12.051Z] e2be974225ed: Pull complete [2022-10-25T18:50:12.637Z] 339a4e72a1f5: Pull complete [2022-10-25T18:50:12.637Z] 988bab9f4d93: Pull complete [2022-10-25T18:50:12.897Z] 1469e6f7b9e6: Pull complete [2022-10-25T18:50:12.897Z] eaf3925da568: Pull complete [2022-10-25T18:50:14.807Z] bab4dde63d76: Pull complete [2022-10-25T18:50:15.067Z] bde34c3a00c8: Pull complete [2022-10-25T18:50:15.327Z] b352a97aabf1: Pull complete [2022-10-25T18:50:15.587Z] 4872d77fe225: Pull complete [2022-10-25T18:50:15.846Z] 5851b861e8e6: Pull complete [2022-10-25T18:50:15.846Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-10-25T18:50:15.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T18:50:15.846Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T18:50:15.937Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T18:50:15.969Z] $ 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-25T18:50:17.545Z] $ docker top 49a1d64a5870685a94be53d85da5b28732dde3d15a1f0ec77a2a483de49d7692 -eo pid,comm [2022-10-25T18:50:17.603Z] 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-25T18:50:17.603Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T18:50:17.639Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T18:50:17.639Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T18:50:17.757Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T18:50:17.761Z] $ docker exec 49a1d64a5870685a94be53d85da5b28732dde3d15a1f0ec77a2a483de49d7692 ssh-agent [2022-10-25T18:50:17.864Z] SSH_AUTH_SOCK=/tmp/ssh-paj4WQcmOZRs/agent.32 [2022-10-25T18:50:17.864Z] SSH_AGENT_PID=38 [2022-10-25T18:50:17.871Z] Running ssh-add (command line suppressed) [2022-10-25T18:50:17.975Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16763191753256443982.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16763191753256443982.key) [2022-10-25T18:50:17.992Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T18:50:18.279Z] + git tag --points-at HEAD [Pipeline] } [2022-10-25T18:50:18.296Z] $ docker exec --env ******** --env ******** 49a1d64a5870685a94be53d85da5b28732dde3d15a1f0ec77a2a483de49d7692 ssh-agent -k [2022-10-25T18:50:18.415Z] unset SSH_AUTH_SOCK; [2022-10-25T18:50:18.415Z] unset SSH_AGENT_PID; [2022-10-25T18:50:18.415Z] echo Agent pid 38 killed; [2022-10-25T18:50:18.423Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-10-25T18:50:18.447Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T18:50:18.447Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T18:50:18.608Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T18:50:18.613Z] $ docker exec 49a1d64a5870685a94be53d85da5b28732dde3d15a1f0ec77a2a483de49d7692 ssh-agent [2022-10-25T18:50:18.723Z] SSH_AUTH_SOCK=/tmp/ssh-85Z2x2eEL7wY/agent.70 [2022-10-25T18:50:18.723Z] SSH_AGENT_PID=76 [2022-10-25T18:50:18.730Z] Running ssh-add (command line suppressed) [2022-10-25T18:50:18.847Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12242698267059092403.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12242698267059092403.key) [2022-10-25T18:50:18.859Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T18:50:19.144Z] + git semver init [2022-10-25T18:50:19.405Z] 2022-10-25 18:50:19,307 [run_init] DEBUG init version:0.0.0 force:False [2022-10-25T18:50:19.405Z] 2022-10-25 18:50:19,308 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-10-25T18:50:19.405Z] 2022-10-25 18:50:19,308 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-10-25T18:50:19.405Z] 2022-10-25 18:50:19,308 [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-25T18:50:20.782Z] 2022-10-25 18:50:20,423 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-10-25T18:50:20.782Z] 2022-10-25 18:50:20,423 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-10-25T18:50:20.782Z] 2022-10-25 18:50:20,423 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T18:50:20.782Z] 2022-10-25 18:50:20,424 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T18:50:20.782Z] 2.3.0-dev.21 [Pipeline] } [2022-10-25T18:50:20.792Z] $ docker exec --env ******** --env ******** 49a1d64a5870685a94be53d85da5b28732dde3d15a1f0ec77a2a483de49d7692 ssh-agent -k [2022-10-25T18:50:20.887Z] unset SSH_AUTH_SOCK; [2022-10-25T18:50:20.892Z] unset SSH_AGENT_PID; [2022-10-25T18:50:20.892Z] echo Agent pid 76 killed; [2022-10-25T18:50:20.897Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T18:50:21.203Z] + git semver [Pipeline] } [2022-10-25T18:50:21.479Z] $ docker stop --time=1 49a1d64a5870685a94be53d85da5b28732dde3d15a1f0ec77a2a483de49d7692 [2022-10-25T18:50:22.779Z] $ docker rm -f 49a1d64a5870685a94be53d85da5b28732dde3d15a1f0ec77a2a483de49d7692 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T18:50:23.111Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-10-25T18:50:23.303Z] Stashed 1 file(s) [Pipeline] echo [2022-10-25T18:50:23.306Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.21 [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-25T18:50:23.472Z] provisioning config files... [2022-10-25T18:50:23.483Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config939484704818375899tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T18:50:23.782Z] ---> docker-login.sh [2022-10-25T18:50:23.782Z] nexus3.edgexfoundry.org:10001 [2022-10-25T18:50:23.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:23.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:23.782Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:23.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:23.782Z] [2022-10-25T18:50:23.782Z] Login Succeeded [2022-10-25T18:50:23.782Z] nexus3.edgexfoundry.org:10002 [2022-10-25T18:50:23.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:23.782Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:23.782Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:23.782Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:23.782Z] [2022-10-25T18:50:23.782Z] Login Succeeded [2022-10-25T18:50:23.782Z] nexus3.edgexfoundry.org:10003 [2022-10-25T18:50:24.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:24.048Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:24.048Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:24.048Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:24.048Z] [2022-10-25T18:50:24.048Z] Login Succeeded [2022-10-25T18:50:24.048Z] nexus3.edgexfoundry.org:10004 [2022-10-25T18:50:24.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:24.318Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:24.318Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:24.318Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:24.318Z] [2022-10-25T18:50:24.318Z] Login Succeeded [2022-10-25T18:50:24.318Z] docker.io [2022-10-25T18:50:24.318Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:50:24.582Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:50:24.582Z] Configure a credential helper to remove this warning. See [2022-10-25T18:50:24.582Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:50:24.582Z] [2022-10-25T18:50:24.582Z] Login Succeeded [2022-10-25T18:50:24.582Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T18:50:24.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T18:50:24.661Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T18:50:24.673Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T18:50:24.679Z] ========================================================= [2022-10-25T18:50:24.679Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-10-25T18:50:24.679Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:50:25.102Z] + 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-25T18:50:25.102Z] Sending build context to Docker daemon 10.74MB [2022-10-25T18:50:25.102Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T18:50:25.102Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T18:50:25.368Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-10-25T18:50:25.368Z] 213ec9aee27d: Pulling fs layer [2022-10-25T18:50:25.368Z] 4583459ba037: Pulling fs layer [2022-10-25T18:50:25.368Z] 93c1e223e6f2: Pulling fs layer [2022-10-25T18:50:25.368Z] 53926ce57604: Pulling fs layer [2022-10-25T18:50:25.368Z] 21b2b0c7a3f4: Pulling fs layer [2022-10-25T18:50:25.368Z] 30f14e443154: Pulling fs layer [2022-10-25T18:50:25.368Z] 801331c1e519: Pulling fs layer [2022-10-25T18:50:25.368Z] 99cc6dd402b0: Pulling fs layer [2022-10-25T18:50:25.368Z] 7d9ed39f4882: Pulling fs layer [2022-10-25T18:50:25.368Z] 21b2b0c7a3f4: Waiting [2022-10-25T18:50:25.368Z] 30f14e443154: Waiting [2022-10-25T18:50:25.368Z] 801331c1e519: Waiting [2022-10-25T18:50:25.368Z] 99cc6dd402b0: Waiting [2022-10-25T18:50:25.368Z] 7d9ed39f4882: Waiting [2022-10-25T18:50:25.368Z] 53926ce57604: Waiting [2022-10-25T18:50:25.639Z] 4583459ba037: Verifying Checksum [2022-10-25T18:50:25.639Z] 4583459ba037: Download complete [2022-10-25T18:50:25.639Z] 93c1e223e6f2: Verifying Checksum [2022-10-25T18:50:25.639Z] 93c1e223e6f2: Download complete [2022-10-25T18:50:25.900Z] 21b2b0c7a3f4: Verifying Checksum [2022-10-25T18:50:25.900Z] 21b2b0c7a3f4: Download complete [2022-10-25T18:50:25.900Z] 30f14e443154: Download complete [2022-10-25T18:50:25.900Z] 213ec9aee27d: Verifying Checksum [2022-10-25T18:50:25.900Z] 213ec9aee27d: Download complete [2022-10-25T18:50:25.900Z] 213ec9aee27d: Pull complete [2022-10-25T18:50:26.164Z] 801331c1e519: Download complete [2022-10-25T18:50:26.164Z] 4583459ba037: Pull complete [2022-10-25T18:50:26.164Z] 93c1e223e6f2: Pull complete [2022-10-25T18:50:26.740Z] 7d9ed39f4882: Verifying Checksum [2022-10-25T18:50:26.740Z] 7d9ed39f4882: Download complete [2022-10-25T18:50:26.740Z] 53926ce57604: Verifying Checksum [2022-10-25T18:50:26.740Z] 53926ce57604: Download complete [2022-10-25T18:50:26.740Z] 99cc6dd402b0: Verifying Checksum [2022-10-25T18:50:30.022Z] 53926ce57604: Pull complete [2022-10-25T18:50:30.281Z] 21b2b0c7a3f4: Pull complete [2022-10-25T18:50:30.281Z] 30f14e443154: Pull complete [2022-10-25T18:50:30.281Z] 801331c1e519: Pull complete [2022-10-25T18:50:32.815Z] 99cc6dd402b0: Pull complete [2022-10-25T18:50:33.751Z] 7d9ed39f4882: Pull complete [2022-10-25T18:50:33.751Z] Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 [2022-10-25T18:50:34.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-10-25T18:50:34.010Z] ---> 1dedd983c030 [2022-10-25T18:50:34.010Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T18:50:38.425Z] Still waiting to schedule task [2022-10-25T18:50:38.426Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-116954’ is offline [2022-10-25T18:50:38.426Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-116955’ is offline [2022-10-25T18:50:40.572Z] ---> Running in 60877ee68cd0 [2022-10-25T18:50:40.572Z] Removing intermediate container 60877ee68cd0 [2022-10-25T18:50:40.572Z] ---> f64ac9f53683 [2022-10-25T18:50:40.572Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T18:50:40.572Z] ---> Running in 2881679c502c [2022-10-25T18:50:40.829Z] Removing intermediate container 2881679c502c [2022-10-25T18:50:40.829Z] ---> b93df8e98171 [2022-10-25T18:50:40.829Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T18:50:40.829Z] ---> Running in 070e4b316295 [2022-10-25T18:50:41.088Z] Removing intermediate container 070e4b316295 [2022-10-25T18:50:41.088Z] ---> d700b596ec1f [2022-10-25T18:50:41.088Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T18:50:41.088Z] ---> Running in d934939ae385 [2022-10-25T18:50:41.088Z] Removing intermediate container d934939ae385 [2022-10-25T18:50:41.088Z] ---> 42ab88357b81 [2022-10-25T18:50:41.088Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T18:50:41.088Z] ---> Running in 115c23e403da [2022-10-25T18:50:41.653Z] Removing intermediate container 115c23e403da [2022-10-25T18:50:41.653Z] ---> 540e91f793a9 [2022-10-25T18:50:41.653Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T18:50:41.653Z] ---> Running in 7d13ccd04c81 [2022-10-25T18:50:41.915Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T18:50:42.484Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T18:50:43.052Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T18:50:43.620Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T18:50:43.878Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T18:50:44.445Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T18:50:45.022Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T18:50:45.022Z] OK: 216 MiB in 55 packages [2022-10-25T18:50:45.278Z] Removing intermediate container 7d13ccd04c81 [2022-10-25T18:50:45.278Z] ---> 538e5d6141a1 [2022-10-25T18:50:45.278Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T18:50:45.278Z] ---> Running in f2cd9419453e [2022-10-25T18:50:45.537Z] Removing intermediate container f2cd9419453e [2022-10-25T18:50:45.537Z] ---> 306474b362f1 [2022-10-25T18:50:45.537Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T18:50:45.537Z] ---> fc9982d8c088 [2022-10-25T18:50:45.537Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T18:50:45.537Z] ---> Running in 7aa486b8521a [2022-10-25T18:51:32.389Z] Removing intermediate container 7aa486b8521a [2022-10-25T18:51:32.389Z] ---> 7ba6577b0d8b [2022-10-25T18:51:32.389Z] Step 12/13 : COPY . . [2022-10-25T18:51:33.008Z] ---> 554cf6495af7 [2022-10-25T18:51:33.008Z] Step 13/13 : RUN $MAKE [2022-10-25T18:51:33.008Z] ---> Running in 9335942bb9fd [2022-10-25T18:51:33.575Z] noop [2022-10-25T18:51:34.142Z] Removing intermediate container 9335942bb9fd [2022-10-25T18:51:34.142Z] ---> aba86ccae137 [2022-10-25T18:51:34.142Z] Successfully built aba86ccae137 [2022-10-25T18:51:34.142Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:51:34.480Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T18:51:34.480Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T18:51:34.566Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T18:51:34.604Z] $ 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-25T18:51:36.287Z] $ docker top 7b920dc47a52e150aaad7d220b3e619b9d911e079375d9ed76dd0b443f840399 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T18:51:36.634Z] + go version [2022-10-25T18:51:36.634Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-10-25T18:51:36.647Z] $ docker stop --time=1 7b920dc47a52e150aaad7d220b3e619b9d911e079375d9ed76dd0b443f840399 [2022-10-25T18:51:38.198Z] $ docker rm -f 7b920dc47a52e150aaad7d220b3e619b9d911e079375d9ed76dd0b443f840399 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:51:38.696Z] + docker inspect -f . ci-base-image-x86_64 [2022-10-25T18:51:38.696Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T18:51:38.761Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T18:51:38.807Z] $ 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-25T18:51:39.877Z] $ docker top fdaee16c93a53870ab126610ca8e63bf9ce3adf85c7f7c251992739ad2d64592 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T18:51:40.217Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-10-25T18:51:40.509Z] + make test [2022-10-25T18:51:40.509Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T18:51:40.767Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T18:51:50.723Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T18:51:50.723Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements [2022-10-25T18:51:57.310Z] 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-25T18:51:57.310Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T18:51:59.845Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T18:51:59.845Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T18:51:59.845Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T18:51:59.861Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T18:51:59.877Z] $ docker stop --time=1 fdaee16c93a53870ab126610ca8e63bf9ce3adf85c7f7c251992739ad2d64592 [2022-10-25T18:52:03.414Z] $ docker rm -f fdaee16c93a53870ab126610ca8e63bf9ce3adf85c7f7c251992739ad2d64592 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T18:52:03.895Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T18:52:03.960Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-10-25T18:52:04.388Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T18:52:04.674Z] + ls -al . [2022-10-25T18:52:04.675Z] total 184 [2022-10-25T18:52:04.675Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 25 18:51 . [2022-10-25T18:52:04.675Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:50 .. [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 18:50 .dockerignore [2022-10-25T18:52:04.675Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 18:51 .git [2022-10-25T18:52:04.675Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 18:50 .github [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 18:50 .gitignore [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 18:50 .golangci.yml [2022-10-25T18:52:04.675Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 18:50 .semver [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 18:50 Attribution.txt [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 18:50 CHANGELOG.md [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 18:50 Dockerfile [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 18:50 GOVERNANCE.md [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 18:50 Jenkinsfile [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 18:50 LICENSE [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 18:50 Makefile [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 18:50 OWNERS.md [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 18:50 README.md [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 18:50 VERSION [2022-10-25T18:52:04.675Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:50 bin [2022-10-25T18:52:04.675Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 18:50 cmd [2022-10-25T18:52:04.675Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 18:51 coverage.out [2022-10-25T18:52:04.675Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 18:50 driver [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 18:50 go.mod [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 18:50 go.sum [2022-10-25T18:52:04.675Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 18:50 snap [2022-10-25T18:52:04.675Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 18:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:04.974Z] + 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=02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 --label arch=amd64 --label version=2.3.0-dev.21 . [2022-10-25T18:52:04.974Z] Sending build context to Docker daemon 10.75MB [2022-10-25T18:52:04.974Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T18:52:04.974Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T18:52:04.974Z] ---> aba86ccae137 [2022-10-25T18:52:04.974Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T18:52:05.541Z] ---> Running in ea59a1f49942 [2022-10-25T18:52:05.801Z] Removing intermediate container ea59a1f49942 [2022-10-25T18:52:05.801Z] ---> 166dd67cec90 [2022-10-25T18:52:05.801Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T18:52:05.801Z] ---> Running in dcbbb5e181dc [2022-10-25T18:52:05.801Z] Removing intermediate container dcbbb5e181dc [2022-10-25T18:52:05.801Z] ---> e488c7f0b9bc [2022-10-25T18:52:05.801Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T18:52:05.801Z] ---> Running in 258cabb778d1 [2022-10-25T18:52:06.059Z] Removing intermediate container 258cabb778d1 [2022-10-25T18:52:06.059Z] ---> 3a93237e0d4d [2022-10-25T18:52:06.059Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T18:52:06.059Z] ---> Running in 3508acbf72a6 [2022-10-25T18:52:06.059Z] Removing intermediate container 3508acbf72a6 [2022-10-25T18:52:06.059Z] ---> 05d03d0d8598 [2022-10-25T18:52:06.059Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T18:52:06.059Z] ---> Running in d5fc0731175f [2022-10-25T18:52:06.629Z] Removing intermediate container d5fc0731175f [2022-10-25T18:52:06.629Z] ---> d470aff49568 [2022-10-25T18:52:06.629Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T18:52:06.629Z] ---> Running in 54c4fc795d02 [2022-10-25T18:52:06.887Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T18:52:07.454Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T18:52:08.021Z] OK: 216 MiB in 55 packages [2022-10-25T18:52:08.955Z] Removing intermediate container 54c4fc795d02 [2022-10-25T18:52:08.955Z] ---> f35d571da244 [2022-10-25T18:52:08.955Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T18:52:09.214Z] ---> Running in 383fc3b5325b [2022-10-25T18:52:09.857Z] Removing intermediate container 383fc3b5325b [2022-10-25T18:52:09.857Z] ---> 763be1ce3774 [2022-10-25T18:52:09.857Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T18:52:10.453Z] ---> df608ddcd5c9 [2022-10-25T18:52:10.453Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T18:52:10.453Z] ---> Running in ca9ad4a3b868 [2022-10-25T18:52:11.250Z] Removing intermediate container ca9ad4a3b868 [2022-10-25T18:52:11.250Z] ---> b4e6c51af92c [2022-10-25T18:52:11.250Z] Step 12/26 : COPY . . [2022-10-25T18:52:11.520Z] ---> 15464d585c62 [2022-10-25T18:52:11.520Z] Step 13/26 : RUN $MAKE [2022-10-25T18:52:11.520Z] ---> Running in c9adc6f11bdb [2022-10-25T18:52:11.779Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-25T18:52:38.485Z] Removing intermediate container c9adc6f11bdb [2022-10-25T18:52:38.485Z] ---> be6116a5cece [2022-10-25T18:52:38.485Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T18:52:38.485Z] 3.16: Pulling from library/alpine [2022-10-25T18:52:38.485Z] 213ec9aee27d: Already exists [2022-10-25T18:52:38.485Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T18:52:38.485Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T18:52:38.485Z] ---> 9c6f07244728 [2022-10-25T18:52:38.485Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T18:52:38.485Z] ---> Running in b6a8d920d71e [2022-10-25T18:52:38.485Z] Removing intermediate container b6a8d920d71e [2022-10-25T18:52:38.485Z] ---> 302d52a79de4 [2022-10-25T18:52:38.485Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T18:52:38.485Z] ---> Running in 702030a49487 [2022-10-25T18:52:38.485Z] Removing intermediate container 702030a49487 [2022-10-25T18:52:38.485Z] ---> d6ee8c0a4db7 [2022-10-25T18:52:38.485Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T18:52:38.485Z] ---> Running in 2e7b696758f6 [2022-10-25T18:52:38.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-10-25T18:52:38.485Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-10-25T18:52:38.485Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T18:52:38.485Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T18:52:38.485Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T18:52:38.485Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T18:52:38.485Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T18:52:38.485Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T18:52:38.485Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T18:52:38.485Z] OK: 8 MiB in 20 packages [2022-10-25T18:52:39.051Z] Removing intermediate container 2e7b696758f6 [2022-10-25T18:52:39.051Z] ---> 4ad37b9adff5 [2022-10-25T18:52:39.051Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T18:52:40.059Z] ---> 7409f10484d6 [2022-10-25T18:52:40.059Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T18:52:40.059Z] ---> 28502903616c [2022-10-25T18:52:40.059Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T18:52:40.059Z] ---> 4be33cb0396e [2022-10-25T18:52:40.059Z] Step 21/26 : EXPOSE 59986 [2022-10-25T18:52:40.059Z] ---> Running in 2631e4585043 [2022-10-25T18:52:40.316Z] Removing intermediate container 2631e4585043 [2022-10-25T18:52:40.316Z] ---> 650b576d750f [2022-10-25T18:52:40.316Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T18:52:40.316Z] ---> Running in 575316d91227 [2022-10-25T18:52:40.316Z] Removing intermediate container 575316d91227 [2022-10-25T18:52:40.316Z] ---> f99b629b3f89 [2022-10-25T18:52:40.316Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T18:52:40.316Z] ---> Running in f88ffa6a552c [2022-10-25T18:52:40.316Z] Removing intermediate container f88ffa6a552c [2022-10-25T18:52:40.316Z] ---> 118a9f8684af [2022-10-25T18:52:40.316Z] Step 24/26 : LABEL arch=amd64 [2022-10-25T18:52:40.316Z] ---> Running in 6541ef428b6b [2022-10-25T18:52:40.884Z] Removing intermediate container 6541ef428b6b [2022-10-25T18:52:40.884Z] ---> 7071220ad9a4 [2022-10-25T18:52:40.884Z] Step 25/26 : LABEL git_sha=02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [2022-10-25T18:52:40.884Z] ---> Running in 0a551a3186e8 [2022-10-25T18:52:40.884Z] Removing intermediate container 0a551a3186e8 [2022-10-25T18:52:40.884Z] ---> 3182340f36fe [2022-10-25T18:52:40.884Z] Step 26/26 : LABEL version=2.3.0-dev.21 [2022-10-25T18:52:40.884Z] ---> Running in a8cb4fd54b48 [2022-10-25T18:52:41.144Z] Removing intermediate container a8cb4fd54b48 [2022-10-25T18:52:41.144Z] ---> 4fb3729a1f98 [2022-10-25T18:52:41.144Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T18:52:41.144Z] Successfully built 4fb3729a1f98 [2022-10-25T18:52:41.144Z] 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-25T18:52:41.236Z] provisioning config files... [2022-10-25T18:52:41.242Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4186252164840793625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T18:52:41.533Z] ---> docker-login.sh [2022-10-25T18:52:41.533Z] nexus3.edgexfoundry.org:10001 [2022-10-25T18:52:41.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:52:41.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:52:41.533Z] Configure a credential helper to remove this warning. See [2022-10-25T18:52:41.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:52:41.533Z] [2022-10-25T18:52:41.533Z] Login Succeeded [2022-10-25T18:52:41.533Z] nexus3.edgexfoundry.org:10002 [2022-10-25T18:52:41.533Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:52:41.533Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:52:41.533Z] Configure a credential helper to remove this warning. See [2022-10-25T18:52:41.533Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:52:41.533Z] [2022-10-25T18:52:41.533Z] Login Succeeded [2022-10-25T18:52:41.533Z] nexus3.edgexfoundry.org:10003 [2022-10-25T18:52:41.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:52:41.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:52:41.797Z] Configure a credential helper to remove this warning. See [2022-10-25T18:52:41.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:52:41.797Z] [2022-10-25T18:52:41.797Z] Login Succeeded [2022-10-25T18:52:41.797Z] nexus3.edgexfoundry.org:10004 [2022-10-25T18:52:41.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:52:41.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:52:41.797Z] Configure a credential helper to remove this warning. See [2022-10-25T18:52:41.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:52:41.797Z] [2022-10-25T18:52:41.797Z] Login Succeeded [2022-10-25T18:52:41.797Z] docker.io [2022-10-25T18:52:41.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T18:52:42.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T18:52:42.362Z] Configure a credential helper to remove this warning. See [2022-10-25T18:52:42.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T18:52:42.362Z] [2022-10-25T18:52:42.362Z] Login Succeeded [2022-10-25T18:52:42.362Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T18:52:42.369Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-25T18:52:42.402Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T18:52:42.423Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-10-25T18:52:42.423Z] 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [2022-10-25T18:52:42.423Z] latest [2022-10-25T18:52:42.423Z] 2.3.0-dev.21 [2022-10-25T18:52:42.423Z] 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21 [2022-10-25T18:52:42.423Z] main [2022-10-25T18:52:42.423Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:42.740Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:43.054Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [2022-10-25T18:52:43.054Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-25T18:52:43.054Z] 4c8be48d5922: Preparing [2022-10-25T18:52:43.054Z] b1072f47f9f3: Preparing [2022-10-25T18:52:43.054Z] df5959b03f59: Preparing [2022-10-25T18:52:43.054Z] f72ea5e079c8: Preparing [2022-10-25T18:52:43.054Z] 994393dc58e7: Preparing [2022-10-25T18:52:43.054Z] 994393dc58e7: Layer already exists [2022-10-25T18:52:43.054Z] b1072f47f9f3: Pushed [2022-10-25T18:52:43.054Z] 4c8be48d5922: Pushed [2022-10-25T18:52:43.311Z] f72ea5e079c8: Pushed [2022-10-25T18:52:45.841Z] df5959b03f59: Pushed [2022-10-25T18:52:46.409Z] 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2: digest: sha256:fa75a1f728f40ff61c42534fd641c76c70a63be3077e54552629d318fc1a2097 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:46.725Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:47.031Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-10-25T18:52:47.031Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-25T18:52:47.032Z] 4c8be48d5922: Preparing [2022-10-25T18:52:47.032Z] b1072f47f9f3: Preparing [2022-10-25T18:52:47.032Z] df5959b03f59: Preparing [2022-10-25T18:52:47.032Z] f72ea5e079c8: Preparing [2022-10-25T18:52:47.032Z] 994393dc58e7: Preparing [2022-10-25T18:52:47.032Z] 4c8be48d5922: Layer already exists [2022-10-25T18:52:47.032Z] f72ea5e079c8: Layer already exists [2022-10-25T18:52:47.032Z] 994393dc58e7: Layer already exists [2022-10-25T18:52:47.032Z] df5959b03f59: Layer already exists [2022-10-25T18:52:47.032Z] b1072f47f9f3: Layer already exists [2022-10-25T18:52:47.032Z] latest: digest: sha256:fa75a1f728f40ff61c42534fd641c76c70a63be3077e54552629d318fc1a2097 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:47.334Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:47.650Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.21 [2022-10-25T18:52:47.650Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-25T18:52:47.650Z] 4c8be48d5922: Preparing [2022-10-25T18:52:47.650Z] b1072f47f9f3: Preparing [2022-10-25T18:52:47.650Z] df5959b03f59: Preparing [2022-10-25T18:52:47.650Z] f72ea5e079c8: Preparing [2022-10-25T18:52:47.650Z] 994393dc58e7: Preparing [2022-10-25T18:52:47.650Z] b1072f47f9f3: Layer already exists [2022-10-25T18:52:47.650Z] f72ea5e079c8: Layer already exists [2022-10-25T18:52:47.650Z] 994393dc58e7: Layer already exists [2022-10-25T18:52:47.650Z] 4c8be48d5922: Layer already exists [2022-10-25T18:52:47.650Z] df5959b03f59: Layer already exists [2022-10-25T18:52:47.650Z] 2.3.0-dev.21: digest: sha256:fa75a1f728f40ff61c42534fd641c76c70a63be3077e54552629d318fc1a2097 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:47.954Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:48.263Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21 [2022-10-25T18:52:48.263Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-25T18:52:48.263Z] 4c8be48d5922: Preparing [2022-10-25T18:52:48.263Z] b1072f47f9f3: Preparing [2022-10-25T18:52:48.263Z] df5959b03f59: Preparing [2022-10-25T18:52:48.263Z] f72ea5e079c8: Preparing [2022-10-25T18:52:48.263Z] 994393dc58e7: Preparing [2022-10-25T18:52:48.263Z] f72ea5e079c8: Layer already exists [2022-10-25T18:52:48.263Z] df5959b03f59: Layer already exists [2022-10-25T18:52:48.263Z] b1072f47f9f3: Layer already exists [2022-10-25T18:52:48.263Z] 994393dc58e7: Layer already exists [2022-10-25T18:52:48.263Z] 4c8be48d5922: Layer already exists [2022-10-25T18:52:48.263Z] 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21: digest: sha256:fa75a1f728f40ff61c42534fd641c76c70a63be3077e54552629d318fc1a2097 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:48.654Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:48.965Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-10-25T18:52:48.965Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-10-25T18:52:48.965Z] 4c8be48d5922: Preparing [2022-10-25T18:52:48.965Z] b1072f47f9f3: Preparing [2022-10-25T18:52:48.965Z] df5959b03f59: Preparing [2022-10-25T18:52:48.965Z] f72ea5e079c8: Preparing [2022-10-25T18:52:48.965Z] 994393dc58e7: Preparing [2022-10-25T18:52:48.965Z] b1072f47f9f3: Layer already exists [2022-10-25T18:52:48.965Z] f72ea5e079c8: Layer already exists [2022-10-25T18:52:48.965Z] 994393dc58e7: Layer already exists [2022-10-25T18:52:48.965Z] 4c8be48d5922: Layer already exists [2022-10-25T18:52:48.965Z] df5959b03f59: Layer already exists [2022-10-25T18:52:48.965Z] main: digest: sha256:fa75a1f728f40ff61c42534fd641c76c70a63be3077e54552629d318fc1a2097 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-25T18:52:49.013Z] ===================================================== [Pipeline] echo [2022-10-25T18:52:49.026Z] taggedImages: [2022-10-25T18:52:49.026Z] - nexus3.edgexfoundry.org:10004/device-rest:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [2022-10-25T18:52:49.026Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-10-25T18:52:49.026Z] - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.21 [2022-10-25T18:52:49.026Z] - nexus3.edgexfoundry.org:10004/device-rest:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21 [2022-10-25T18:52:49.026Z] - 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-25T18:52:49.388Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T18:52:49.388Z] [2022-10-25T18:52:49.388Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T18:52:49.674Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T18:52:50.621Z] latest: Pulling from edgex-lftools-log-publisher [2022-10-25T18:52:50.622Z] 5eb5b503b376: Pulling fs layer [2022-10-25T18:52:50.622Z] 5c69ac0246d0: Pulling fs layer [2022-10-25T18:52:50.622Z] ec43610c2a17: Pulling fs layer [2022-10-25T18:52:50.622Z] 3a2ae6a8a46f: Pulling fs layer [2022-10-25T18:52:50.622Z] 33b1e0a273af: Pulling fs layer [2022-10-25T18:52:50.622Z] 5d3b04190fa2: Pulling fs layer [2022-10-25T18:52:50.622Z] 3a2ae6a8a46f: Waiting [2022-10-25T18:52:50.622Z] 33b1e0a273af: Waiting [2022-10-25T18:52:50.622Z] 2f39f015ded8: Pulling fs layer [2022-10-25T18:52:50.622Z] 2f39f015ded8: Waiting [2022-10-25T18:52:50.622Z] 5c69ac0246d0: Download complete [2022-10-25T18:52:50.622Z] 3a2ae6a8a46f: Verifying Checksum [2022-10-25T18:52:50.622Z] 3a2ae6a8a46f: Download complete [2022-10-25T18:52:50.622Z] 33b1e0a273af: Verifying Checksum [2022-10-25T18:52:50.622Z] 33b1e0a273af: Download complete [2022-10-25T18:52:50.622Z] 5d3b04190fa2: Verifying Checksum [2022-10-25T18:52:50.622Z] 5d3b04190fa2: Download complete [2022-10-25T18:52:50.622Z] ec43610c2a17: Verifying Checksum [2022-10-25T18:52:50.622Z] ec43610c2a17: Download complete [2022-10-25T18:52:50.880Z] 5eb5b503b376: Verifying Checksum [2022-10-25T18:52:50.880Z] 5eb5b503b376: Download complete [2022-10-25T18:52:51.448Z] 2f39f015ded8: Download complete [2022-10-25T18:52:53.403Z] 5eb5b503b376: Pull complete [2022-10-25T18:52:54.018Z] 5c69ac0246d0: Pull complete [2022-10-25T18:52:54.951Z] ec43610c2a17: Pull complete [2022-10-25T18:52:55.210Z] 3a2ae6a8a46f: Pull complete [2022-10-25T18:52:56.143Z] 33b1e0a273af: Pull complete [2022-10-25T18:52:56.711Z] 5d3b04190fa2: Pull complete [2022-10-25T18:53:01.031Z] 2f39f015ded8: Pull complete [2022-10-25T18:53:01.031Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-10-25T18:53:01.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T18:53:01.031Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T18:53:01.117Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T18:53:01.152Z] $ 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-25T18:53:05.451Z] $ docker top 12a9612ab54d7f26526d7e0e46a2fcd48beb49ab302030188744eb39e1dd78d8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T18:53:05.803Z] ---> job-cost.sh [2022-10-25T18:53:05.803Z] lf-activate-venv: SKIPPING [2022-10-25T18:53:05.803Z] INFO: No Stack... [2022-10-25T18:53:06.369Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T18:53:06.629Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T18:53:06.912Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-10-25T18:53:06.912Z] + cut -d, -f6 [Pipeline] lock [2022-10-25T18:53:06.924Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-67-stack-cost] [2022-10-25T18:53:06.929Z] Resource [jenkins-edgexfoundry-device-rest-go-main-67-stack-cost] did not exist. Created. [2022-10-25T18:53:06.929Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T18:53:07.227Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-10-25T18:53:07.253Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T18:53:07.258Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-67-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T18:53:07.277Z] $ docker stop --time=1 12a9612ab54d7f26526d7e0e46a2fcd48beb49ab302030188744eb39e1dd78d8 [2022-10-25T18:53:08.551Z] $ docker rm -f 12a9612ab54d7f26526d7e0e46a2fcd48beb49ab302030188744eb39e1dd78d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-10-25T19:10:46.243Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-116962 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-10-25T19:10:46.254Z] Running in /w/workspace/device-rest-go/67 [Pipeline] { [Pipeline] checkout [2022-10-25T19:10:46.286Z] The recommended git tool is: git [2022-10-25T19:10:51.578Z] using credential edgex-jenkins-ssh [2022-10-25T19:10:51.592Z] Cloning the remote Git repository [2022-10-25T19:10:51.628Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T19:10:51.692Z] > git init /w/workspace/device-rest-go/67 # timeout=10 [2022-10-25T19:10:51.850Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-10-25T19:10:51.851Z] > git --version # timeout=10 [2022-10-25T19:10:51.871Z] > git --version # 'git version 2.25.1' [2022-10-25T19:10:51.873Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-10-25T19:10:51.920Z] Verifying host key using known hosts file [2022-10-25T19:10:52.113Z] 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-25T19:10:52.127Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T19:10:55.036Z] Avoid second fetch [2022-10-25T19:10:55.036Z] Checking out Revision 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 (main) [2022-10-25T19:10:54.100Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-10-25T19:10:54.137Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-10-25T19:10:55.052Z] > git config core.sparsecheckout # timeout=10 [2022-10-25T19:10:55.589Z] Commit message: "Merge pull request #223 from hahattan/update-topic" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T19:10:56.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-10-25T19:10:56.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T19:10:56.472Z] Dload Upload Total Spent Left Speed [2022-10-25T19:10:56.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 236k 0 --:--:-- --:--:-- --:--:-- 236k [2022-10-25T19:10:55.087Z] > git checkout -f 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 # timeout=10 [Pipeline] sh [2022-10-25T19:10:57.121Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-10-25T19:10:57.454Z] + sudo tee /etc/docker/daemon.new [2022-10-25T19:10:57.454Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-10-25T19:10:57.454Z] { [2022-10-25T19:10:57.454Z] "registry-mirrors": [ [2022-10-25T19:10:57.454Z] "https://nexus3.edgexfoundry.org:10001" [2022-10-25T19:10:57.454Z] ], [2022-10-25T19:10:57.454Z] "bip": "10.250.0.254/24", [2022-10-25T19:10:57.454Z] "hosts": [ [2022-10-25T19:10:57.454Z] "tcp://0.0.0.0:5555", [2022-10-25T19:10:57.454Z] "unix:///var/run/docker.sock" [2022-10-25T19:10:57.454Z] ], [2022-10-25T19:10:57.454Z] "mtu": 1458, [2022-10-25T19:10:57.454Z] "selinux-enabled": true, [2022-10-25T19:10:57.454Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-10-25T19:10:57.454Z] } [Pipeline] sh [2022-10-25T19:10:57.796Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-10-25T19:10:58.129Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T19:11:16.378Z] provisioning config files... [2022-10-25T19:11:16.402Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/67@tmp/config14154946139302742488tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:11:16.748Z] ---> docker-login.sh [2022-10-25T19:11:16.748Z] nexus3.edgexfoundry.org:10001 [2022-10-25T19:11:17.016Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:11:17.284Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:11:17.284Z] Configure a credential helper to remove this warning. See [2022-10-25T19:11:17.284Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:11:17.284Z] [2022-10-25T19:11:17.284Z] Login Succeeded [2022-10-25T19:11:17.284Z] nexus3.edgexfoundry.org:10002 [2022-10-25T19:11:17.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:11:17.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:11:17.554Z] Configure a credential helper to remove this warning. See [2022-10-25T19:11:17.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:11:17.554Z] [2022-10-25T19:11:17.554Z] Login Succeeded [2022-10-25T19:11:17.554Z] nexus3.edgexfoundry.org:10003 [2022-10-25T19:11:17.821Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:11:18.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:11:18.092Z] Configure a credential helper to remove this warning. See [2022-10-25T19:11:18.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:11:18.092Z] [2022-10-25T19:11:18.092Z] Login Succeeded [2022-10-25T19:11:18.092Z] nexus3.edgexfoundry.org:10004 [2022-10-25T19:11:18.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:11:18.364Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:11:18.364Z] Configure a credential helper to remove this warning. See [2022-10-25T19:11:18.364Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:11:18.364Z] [2022-10-25T19:11:18.364Z] Login Succeeded [2022-10-25T19:11:18.364Z] docker.io [2022-10-25T19:11:18.637Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:11:18.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:11:18.908Z] Configure a credential helper to remove this warning. See [2022-10-25T19:11:18.908Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:11:18.908Z] [2022-10-25T19:11:18.908Z] Login Succeeded [2022-10-25T19:11:18.908Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T19:11:18.922Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-10-25T19:11:19.093Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T19:11:19.107Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T19:11:19.117Z] ========================================================= [2022-10-25T19:11:19.117Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-10-25T19:11:19.117Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:11:19.479Z] + 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-25T19:11:19.479Z] Sending build context to Docker daemon 127.5kB [2022-10-25T19:11:19.752Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T19:11:19.752Z] Step 2/13 : FROM ${BASE} AS builder [2022-10-25T19:11:19.752Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-10-25T19:11:19.752Z] 9b18e9b68314: Pulling fs layer [2022-10-25T19:11:19.752Z] d32db5db7311: Pulling fs layer [2022-10-25T19:11:19.752Z] d0c4b47475fc: Pulling fs layer [2022-10-25T19:11:19.752Z] 5831b945b038: Pulling fs layer [2022-10-25T19:11:20.026Z] 86bbec2aaacd: Pulling fs layer [2022-10-25T19:11:20.026Z] e10730c5d714: Pulling fs layer [2022-10-25T19:11:20.026Z] 5dd5c2283517: Pulling fs layer [2022-10-25T19:11:20.026Z] d5ac0230b979: Pulling fs layer [2022-10-25T19:11:20.026Z] 86bbec2aaacd: Waiting [2022-10-25T19:11:20.026Z] e10730c5d714: Waiting [2022-10-25T19:11:20.026Z] 5dd5c2283517: Waiting [2022-10-25T19:11:20.026Z] d5ac0230b979: Waiting [2022-10-25T19:11:20.026Z] 5831b945b038: Waiting [2022-10-25T19:11:20.026Z] d0c4b47475fc: Verifying Checksum [2022-10-25T19:11:20.026Z] d0c4b47475fc: Download complete [2022-10-25T19:11:20.026Z] d32db5db7311: Download complete [2022-10-25T19:11:20.026Z] 86bbec2aaacd: Verifying Checksum [2022-10-25T19:11:20.026Z] 86bbec2aaacd: Download complete [2022-10-25T19:11:20.026Z] e10730c5d714: Verifying Checksum [2022-10-25T19:11:20.026Z] e10730c5d714: Download complete [2022-10-25T19:11:20.026Z] 9b18e9b68314: Verifying Checksum [2022-10-25T19:11:20.026Z] 9b18e9b68314: Download complete [2022-10-25T19:11:21.000Z] 9b18e9b68314: Pull complete [2022-10-25T19:11:21.276Z] d5ac0230b979: Verifying Checksum [2022-10-25T19:11:21.276Z] d5ac0230b979: Download complete [2022-10-25T19:11:21.558Z] d32db5db7311: Pull complete [2022-10-25T19:11:21.831Z] d0c4b47475fc: Pull complete [2022-10-25T19:11:22.426Z] 5dd5c2283517: Verifying Checksum [2022-10-25T19:11:22.426Z] 5dd5c2283517: Download complete [2022-10-25T19:11:23.016Z] 5831b945b038: Verifying Checksum [2022-10-25T19:11:23.016Z] 5831b945b038: Download complete [2022-10-25T19:11:35.360Z] 5831b945b038: Pull complete [2022-10-25T19:11:35.630Z] 86bbec2aaacd: Pull complete [2022-10-25T19:11:35.901Z] e10730c5d714: Pull complete [2022-10-25T19:11:42.580Z] 5dd5c2283517: Pull complete [2022-10-25T19:11:44.010Z] d5ac0230b979: Pull complete [2022-10-25T19:11:44.010Z] Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 [2022-10-25T19:11:44.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-10-25T19:11:44.010Z] ---> 59b3b1a385d4 [2022-10-25T19:11:44.010Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-10-25T19:11:45.972Z] ---> Running in daa5e0d448b3 [2022-10-25T19:11:46.243Z] Removing intermediate container daa5e0d448b3 [2022-10-25T19:11:46.243Z] ---> 2a97d4d27821 [2022-10-25T19:11:46.243Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T19:11:46.512Z] ---> Running in 5f04346d30ad [2022-10-25T19:11:46.780Z] Removing intermediate container 5f04346d30ad [2022-10-25T19:11:46.780Z] ---> 68e11bec07f6 [2022-10-25T19:11:46.780Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T19:11:46.780Z] ---> Running in 15159bc23818 [2022-10-25T19:11:47.048Z] Removing intermediate container 15159bc23818 [2022-10-25T19:11:47.048Z] ---> a25ff5f9c130 [2022-10-25T19:11:47.048Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T19:11:47.317Z] ---> Running in 4a8e4b8dce70 [2022-10-25T19:11:47.586Z] Removing intermediate container 4a8e4b8dce70 [2022-10-25T19:11:47.586Z] ---> b83f8a112c82 [2022-10-25T19:11:47.586Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T19:11:47.586Z] ---> Running in 563ebf837436 [2022-10-25T19:11:49.549Z] Removing intermediate container 563ebf837436 [2022-10-25T19:11:49.549Z] ---> 80512ba1752c [2022-10-25T19:11:49.549Z] Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T19:11:49.549Z] ---> Running in 8461dbe3f48d [2022-10-25T19:11:50.511Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T19:11:51.095Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T19:11:52.506Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-10-25T19:11:52.770Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-10-25T19:11:53.034Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-10-25T19:11:53.617Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-10-25T19:11:54.205Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T19:11:54.205Z] OK: 226 MiB in 55 packages [2022-10-25T19:11:55.179Z] Removing intermediate container 8461dbe3f48d [2022-10-25T19:11:55.179Z] ---> 6eb8776a0870 [2022-10-25T19:11:55.179Z] Step 9/13 : WORKDIR /device-rest-go [2022-10-25T19:11:55.179Z] ---> Running in 63a53deb67b7 [2022-10-25T19:11:55.768Z] Removing intermediate container 63a53deb67b7 [2022-10-25T19:11:55.768Z] ---> 16b9a8d64d71 [2022-10-25T19:11:55.768Z] Step 10/13 : COPY go.mod vendor* ./ [2022-10-25T19:11:56.039Z] ---> f3a1aa18d1d5 [2022-10-25T19:11:56.039Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T19:11:56.314Z] ---> Running in 7a655f37c854 [2022-10-25T19:12:52.875Z] Removing intermediate container 7a655f37c854 [2022-10-25T19:12:52.875Z] ---> 90ea5a35b162 [2022-10-25T19:12:52.875Z] Step 12/13 : COPY . . [2022-10-25T19:12:52.875Z] ---> 3e26197aa055 [2022-10-25T19:12:52.875Z] Step 13/13 : RUN $MAKE [2022-10-25T19:12:52.875Z] ---> Running in 043794cc80dc [2022-10-25T19:12:52.875Z] noop [2022-10-25T19:12:52.875Z] Removing intermediate container 043794cc80dc [2022-10-25T19:12:52.875Z] ---> 5b3064896bd4 [2022-10-25T19:12:52.875Z] Successfully built 5b3064896bd4 [2022-10-25T19:12:52.875Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:12:53.239Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T19:12:53.239Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:12:53.445Z] prd-ubuntu20.04-docker-arm64-4c-16g-116962 does not seem to be running inside a container [2022-10-25T19:12:53.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/67 -v /w/workspace/device-rest-go/67:/w/workspace/device-rest-go/67:rw,z -v /w/workspace/device-rest-go/67@tmp:/w/workspace/device-rest-go/67@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-25T19:12:54.751Z] $ docker top f25990bf359ccded5b4ca47de2570824c0153d3163f5cb0d0f37f383a73eed9b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T19:12:55.585Z] + go version [2022-10-25T19:12:55.585Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-10-25T19:12:55.616Z] $ docker stop --time=1 f25990bf359ccded5b4ca47de2570824c0153d3163f5cb0d0f37f383a73eed9b [2022-10-25T19:12:57.315Z] $ docker rm -f f25990bf359ccded5b4ca47de2570824c0153d3163f5cb0d0f37f383a73eed9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:12:57.845Z] + docker inspect -f . ci-base-image-arm64 [2022-10-25T19:12:57.845Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:12:58.008Z] prd-ubuntu20.04-docker-arm64-4c-16g-116962 does not seem to be running inside a container [2022-10-25T19:12:58.081Z] $ 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/67 -v /w/workspace/device-rest-go/67:/w/workspace/device-rest-go/67:rw,z -v /w/workspace/device-rest-go/67@tmp:/w/workspace/device-rest-go/67@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-25T19:12:59.249Z] $ docker top fc6e98957ae997d3740c08f39013c5d6eaf3dac35415ee96b6fe834b76d9a33e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T19:13:00.083Z] + git config --global --add safe.directory /w/workspace/device-rest-go/67 [Pipeline] fileExists [Pipeline] sh [2022-10-25T19:13:00.734Z] + make test [2022-10-25T19:13:00.734Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-10-25T19:13:02.683Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-10-25T19:14:40.492Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-10-25T19:14:40.492Z] ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements [2022-10-25T19:14:40.492Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-10-25T19:14:40.492Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-10-25T19:15:02.564Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-10-25T19:15:02.564Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-10-25T19:15:02.564Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-10-25T19:15:02.580Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-10-25T19:15:02.600Z] $ docker stop --time=1 fc6e98957ae997d3740c08f39013c5d6eaf3dac35415ee96b6fe834b76d9a33e [2022-10-25T19:15:04.461Z] $ docker rm -f fc6e98957ae997d3740c08f39013c5d6eaf3dac35415ee96b6fe834b76d9a33e [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T19:15:05.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-10-25T19:15:05.435Z] Warning: overwriting stash ‘coverage-report’ [2022-10-25T19:15:05.958Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-10-25T19:15:06.363Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-10-25T19:15:06.695Z] + ls -al . [2022-10-25T19:15:06.695Z] total 180 [2022-10-25T19:15:06.695Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 19:13 . [2022-10-25T19:15:06.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:10 .. [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 25 19:10 .dockerignore [2022-10-25T19:15:06.695Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 25 19:10 .git [2022-10-25T19:15:06.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 19:10 .github [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 329 Oct 25 19:10 .gitignore [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 25 19:10 .golangci.yml [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 9100 Oct 25 19:10 Attribution.txt [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 11736 Oct 25 19:10 CHANGELOG.md [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 1730 Oct 25 19:10 Dockerfile [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 25 19:10 GOVERNANCE.md [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 25 19:10 Jenkinsfile [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 25 19:10 LICENSE [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 2173 Oct 25 19:10 Makefile [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 25 19:10 OWNERS.md [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 8667 Oct 25 19:10 README.md [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 12 Oct 25 18:50 VERSION [2022-10-25T19:15:06.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 19:10 bin [2022-10-25T19:15:06.695Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 25 19:10 cmd [2022-10-25T19:15:06.695Z] -rw-r--r-- 1 jenkins jenkins 9355 Oct 25 19:14 coverage.out [2022-10-25T19:15:06.695Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 25 19:10 driver [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 3535 Oct 25 19:10 go.mod [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 44965 Oct 25 19:10 go.sum [2022-10-25T19:15:06.695Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 25 19:10 snap [2022-10-25T19:15:06.695Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 25 19:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:15:07.039Z] + 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=02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 --label arch=arm64 --label version=2.3.0-dev.21 . [2022-10-25T19:15:07.039Z] Sending build context to Docker daemon 137.7kB [2022-10-25T19:15:07.624Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-10-25T19:15:07.624Z] Step 2/26 : FROM ${BASE} AS builder [2022-10-25T19:15:07.624Z] ---> 5b3064896bd4 [2022-10-25T19:15:07.624Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-10-25T19:15:07.624Z] ---> Running in 0c116d17a256 [2022-10-25T19:15:07.899Z] Removing intermediate container 0c116d17a256 [2022-10-25T19:15:07.899Z] ---> 2ee627850a32 [2022-10-25T19:15:07.899Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-10-25T19:15:08.176Z] ---> Running in c3b2929c812a [2022-10-25T19:15:08.450Z] Removing intermediate container c3b2929c812a [2022-10-25T19:15:08.450Z] ---> 280430582051 [2022-10-25T19:15:08.450Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-10-25T19:15:08.720Z] ---> Running in 9b7dc8211050 [2022-10-25T19:15:09.008Z] Removing intermediate container 9b7dc8211050 [2022-10-25T19:15:09.008Z] ---> 2d67e1af37db [2022-10-25T19:15:09.008Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-10-25T19:15:09.275Z] ---> Running in ffcb5267d5ad [2022-10-25T19:15:09.546Z] Removing intermediate container ffcb5267d5ad [2022-10-25T19:15:09.546Z] ---> 840287374e40 [2022-10-25T19:15:09.546Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-10-25T19:15:09.813Z] ---> Running in 064fff50442f [2022-10-25T19:15:11.234Z] Removing intermediate container 064fff50442f [2022-10-25T19:15:11.234Z] ---> 036aeac1da41 [2022-10-25T19:15:11.234Z] Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-10-25T19:15:11.499Z] ---> Running in dd8d9b0fae67 [2022-10-25T19:15:12.458Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T19:15:13.040Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T19:15:14.444Z] OK: 226 MiB in 55 packages [2022-10-25T19:15:15.414Z] Removing intermediate container dd8d9b0fae67 [2022-10-25T19:15:15.414Z] ---> 3d102565237a [2022-10-25T19:15:15.414Z] Step 9/26 : WORKDIR /device-rest-go [2022-10-25T19:15:15.414Z] ---> Running in 59b1e7e7f063 [2022-10-25T19:15:15.681Z] Removing intermediate container 59b1e7e7f063 [2022-10-25T19:15:15.681Z] ---> ec1a54a06228 [2022-10-25T19:15:15.681Z] Step 10/26 : COPY go.mod vendor* ./ [2022-10-25T19:15:16.268Z] ---> 3fc18bf6c72a [2022-10-25T19:15:16.268Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-10-25T19:15:16.268Z] ---> Running in 3ebf30df7674 [2022-10-25T19:15:18.852Z] Removing intermediate container 3ebf30df7674 [2022-10-25T19:15:18.852Z] ---> 0cd9b12103e6 [2022-10-25T19:15:18.852Z] Step 12/26 : COPY . . [2022-10-25T19:15:19.442Z] ---> d2ae3f93f35d [2022-10-25T19:15:19.442Z] Step 13/26 : RUN $MAKE [2022-10-25T19:15:19.442Z] ---> Running in 37c0b7046fdf [2022-10-25T19:15:21.400Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.21" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-10-25T19:17:58.115Z] Removing intermediate container 37c0b7046fdf [2022-10-25T19:17:58.115Z] ---> 4e133bc68cf2 [2022-10-25T19:17:58.115Z] Step 14/26 : FROM alpine:3.16 [2022-10-25T19:17:58.115Z] 3.16: Pulling from library/alpine [2022-10-25T19:17:58.115Z] 9b18e9b68314: Already exists [2022-10-25T19:17:58.115Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-10-25T19:17:58.115Z] Status: Downloaded newer image for alpine:3.16 [2022-10-25T19:17:58.115Z] ---> a6215f271958 [2022-10-25T19:17:58.115Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-10-25T19:17:58.115Z] ---> Running in 116def9dc328 [2022-10-25T19:17:58.115Z] Removing intermediate container 116def9dc328 [2022-10-25T19:17:58.115Z] ---> f6c0dbb1b1c2 [2022-10-25T19:17:58.115Z] Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} [2022-10-25T19:17:58.115Z] ---> Running in 2d80e8f82a3b [2022-10-25T19:17:58.115Z] Removing intermediate container 2d80e8f82a3b [2022-10-25T19:17:58.115Z] ---> b0bfdf9be3a8 [2022-10-25T19:17:58.115Z] Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-10-25T19:17:58.115Z] ---> Running in 403e945b8ca1 [2022-10-25T19:17:58.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-10-25T19:17:58.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-10-25T19:17:58.115Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-10-25T19:17:58.115Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-10-25T19:17:58.115Z] (3/6) Installing libsodium (1.0.18-r0) [2022-10-25T19:17:58.115Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-10-25T19:17:58.115Z] (5/6) Installing libzmq (4.3.4-r0) [2022-10-25T19:17:58.115Z] (6/6) Installing zeromq (4.3.4-r0) [2022-10-25T19:17:58.115Z] Executing busybox-1.35.0-r17.trigger [2022-10-25T19:17:58.115Z] OK: 8 MiB in 20 packages [2022-10-25T19:17:58.115Z] Removing intermediate container 403e945b8ca1 [2022-10-25T19:17:58.115Z] ---> a6d121fc35c0 [2022-10-25T19:17:58.115Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2022-10-25T19:17:58.115Z] ---> b318b38e0574 [2022-10-25T19:17:58.115Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2022-10-25T19:17:58.115Z] ---> 38d4dadc47c6 [2022-10-25T19:17:58.115Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-10-25T19:17:58.115Z] ---> 5fcd13dd6f90 [2022-10-25T19:17:58.115Z] Step 21/26 : EXPOSE 59986 [2022-10-25T19:17:58.115Z] ---> Running in b6c455a5e87d [2022-10-25T19:17:58.381Z] Removing intermediate container b6c455a5e87d [2022-10-25T19:17:58.382Z] ---> 61a96283ceb3 [2022-10-25T19:17:58.382Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2022-10-25T19:17:58.382Z] ---> Running in 67679c4899b8 [2022-10-25T19:17:58.654Z] Removing intermediate container 67679c4899b8 [2022-10-25T19:17:58.654Z] ---> 60d7464037ad [2022-10-25T19:17:58.654Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-10-25T19:17:58.921Z] ---> Running in be676acec682 [2022-10-25T19:17:59.190Z] Removing intermediate container be676acec682 [2022-10-25T19:17:59.190Z] ---> 02002250b50f [2022-10-25T19:17:59.190Z] Step 24/26 : LABEL arch=arm64 [2022-10-25T19:17:59.190Z] ---> Running in 5a95517c5415 [2022-10-25T19:17:59.457Z] Removing intermediate container 5a95517c5415 [2022-10-25T19:17:59.457Z] ---> a93633c9228c [2022-10-25T19:17:59.457Z] Step 25/26 : LABEL git_sha=02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [2022-10-25T19:17:59.457Z] ---> Running in f09b7f296c1e [2022-10-25T19:17:59.723Z] Removing intermediate container f09b7f296c1e [2022-10-25T19:17:59.723Z] ---> 90e603802fa5 [2022-10-25T19:17:59.723Z] Step 26/26 : LABEL version=2.3.0-dev.21 [2022-10-25T19:17:59.990Z] ---> Running in 33cec4176868 [2022-10-25T19:18:00.256Z] Removing intermediate container 33cec4176868 [2022-10-25T19:18:00.256Z] ---> 8d590405c75b [2022-10-25T19:18:00.256Z] [Warning] One or more build-args [ARCH] were not consumed [2022-10-25T19:18:00.256Z] Successfully built 8d590405c75b [2022-10-25T19:18:00.256Z] 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-25T19:18:00.368Z] provisioning config files... [2022-10-25T19:18:00.382Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/67@tmp/config7867508256162091177tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:18:00.710Z] ---> docker-login.sh [2022-10-25T19:18:00.710Z] nexus3.edgexfoundry.org:10001 [2022-10-25T19:18:00.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:18:00.976Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:18:00.976Z] Configure a credential helper to remove this warning. See [2022-10-25T19:18:00.976Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:18:00.976Z] [2022-10-25T19:18:00.976Z] Login Succeeded [2022-10-25T19:18:00.976Z] nexus3.edgexfoundry.org:10002 [2022-10-25T19:18:01.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:18:01.244Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:18:01.244Z] Configure a credential helper to remove this warning. See [2022-10-25T19:18:01.244Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:18:01.244Z] [2022-10-25T19:18:01.244Z] Login Succeeded [2022-10-25T19:18:01.244Z] nexus3.edgexfoundry.org:10003 [2022-10-25T19:18:01.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:18:01.777Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:18:01.777Z] Configure a credential helper to remove this warning. See [2022-10-25T19:18:01.777Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:18:01.777Z] [2022-10-25T19:18:01.777Z] Login Succeeded [2022-10-25T19:18:01.777Z] nexus3.edgexfoundry.org:10004 [2022-10-25T19:18:02.042Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:18:02.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:18:02.043Z] Configure a credential helper to remove this warning. See [2022-10-25T19:18:02.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:18:02.043Z] [2022-10-25T19:18:02.043Z] Login Succeeded [2022-10-25T19:18:02.043Z] docker.io [2022-10-25T19:18:02.314Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-10-25T19:18:02.579Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-10-25T19:18:02.579Z] Configure a credential helper to remove this warning. See [2022-10-25T19:18:02.579Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-10-25T19:18:02.579Z] [2022-10-25T19:18:02.579Z] Login Succeeded [2022-10-25T19:18:02.579Z] ---> docker-login.sh ends [Pipeline] } [2022-10-25T19:18:02.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-25T19:18:02.623Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-10-25T19:18:02.705Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-10-25T19:18:02.705Z] 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [2022-10-25T19:18:02.705Z] latest [2022-10-25T19:18:02.705Z] 2.3.0-dev.21 [2022-10-25T19:18:02.705Z] 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21 [2022-10-25T19:18:02.705Z] main [2022-10-25T19:18:02.705Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:03.037Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:03.371Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [2022-10-25T19:18:03.371Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-25T19:18:03.371Z] b55248a516b8: Preparing [2022-10-25T19:18:03.371Z] eecf1c3f5844: Preparing [2022-10-25T19:18:03.371Z] 846d2781ae22: Preparing [2022-10-25T19:18:03.371Z] 23d3a5990ea8: Preparing [2022-10-25T19:18:03.371Z] 5d3e392a13a0: Preparing [2022-10-25T19:18:03.371Z] 5d3e392a13a0: Layer already exists [2022-10-25T19:18:03.636Z] b55248a516b8: Pushed [2022-10-25T19:18:03.636Z] eecf1c3f5844: Pushed [2022-10-25T19:18:04.217Z] 23d3a5990ea8: Pushed [2022-10-25T19:18:09.553Z] 846d2781ae22: Pushed [2022-10-25T19:18:09.554Z] 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2: digest: sha256:deb99a0aff6874b53a59356cb1328a89d9539ee9656257da6fa23324e1079793 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:09.898Z] + 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-25T19:18:10.237Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-10-25T19:18:10.237Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-25T19:18:10.237Z] b55248a516b8: Preparing [2022-10-25T19:18:10.237Z] eecf1c3f5844: Preparing [2022-10-25T19:18:10.237Z] 846d2781ae22: Preparing [2022-10-25T19:18:10.237Z] 23d3a5990ea8: Preparing [2022-10-25T19:18:10.237Z] 5d3e392a13a0: Preparing [2022-10-25T19:18:10.237Z] eecf1c3f5844: Layer already exists [2022-10-25T19:18:10.237Z] 23d3a5990ea8: Layer already exists [2022-10-25T19:18:10.237Z] b55248a516b8: Layer already exists [2022-10-25T19:18:10.237Z] 5d3e392a13a0: Layer already exists [2022-10-25T19:18:10.237Z] 846d2781ae22: Layer already exists [2022-10-25T19:18:10.237Z] latest: digest: sha256:deb99a0aff6874b53a59356cb1328a89d9539ee9656257da6fa23324e1079793 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:10.852Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:11.199Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.21 [2022-10-25T19:18:11.199Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-25T19:18:11.199Z] b55248a516b8: Preparing [2022-10-25T19:18:11.199Z] eecf1c3f5844: Preparing [2022-10-25T19:18:11.199Z] 846d2781ae22: Preparing [2022-10-25T19:18:11.199Z] 23d3a5990ea8: Preparing [2022-10-25T19:18:11.199Z] 5d3e392a13a0: Preparing [2022-10-25T19:18:11.199Z] 5d3e392a13a0: Layer already exists [2022-10-25T19:18:11.199Z] eecf1c3f5844: Layer already exists [2022-10-25T19:18:11.199Z] b55248a516b8: Layer already exists [2022-10-25T19:18:11.199Z] 846d2781ae22: Layer already exists [2022-10-25T19:18:11.199Z] 23d3a5990ea8: Layer already exists [2022-10-25T19:18:11.468Z] 2.3.0-dev.21: digest: sha256:deb99a0aff6874b53a59356cb1328a89d9539ee9656257da6fa23324e1079793 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:11.812Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:12.155Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21 [2022-10-25T19:18:12.155Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-25T19:18:12.155Z] b55248a516b8: Preparing [2022-10-25T19:18:12.155Z] eecf1c3f5844: Preparing [2022-10-25T19:18:12.155Z] 846d2781ae22: Preparing [2022-10-25T19:18:12.155Z] 23d3a5990ea8: Preparing [2022-10-25T19:18:12.155Z] 5d3e392a13a0: Preparing [2022-10-25T19:18:12.155Z] 5d3e392a13a0: Layer already exists [2022-10-25T19:18:12.155Z] b55248a516b8: Layer already exists [2022-10-25T19:18:12.155Z] 846d2781ae22: Layer already exists [2022-10-25T19:18:12.155Z] eecf1c3f5844: Layer already exists [2022-10-25T19:18:12.155Z] 23d3a5990ea8: Layer already exists [2022-10-25T19:18:12.155Z] 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21: digest: sha256:deb99a0aff6874b53a59356cb1328a89d9539ee9656257da6fa23324e1079793 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:12.824Z] + 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-25T19:18:13.179Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-10-25T19:18:13.179Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-10-25T19:18:13.179Z] b55248a516b8: Preparing [2022-10-25T19:18:13.179Z] eecf1c3f5844: Preparing [2022-10-25T19:18:13.179Z] 846d2781ae22: Preparing [2022-10-25T19:18:13.179Z] 23d3a5990ea8: Preparing [2022-10-25T19:18:13.179Z] 5d3e392a13a0: Preparing [2022-10-25T19:18:13.179Z] 5d3e392a13a0: Layer already exists [2022-10-25T19:18:13.179Z] b55248a516b8: Layer already exists [2022-10-25T19:18:13.179Z] eecf1c3f5844: Layer already exists [2022-10-25T19:18:13.179Z] 23d3a5990ea8: Layer already exists [2022-10-25T19:18:13.179Z] 846d2781ae22: Layer already exists [2022-10-25T19:18:13.179Z] main: digest: sha256:deb99a0aff6874b53a59356cb1328a89d9539ee9656257da6fa23324e1079793 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-10-25T19:18:13.495Z] ===================================================== [Pipeline] echo [2022-10-25T19:18:13.500Z] taggedImages: [2022-10-25T19:18:13.500Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [2022-10-25T19:18:13.500Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-10-25T19:18:13.500Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.21 [2022-10-25T19:18:13.500Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2-2.3.0-dev.21 [2022-10-25T19:18:13.500Z] - 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-25T19:18:13.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T19:18:13.879Z] [2022-10-25T19:18:13.879Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:14.227Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T19:18:14.228Z] arm64: Pulling from edgex-lftools-log-publisher [2022-10-25T19:18:14.228Z] 8998bd30e6a1: Pulling fs layer [2022-10-25T19:18:14.228Z] 04944245beec: Pulling fs layer [2022-10-25T19:18:14.228Z] 699f458cf7ca: Pulling fs layer [2022-10-25T19:18:14.228Z] 765212b225bb: Pulling fs layer [2022-10-25T19:18:14.228Z] f23df028b6ca: Pulling fs layer [2022-10-25T19:18:14.228Z] d65c8cfc05b1: Pulling fs layer [2022-10-25T19:18:14.228Z] 2437ff75d9bd: Pulling fs layer [2022-10-25T19:18:14.228Z] 765212b225bb: Waiting [2022-10-25T19:18:14.228Z] f23df028b6ca: Waiting [2022-10-25T19:18:14.228Z] 2437ff75d9bd: Waiting [2022-10-25T19:18:14.228Z] d65c8cfc05b1: Waiting [2022-10-25T19:18:14.518Z] 04944245beec: Verifying Checksum [2022-10-25T19:18:14.518Z] 04944245beec: Download complete [2022-10-25T19:18:14.518Z] 765212b225bb: Verifying Checksum [2022-10-25T19:18:14.518Z] 765212b225bb: Download complete [2022-10-25T19:18:14.518Z] f23df028b6ca: Verifying Checksum [2022-10-25T19:18:14.518Z] f23df028b6ca: Download complete [2022-10-25T19:18:14.518Z] d65c8cfc05b1: Verifying Checksum [2022-10-25T19:18:14.518Z] 699f458cf7ca: Verifying Checksum [2022-10-25T19:18:14.518Z] 699f458cf7ca: Download complete [2022-10-25T19:18:15.107Z] 8998bd30e6a1: Verifying Checksum [2022-10-25T19:18:15.107Z] 8998bd30e6a1: Download complete [2022-10-25T19:18:17.689Z] 2437ff75d9bd: Verifying Checksum [2022-10-25T19:18:17.689Z] 2437ff75d9bd: Download complete [2022-10-25T19:18:19.099Z] 8998bd30e6a1: Pull complete [2022-10-25T19:18:19.683Z] 04944245beec: Pull complete [2022-10-25T19:18:21.090Z] 699f458cf7ca: Pull complete [2022-10-25T19:18:21.090Z] 765212b225bb: Pull complete [2022-10-25T19:18:22.052Z] f23df028b6ca: Pull complete [2022-10-25T19:18:22.052Z] d65c8cfc05b1: Pull complete [2022-10-25T19:18:37.046Z] 2437ff75d9bd: Pull complete [2022-10-25T19:18:37.046Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-10-25T19:18:37.046Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-10-25T19:18:37.046Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:18:37.239Z] prd-ubuntu20.04-docker-arm64-4c-16g-116962 does not seem to be running inside a container [2022-10-25T19:18:37.318Z] $ 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/67 -v /w/workspace/device-rest-go/67:/w/workspace/device-rest-go/67:rw,z -v /w/workspace/device-rest-go/67@tmp:/w/workspace/device-rest-go/67@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-25T19:18:39.953Z] $ docker top 91b32158a9fce3ad25d98087e900be4dc89d6b22cb018c849050bec8acbb0335 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:18:40.785Z] ---> job-cost.sh [2022-10-25T19:18:40.785Z] lf-activate-venv: SKIPPING [2022-10-25T19:18:40.785Z] INFO: No Stack... [2022-10-25T19:18:41.052Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-10-25T19:18:42.012Z] INFO: Archiving Costs [Pipeline] sh [2022-10-25T19:18:42.654Z] + cut -d, -f6 [2022-10-25T19:18:42.654Z] + cat /w/workspace/device-rest-go/67/archives/cost.csv [Pipeline] lock [2022-10-25T19:18:42.695Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-67-stack-cost] [2022-10-25T19:18:42.702Z] Resource [jenkins-edgexfoundry-device-rest-go-main-67-stack-cost] did not exist. Created. [2022-10-25T19:18:42.702Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-67-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-10-25T19:18:43.354Z] /w/workspace/device-rest-go/67@tmp/durable-60586703/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-10-25T19:18:44.012Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-10-25T19:18:44.037Z] Warning: overwriting stash ‘stack-cost’ [2022-10-25T19:18:44.082Z] Stashed 1 file(s) [Pipeline] } [2022-10-25T19:18:44.091Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-67-stack-cost] [Pipeline] // lock [Pipeline] } [2022-10-25T19:18:44.119Z] $ docker stop --time=1 91b32158a9fce3ad25d98087e900be4dc89d6b22cb018c849050bec8acbb0335 [2022-10-25T19:18:45.633Z] $ docker rm -f 91b32158a9fce3ad25d98087e900be4dc89d6b22cb018c849050bec8acbb0335 [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-25T19:18:46.035Z] provisioning config files... [2022-10-25T19:18:46.042Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10954187040858040874tmp [Pipeline] { [Pipeline] sh [2022-10-25T19:18:46.335Z] + set +x [2022-10-25T19:18:46.335Z] + curl -s https://codecov.io/bash [2022-10-25T19:18:46.335Z] + bash -s -- [2022-10-25T19:18:46.335Z] [2022-10-25T19:18:46.335Z] _____ _ [2022-10-25T19:18:46.335Z] / ____| | | [2022-10-25T19:18:46.335Z] | | ___ __| | ___ ___ _____ __ [2022-10-25T19:18:46.335Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-10-25T19:18:46.335Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-10-25T19:18:46.335Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-10-25T19:18:46.335Z] Bash-1.0.6 [2022-10-25T19:18:46.335Z] [2022-10-25T19:18:46.335Z] [2022-10-25T19:18:46.335Z] ==> git version 2.25.1 found [2022-10-25T19:18:46.335Z] ==> 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-25T19:18:46.335Z] Release-Date: 2020-01-08 [2022-10-25T19:18:46.335Z] 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-25T19:18:46.335Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-10-25T19:18:46.335Z] ==> Jenkins CI detected. [2022-10-25T19:18:46.335Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-10-25T19:18:46.335Z] project root: . [2022-10-25T19:18:46.335Z] --> token set from env [2022-10-25T19:18:46.335Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-10-25T19:18:46.335Z] ==> Running gcov in . (disable via -X gcov) [2022-10-25T19:18:46.335Z] ==> Python coveragepy not found [2022-10-25T19:18:46.335Z] ==> Searching for coverage reports in: [2022-10-25T19:18:46.335Z] + . [2022-10-25T19:18:46.335Z] -> Found 1 reports [2022-10-25T19:18:46.335Z] ==> Detecting git/mercurial file structure [2022-10-25T19:18:46.335Z] ==> Reading reports [2022-10-25T19:18:46.335Z] + ./coverage.out bytes=9355 [2022-10-25T19:18:46.335Z] ==> Appending adjustments [2022-10-25T19:18:46.335Z] https://docs.codecov.io/docs/fixing-reports [2022-10-25T19:18:46.593Z] + Found adjustments [2022-10-25T19:18:46.593Z] ==> Gzipping contents [2022-10-25T19:18:46.593Z] 4.0K /tmp/codecov.wKBK2B.gz [2022-10-25T19:18:46.593Z] ==> Uploading reports [2022-10-25T19:18:46.593Z] url: https://codecov.io [2022-10-25T19:18:46.593Z] query: branch=main&commit=02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-25T19:18:46.593Z] -> Pinging Codecov [2022-10-25T19:18:46.593Z] 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=02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2&build=67&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F67%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-10-25T19:18:47.159Z] -> Uploading to [2022-10-25T19:18:47.159Z] https://storage.googleapis.com/codecov/v4/raw/2022-10-25/4E5D53B4F1F92C436F7061BF334D961C/02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2/d4450c75-9c3a-4024-b059-2e4bd63d9501.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221025%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221025T191846Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60532714f5b1ba7520d985cfffb5b8b15b603b3bde7953716ef1b2585b517b5a [2022-10-25T19:18:47.159Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-10-25T19:18:47.159Z] Dload Upload Total Spent Left Speed [2022-10-25T19:18:47.159Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7122 --:--:-- --:--:-- --:--:-- 7122 [2022-10-25T19:18:47.159Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] } [2022-10-25T19:18:47.166Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-10-25T19:18:47.349Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-10-25T19:18:47.358Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:18:47.646Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-25T19:18:47.646Z] [2022-10-25T19:18:47.646Z] 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-25T19:18:47.941Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-25T19:18:47.941Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-10-25T19:18:47.941Z] df9b9388f04a: Pulling fs layer [2022-10-25T19:18:47.941Z] 52dc419b0ee2: Pulling fs layer [2022-10-25T19:18:47.941Z] 25bc292e5bac: Pulling fs layer [2022-10-25T19:18:47.941Z] 114826534d7a: Pulling fs layer [2022-10-25T19:18:47.941Z] 4657fd5d0bcf: Pulling fs layer [2022-10-25T19:18:47.941Z] 6ad1cebc031e: Pulling fs layer [2022-10-25T19:18:47.941Z] 8a3aa393b2d8: Pulling fs layer [2022-10-25T19:18:47.941Z] 4657fd5d0bcf: Waiting [2022-10-25T19:18:47.941Z] 6ad1cebc031e: Waiting [2022-10-25T19:18:47.941Z] 8a3aa393b2d8: Waiting [2022-10-25T19:18:47.941Z] 114826534d7a: Waiting [2022-10-25T19:18:47.941Z] 25bc292e5bac: Download complete [2022-10-25T19:18:47.941Z] 52dc419b0ee2: Verifying Checksum [2022-10-25T19:18:47.941Z] 52dc419b0ee2: Download complete [2022-10-25T19:18:47.941Z] 4657fd5d0bcf: Verifying Checksum [2022-10-25T19:18:47.941Z] 4657fd5d0bcf: Download complete [2022-10-25T19:18:47.941Z] df9b9388f04a: Verifying Checksum [2022-10-25T19:18:47.941Z] df9b9388f04a: Download complete [2022-10-25T19:18:48.200Z] 6ad1cebc031e: Verifying Checksum [2022-10-25T19:18:48.200Z] 6ad1cebc031e: Download complete [2022-10-25T19:18:48.200Z] df9b9388f04a: Pull complete [2022-10-25T19:18:48.464Z] 52dc419b0ee2: Pull complete [2022-10-25T19:18:48.464Z] 25bc292e5bac: Pull complete [2022-10-25T19:18:48.724Z] 114826534d7a: Download complete [2022-10-25T19:18:48.724Z] 8a3aa393b2d8: Verifying Checksum [2022-10-25T19:18:48.724Z] 8a3aa393b2d8: Download complete [2022-10-25T19:18:51.997Z] 114826534d7a: Pull complete [2022-10-25T19:18:51.997Z] 4657fd5d0bcf: Pull complete [2022-10-25T19:18:52.254Z] 6ad1cebc031e: Pull complete [2022-10-25T19:18:54.775Z] 8a3aa393b2d8: Pull complete [2022-10-25T19:18:54.775Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-10-25T19:18:54.775Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-10-25T19:18:54.775Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:18:54.844Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T19:18:54.868Z] $ 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-25T19:18:57.055Z] $ docker top 5f33ab2eb308038ca6ffe8ad30aa345b7a6e6f26ee91d1892ef897bb5736bb48 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-10-25T19:18:57.125Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-10-25T19:18:57.402Z] + set -o pipefail [2022-10-25T19:18:57.402Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-10-25T19:19:03.981Z] [2022-10-25T19:19:03.981Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-10-25T19:19:03.981Z] [2022-10-25T19:19:03.981Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/9abb7e96-50a6-4e69-bead-ed9a3b0b0782 [2022-10-25T19:19:03.981Z] [2022-10-25T19:19:03.981Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-10-25T19:19:03.981Z] [2022-10-25T19:19:03.981Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-10-25T19:19:03.981Z] [2022-10-25T19:19:03.981Z] [2022-10-25T19:19:03.981Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-10-25T19:19:03.981Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-10-25T19:19:03.981Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-10-25T19:19:03.992Z] $ docker stop --time=1 5f33ab2eb308038ca6ffe8ad30aa345b7a6e6f26ee91d1892ef897bb5736bb48 [2022-10-25T19:19:06.221Z] $ docker rm -f 5f33ab2eb308038ca6ffe8ad30aa345b7a6e6f26ee91d1892ef897bb5736bb48 [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-25T19:19:06.885Z] + git log --format=format:%s -1 02d6d2e5faf96132eaaa06f7f8d0a77f54ce92d2 [Pipeline] sh [2022-10-25T19:19:07.176Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T19:19:07.176Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:19:07.481Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T19:19:07.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:19:07.543Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T19:19:07.576Z] $ 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-25T19:19:07.945Z] $ docker top e1d61a8d481bd0dc88e60f776c395db44e2c42ec7220db09b381ccc171ab57e7 -eo pid,comm [2022-10-25T19:19:07.999Z] 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-25T19:19:07.999Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T19:19:08.029Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T19:19:08.029Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T19:19:08.151Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T19:19:08.151Z] $ docker exec e1d61a8d481bd0dc88e60f776c395db44e2c42ec7220db09b381ccc171ab57e7 ssh-agent [2022-10-25T19:19:08.271Z] SSH_AUTH_SOCK=/tmp/ssh-0gsOevE4a3am/agent.32 [2022-10-25T19:19:08.271Z] SSH_AGENT_PID=38 [2022-10-25T19:19:08.278Z] Running ssh-add (command line suppressed) [2022-10-25T19:19:08.381Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14428493060399857940.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14428493060399857940.key) [2022-10-25T19:19:08.397Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T19:19:08.686Z] + git semver tag [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,858 [run_tag] DEBUG tag force:False [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,858 [check_head_tag] DEBUG check head tag [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,858 [execute] INFO git cat-file --batch-check [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,859 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,862 [execute] INFO git cat-file --batch [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,862 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,876 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,876 [execute] INFO git tag -a v2.3.0-dev.21 -m v2.3.0-dev.21 [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,877 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.21', '-m', 'v2.3.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-10-25T19:19:08.945Z] 2022-10-25 19:19:08,881 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T19:19:08.945Z] 2.3.0-dev.21 [Pipeline] } [2022-10-25T19:19:08.951Z] $ docker exec --env ******** --env ******** e1d61a8d481bd0dc88e60f776c395db44e2c42ec7220db09b381ccc171ab57e7 ssh-agent -k [2022-10-25T19:19:09.052Z] unset SSH_AUTH_SOCK; [2022-10-25T19:19:09.054Z] unset SSH_AGENT_PID; [2022-10-25T19:19:09.054Z] echo Agent pid 38 killed; [2022-10-25T19:19:09.066Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T19:19:09.373Z] + git semver [Pipeline] } [2022-10-25T19:19:09.643Z] $ docker stop --time=1 e1d61a8d481bd0dc88e60f776c395db44e2c42ec7220db09b381ccc171ab57e7 [2022-10-25T19:19:10.939Z] $ docker rm -f e1d61a8d481bd0dc88e60f776c395db44e2c42ec7220db09b381ccc171ab57e7 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:19:11.334Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-25T19:19:11.334Z] [2022-10-25T19:19:11.334Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:19:11.632Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-25T19:19:11.632Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-10-25T19:19:11.632Z] ab5ef0e58194: Pulling fs layer [2022-10-25T19:19:11.632Z] 9712f1f96733: Pulling fs layer [2022-10-25T19:19:11.632Z] 63f879dbbcfc: Pulling fs layer [2022-10-25T19:19:11.632Z] 0d9ebad4ef96: Pulling fs layer [2022-10-25T19:19:11.632Z] e9a5061849ea: Pulling fs layer [2022-10-25T19:19:11.632Z] d747dcd14b5f: Pulling fs layer [2022-10-25T19:19:11.632Z] 2de7ff778b66: Pulling fs layer [2022-10-25T19:19:11.632Z] 0d9ebad4ef96: Waiting [2022-10-25T19:19:11.632Z] e9a5061849ea: Waiting [2022-10-25T19:19:11.632Z] d747dcd14b5f: Waiting [2022-10-25T19:19:11.632Z] 2de7ff778b66: Waiting [2022-10-25T19:19:11.632Z] 9712f1f96733: Verifying Checksum [2022-10-25T19:19:11.632Z] 9712f1f96733: Download complete [2022-10-25T19:19:12.215Z] 63f879dbbcfc: Verifying Checksum [2022-10-25T19:19:12.215Z] 63f879dbbcfc: Download complete [2022-10-25T19:19:12.215Z] ab5ef0e58194: Verifying Checksum [2022-10-25T19:19:12.215Z] ab5ef0e58194: Download complete [2022-10-25T19:19:12.215Z] d747dcd14b5f: Verifying Checksum [2022-10-25T19:19:12.215Z] d747dcd14b5f: Download complete [2022-10-25T19:19:12.215Z] 0d9ebad4ef96: Verifying Checksum [2022-10-25T19:19:12.215Z] 0d9ebad4ef96: Download complete [2022-10-25T19:19:12.215Z] e9a5061849ea: Verifying Checksum [2022-10-25T19:19:12.215Z] e9a5061849ea: Download complete [2022-10-25T19:19:12.215Z] 2de7ff778b66: Verifying Checksum [2022-10-25T19:19:12.215Z] 2de7ff778b66: Download complete [2022-10-25T19:19:15.495Z] ab5ef0e58194: Pull complete [2022-10-25T19:19:15.495Z] 9712f1f96733: Pull complete [2022-10-25T19:19:15.754Z] 63f879dbbcfc: Pull complete [2022-10-25T19:19:19.036Z] 0d9ebad4ef96: Pull complete [2022-10-25T19:19:19.294Z] e9a5061849ea: Pull complete [2022-10-25T19:19:19.294Z] d747dcd14b5f: Pull complete [2022-10-25T19:19:20.673Z] 2de7ff778b66: Pull complete [2022-10-25T19:19:20.673Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-10-25T19:19:20.673Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-10-25T19:19:20.673Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:19:20.754Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T19:19:20.782Z] $ 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-25T19:19:23.073Z] $ docker top a94cb01ab50d26c3f46b1414c2e930cf289c38a6b13a79aec0d3dbf3d26668cf -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-10-25T19:19:23.140Z] provisioning config files... [2022-10-25T19:19:23.146Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5359586603452230120tmp [2022-10-25T19:19:23.154Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11588317073372309925tmp [2022-10-25T19:19:23.161Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8929652490000374058tmp [Pipeline] { [Pipeline] echo [2022-10-25T19:19:23.175Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:23.453Z] ---> sigul-configuration.sh [2022-10-25T19:19:23.453Z] gpg: directory `/root/.gnupg' created [2022-10-25T19:19:23.453Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-10-25T19:19:23.453Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-10-25T19:19:23.453Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-10-25T19:19:23.453Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-10-25T19:19:23.453Z] gpg: CAST5 encrypted data [2022-10-25T19:19:23.453Z] gpg: encrypted with 1 passphrase [2022-10-25T19:19:23.453Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-10-25T19:19:23.735Z] + mkdir /home/jenkins [2022-10-25T19:19:23.735Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-10-25T19:19:24.021Z] + 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-25T19:19:24.029Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:24.312Z] ---> sigul-install.sh [2022-10-25T19:19:24.312Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-10-25T19:19:24.593Z] + git tag --list [2022-10-25T19:19:24.593Z] v1.0.0 [2022-10-25T19:19:24.593Z] v1.1.0 [2022-10-25T19:19:24.593Z] v1.1.1 [2022-10-25T19:19:24.593Z] v1.1.2 [2022-10-25T19:19:24.593Z] v1.2.0 [2022-10-25T19:19:24.593Z] v1.2.1 [2022-10-25T19:19:24.593Z] v2.0.0 [2022-10-25T19:19:24.593Z] v2.1.0 [2022-10-25T19:19:24.593Z] v2.1.1 [2022-10-25T19:19:24.593Z] v2.1.1-dev.1 [2022-10-25T19:19:24.593Z] v2.1.1-dev.2 [2022-10-25T19:19:24.593Z] v2.1.1-dev.3 [2022-10-25T19:19:24.593Z] v2.2.0 [2022-10-25T19:19:24.593Z] v2.2.1-dev.1 [2022-10-25T19:19:24.593Z] v2.2.1-dev.2 [2022-10-25T19:19:24.593Z] v2.2.1-dev.3 [2022-10-25T19:19:24.593Z] v2.2.1-dev.4 [2022-10-25T19:19:24.593Z] v2.2.1-dev.5 [2022-10-25T19:19:24.593Z] v2.2.1-dev.6 [2022-10-25T19:19:24.593Z] v2.2.1-dev.7 [2022-10-25T19:19:24.593Z] v2.2.1-dev.8 [2022-10-25T19:19:24.593Z] v2.2.1-dev.9 [2022-10-25T19:19:24.593Z] v2.3.0-dev.10 [2022-10-25T19:19:24.593Z] v2.3.0-dev.11 [2022-10-25T19:19:24.593Z] v2.3.0-dev.12 [2022-10-25T19:19:24.593Z] v2.3.0-dev.13 [2022-10-25T19:19:24.593Z] v2.3.0-dev.14 [2022-10-25T19:19:24.593Z] v2.3.0-dev.15 [2022-10-25T19:19:24.593Z] v2.3.0-dev.16 [2022-10-25T19:19:24.593Z] v2.3.0-dev.17 [2022-10-25T19:19:24.593Z] v2.3.0-dev.18 [2022-10-25T19:19:24.593Z] v2.3.0-dev.19 [2022-10-25T19:19:24.593Z] v2.3.0-dev.20 [2022-10-25T19:19:24.593Z] v2.3.0-dev.21 [2022-10-25T19:19:24.593Z] v2.3.0-dev.9 [Pipeline] sh [2022-10-25T19:19:24.882Z] + lftools sign git-tag v2.3.0-dev.21 [2022-10-25T19:19:25.458Z] Signing Git tag with Sigul... [2022-10-25T19:19:25.458Z] Signing v2.3.0-dev.21 [Pipeline] echo [2022-10-25T19:19:25.726Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:26.010Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-10-25T19:19:26.018Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-10-25T19:19:26.031Z] $ docker stop --time=1 a94cb01ab50d26c3f46b1414c2e930cf289c38a6b13a79aec0d3dbf3d26668cf [2022-10-25T19:19:27.352Z] $ docker rm -f a94cb01ab50d26c3f46b1414c2e930cf289c38a6b13a79aec0d3dbf3d26668cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-10-25T19:19:27.778Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T19:19:27.778Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:19:28.073Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T19:19:28.073Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:19:28.139Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T19:19:28.168Z] $ 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-25T19:19:28.540Z] $ docker top 7e36b8b54f077e4eafeba37fcf0d1098237da0843a8b9bfe6dc787c7f470f473 -eo pid,comm [2022-10-25T19:19:28.596Z] 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-25T19:19:28.596Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T19:19:28.632Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T19:19:28.632Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T19:19:28.752Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T19:19:28.752Z] $ docker exec 7e36b8b54f077e4eafeba37fcf0d1098237da0843a8b9bfe6dc787c7f470f473 ssh-agent [2022-10-25T19:19:28.860Z] SSH_AUTH_SOCK=/tmp/ssh-OG5CHyZ6nuTQ/agent.32 [2022-10-25T19:19:28.860Z] SSH_AGENT_PID=38 [2022-10-25T19:19:28.865Z] Running ssh-add (command line suppressed) [2022-10-25T19:19:28.969Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4068409379203397253.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4068409379203397253.key) [2022-10-25T19:19:28.985Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T19:19:29.266Z] + git semver bump pre [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,439 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,439 [bump_version] DEBUG bumping version:2.3.0-dev.21 on axis:pre with prefix:dev [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,440 [bump_version] DEBUG bumped version:2.3.0-dev.22 [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,440 [write_version] DEBUG write version:2.3.0-dev.22 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,440 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,440 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,441 [execute] INFO git cat-file --batch-check [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,442 [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-25T19:19:29.525Z] 2022-10-25 19:19:29,447 [execute] INFO git cat-file --batch [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,447 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-10-25T19:19:29.525Z] 2022-10-25 19:19:29,453 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T19:19:29.525Z] 2.3.0-dev.22 [Pipeline] } [2022-10-25T19:19:29.532Z] $ docker exec --env ******** --env ******** 7e36b8b54f077e4eafeba37fcf0d1098237da0843a8b9bfe6dc787c7f470f473 ssh-agent -k [2022-10-25T19:19:29.634Z] unset SSH_AUTH_SOCK; [2022-10-25T19:19:29.634Z] unset SSH_AGENT_PID; [2022-10-25T19:19:29.634Z] echo Agent pid 38 killed; [2022-10-25T19:19:29.650Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T19:19:29.956Z] + git semver [Pipeline] } [2022-10-25T19:19:30.225Z] $ docker stop --time=1 7e36b8b54f077e4eafeba37fcf0d1098237da0843a8b9bfe6dc787c7f470f473 [2022-10-25T19:19:31.497Z] $ docker rm -f 7e36b8b54f077e4eafeba37fcf0d1098237da0843a8b9bfe6dc787c7f470f473 [Pipeline] // withDockerContainer [Pipeline] sh [2022-10-25T19:19:31.831Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-10-25T19:19:31.831Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:19:32.124Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-10-25T19:19:32.124Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:19:32.192Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T19:19:32.253Z] $ 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-25T19:19:32.609Z] $ docker top 735e2e70508a8ad9ac4798188f90975154487b96658502590126c428992a82f1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-10-25T19:19:32.721Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-10-25T19:19:32.721Z] [ssh-agent] Looking for ssh-agent implementation... [2022-10-25T19:19:32.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-10-25T19:19:32.819Z] $ docker exec 735e2e70508a8ad9ac4798188f90975154487b96658502590126c428992a82f1 ssh-agent [2022-10-25T19:19:32.920Z] SSH_AUTH_SOCK=/tmp/ssh-vXwKrg1yhBIW/agent.33 [2022-10-25T19:19:32.920Z] SSH_AGENT_PID=39 [2022-10-25T19:19:32.938Z] Running ssh-add (command line suppressed) [2022-10-25T19:19:33.038Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1755297312433386422.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1755297312433386422.key) [2022-10-25T19:19:33.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-10-25T19:19:33.385Z] + git semver push [2022-10-25T19:19:33.644Z] 2022-10-25 19:19:33,574 [run_push] DEBUG push [2022-10-25T19:19:33.644Z] 2022-10-25 19:19:33,575 [execute] INFO git cat-file --batch-check [2022-10-25T19:19:33.644Z] 2022-10-25 19:19:33,575 [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-25T19:19:33.644Z] 2022-10-25 19:19:33,579 [execute] INFO git rev-list a46dc3188b80f77e63506a121ec63e43f13cea7b -- [2022-10-25T19:19:33.644Z] 2022-10-25 19:19:33,580 [execute] DEBUG Popen(['git', 'rev-list', 'a46dc3188b80f77e63506a121ec63e43f13cea7b', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-10-25T19:19:33.644Z] 2022-10-25 19:19:33,588 [execute] INFO git fetch -v origin [2022-10-25T19:19:33.644Z] 2022-10-25 19:19:33,588 [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-25T19:19:34.210Z] 2022-10-25 19:19:34,174 [run_push] DEBUG no remote changes detected [2022-10-25T19:19:34.210Z] 2022-10-25 19:19:34,174 [execute] INFO git push origin semver [2022-10-25T19:19:34.210Z] 2022-10-25 19:19:34,174 [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-25T19:19:35.148Z] 2022-10-25 19:19:35,101 [run_push] DEBUG push all version tags [2022-10-25T19:19:35.148Z] 2022-10-25 19:19:35,105 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-10-25T19:19:35.148Z] 2022-10-25 19:19:35,106 [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-25T19:19:36.088Z] 2022-10-25 19:19:35,925 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-10-25T19:19:36.088Z] 2.3.0-dev.22 [Pipeline] } [2022-10-25T19:19:36.095Z] $ docker exec --env ******** --env ******** 735e2e70508a8ad9ac4798188f90975154487b96658502590126c428992a82f1 ssh-agent -k [2022-10-25T19:19:36.195Z] unset SSH_AUTH_SOCK; [2022-10-25T19:19:36.196Z] unset SSH_AGENT_PID; [2022-10-25T19:19:36.196Z] echo Agent pid 39 killed; [2022-10-25T19:19:36.210Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-10-25T19:19:36.512Z] + git semver [Pipeline] } [2022-10-25T19:19:36.780Z] $ docker stop --time=1 735e2e70508a8ad9ac4798188f90975154487b96658502590126c428992a82f1 [2022-10-25T19:19:38.052Z] $ docker rm -f 735e2e70508a8ad9ac4798188f90975154487b96658502590126c428992a82f1 [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-25T19:19:38.594Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-10-25T19:19:38.594Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-25T19:19:38.594Z] total 16 [2022-10-25T19:19:38.594Z] drwxr-xr-x 3 root root 4096 Oct 25 18:53 . [2022-10-25T19:19:38.594Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 19:19 .. [2022-10-25T19:19:38.594Z] drwxr-xr-x 2 root root 4096 Oct 25 18:53 cost [2022-10-25T19:19:38.594Z] -rw-r--r-- 1 root root 85 Oct 25 18:53 cost.csv [2022-10-25T19:19:38.594Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-25T19:19:38.594Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-10-25T19:19:38.594Z] total 16 [2022-10-25T19:19:38.594Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 25 18:53 . [2022-10-25T19:19:38.594Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 25 19:19 .. [2022-10-25T19:19:38.594Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 25 18:53 cost [2022-10-25T19:19:38.594Z] -rw-r--r-- 1 jenkins jenkins 85 Oct 25 18:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:38.884Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:39.743Z] ---> package-listing.sh [2022-10-25T19:19:39.743Z] ++ facter osfamily [2022-10-25T19:19:39.743Z] ++ tr '[:upper:]' '[:lower:]' [2022-10-25T19:19:40.002Z] + OS_FAMILY=debian [2022-10-25T19:19:40.002Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-10-25T19:19:40.002Z] + START_PACKAGES=/tmp/packages_start.txt [2022-10-25T19:19:40.002Z] + END_PACKAGES=/tmp/packages_end.txt [2022-10-25T19:19:40.002Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-10-25T19:19:40.002Z] + PACKAGES=/tmp/packages_start.txt [2022-10-25T19:19:40.002Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-25T19:19:40.002Z] + PACKAGES=/tmp/packages_end.txt [2022-10-25T19:19:40.002Z] + case "${OS_FAMILY}" in [2022-10-25T19:19:40.002Z] + dpkg -l [2022-10-25T19:19:40.002Z] + grep '^ii' [2022-10-25T19:19:40.002Z] + '[' -f /tmp/packages_start.txt ']' [2022-10-25T19:19:40.002Z] + '[' -f /tmp/packages_end.txt ']' [2022-10-25T19:19:40.002Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-10-25T19:19:40.002Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-10-25T19:19:40.002Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-10-25T19:19:40.002Z] + 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-25T19:19:40.013Z] 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-25T19:19:40.291Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-10-25T19:19:40.847Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-10-25T19:19:40.847Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-10-25T19:19:40.916Z] prd-ubuntu20.04-docker-8c-8g-116950 does not seem to be running inside a container [2022-10-25T19:19:40.940Z] $ 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-25T19:19:41.200Z] $ docker top e1c4d43ae5e9f61c1344857e088b9d12eb4c0c6e055f0f75a9fa7d025bbb2eaf -eo pid,comm [Pipeline] { [Pipeline] sh [2022-10-25T19:19:41.543Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-10-25T19:19:41.830Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-10-25T19:19:42.111Z] + ls /var/log/sa-host [2022-10-25T19:19:42.111Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-10-25T19:19:42.256Z] provisioning config files... [2022-10-25T19:19:42.265Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14341833514796548710tmp [Pipeline] { [Pipeline] echo [2022-10-25T19:19:42.280Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:42.558Z] ---> create-netrc.sh [Pipeline] } [2022-10-25T19:19:42.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:42.894Z] ---> python-tools-install.sh [Pipeline] echo [2022-10-25T19:19:42.901Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:43.179Z] ---> sudo-logs.sh [2022-10-25T19:19:43.179Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-10-25T19:19:43.205Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:43.487Z] ---> job-cost.sh [2022-10-25T19:19:43.487Z] lf-activate-venv: SKIPPING [2022-10-25T19:19:43.487Z] DEBUG: total: 0.2199999988079071 [2022-10-25T19:19:43.487Z] INFO: Retrieving Stack Cost... [2022-10-25T19:19:44.052Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-10-25T19:19:44.309Z] INFO: Archiving Costs [Pipeline] echo [2022-10-25T19:19:44.320Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-10-25T19:19:44.602Z] ---> logs-deploy.sh [2022-10-25T19:19:44.602Z] lf-activate-venv: SKIPPING [2022-10-25T19:19:44.602Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/67 [2022-10-25T19:19:44.602Z] INFO: archiving workspace using pattern(s): [2022-10-25T19:19:45.535Z] Archives upload complete. [2022-10-25T19:19:45.535Z] INFO: archiving logs to Nexus