Started by upstream project "edgexfoundry/cd-management/release" build number 96 originally caused by: Push event to branch release Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 99d2988c42a4468ca534e1bc92575890b1a7bdf5 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-ssh13047253450335820174.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh11561289482531969322.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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/edgex-global-pipelines/.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/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7436895168369516138.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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 shared 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-ssh18413138821396732089.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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/lf-pipelines/.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/lf-pipelines@tmp/jenkins-gitclient-ssh10135513240124353628.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 shared 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.17 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 [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63288 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 99d2988c42a4468ca534e1bc92575890b1a7bdf5 (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 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 Commit message: "Merge pull request #189 from jinlinGuan/released-go-mods" > git rev-list --no-walk 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-11T22:49:45.933Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-11T22:49:46.008Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T22:49:46.024Z] ========================================================= [2022-05-11T22:49:46.024Z] EdgeX Global Pipelines Version Info [2022-05-11T22:49:46.024Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:49:46.773Z] ------------------- [2022-05-11T22:49:46.773Z] stable info: [2022-05-11T22:49:46.773Z] ------------------- [2022-05-11T22:49:46.773Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T22:49:46.773Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T22:49:46.773Z] Message: update stable to v1.0.230 [2022-05-11T22:49:47.345Z] ------------------- [2022-05-11T22:49:47.345Z] experimental info: [2022-05-11T22:49:47.345Z] ------------------- [2022-05-11T22:49:47.345Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-11T22:49:47.345Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-05-11T22:49:47.345Z] Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-11T22:49:47.476Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-11T22:49:47.485Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-11T22:49:47.494Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-11T22:49:47.503Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-11T22:49:47.512Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-11T22:49:47.521Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-11T22:49:47.531Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-11T22:49:47.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-11T22:49:47.553Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-11T22:49:47.567Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-11T22:49:47.579Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-11T22:49:47.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-11T22:49:47.605Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-11T22:49:47.618Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-11T22:49:47.635Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T22:49:47.647Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-11T22:49:47.663Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T22:49:47.678Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-11T22:49:47.691Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-11T22:49:47.706Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-11T22:49:47.717Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-11T22:49:47.732Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-11T22:49:47.744Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-11T22:49:47.763Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-11T22:49:47.779Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-11T22:49:47.792Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-11T22:49:47.804Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-11T22:49:47.820Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-11T22:49:47.836Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-11T22:49:47.848Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo [2022-05-11T22:49:47.860Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 99d2988 [Pipeline] echo [2022-05-11T22:49:47.875Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T22:49:47.916Z] provisioning config files... [2022-05-11T22:49:47.931Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3132868820124540172tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:49:48.240Z] ---> docker-login.sh [2022-05-11T22:49:48.241Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:49:48.501Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:48.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:48.501Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:48.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:48.501Z] [2022-05-11T22:49:48.501Z] Login Succeeded [2022-05-11T22:49:48.501Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:49:48.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:48.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:48.761Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:48.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:48.761Z] [2022-05-11T22:49:48.761Z] Login Succeeded [2022-05-11T22:49:48.761Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:49:48.761Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:49.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:49.022Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:49.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:49.022Z] [2022-05-11T22:49:49.022Z] Login Succeeded [2022-05-11T22:49:49.022Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:49:49.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:49.022Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:49.022Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:49.022Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:49.022Z] [2022-05-11T22:49:49.022Z] Login Succeeded [2022-05-11T22:49:49.022Z] docker.io [2022-05-11T22:49:49.022Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:49:49.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:49:49.596Z] Configure a credential helper to remove this warning. See [2022-05-11T22:49:49.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:49:49.596Z] [2022-05-11T22:49:49.596Z] Login Succeeded [2022-05-11T22:49:49.596Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:49:49.607Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-11T22:49:49.994Z] + git rev-list -1 --merges 99d2988c42a4468ca534e1bc92575890b1a7bdf5~1..99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo [2022-05-11T22:49:50.113Z] -----------> git rev-list -1 --merges 99d2988c42a4468ca534e1bc92575890b1a7bdf5~1..99d2988c42a4468ca534e1bc92575890b1a7bdf5 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:49:50.113Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [false] [Pipeline] sh [2022-05-11T22:49:50.410Z] + git log --format=format:%s -1 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo [2022-05-11T22:49:50.428Z] ========================================================= [2022-05-11T22:49:50.428Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] However, we have a env.CommitId [2022-05-11T22:49:50.428Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T22:49:50.764Z] + git log --format=format:%s -1 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] echo [2022-05-11T22:49:50.777Z] [semverPrep] GIT_COMMIT: 99d2988c42a4468ca534e1bc92575890b1a7bdf5, Commit Message: Merge pull request #189 from jinlinGuan/released-go-mods [Pipeline] echo [2022-05-11T22:49:50.786Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-11T22:49:51.173Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T22:49:51.173Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-11T22:49:51.173Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-11T22:49:51.173Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-11T22:49:51.173Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-11T22:49:51.173Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-11T22:49:51.173Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:49:51.523Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T22:49:51.523Z] [2022-05-11T22:49:51.523Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:49:51.828Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T22:49:51.828Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-11T22:49:51.828Z] 1fe172e4850f: Pulling fs layer [2022-05-11T22:49:51.828Z] caf521ccaac6: Pulling fs layer [2022-05-11T22:49:51.828Z] 3ead6fa29328: Pulling fs layer [2022-05-11T22:49:51.828Z] 5c2a1cbceb83: Pulling fs layer [2022-05-11T22:49:51.828Z] a8d5f1318db7: Pulling fs layer [2022-05-11T22:49:51.828Z] c427282e49a2: Pulling fs layer [2022-05-11T22:49:51.828Z] 1827001aaf11: Pulling fs layer [2022-05-11T22:49:51.828Z] 0714d37db230: Pulling fs layer [2022-05-11T22:49:51.828Z] ac28cf19c067: Pulling fs layer [2022-05-11T22:49:51.828Z] ca983d60f3e2: Pulling fs layer [2022-05-11T22:49:51.828Z] 9f894cec8388: Pulling fs layer [2022-05-11T22:49:51.828Z] c427282e49a2: Waiting [2022-05-11T22:49:51.828Z] 9f894cec8388: Waiting [2022-05-11T22:49:51.828Z] ca983d60f3e2: Waiting [2022-05-11T22:49:51.828Z] 0714d37db230: Waiting [2022-05-11T22:49:51.828Z] 5c2a1cbceb83: Waiting [2022-05-11T22:49:51.828Z] ac28cf19c067: Waiting [2022-05-11T22:49:51.828Z] a8d5f1318db7: Waiting [2022-05-11T22:49:51.828Z] caf521ccaac6: Download complete [2022-05-11T22:49:52.091Z] 5c2a1cbceb83: Verifying Checksum [2022-05-11T22:49:52.091Z] 5c2a1cbceb83: Download complete [2022-05-11T22:49:52.091Z] a8d5f1318db7: Verifying Checksum [2022-05-11T22:49:52.091Z] a8d5f1318db7: Download complete [2022-05-11T22:49:52.092Z] 3ead6fa29328: Verifying Checksum [2022-05-11T22:49:52.092Z] 3ead6fa29328: Download complete [2022-05-11T22:49:52.092Z] c427282e49a2: Download complete [2022-05-11T22:49:52.092Z] 0714d37db230: Download complete [2022-05-11T22:49:52.092Z] ac28cf19c067: Verifying Checksum [2022-05-11T22:49:52.092Z] ac28cf19c067: Download complete [2022-05-11T22:49:52.092Z] ca983d60f3e2: Verifying Checksum [2022-05-11T22:49:52.092Z] ca983d60f3e2: Download complete [2022-05-11T22:49:52.092Z] 9f894cec8388: Verifying Checksum [2022-05-11T22:49:52.092Z] 9f894cec8388: Download complete [2022-05-11T22:49:52.092Z] 1fe172e4850f: Verifying Checksum [2022-05-11T22:49:52.092Z] 1fe172e4850f: Download complete [2022-05-11T22:49:52.661Z] 1827001aaf11: Verifying Checksum [2022-05-11T22:49:52.661Z] 1827001aaf11: Download complete [2022-05-11T22:49:53.613Z] 1fe172e4850f: Pull complete [2022-05-11T22:49:53.881Z] caf521ccaac6: Pull complete [2022-05-11T22:49:54.452Z] 3ead6fa29328: Pull complete [2022-05-11T22:49:54.452Z] 5c2a1cbceb83: Pull complete [2022-05-11T22:49:54.712Z] a8d5f1318db7: Pull complete [2022-05-11T22:49:54.712Z] c427282e49a2: Pull complete [2022-05-11T22:49:56.621Z] 1827001aaf11: Pull complete [2022-05-11T22:49:56.621Z] 0714d37db230: Pull complete [2022-05-11T22:49:56.887Z] ac28cf19c067: Pull complete [2022-05-11T22:49:56.887Z] ca983d60f3e2: Pull complete [2022-05-11T22:49:57.148Z] 9f894cec8388: Pull complete [2022-05-11T22:49:57.148Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-11T22:49:57.148Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T22:49:57.148Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-11T22:49:57.238Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T22:49:57.282Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T22:49:58.613Z] $ docker top ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 -eo pid,comm [2022-05-11T22:49:58.674Z] 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-05-11T22:49:58.674Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-11T22:49:58.713Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T22:49:58.713Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T22:49:58.849Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T22:49:58.857Z] $ docker exec ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 ssh-agent [2022-05-11T22:49:58.988Z] SSH_AUTH_SOCK=/tmp/ssh-d2A49wiybpt4/agent.34 [2022-05-11T22:49:58.988Z] SSH_AGENT_PID=40 [2022-05-11T22:49:58.999Z] Running ssh-add (command line suppressed) [2022-05-11T22:49:59.127Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8863437179069821401.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8863437179069821401.key) [2022-05-11T22:49:59.140Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T22:49:59.434Z] + git tag --points-at 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] } [2022-05-11T22:49:59.453Z] $ docker exec --env ******** --env ******** ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 ssh-agent -k [2022-05-11T22:49:59.569Z] unset SSH_AUTH_SOCK; [2022-05-11T22:49:59.569Z] unset SSH_AGENT_PID; [2022-05-11T22:49:59.569Z] echo Agent pid 40 killed; [2022-05-11T22:49:59.578Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] echo [2022-05-11T22:49:59.609Z] [edgeXSemver]: set GITSEMVER_HEAD_TAG to 'v2.2.0|v2.2.0-dev.18' [Pipeline] sshagent [2022-05-11T22:49:59.628Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-11T22:49:59.628Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-11T22:49:59.752Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-11T22:49:59.759Z] $ docker exec ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 ssh-agent [2022-05-11T22:49:59.876Z] SSH_AUTH_SOCK=/tmp/ssh-vww5BtR8hxmy/agent.75 [2022-05-11T22:49:59.876Z] SSH_AGENT_PID=82 [2022-05-11T22:49:59.884Z] Running ssh-add (command line suppressed) [2022-05-11T22:50:00.004Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2254701421965171164.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2254701421965171164.key) [2022-05-11T22:50:00.017Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-11T22:50:00.308Z] + git semver init [2022-05-11T22:50:00.569Z] 2022-05-11 22:50:00,536 [run_init] DEBUG init version:0.0.0 force:False [2022-05-11T22:50:00.569Z] 2022-05-11 22:50:00,536 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-11T22:50:00.569Z] 2022-05-11 22:50:00,537 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-11T22:50:00.569Z] 2022-05-11 22:50:00,537 [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-05-11T22:50:01.955Z] 2022-05-11 22:50:01,572 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-05-11T22:50:01.955Z] 2022-05-11 22:50:01,573 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-05-11T22:50:01.955Z] 2022-05-11 22:50:01,573 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T22:50:01.955Z] 2022-05-11 22:50:01,573 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-11T22:50:01.955Z] 2.2.0 [Pipeline] } [2022-05-11T22:50:01.973Z] $ docker exec --env ******** --env ******** ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 ssh-agent -k [2022-05-11T22:50:02.087Z] unset SSH_AUTH_SOCK; [2022-05-11T22:50:02.087Z] unset SSH_AGENT_PID; [2022-05-11T22:50:02.087Z] echo Agent pid 82 killed; [2022-05-11T22:50:02.096Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T22:50:02.404Z] + git semver [Pipeline] } [2022-05-11T22:50:02.685Z] $ docker stop --time=1 ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 [2022-05-11T22:50:04.729Z] $ docker rm -f ddb8ed90d28f689cdf27a46b3fc734df7795409a6c4e059dcccb38946a92cf45 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T22:50:05.138Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-11T22:50:05.397Z] Stashed 1 file(s) [Pipeline] echo [2022-05-11T22:50:05.401Z] [edgeXSemver]: initialized semver on version 2.2.0 [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] sh [2022-05-11T22:50:05.821Z] + git checkout 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:50:05.821Z] HEAD is now at 99d2988 Merge pull request #189 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T22:50:05.850Z] provisioning config files... [2022-05-11T22:50:05.858Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6484930279517685214tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:50:06.158Z] ---> docker-login.sh [2022-05-11T22:50:06.158Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:50:06.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:06.158Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:06.158Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:06.158Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:06.158Z] [2022-05-11T22:50:06.158Z] Login Succeeded [2022-05-11T22:50:06.158Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:50:06.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:06.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:06.420Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:06.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:06.420Z] [2022-05-11T22:50:06.420Z] Login Succeeded [2022-05-11T22:50:06.420Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:50:06.420Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:06.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:06.420Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:06.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:06.420Z] [2022-05-11T22:50:06.420Z] Login Succeeded [2022-05-11T22:50:06.420Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:50:06.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:06.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:06.681Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:06.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:06.681Z] [2022-05-11T22:50:06.681Z] Login Succeeded [2022-05-11T22:50:06.681Z] docker.io [2022-05-11T22:50:06.681Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:50:06.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:50:06.943Z] Configure a credential helper to remove this warning. See [2022-05-11T22:50:06.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:50:06.943Z] [2022-05-11T22:50:06.943Z] Login Succeeded [2022-05-11T22:50:06.943Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:50:06.952Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T22:50:07.021Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T22:50:07.030Z] ========================================================= [2022-05-11T22:50:07.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-11T22:50:07.030Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:07.340Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T22:50:07.340Z] Sending build context to Docker daemon 10.63MB [2022-05-11T22:50:07.340Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T22:50:07.340Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T22:50:07.340Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-11T22:50:07.340Z] 59bf1c3509f3: Pulling fs layer [2022-05-11T22:50:07.340Z] 666ba61612fd: Pulling fs layer [2022-05-11T22:50:07.340Z] 8ed8ca486205: Pulling fs layer [2022-05-11T22:50:07.340Z] 4fe6c5a15a65: Pulling fs layer [2022-05-11T22:50:07.340Z] 22a0e8bec74d: Pulling fs layer [2022-05-11T22:50:07.340Z] ca2b28591e48: Pulling fs layer [2022-05-11T22:50:07.340Z] a51346096db8: Pulling fs layer [2022-05-11T22:50:07.340Z] daebc70d1ce1: Pulling fs layer [2022-05-11T22:50:07.340Z] 0e18a0eac166: Pulling fs layer [2022-05-11T22:50:07.340Z] 22a0e8bec74d: Waiting [2022-05-11T22:50:07.340Z] 0e18a0eac166: Waiting [2022-05-11T22:50:07.340Z] daebc70d1ce1: Waiting [2022-05-11T22:50:07.340Z] 4fe6c5a15a65: Waiting [2022-05-11T22:50:07.340Z] 8ed8ca486205: Verifying Checksum [2022-05-11T22:50:07.340Z] 8ed8ca486205: Download complete [2022-05-11T22:50:07.601Z] 666ba61612fd: Verifying Checksum [2022-05-11T22:50:07.601Z] 666ba61612fd: Download complete [2022-05-11T22:50:07.601Z] 22a0e8bec74d: Verifying Checksum [2022-05-11T22:50:07.601Z] 22a0e8bec74d: Download complete [2022-05-11T22:50:07.602Z] ca2b28591e48: Download complete [2022-05-11T22:50:07.602Z] 59bf1c3509f3: Verifying Checksum [2022-05-11T22:50:07.602Z] 59bf1c3509f3: Download complete [2022-05-11T22:50:07.602Z] a51346096db8: Download complete [2022-05-11T22:50:07.602Z] daebc70d1ce1: Verifying Checksum [2022-05-11T22:50:07.602Z] daebc70d1ce1: Download complete [2022-05-11T22:50:07.602Z] 59bf1c3509f3: Pull complete [2022-05-11T22:50:07.863Z] 666ba61612fd: Pull complete [2022-05-11T22:50:07.863Z] 8ed8ca486205: Pull complete [2022-05-11T22:50:08.151Z] 0e18a0eac166: Verifying Checksum [2022-05-11T22:50:08.151Z] 0e18a0eac166: Download complete [2022-05-11T22:50:08.410Z] 4fe6c5a15a65: Verifying Checksum [2022-05-11T22:50:08.410Z] 4fe6c5a15a65: Download complete [2022-05-11T22:50:12.605Z] 4fe6c5a15a65: Pull complete [2022-05-11T22:50:12.605Z] 22a0e8bec74d: Pull complete [2022-05-11T22:50:12.605Z] ca2b28591e48: Pull complete [2022-05-11T22:50:12.605Z] a51346096db8: Pull complete [2022-05-11T22:50:12.864Z] daebc70d1ce1: Pull complete [2022-05-11T22:50:15.404Z] 0e18a0eac166: Pull complete [2022-05-11T22:50:15.404Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-11T22:50:15.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-11T22:50:15.404Z] ---> f018257e8ee9 [2022-05-11T22:50:15.404Z] Step 3/12 : ARG MAKE='make build' [2022-05-11T22:50:16.346Z] ---> Running in e081dc2395a3 [2022-05-11T22:50:16.346Z] Removing intermediate container e081dc2395a3 [2022-05-11T22:50:16.346Z] ---> 81f769be3302 [2022-05-11T22:50:16.346Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T22:50:16.346Z] ---> Running in 34c7013be4df [2022-05-11T22:50:16.605Z] Removing intermediate container 34c7013be4df [2022-05-11T22:50:16.605Z] ---> 6985e5b45399 [2022-05-11T22:50:16.605Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T22:50:16.605Z] ---> Running in bd42041641f3 [2022-05-11T22:50:16.605Z] Removing intermediate container bd42041641f3 [2022-05-11T22:50:16.605Z] ---> f60d98e02a8c [2022-05-11T22:50:16.605Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:50:16.605Z] ---> Running in 4cc54630f4d7 [2022-05-11T22:50:17.173Z] Removing intermediate container 4cc54630f4d7 [2022-05-11T22:50:17.173Z] ---> 18f8f18f589a [2022-05-11T22:50:17.173Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T22:50:17.173Z] ---> Running in 308e1c347a89 [2022-05-11T22:50:17.433Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T22:50:18.373Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T22:50:18.635Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T22:50:18.896Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T22:50:18.896Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T22:50:18.896Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T22:50:19.158Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T22:50:19.158Z] OK: 224 MiB in 56 packages [2022-05-11T22:50:19.420Z] Removing intermediate container 308e1c347a89 [2022-05-11T22:50:19.420Z] ---> d4679e47bea4 [2022-05-11T22:50:19.420Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-11T22:50:19.420Z] ---> Running in 5e7feb57b5be [2022-05-11T22:50:19.679Z] Removing intermediate container 5e7feb57b5be [2022-05-11T22:50:19.679Z] ---> 90b564f5ef00 [2022-05-11T22:50:19.680Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-11T22:50:19.680Z] ---> 75c10695ec83 [2022-05-11T22:50:19.680Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T22:50:19.680Z] ---> Running in 5f2276a39c6c [2022-05-11T22:50:20.504Z] Still waiting to schedule task [2022-05-11T22:50:20.504Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-63289’ is offline [2022-05-11T22:50:37.789Z] Removing intermediate container 5f2276a39c6c [2022-05-11T22:50:37.789Z] ---> e7a6aaa01654 [2022-05-11T22:50:37.789Z] Step 11/12 : COPY . . [2022-05-11T22:50:37.789Z] ---> 2c5acc1ce7a7 [2022-05-11T22:50:37.789Z] Step 12/12 : RUN $MAKE [2022-05-11T22:50:37.789Z] ---> Running in f4d4730cb77a [2022-05-11T22:50:37.789Z] noop [2022-05-11T22:50:37.789Z] Removing intermediate container f4d4730cb77a [2022-05-11T22:50:37.789Z] ---> 433838674340 [2022-05-11T22:50:37.789Z] Successfully built 433838674340 [2022-05-11T22:50:37.789Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:38.089Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T22:50:38.089Z] . [Pipeline] withDockerContainer [2022-05-11T22:50:38.159Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T22:50:38.204Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T22:50:38.637Z] $ docker top b0584406b8bf69f9a1feb9e1d582261620229861f3e72a70ee6c1bf50fcdf4aa -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T22:50:39.057Z] + go version [2022-05-11T22:50:39.057Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-11T22:50:39.077Z] $ docker stop --time=1 b0584406b8bf69f9a1feb9e1d582261620229861f3e72a70ee6c1bf50fcdf4aa [2022-05-11T22:50:40.370Z] $ docker rm -f b0584406b8bf69f9a1feb9e1d582261620229861f3e72a70ee6c1bf50fcdf4aa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:50:40.806Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-11T22:50:40.806Z] . [Pipeline] withDockerContainer [2022-05-11T22:50:40.880Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T22:50:40.928Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-11T22:50:41.349Z] $ docker top 7c476a2be250441dfba9cfb3a800a31486f5b600470d81720c64c7aa74e1e9d6 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T22:50:41.716Z] + make test [2022-05-11T22:50:41.716Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T22:50:41.978Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-11T22:50:51.964Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-11T22:50:51.964Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-05-11T22:50:58.552Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T22:51:02.745Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T22:51:02.745Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T22:51:02.745Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T22:51:03.019Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T22:51:03.041Z] $ docker stop --time=1 7c476a2be250441dfba9cfb3a800a31486f5b600470d81720c64c7aa74e1e9d6 [2022-05-11T22:51:04.723Z] $ docker rm -f 7c476a2be250441dfba9cfb3a800a31486f5b600470d81720c64c7aa74e1e9d6 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T22:51:05.185Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T22:51:05.233Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-11T22:51:05.745Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T22:51:06.046Z] + ls -al . [2022-05-11T22:51:06.046Z] total 172 [2022-05-11T22:51:06.046Z] drwxrwxr-x 9 jenkins jenkins 4096 May 11 22:51 . [2022-05-11T22:51:06.046Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:49 .. [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 22:49 .dockerignore [2022-05-11T22:51:06.046Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:50 .git [2022-05-11T22:51:06.046Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:49 .github [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 22:49 .gitignore [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:49 .golangci.yml [2022-05-11T22:51:06.046Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:50 .semver [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 11 22:49 Attribution.txt [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 11 22:49 CHANGELOG.md [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 11 22:49 Dockerfile [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:49 GOVERNANCE.md [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:49 Jenkinsfile [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:49 LICENSE [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 11 22:49 Makefile [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 22:49 OWNERS.md [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 11 22:49 README.md [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:50 VERSION [2022-05-11T22:51:06.046Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:49 bin [2022-05-11T22:51:06.046Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:49 cmd [2022-05-11T22:51:06.046Z] -rw-r--r-- 1 jenkins jenkins 9355 May 11 22:50 coverage.out [2022-05-11T22:51:06.046Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:49 driver [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 11 22:49 go.mod [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 11 22:49 go.sum [2022-05-11T22:51:06.046Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:49 snap [2022-05-11T22:51:06.046Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 22:49 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:06.348Z] + 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=99d2988c42a4468ca534e1bc92575890b1a7bdf5 --label arch=amd64 --label version=2.2.0 . [2022-05-11T22:51:06.348Z] Sending build context to Docker daemon 10.64MB [2022-05-11T22:51:06.348Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T22:51:06.348Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-11T22:51:06.348Z] ---> 433838674340 [2022-05-11T22:51:06.348Z] Step 3/25 : ARG MAKE='make build' [2022-05-11T22:51:06.348Z] ---> Running in 284b29da36a3 [2022-05-11T22:51:06.608Z] Removing intermediate container 284b29da36a3 [2022-05-11T22:51:06.608Z] ---> 0f5c58e9800b [2022-05-11T22:51:06.608Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T22:51:06.608Z] ---> Running in e97a5606fd80 [2022-05-11T22:51:06.608Z] Removing intermediate container e97a5606fd80 [2022-05-11T22:51:06.608Z] ---> 1aead8831c8b [2022-05-11T22:51:06.608Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T22:51:06.608Z] ---> Running in 69986439fbb8 [2022-05-11T22:51:06.870Z] Removing intermediate container 69986439fbb8 [2022-05-11T22:51:06.870Z] ---> 2200f2ceb9b7 [2022-05-11T22:51:06.870Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:51:06.870Z] ---> Running in 07020e281994 [2022-05-11T22:51:07.444Z] Removing intermediate container 07020e281994 [2022-05-11T22:51:07.444Z] ---> 86b4633dae49 [2022-05-11T22:51:07.444Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T22:51:07.444Z] ---> Running in 0fac225991b6 [2022-05-11T22:51:07.705Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-11T22:51:08.654Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-11T22:51:08.915Z] OK: 224 MiB in 56 packages [2022-05-11T22:51:09.176Z] Removing intermediate container 0fac225991b6 [2022-05-11T22:51:09.176Z] ---> e1f86170e105 [2022-05-11T22:51:09.176Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-11T22:51:09.176Z] ---> Running in 72dfb3e33846 [2022-05-11T22:51:09.440Z] Removing intermediate container 72dfb3e33846 [2022-05-11T22:51:09.440Z] ---> d96bababaf7b [2022-05-11T22:51:09.440Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-11T22:51:09.440Z] ---> e826af2685cc [2022-05-11T22:51:09.440Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T22:51:09.440Z] ---> Running in 0b5f7345dba0 [2022-05-11T22:51:10.009Z] Removing intermediate container 0b5f7345dba0 [2022-05-11T22:51:10.009Z] ---> a056776e5873 [2022-05-11T22:51:10.009Z] Step 11/25 : COPY . . [2022-05-11T22:51:10.583Z] ---> 453bf75dfc20 [2022-05-11T22:51:10.583Z] Step 12/25 : RUN $MAKE [2022-05-11T22:51:10.583Z] ---> Running in f50b1a9246a7 [2022-05-11T22:51:10.845Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-11T22:51:32.804Z] Removing intermediate container f50b1a9246a7 [2022-05-11T22:51:32.804Z] ---> 81ba754da296 [2022-05-11T22:51:32.804Z] Step 13/25 : FROM alpine:3.14 [2022-05-11T22:51:32.804Z] 3.14: Pulling from library/alpine [2022-05-11T22:51:32.804Z] 8663204ce13b: Pulling fs layer [2022-05-11T22:51:32.804Z] 8663204ce13b: Verifying Checksum [2022-05-11T22:51:32.804Z] 8663204ce13b: Pull complete [2022-05-11T22:51:32.804Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T22:51:32.804Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T22:51:32.804Z] ---> e04c818066af [2022-05-11T22:51:32.804Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-11T22:51:32.804Z] ---> Running in 61e20695f474 [2022-05-11T22:51:32.804Z] Removing intermediate container 61e20695f474 [2022-05-11T22:51:32.804Z] ---> 111a26589ed5 [2022-05-11T22:51:32.804Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-11T22:51:32.804Z] ---> Running in 31b49bd03371 [2022-05-11T22:51:32.804Z] Removing intermediate container 31b49bd03371 [2022-05-11T22:51:32.804Z] ---> 7f044423caf7 [2022-05-11T22:51:32.804Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T22:51:32.804Z] ---> Running in b58ee6042a5f [2022-05-11T22:51:32.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-11T22:51:32.804Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-11T22:51:32.804Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T22:51:32.804Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T22:51:32.804Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T22:51:32.804Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T22:51:32.804Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T22:51:32.804Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T22:51:32.804Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T22:51:32.804Z] OK: 8 MiB in 20 packages [2022-05-11T22:51:32.804Z] Removing intermediate container b58ee6042a5f [2022-05-11T22:51:32.804Z] ---> 7f5d4c8a5ce9 [2022-05-11T22:51:32.804Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-11T22:51:33.375Z] ---> 0c778003590f [2022-05-11T22:51:33.375Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-11T22:51:33.375Z] ---> 7dd38a9d4f5f [2022-05-11T22:51:33.375Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-11T22:51:33.375Z] ---> 7be0f50cad4f [2022-05-11T22:51:33.375Z] Step 20/25 : EXPOSE 59986 [2022-05-11T22:51:33.635Z] ---> Running in 14df608a00f9 [2022-05-11T22:51:33.635Z] Removing intermediate container 14df608a00f9 [2022-05-11T22:51:33.635Z] ---> 74c2267e82b8 [2022-05-11T22:51:33.635Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-11T22:51:33.635Z] ---> Running in d7f3f40820c6 [2022-05-11T22:51:33.635Z] Removing intermediate container d7f3f40820c6 [2022-05-11T22:51:33.635Z] ---> c20799a91747 [2022-05-11T22:51:33.635Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-11T22:51:33.895Z] ---> Running in 8f5a2d43d6b2 [2022-05-11T22:51:33.895Z] Removing intermediate container 8f5a2d43d6b2 [2022-05-11T22:51:33.895Z] ---> 48a65cf21574 [2022-05-11T22:51:33.895Z] Step 23/25 : LABEL arch=amd64 [2022-05-11T22:51:33.895Z] ---> Running in ec9443e6c87f [2022-05-11T22:51:33.895Z] Removing intermediate container ec9443e6c87f [2022-05-11T22:51:33.895Z] ---> 4a1188e2d165 [2022-05-11T22:51:33.895Z] Step 24/25 : LABEL git_sha=99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:51:33.895Z] ---> Running in 4b371e98acce [2022-05-11T22:51:34.156Z] Removing intermediate container 4b371e98acce [2022-05-11T22:51:34.156Z] ---> e2d22f36c925 [2022-05-11T22:51:34.156Z] Step 25/25 : LABEL version=2.2.0 [2022-05-11T22:51:34.156Z] ---> Running in 9133efa9ccac [2022-05-11T22:51:34.156Z] Removing intermediate container 9133efa9ccac [2022-05-11T22:51:34.156Z] ---> f8a0a5dbca02 [2022-05-11T22:51:34.156Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T22:51:34.156Z] Successfully built f8a0a5dbca02 [2022-05-11T22:51:34.156Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T22:51:34.221Z] provisioning config files... [2022-05-11T22:51:34.232Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6620899165891529112tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:51:34.530Z] ---> docker-login.sh [2022-05-11T22:51:34.530Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:51:34.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:51:34.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:51:34.531Z] Configure a credential helper to remove this warning. See [2022-05-11T22:51:34.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:51:34.531Z] [2022-05-11T22:51:34.531Z] Login Succeeded [2022-05-11T22:51:34.531Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:51:34.531Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:51:34.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:51:34.792Z] Configure a credential helper to remove this warning. See [2022-05-11T22:51:34.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:51:34.792Z] [2022-05-11T22:51:34.792Z] Login Succeeded [2022-05-11T22:51:34.792Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:51:34.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:51:34.792Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:51:34.792Z] Configure a credential helper to remove this warning. See [2022-05-11T22:51:34.792Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:51:34.792Z] [2022-05-11T22:51:34.792Z] Login Succeeded [2022-05-11T22:51:34.792Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:51:34.792Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:51:35.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:51:35.054Z] Configure a credential helper to remove this warning. See [2022-05-11T22:51:35.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:51:35.054Z] [2022-05-11T22:51:35.054Z] Login Succeeded [2022-05-11T22:51:35.054Z] docker.io [2022-05-11T22:51:35.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:51:35.314Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:51:35.314Z] Configure a credential helper to remove this warning. See [2022-05-11T22:51:35.314Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:51:35.314Z] [2022-05-11T22:51:35.314Z] Login Succeeded [2022-05-11T22:51:35.314Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:51:35.323Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T22:51:35.358Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T22:51:35.379Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-05-11T22:51:35.379Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:51:35.379Z] latest [2022-05-11T22:51:35.379Z] 2.2.0 [2022-05-11T22:51:35.379Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [2022-05-11T22:51:35.379Z] main [2022-05-11T22:51:35.379Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:35.703Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:35.998Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:51:35.998Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T22:51:35.998Z] 89ee1ea5c481: Preparing [2022-05-11T22:51:35.998Z] 81d361c0265b: Preparing [2022-05-11T22:51:35.998Z] 4c3900a67163: Preparing [2022-05-11T22:51:35.998Z] abe9a1b63830: Preparing [2022-05-11T22:51:35.998Z] b541d28bf3b4: Preparing [2022-05-11T22:51:35.998Z] b541d28bf3b4: Layer already exists [2022-05-11T22:51:35.998Z] 81d361c0265b: Pushed [2022-05-11T22:51:35.998Z] 89ee1ea5c481: Pushed [2022-05-11T22:51:36.258Z] abe9a1b63830: Pushed [2022-05-11T22:51:38.800Z] 4c3900a67163: Pushed [2022-05-11T22:51:38.800Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:39.102Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:39.395Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-11T22:51:39.395Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T22:51:39.395Z] 89ee1ea5c481: Preparing [2022-05-11T22:51:39.395Z] 81d361c0265b: Preparing [2022-05-11T22:51:39.395Z] 4c3900a67163: Preparing [2022-05-11T22:51:39.395Z] abe9a1b63830: Preparing [2022-05-11T22:51:39.395Z] b541d28bf3b4: Preparing [2022-05-11T22:51:39.395Z] 4c3900a67163: Layer already exists [2022-05-11T22:51:39.395Z] b541d28bf3b4: Layer already exists [2022-05-11T22:51:39.395Z] abe9a1b63830: Layer already exists [2022-05-11T22:51:39.395Z] 89ee1ea5c481: Layer already exists [2022-05-11T22:51:39.395Z] 81d361c0265b: Layer already exists [2022-05-11T22:51:39.395Z] latest: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:39.693Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:39.984Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0 [2022-05-11T22:51:39.984Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T22:51:39.984Z] 89ee1ea5c481: Preparing [2022-05-11T22:51:39.985Z] 81d361c0265b: Preparing [2022-05-11T22:51:39.985Z] 4c3900a67163: Preparing [2022-05-11T22:51:39.985Z] abe9a1b63830: Preparing [2022-05-11T22:51:39.985Z] b541d28bf3b4: Preparing [2022-05-11T22:51:39.985Z] b541d28bf3b4: Layer already exists [2022-05-11T22:51:39.985Z] 81d361c0265b: Layer already exists [2022-05-11T22:51:39.985Z] abe9a1b63830: Layer already exists [2022-05-11T22:51:39.985Z] 89ee1ea5c481: Layer already exists [2022-05-11T22:51:39.985Z] 4c3900a67163: Layer already exists [2022-05-11T22:51:39.985Z] 2.2.0: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:40.283Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:40.576Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [2022-05-11T22:51:40.576Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T22:51:40.576Z] 89ee1ea5c481: Preparing [2022-05-11T22:51:40.576Z] 81d361c0265b: Preparing [2022-05-11T22:51:40.576Z] 4c3900a67163: Preparing [2022-05-11T22:51:40.576Z] abe9a1b63830: Preparing [2022-05-11T22:51:40.576Z] b541d28bf3b4: Preparing [2022-05-11T22:51:40.576Z] abe9a1b63830: Layer already exists [2022-05-11T22:51:40.576Z] 89ee1ea5c481: Layer already exists [2022-05-11T22:51:40.576Z] b541d28bf3b4: Layer already exists [2022-05-11T22:51:40.576Z] 81d361c0265b: Layer already exists [2022-05-11T22:51:40.576Z] 4c3900a67163: Layer already exists [2022-05-11T22:51:40.576Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:40.872Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:41.164Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-05-11T22:51:41.164Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-11T22:51:41.164Z] 89ee1ea5c481: Preparing [2022-05-11T22:51:41.164Z] 81d361c0265b: Preparing [2022-05-11T22:51:41.164Z] 4c3900a67163: Preparing [2022-05-11T22:51:41.164Z] abe9a1b63830: Preparing [2022-05-11T22:51:41.164Z] b541d28bf3b4: Preparing [2022-05-11T22:51:41.164Z] 81d361c0265b: Layer already exists [2022-05-11T22:51:41.164Z] b541d28bf3b4: Layer already exists [2022-05-11T22:51:41.164Z] 4c3900a67163: Layer already exists [2022-05-11T22:51:41.164Z] abe9a1b63830: Layer already exists [2022-05-11T22:51:41.164Z] 89ee1ea5c481: Layer already exists [2022-05-11T22:51:41.165Z] main: digest: sha256:d5dcd518deb760c456c24e3fe3e1fe559b7757105f68c17e259a8d620531a28e size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T22:51:41.209Z] ===================================================== [Pipeline] echo [2022-05-11T22:51:41.218Z] taggedImages: [2022-05-11T22:51:41.218Z] - nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:51:41.218Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-11T22:51:41.218Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0 [2022-05-11T22:51:41.218Z] - nexus3.edgexfoundry.org:10004/device-rest:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [2022-05-11T22:51:41.218Z] - 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] sh [2022-05-11T22:51:41.591Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T22:51:41.591Z] [2022-05-11T22:51:41.591Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:51:41.896Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T22:51:41.896Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-11T22:51:41.896Z] 5eb5b503b376: Pulling fs layer [2022-05-11T22:51:41.897Z] 5c69ac0246d0: Pulling fs layer [2022-05-11T22:51:41.897Z] ec43610c2a17: Pulling fs layer [2022-05-11T22:51:41.897Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-11T22:51:41.897Z] 33b1e0a273af: Pulling fs layer [2022-05-11T22:51:41.897Z] 5d3b04190fa2: Pulling fs layer [2022-05-11T22:51:41.897Z] 2f39f015ded8: Pulling fs layer [2022-05-11T22:51:41.897Z] 5d3b04190fa2: Waiting [2022-05-11T22:51:41.897Z] 3a2ae6a8a46f: Waiting [2022-05-11T22:51:41.897Z] 2f39f015ded8: Waiting [2022-05-11T22:51:41.897Z] 33b1e0a273af: Waiting [2022-05-11T22:51:41.897Z] 5c69ac0246d0: Download complete [2022-05-11T22:51:41.897Z] 3a2ae6a8a46f: Download complete [2022-05-11T22:51:41.897Z] 33b1e0a273af: Verifying Checksum [2022-05-11T22:51:41.897Z] 33b1e0a273af: Download complete [2022-05-11T22:51:41.897Z] 5d3b04190fa2: Download complete [2022-05-11T22:51:41.897Z] ec43610c2a17: Verifying Checksum [2022-05-11T22:51:41.897Z] ec43610c2a17: Download complete [2022-05-11T22:51:42.157Z] 5eb5b503b376: Verifying Checksum [2022-05-11T22:51:42.157Z] 5eb5b503b376: Download complete [2022-05-11T22:51:42.724Z] 2f39f015ded8: Download complete [2022-05-11T22:51:43.662Z] 5eb5b503b376: Pull complete [2022-05-11T22:51:43.662Z] 5c69ac0246d0: Pull complete [2022-05-11T22:51:44.229Z] ec43610c2a17: Pull complete [2022-05-11T22:51:44.229Z] 3a2ae6a8a46f: Pull complete [2022-05-11T22:51:44.487Z] 33b1e0a273af: Pull complete [2022-05-11T22:51:44.487Z] 5d3b04190fa2: Pull complete [2022-05-11T22:51:48.772Z] 2f39f015ded8: Pull complete [2022-05-11T22:51:48.772Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-11T22:51:48.772Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T22:51:48.772Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-11T22:51:48.839Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T22:51:48.879Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T22:51:50.294Z] $ docker top 3fcbdb22f5f887047b92ee7427b1d3f8486b356f10bb133f5acb07b8a1aee880 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:51:50.693Z] ---> job-cost.sh [2022-05-11T22:51:50.693Z] lf-activate-venv: SKIPPING [2022-05-11T22:51:50.693Z] INFO: No Stack... [2022-05-11T22:51:50.953Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T22:51:51.524Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T22:51:51.817Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-05-11T22:51:51.817Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T22:51:51.834Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [2022-05-11T22:51:51.840Z] Resource [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] did not exist. Created. [2022-05-11T22:51:51.840Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T22:51:52.154Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-11T22:51:52.177Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T22:51:52.183Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T22:51:52.207Z] $ docker stop --time=1 3fcbdb22f5f887047b92ee7427b1d3f8486b356f10bb133f5acb07b8a1aee880 [2022-05-11T22:51:53.376Z] $ docker rm -f 3fcbdb22f5f887047b92ee7427b1d3f8486b356f10bb133f5acb07b8a1aee880 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-11T22:52:51.078Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-63293 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-05-11T22:52:51.095Z] Running in /w/workspace/device-rest-go/41 [Pipeline] { [Pipeline] checkout [2022-05-11T22:52:51.611Z] The recommended git tool is: git [2022-05-11T22:52:58.992Z] using credential edgex-jenkins-ssh [2022-05-11T22:52:59.010Z] Cloning the remote Git repository [2022-05-11T22:52:59.072Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T22:52:59.161Z] > git init /w/workspace/device-rest-go/41 # timeout=10 [2022-05-11T22:52:59.270Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-11T22:52:59.270Z] > git --version # timeout=10 [2022-05-11T22:52:59.295Z] > git --version # 'git version 2.25.1' [2022-05-11T22:52:59.297Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-11T22:52:59.374Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T22:53:01.505Z] Avoid second fetch [2022-05-11T22:53:01.506Z] Checking out Revision 99d2988c42a4468ca534e1bc92575890b1a7bdf5 (main) [2022-05-11T22:53:01.379Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-11T22:53:01.460Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-11T22:53:01.539Z] > git config core.sparsecheckout # timeout=10 [2022-05-11T22:53:01.563Z] > git checkout -f 99d2988c42a4468ca534e1bc92575890b1a7bdf5 # timeout=10 [2022-05-11T22:53:05.970Z] Commit message: "Merge pull request #189 from jinlinGuan/released-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T22:53:06.839Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-11T22:53:06.839Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T22:53:06.839Z] Dload Upload Total Spent Left Speed [2022-05-11T22:53:06.839Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2022-05-11T22:53:07.402Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-11T22:53:07.760Z] + sudo tee /etc/docker/daemon.new [2022-05-11T22:53:07.760Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-11T22:53:07.760Z] { [2022-05-11T22:53:07.760Z] "registry-mirrors": [ [2022-05-11T22:53:07.760Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-11T22:53:07.760Z] ], [2022-05-11T22:53:07.760Z] "bip": "10.250.0.254/24", [2022-05-11T22:53:07.760Z] "hosts": [ [2022-05-11T22:53:07.760Z] "tcp://0.0.0.0:5555", [2022-05-11T22:53:07.760Z] "unix:///var/run/docker.sock" [2022-05-11T22:53:07.760Z] ], [2022-05-11T22:53:07.760Z] "mtu": 1458, [2022-05-11T22:53:07.760Z] "selinux-enabled": true, [2022-05-11T22:53:07.760Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-11T22:53:07.760Z] } [Pipeline] sh [2022-05-11T22:53:08.126Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-11T22:53:08.487Z] + sudo service docker restart [Pipeline] sh [2022-05-11T22:53:27.195Z] + git checkout 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:53:27.195Z] HEAD is now at 99d2988 Merge pull request #189 from jinlinGuan/released-go-mods [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T22:53:27.235Z] provisioning config files... [2022-05-11T22:53:27.266Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/41@tmp/config4346901347553044096tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:53:27.649Z] ---> docker-login.sh [2022-05-11T22:53:27.649Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:53:28.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:53:28.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:53:28.524Z] Configure a credential helper to remove this warning. See [2022-05-11T22:53:28.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:53:28.524Z] [2022-05-11T22:53:28.524Z] Login Succeeded [2022-05-11T22:53:28.524Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:53:29.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:53:29.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:53:29.131Z] Configure a credential helper to remove this warning. See [2022-05-11T22:53:29.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:53:29.131Z] [2022-05-11T22:53:29.131Z] Login Succeeded [2022-05-11T22:53:29.131Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:53:29.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:53:29.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:53:29.686Z] Configure a credential helper to remove this warning. See [2022-05-11T22:53:29.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:53:29.686Z] [2022-05-11T22:53:29.686Z] Login Succeeded [2022-05-11T22:53:29.686Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:53:29.965Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:53:30.243Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:53:30.243Z] Configure a credential helper to remove this warning. See [2022-05-11T22:53:30.243Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:53:30.243Z] [2022-05-11T22:53:30.243Z] Login Succeeded [2022-05-11T22:53:30.243Z] docker.io [2022-05-11T22:53:30.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:53:31.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:53:31.128Z] Configure a credential helper to remove this warning. See [2022-05-11T22:53:31.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:53:31.128Z] [2022-05-11T22:53:31.128Z] Login Succeeded [2022-05-11T22:53:31.128Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:53:31.147Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-11T22:53:31.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T22:53:31.878Z] ========================================================= [2022-05-11T22:53:31.878Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-11T22:53:31.878Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:53:32.330Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-11T22:53:32.330Z] Sending build context to Docker daemon 128.5kB [2022-05-11T22:53:32.615Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T22:53:32.615Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-11T22:53:32.896Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-11T22:53:32.896Z] 9b3977197b4f: Pulling fs layer [2022-05-11T22:53:32.896Z] 1a89e8eeedd5: Pulling fs layer [2022-05-11T22:53:32.896Z] 94645a83ff95: Pulling fs layer [2022-05-11T22:53:32.896Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-11T22:53:32.896Z] 0c92f367c5e7: Pulling fs layer [2022-05-11T22:53:32.896Z] 3f3a8bcf1eab: Waiting [2022-05-11T22:53:32.896Z] 0c92f367c5e7: Waiting [2022-05-11T22:53:32.896Z] 3096ccb668a1: Pulling fs layer [2022-05-11T22:53:32.896Z] e8cf19c19ddd: Pulling fs layer [2022-05-11T22:53:32.896Z] a4caa8a26152: Pulling fs layer [2022-05-11T22:53:32.896Z] e8cf19c19ddd: Waiting [2022-05-11T22:53:32.896Z] a4caa8a26152: Waiting [2022-05-11T22:53:32.896Z] 3096ccb668a1: Waiting [2022-05-11T22:53:32.896Z] 94645a83ff95: Verifying Checksum [2022-05-11T22:53:32.896Z] 94645a83ff95: Download complete [2022-05-11T22:53:32.896Z] 1a89e8eeedd5: Verifying Checksum [2022-05-11T22:53:32.896Z] 1a89e8eeedd5: Download complete [2022-05-11T22:53:32.896Z] 0c92f367c5e7: Verifying Checksum [2022-05-11T22:53:32.896Z] 0c92f367c5e7: Download complete [2022-05-11T22:53:32.896Z] 3096ccb668a1: Verifying Checksum [2022-05-11T22:53:32.896Z] 3096ccb668a1: Download complete [2022-05-11T22:53:32.896Z] 9b3977197b4f: Verifying Checksum [2022-05-11T22:53:32.896Z] 9b3977197b4f: Download complete [2022-05-11T22:53:32.896Z] e8cf19c19ddd: Verifying Checksum [2022-05-11T22:53:32.896Z] e8cf19c19ddd: Download complete [2022-05-11T22:53:33.901Z] 9b3977197b4f: Pull complete [2022-05-11T22:53:34.505Z] 1a89e8eeedd5: Pull complete [2022-05-11T22:53:34.784Z] 94645a83ff95: Pull complete [2022-05-11T22:53:35.058Z] a4caa8a26152: Verifying Checksum [2022-05-11T22:53:35.058Z] a4caa8a26152: Download complete [2022-05-11T22:53:35.658Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-11T22:53:35.658Z] 3f3a8bcf1eab: Download complete [2022-05-11T22:53:48.099Z] 3f3a8bcf1eab: Pull complete [2022-05-11T22:53:48.374Z] 0c92f367c5e7: Pull complete [2022-05-11T22:53:48.648Z] 3096ccb668a1: Pull complete [2022-05-11T22:53:48.923Z] e8cf19c19ddd: Pull complete [2022-05-11T22:53:55.666Z] a4caa8a26152: Pull complete [2022-05-11T22:53:55.666Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-11T22:53:55.666Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-11T22:53:55.666Z] ---> 725f1c02e7f9 [2022-05-11T22:53:55.666Z] Step 3/12 : ARG MAKE='make build' [2022-05-11T22:53:55.941Z] ---> Running in 69b5a440f1b2 [2022-05-11T22:53:56.213Z] Removing intermediate container 69b5a440f1b2 [2022-05-11T22:53:56.213Z] ---> 1af2607fcc84 [2022-05-11T22:53:56.213Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T22:53:56.213Z] ---> Running in c4f53efbc9cc [2022-05-11T22:53:56.487Z] Removing intermediate container c4f53efbc9cc [2022-05-11T22:53:56.487Z] ---> 6b90427cf2e9 [2022-05-11T22:53:56.487Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T22:53:56.762Z] ---> Running in 4e59ac6fdb7b [2022-05-11T22:53:57.037Z] Removing intermediate container 4e59ac6fdb7b [2022-05-11T22:53:57.037Z] ---> 7da5b2ac2ea1 [2022-05-11T22:53:57.037Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:53:57.037Z] ---> Running in 4e9b80c82f6b [2022-05-11T22:54:00.437Z] Removing intermediate container 4e9b80c82f6b [2022-05-11T22:54:00.437Z] ---> 765be91a7f65 [2022-05-11T22:54:00.437Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T22:54:00.437Z] ---> Running in fdd27a4301be [2022-05-11T22:54:01.419Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T22:54:02.403Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T22:54:03.382Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-11T22:54:03.382Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-11T22:54:03.382Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-11T22:54:03.658Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-11T22:54:03.933Z] Executing busybox-1.34.1-r3.trigger [2022-05-11T22:54:03.933Z] OK: 224 MiB in 56 packages [2022-05-11T22:54:04.920Z] Removing intermediate container fdd27a4301be [2022-05-11T22:54:04.920Z] ---> 21109ac56770 [2022-05-11T22:54:04.920Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-11T22:54:04.920Z] ---> Running in 78036e0000e4 [2022-05-11T22:54:05.212Z] Removing intermediate container 78036e0000e4 [2022-05-11T22:54:05.212Z] ---> b75968237ef9 [2022-05-11T22:54:05.212Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-11T22:54:05.818Z] ---> 25e43377b522 [2022-05-11T22:54:05.818Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T22:54:05.818Z] ---> Running in d30d549410c5 [2022-05-11T22:54:52.859Z] Removing intermediate container d30d549410c5 [2022-05-11T22:54:52.859Z] ---> 286bed7a7ba7 [2022-05-11T22:54:52.859Z] Step 11/12 : COPY . . [2022-05-11T22:54:53.463Z] ---> ae6e1f1048a5 [2022-05-11T22:54:53.463Z] Step 12/12 : RUN $MAKE [2022-05-11T22:54:53.463Z] ---> Running in ffe62bc56a63 [2022-05-11T22:54:54.460Z] noop [2022-05-11T22:54:55.061Z] Removing intermediate container ffe62bc56a63 [2022-05-11T22:54:55.061Z] ---> 8a97fcf71bd9 [2022-05-11T22:54:55.061Z] Successfully built 8a97fcf71bd9 [2022-05-11T22:54:55.061Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:54:55.419Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T22:54:55.419Z] . [Pipeline] withDockerContainer [2022-05-11T22:54:55.664Z] prd-ubuntu20.04-docker-arm64-4c-16g-63293 does not seem to be running inside a container [2022-05-11T22:54:55.760Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/41 -v /w/workspace/device-rest-go/41:/w/workspace/device-rest-go/41:rw,z -v /w/workspace/device-rest-go/41@tmp:/w/workspace/device-rest-go/41@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-05-11T22:54:57.192Z] $ docker top 169b690f3d8e540d6ad623b7878bfd2ee2f2bf2d34b2ea93ba28bfaebd240a71 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T22:54:58.117Z] + go version [2022-05-11T22:54:58.117Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-11T22:54:58.148Z] $ docker stop --time=1 169b690f3d8e540d6ad623b7878bfd2ee2f2bf2d34b2ea93ba28bfaebd240a71 [2022-05-11T22:54:59.815Z] $ docker rm -f 169b690f3d8e540d6ad623b7878bfd2ee2f2bf2d34b2ea93ba28bfaebd240a71 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:55:00.441Z] + docker inspect -f . ci-base-image-arm64 [2022-05-11T22:55:00.441Z] . [Pipeline] withDockerContainer [2022-05-11T22:55:00.682Z] prd-ubuntu20.04-docker-arm64-4c-16g-63293 does not seem to be running inside a container [2022-05-11T22:55:00.778Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/41 -v /w/workspace/device-rest-go/41:/w/workspace/device-rest-go/41:rw,z -v /w/workspace/device-rest-go/41@tmp:/w/workspace/device-rest-go/41@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-05-11T22:55:02.151Z] $ docker top f435a018b477abd940279ef08e02817d0f3d13a80608904b9a87efaaaa7aa223 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-11T22:55:03.112Z] + make test [2022-05-11T22:55:03.112Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-11T22:55:05.092Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-11T22:56:42.008Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-11T22:56:42.008Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements [2022-05-11T22:56:42.008Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-11T22:56:42.008Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-11T22:57:08.854Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-11T22:57:08.854Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-11T22:57:08.854Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-11T22:57:08.880Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-11T22:57:08.907Z] $ docker stop --time=1 f435a018b477abd940279ef08e02817d0f3d13a80608904b9a87efaaaa7aa223 [2022-05-11T22:57:10.702Z] $ docker rm -f f435a018b477abd940279ef08e02817d0f3d13a80608904b9a87efaaaa7aa223 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T22:57:11.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-11T22:57:11.768Z] Warning: overwriting stash ‘coverage-report’ [2022-05-11T22:57:12.301Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-11T22:57:12.726Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-11T22:57:13.085Z] + ls -al . [2022-05-11T22:57:13.085Z] total 168 [2022-05-11T22:57:13.085Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:57 . [2022-05-11T22:57:13.085Z] drwxrwxr-x 4 jenkins jenkins 4096 May 11 22:52 .. [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 151 May 11 22:53 .dockerignore [2022-05-11T22:57:13.085Z] drwxrwxr-x 8 jenkins jenkins 4096 May 11 22:53 .git [2022-05-11T22:57:13.085Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:53 .github [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 329 May 11 22:53 .gitignore [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 41 May 11 22:53 .golangci.yml [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 11 22:53 Attribution.txt [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 11736 May 11 22:53 CHANGELOG.md [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 11 22:53 Dockerfile [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 677 May 11 22:53 GOVERNANCE.md [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 680 May 11 22:53 Jenkinsfile [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 11 22:53 LICENSE [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 11 22:53 Makefile [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 620 May 11 22:53 OWNERS.md [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 11 22:53 README.md [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 5 May 11 22:50 VERSION [2022-05-11T22:57:13.085Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:53 bin [2022-05-11T22:57:13.085Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:53 cmd [2022-05-11T22:57:13.085Z] -rw-r--r-- 1 jenkins jenkins 9355 May 11 22:56 coverage.out [2022-05-11T22:57:13.085Z] drwxrwxr-x 2 jenkins jenkins 4096 May 11 22:53 driver [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 3287 May 11 22:53 go.mod [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 34802 May 11 22:53 go.sum [2022-05-11T22:57:13.085Z] drwxrwxr-x 3 jenkins jenkins 4096 May 11 22:53 snap [2022-05-11T22:57:13.085Z] -rw-rw-r-- 1 jenkins jenkins 713 May 11 22:53 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:57:13.457Z] + 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=99d2988c42a4468ca534e1bc92575890b1a7bdf5 --label arch=arm64 --label version=2.2.0 . [2022-05-11T22:57:13.457Z] Sending build context to Docker daemon 138.8kB [2022-05-11T22:57:13.734Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-11T22:57:13.734Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-11T22:57:13.734Z] ---> 8a97fcf71bd9 [2022-05-11T22:57:13.734Z] Step 3/25 : ARG MAKE='make build' [2022-05-11T22:57:14.011Z] ---> Running in 30e09c2bbb51 [2022-05-11T22:57:14.290Z] Removing intermediate container 30e09c2bbb51 [2022-05-11T22:57:14.290Z] ---> 4982b263a38f [2022-05-11T22:57:14.290Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-11T22:57:14.290Z] ---> Running in 711988ae5ffc [2022-05-11T22:57:14.573Z] Removing intermediate container 711988ae5ffc [2022-05-11T22:57:14.573Z] ---> 71e5ddc4b6c1 [2022-05-11T22:57:14.573Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-11T22:57:14.855Z] ---> Running in d4f52fcdf501 [2022-05-11T22:57:15.138Z] Removing intermediate container d4f52fcdf501 [2022-05-11T22:57:15.138Z] ---> 8e7556ec9076 [2022-05-11T22:57:15.138Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-11T22:57:15.138Z] ---> Running in af669bb4b175 [2022-05-11T22:57:17.133Z] Removing intermediate container af669bb4b175 [2022-05-11T22:57:17.133Z] ---> ceaced148460 [2022-05-11T22:57:17.133Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-11T22:57:17.133Z] ---> Running in 2b884ecaec27 [2022-05-11T22:57:18.124Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-11T22:57:19.114Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-11T22:57:20.130Z] OK: 224 MiB in 56 packages [2022-05-11T22:57:20.734Z] Removing intermediate container 2b884ecaec27 [2022-05-11T22:57:20.734Z] ---> 522b1f639634 [2022-05-11T22:57:20.734Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-11T22:57:20.734Z] ---> Running in dac05a8e1c8c [2022-05-11T22:57:21.340Z] Removing intermediate container dac05a8e1c8c [2022-05-11T22:57:21.340Z] ---> d990ac533c96 [2022-05-11T22:57:21.340Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-11T22:57:21.949Z] ---> f978c5239a28 [2022-05-11T22:57:21.949Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-11T22:57:21.949Z] ---> Running in 5c6e9cbaaee3 [2022-05-11T22:57:23.932Z] Removing intermediate container 5c6e9cbaaee3 [2022-05-11T22:57:23.932Z] ---> 0a4ab11a031e [2022-05-11T22:57:23.932Z] Step 11/25 : COPY . . [2022-05-11T22:57:24.529Z] ---> 7088e0e4d3d5 [2022-05-11T22:57:24.529Z] Step 12/25 : RUN $MAKE [2022-05-11T22:57:24.529Z] ---> Running in 8a3c602c2ffd [2022-05-11T22:57:25.520Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-11T22:59:47.488Z] Removing intermediate container 8a3c602c2ffd [2022-05-11T22:59:47.488Z] ---> a134cf6686ac [2022-05-11T22:59:47.488Z] Step 13/25 : FROM alpine:3.14 [2022-05-11T22:59:47.488Z] 3.14: Pulling from library/alpine [2022-05-11T22:59:47.488Z] 455c02918c45: Pulling fs layer [2022-05-11T22:59:47.488Z] 455c02918c45: Verifying Checksum [2022-05-11T22:59:47.488Z] 455c02918c45: Download complete [2022-05-11T22:59:47.488Z] 455c02918c45: Pull complete [2022-05-11T22:59:47.488Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-11T22:59:47.488Z] Status: Downloaded newer image for alpine:3.14 [2022-05-11T22:59:47.488Z] ---> ac73e934f311 [2022-05-11T22:59:47.488Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-11T22:59:47.488Z] ---> Running in 0dfd3990795c [2022-05-11T22:59:47.488Z] Removing intermediate container 0dfd3990795c [2022-05-11T22:59:47.488Z] ---> 2cd704282471 [2022-05-11T22:59:47.488Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-11T22:59:47.488Z] ---> Running in 1b0aecf38790 [2022-05-11T22:59:47.488Z] Removing intermediate container 1b0aecf38790 [2022-05-11T22:59:47.488Z] ---> 5778f409b356 [2022-05-11T22:59:47.488Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-11T22:59:47.488Z] ---> Running in 59c03bb66741 [2022-05-11T22:59:47.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-11T22:59:47.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-11T22:59:47.489Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-11T22:59:47.489Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-11T22:59:47.489Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-11T22:59:47.489Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-11T22:59:47.489Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-11T22:59:47.489Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-11T22:59:47.489Z] Executing busybox-1.33.1-r7.trigger [2022-05-11T22:59:47.489Z] OK: 8 MiB in 20 packages [2022-05-11T22:59:47.489Z] Removing intermediate container 59c03bb66741 [2022-05-11T22:59:47.489Z] ---> b04286301f11 [2022-05-11T22:59:47.489Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-11T22:59:48.475Z] ---> 4d186603433f [2022-05-11T22:59:48.475Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-11T22:59:49.087Z] ---> 256d2c07b172 [2022-05-11T22:59:49.087Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-11T22:59:49.698Z] ---> 67637ec2235f [2022-05-11T22:59:49.698Z] Step 20/25 : EXPOSE 59986 [2022-05-11T22:59:49.698Z] ---> Running in 4cc661314df0 [2022-05-11T22:59:49.974Z] Removing intermediate container 4cc661314df0 [2022-05-11T22:59:49.974Z] ---> 26c60cb3661e [2022-05-11T22:59:49.974Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-11T22:59:49.974Z] ---> Running in 570b2f31561c [2022-05-11T22:59:50.249Z] Removing intermediate container 570b2f31561c [2022-05-11T22:59:50.249Z] ---> c6c4c378afca [2022-05-11T22:59:50.249Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-11T22:59:50.249Z] ---> Running in a958d6a518cb [2022-05-11T22:59:50.854Z] Removing intermediate container a958d6a518cb [2022-05-11T22:59:50.854Z] ---> d816b5edfb71 [2022-05-11T22:59:50.854Z] Step 23/25 : LABEL arch=arm64 [2022-05-11T22:59:50.854Z] ---> Running in 28c1c57b9340 [2022-05-11T22:59:51.129Z] Removing intermediate container 28c1c57b9340 [2022-05-11T22:59:51.129Z] ---> 593b4e49960c [2022-05-11T22:59:51.129Z] Step 24/25 : LABEL git_sha=99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:59:51.129Z] ---> Running in 066e9d33deff [2022-05-11T22:59:51.407Z] Removing intermediate container 066e9d33deff [2022-05-11T22:59:51.407Z] ---> 1ab81e2915e3 [2022-05-11T22:59:51.407Z] Step 25/25 : LABEL version=2.2.0 [2022-05-11T22:59:51.688Z] ---> Running in a80c066eacda [2022-05-11T22:59:51.963Z] Removing intermediate container a80c066eacda [2022-05-11T22:59:51.963Z] ---> 7f8cfe5983d0 [2022-05-11T22:59:51.963Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-11T22:59:51.963Z] Successfully built 7f8cfe5983d0 [2022-05-11T22:59:51.963Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T22:59:52.081Z] provisioning config files... [2022-05-11T22:59:52.103Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/41@tmp/config2750658162295830044tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T22:59:52.464Z] ---> docker-login.sh [2022-05-11T22:59:52.464Z] nexus3.edgexfoundry.org:10001 [2022-05-11T22:59:52.742Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:59:52.742Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:59:52.742Z] Configure a credential helper to remove this warning. See [2022-05-11T22:59:52.742Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:59:52.742Z] [2022-05-11T22:59:52.742Z] Login Succeeded [2022-05-11T22:59:52.742Z] nexus3.edgexfoundry.org:10002 [2022-05-11T22:59:53.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:59:53.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:59:53.342Z] Configure a credential helper to remove this warning. See [2022-05-11T22:59:53.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:59:53.342Z] [2022-05-11T22:59:53.342Z] Login Succeeded [2022-05-11T22:59:53.342Z] nexus3.edgexfoundry.org:10003 [2022-05-11T22:59:53.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:59:53.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:59:53.943Z] Configure a credential helper to remove this warning. See [2022-05-11T22:59:53.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:59:53.943Z] [2022-05-11T22:59:53.943Z] Login Succeeded [2022-05-11T22:59:53.943Z] nexus3.edgexfoundry.org:10004 [2022-05-11T22:59:54.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:59:54.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:59:54.488Z] Configure a credential helper to remove this warning. See [2022-05-11T22:59:54.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:59:54.488Z] [2022-05-11T22:59:54.488Z] Login Succeeded [2022-05-11T22:59:54.488Z] docker.io [2022-05-11T22:59:54.762Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-11T22:59:55.359Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-11T22:59:55.359Z] Configure a credential helper to remove this warning. See [2022-05-11T22:59:55.359Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-11T22:59:55.359Z] [2022-05-11T22:59:55.359Z] Login Succeeded [2022-05-11T22:59:55.359Z] ---> docker-login.sh ends [Pipeline] } [2022-05-11T22:59:55.377Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T22:59:55.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-11T22:59:55.445Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-05-11T22:59:55.445Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:59:55.445Z] latest [2022-05-11T22:59:55.445Z] 2.2.0 [2022-05-11T22:59:55.445Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [2022-05-11T22:59:55.445Z] main [2022-05-11T22:59:55.445Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:55.818Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] isUnix [Pipeline] sh [2022-05-11T22:59:56.168Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T22:59:56.168Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T22:59:56.168Z] de71a3119279: Preparing [2022-05-11T22:59:56.168Z] 493f4b903300: Preparing [2022-05-11T22:59:56.168Z] d573d6f34419: Preparing [2022-05-11T22:59:56.168Z] 15c8009331ae: Preparing [2022-05-11T22:59:56.168Z] f73e7dbfee58: Preparing [2022-05-11T22:59:56.470Z] f73e7dbfee58: Layer already exists [2022-05-11T22:59:56.470Z] 493f4b903300: Pushed [2022-05-11T22:59:56.470Z] de71a3119279: Pushed [2022-05-11T22:59:57.067Z] 15c8009331ae: Pushed [2022-05-11T23:00:03.784Z] d573d6f34419: Pushed [2022-05-11T23:00:03.785Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:04.140Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:04.491Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-11T23:00:04.491Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T23:00:04.491Z] de71a3119279: Preparing [2022-05-11T23:00:04.491Z] 493f4b903300: Preparing [2022-05-11T23:00:04.491Z] d573d6f34419: Preparing [2022-05-11T23:00:04.491Z] 15c8009331ae: Preparing [2022-05-11T23:00:04.491Z] f73e7dbfee58: Preparing [2022-05-11T23:00:04.491Z] de71a3119279: Layer already exists [2022-05-11T23:00:04.491Z] f73e7dbfee58: Layer already exists [2022-05-11T23:00:04.491Z] d573d6f34419: Layer already exists [2022-05-11T23:00:04.491Z] 493f4b903300: Layer already exists [2022-05-11T23:00:04.491Z] 15c8009331ae: Layer already exists [2022-05-11T23:00:04.767Z] latest: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:05.129Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:05.481Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0 [2022-05-11T23:00:05.481Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T23:00:05.481Z] de71a3119279: Preparing [2022-05-11T23:00:05.481Z] 493f4b903300: Preparing [2022-05-11T23:00:05.481Z] d573d6f34419: Preparing [2022-05-11T23:00:05.481Z] 15c8009331ae: Preparing [2022-05-11T23:00:05.481Z] f73e7dbfee58: Preparing [2022-05-11T23:00:05.481Z] 493f4b903300: Layer already exists [2022-05-11T23:00:05.482Z] d573d6f34419: Layer already exists [2022-05-11T23:00:05.482Z] f73e7dbfee58: Layer already exists [2022-05-11T23:00:05.482Z] 15c8009331ae: Layer already exists [2022-05-11T23:00:05.482Z] de71a3119279: Layer already exists [2022-05-11T23:00:05.758Z] 2.2.0: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:06.109Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:06.459Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [2022-05-11T23:00:06.459Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T23:00:06.459Z] de71a3119279: Preparing [2022-05-11T23:00:06.459Z] 493f4b903300: Preparing [2022-05-11T23:00:06.459Z] d573d6f34419: Preparing [2022-05-11T23:00:06.459Z] 15c8009331ae: Preparing [2022-05-11T23:00:06.459Z] f73e7dbfee58: Preparing [2022-05-11T23:00:06.459Z] 493f4b903300: Layer already exists [2022-05-11T23:00:06.459Z] de71a3119279: Layer already exists [2022-05-11T23:00:06.459Z] 15c8009331ae: Layer already exists [2022-05-11T23:00:06.459Z] d573d6f34419: Layer already exists [2022-05-11T23:00:06.459Z] f73e7dbfee58: Layer already exists [2022-05-11T23:00:06.733Z] 99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:07.087Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:07.440Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-05-11T23:00:07.440Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-11T23:00:07.440Z] de71a3119279: Preparing [2022-05-11T23:00:07.440Z] 493f4b903300: Preparing [2022-05-11T23:00:07.440Z] d573d6f34419: Preparing [2022-05-11T23:00:07.440Z] 15c8009331ae: Preparing [2022-05-11T23:00:07.440Z] f73e7dbfee58: Preparing [2022-05-11T23:00:07.440Z] d573d6f34419: Layer already exists [2022-05-11T23:00:07.440Z] f73e7dbfee58: Layer already exists [2022-05-11T23:00:07.440Z] de71a3119279: Layer already exists [2022-05-11T23:00:07.440Z] 15c8009331ae: Layer already exists [2022-05-11T23:00:07.440Z] 493f4b903300: Layer already exists [2022-05-11T23:00:07.717Z] main: digest: sha256:16f633629343ad991286b85a4d3df64dd9317ee6055396753975a162e8662c2c size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-11T23:00:07.769Z] ===================================================== [Pipeline] echo [2022-05-11T23:00:07.778Z] taggedImages: [2022-05-11T23:00:07.778Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5 [2022-05-11T23:00:07.778Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-11T23:00:07.778Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0 [2022-05-11T23:00:07.778Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:99d2988c42a4468ca534e1bc92575890b1a7bdf5-2.2.0 [2022-05-11T23:00:07.778Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:08.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T23:00:08.155Z] [2022-05-11T23:00:08.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:08.512Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T23:00:08.788Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-11T23:00:08.788Z] 8998bd30e6a1: Pulling fs layer [2022-05-11T23:00:08.788Z] 04944245beec: Pulling fs layer [2022-05-11T23:00:08.788Z] 699f458cf7ca: Pulling fs layer [2022-05-11T23:00:08.788Z] 765212b225bb: Pulling fs layer [2022-05-11T23:00:08.788Z] f23df028b6ca: Pulling fs layer [2022-05-11T23:00:08.788Z] d65c8cfc05b1: Pulling fs layer [2022-05-11T23:00:08.788Z] 2437ff75d9bd: Pulling fs layer [2022-05-11T23:00:08.788Z] 765212b225bb: Waiting [2022-05-11T23:00:08.788Z] f23df028b6ca: Waiting [2022-05-11T23:00:08.788Z] d65c8cfc05b1: Waiting [2022-05-11T23:00:08.788Z] 2437ff75d9bd: Waiting [2022-05-11T23:00:08.788Z] 04944245beec: Verifying Checksum [2022-05-11T23:00:08.788Z] 04944245beec: Download complete [2022-05-11T23:00:08.788Z] 765212b225bb: Verifying Checksum [2022-05-11T23:00:08.788Z] 765212b225bb: Download complete [2022-05-11T23:00:08.788Z] f23df028b6ca: Verifying Checksum [2022-05-11T23:00:08.788Z] f23df028b6ca: Download complete [2022-05-11T23:00:08.788Z] d65c8cfc05b1: Verifying Checksum [2022-05-11T23:00:08.788Z] d65c8cfc05b1: Download complete [2022-05-11T23:00:09.068Z] 699f458cf7ca: Verifying Checksum [2022-05-11T23:00:09.068Z] 699f458cf7ca: Download complete [2022-05-11T23:00:09.344Z] 8998bd30e6a1: Verifying Checksum [2022-05-11T23:00:09.344Z] 8998bd30e6a1: Download complete [2022-05-11T23:00:11.975Z] 2437ff75d9bd: Verifying Checksum [2022-05-11T23:00:13.414Z] 8998bd30e6a1: Pull complete [2022-05-11T23:00:14.016Z] 04944245beec: Pull complete [2022-05-11T23:00:15.459Z] 699f458cf7ca: Pull complete [2022-05-11T23:00:15.734Z] 765212b225bb: Pull complete [2022-05-11T23:00:16.719Z] f23df028b6ca: Pull complete [2022-05-11T23:00:16.719Z] d65c8cfc05b1: Pull complete [2022-05-11T23:00:31.844Z] 2437ff75d9bd: Pull complete [2022-05-11T23:00:31.844Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-11T23:00:31.844Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-11T23:00:31.844Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-11T23:00:32.088Z] prd-ubuntu20.04-docker-arm64-4c-16g-63293 does not seem to be running inside a container [2022-05-11T23:00:32.192Z] $ 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/41 -v /w/workspace/device-rest-go/41:/w/workspace/device-rest-go/41:rw,z -v /w/workspace/device-rest-go/41@tmp:/w/workspace/device-rest-go/41@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-05-11T23:00:34.735Z] $ docker top 0b46375914c83c2f9bcad380c3bd267d169b4f2e3dae2bb484c079c013036043 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:00:35.701Z] ---> job-cost.sh [2022-05-11T23:00:35.701Z] lf-activate-venv: SKIPPING [2022-05-11T23:00:35.701Z] INFO: No Stack... [2022-05-11T23:00:35.974Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-11T23:00:36.971Z] INFO: Archiving Costs [Pipeline] sh [2022-05-11T23:00:37.702Z] + cat /w/workspace/device-rest-go/41/archives/cost.csv [2022-05-11T23:00:37.702Z] + cut -d, -f6 [Pipeline] lock [2022-05-11T23:00:37.739Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [2022-05-11T23:00:37.744Z] Resource [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] did not exist. Created. [2022-05-11T23:00:37.744Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-11T23:00:38.439Z] /w/workspace/device-rest-go/41@tmp/durable-c9a8f066/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-11T23:00:39.154Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-11T23:00:39.178Z] Warning: overwriting stash ‘stack-cost’ [2022-05-11T23:00:39.229Z] Stashed 1 file(s) [Pipeline] } [2022-05-11T23:00:39.239Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-41-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-11T23:00:39.271Z] $ docker stop --time=1 0b46375914c83c2f9bcad380c3bd267d169b4f2e3dae2bb484c079c013036043 [2022-05-11T23:00:40.815Z] $ docker rm -f 0b46375914c83c2f9bcad380c3bd267d169b4f2e3dae2bb484c079c013036043 [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-05-11T23:00:41.274Z] provisioning config files... [2022-05-11T23:00:41.285Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5089497181599988199tmp [Pipeline] { [Pipeline] sh [2022-05-11T23:00:41.593Z] + set +x [2022-05-11T23:00:41.593Z] + curl -s https://codecov.io/bash [2022-05-11T23:00:41.593Z] + bash -s -- [2022-05-11T23:00:41.593Z] [2022-05-11T23:00:41.593Z] _____ _ [2022-05-11T23:00:41.593Z] / ____| | | [2022-05-11T23:00:41.593Z] | | ___ __| | ___ ___ _____ __ [2022-05-11T23:00:41.593Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-11T23:00:41.593Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-11T23:00:41.593Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-11T23:00:41.593Z] Bash-1.0.6 [2022-05-11T23:00:41.593Z] [2022-05-11T23:00:41.593Z] [2022-05-11T23:00:41.593Z] ==> git version 2.25.1 found [2022-05-11T23:00:41.593Z] ==> 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-05-11T23:00:41.593Z] Release-Date: 2020-01-08 [2022-05-11T23:00:41.593Z] 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-05-11T23:00:41.593Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-11T23:00:41.593Z] ==> Jenkins CI detected. [2022-05-11T23:00:41.593Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-05-11T23:00:41.593Z] project root: . [2022-05-11T23:00:41.593Z] --> token set from env [2022-05-11T23:00:41.593Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-11T23:00:41.593Z] ==> Running gcov in . (disable via -X gcov) [2022-05-11T23:00:41.593Z] ==> Python coveragepy not found [2022-05-11T23:00:41.593Z] ==> Searching for coverage reports in: [2022-05-11T23:00:41.593Z] + . [2022-05-11T23:00:41.593Z] -> Found 1 reports [2022-05-11T23:00:41.593Z] ==> Detecting git/mercurial file structure [2022-05-11T23:00:41.593Z] ==> Reading reports [2022-05-11T23:00:41.593Z] + ./coverage.out bytes=9355 [2022-05-11T23:00:41.593Z] ==> Appending adjustments [2022-05-11T23:00:41.593Z] https://docs.codecov.io/docs/fixing-reports [2022-05-11T23:00:41.593Z] + Found adjustments [2022-05-11T23:00:41.852Z] ==> Gzipping contents [2022-05-11T23:00:41.852Z] 4.0K /tmp/codecov.v8lVhf.gz [2022-05-11T23:00:41.852Z] ==> Uploading reports [2022-05-11T23:00:41.852Z] url: https://codecov.io [2022-05-11T23:00:41.852Z] query: branch=main&commit=99d2988c42a4468ca534e1bc92575890b1a7bdf5&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T23:00:41.852Z] -> Pinging Codecov [2022-05-11T23:00:41.853Z] 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=99d2988c42a4468ca534e1bc92575890b1a7bdf5&build=41&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F41%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-11T23:00:42.112Z] -> Uploading to [2022-05-11T23:00:42.112Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-11/4E5D53B4F1F92C436F7061BF334D961C/99d2988c42a4468ca534e1bc92575890b1a7bdf5/d0302ed2-e23e-4d95-b9e3-cd25114a83be.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T230041Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21b9f40d3ce73a7c4425403d26abebed5b4637d58643878f3ce76eab17b994c0 [2022-05-11T23:00:42.112Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-11T23:00:42.112Z] Dload Upload Total Spent Left Speed [2022-05-11T23:00:42.373Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8171 --:--:-- --:--:-- --:--:-- 8171 [2022-05-11T23:00:42.373Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] } [2022-05-11T23:00:42.380Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-11T23:00:42.506Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-11T23:00:42.515Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:42.810Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T23:00:42.810Z] [2022-05-11T23:00:42.810Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:00:43.114Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T23:00:43.114Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-11T23:00:43.114Z] 188c0c94c7c5: Pulling fs layer [2022-05-11T23:00:43.114Z] 0ef7d3d256c8: Pulling fs layer [2022-05-11T23:00:43.114Z] de9db76c5a1d: Pulling fs layer [2022-05-11T23:00:43.114Z] 0eba1c9be4d2: Pulling fs layer [2022-05-11T23:00:43.114Z] 0d57e429df01: Pulling fs layer [2022-05-11T23:00:43.114Z] 4e4be7b47b0d: Pulling fs layer [2022-05-11T23:00:43.114Z] e1f770b5df2f: Pulling fs layer [2022-05-11T23:00:43.114Z] 85a0685a4137: Pulling fs layer [2022-05-11T23:00:43.114Z] e1f770b5df2f: Waiting [2022-05-11T23:00:43.114Z] 0eba1c9be4d2: Waiting [2022-05-11T23:00:43.114Z] 4e4be7b47b0d: Waiting [2022-05-11T23:00:43.114Z] 85a0685a4137: Waiting [2022-05-11T23:00:43.114Z] de9db76c5a1d: Verifying Checksum [2022-05-11T23:00:43.114Z] de9db76c5a1d: Download complete [2022-05-11T23:00:43.114Z] 0ef7d3d256c8: Download complete [2022-05-11T23:00:43.114Z] 0d57e429df01: Verifying Checksum [2022-05-11T23:00:43.114Z] 0d57e429df01: Download complete [2022-05-11T23:00:43.114Z] 4e4be7b47b0d: Verifying Checksum [2022-05-11T23:00:43.114Z] 4e4be7b47b0d: Download complete [2022-05-11T23:00:43.114Z] 188c0c94c7c5: Verifying Checksum [2022-05-11T23:00:43.114Z] 188c0c94c7c5: Download complete [2022-05-11T23:00:43.375Z] 188c0c94c7c5: Pull complete [2022-05-11T23:00:43.375Z] e1f770b5df2f: Verifying Checksum [2022-05-11T23:00:43.375Z] e1f770b5df2f: Download complete [2022-05-11T23:00:43.375Z] 0ef7d3d256c8: Pull complete [2022-05-11T23:00:43.636Z] de9db76c5a1d: Pull complete [2022-05-11T23:00:43.897Z] 0eba1c9be4d2: Verifying Checksum [2022-05-11T23:00:43.897Z] 0eba1c9be4d2: Download complete [2022-05-11T23:00:44.156Z] 85a0685a4137: Download complete [2022-05-11T23:00:48.353Z] 0eba1c9be4d2: Pull complete [2022-05-11T23:00:48.353Z] 0d57e429df01: Pull complete [2022-05-11T23:00:48.353Z] 4e4be7b47b0d: Pull complete [2022-05-11T23:00:48.353Z] e1f770b5df2f: Pull complete [2022-05-11T23:00:52.552Z] 85a0685a4137: Pull complete [2022-05-11T23:00:52.552Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-11T23:00:52.552Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-11T23:00:52.552Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-11T23:00:52.623Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T23:00:52.667Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-05-11T23:00:54.000Z] $ docker top e89ae5855d0e857621018d83b3ff9438513a6baebcb21d7fc2b1d1a3e3553bf2 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-11T23:00:54.083Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-11T23:00:54.366Z] + set -o pipefail [2022-05-11T23:00:54.366Z] + snyk monitor '--org=edgex-jenkins' [2022-05-11T23:00:59.684Z] [2022-05-11T23:00:59.684Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-05-11T23:00:59.684Z] [2022-05-11T23:00:59.684Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/da1a187c-8f32-4b7b-8c22-4c414be74e59 [2022-05-11T23:00:59.684Z] [2022-05-11T23:00:59.684Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-11T23:00:59.684Z] [2022-05-11T23:00:59.684Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-11T23:00:59.684Z] [2022-05-11T23:00:59.954Z] [Pipeline] } [2022-05-11T23:00:59.974Z] $ docker stop --time=1 e89ae5855d0e857621018d83b3ff9438513a6baebcb21d7fc2b1d1a3e3553bf2 [2022-05-11T23:01:02.054Z] $ docker rm -f e89ae5855d0e857621018d83b3ff9438513a6baebcb21d7fc2b1d1a3e3553bf2 [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-05-11T23:01:02.827Z] + git log --format=format:%s -1 99d2988c42a4468ca534e1bc92575890b1a7bdf5 [Pipeline] sh [2022-05-11T23:01:03.125Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T23:01:03.125Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:01:03.420Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T23:01:03.421Z] . [Pipeline] withDockerContainer [2022-05-11T23:01:03.492Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T23:01:03.535Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T23:01:03.958Z] $ docker top a746b223cf73f580f32fc4596718b02d69f21e1c13fbd574b3f27cf26ee54ed2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T23:01:04.055Z] [edgeXSemver]: ignoring command tag because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.18' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T23:01:04.353Z] + git semver [Pipeline] } [2022-05-11T23:01:04.637Z] $ docker stop --time=1 a746b223cf73f580f32fc4596718b02d69f21e1c13fbd574b3f27cf26ee54ed2 [2022-05-11T23:01:05.940Z] $ docker rm -f a746b223cf73f580f32fc4596718b02d69f21e1c13fbd574b3f27cf26ee54ed2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:01:06.340Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T23:01:06.340Z] [2022-05-11T23:01:06.340Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:01:06.648Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T23:01:06.648Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-11T23:01:06.648Z] ab5ef0e58194: Pulling fs layer [2022-05-11T23:01:06.648Z] 9712f1f96733: Pulling fs layer [2022-05-11T23:01:06.648Z] 63f879dbbcfc: Pulling fs layer [2022-05-11T23:01:06.648Z] 0d9ebad4ef96: Pulling fs layer [2022-05-11T23:01:06.648Z] e9a5061849ea: Pulling fs layer [2022-05-11T23:01:06.648Z] d747dcd14b5f: Pulling fs layer [2022-05-11T23:01:06.648Z] 2de7ff778b66: Pulling fs layer [2022-05-11T23:01:06.648Z] 0d9ebad4ef96: Waiting [2022-05-11T23:01:06.648Z] e9a5061849ea: Waiting [2022-05-11T23:01:06.648Z] 9712f1f96733: Verifying Checksum [2022-05-11T23:01:06.648Z] 9712f1f96733: Download complete [2022-05-11T23:01:06.910Z] 63f879dbbcfc: Verifying Checksum [2022-05-11T23:01:06.910Z] 63f879dbbcfc: Download complete [2022-05-11T23:01:07.171Z] e9a5061849ea: Verifying Checksum [2022-05-11T23:01:07.171Z] e9a5061849ea: Download complete [2022-05-11T23:01:07.171Z] d747dcd14b5f: Verifying Checksum [2022-05-11T23:01:07.171Z] d747dcd14b5f: Download complete [2022-05-11T23:01:07.171Z] 0d9ebad4ef96: Verifying Checksum [2022-05-11T23:01:07.171Z] 0d9ebad4ef96: Download complete [2022-05-11T23:01:07.171Z] ab5ef0e58194: Verifying Checksum [2022-05-11T23:01:07.171Z] ab5ef0e58194: Download complete [2022-05-11T23:01:07.171Z] 2de7ff778b66: Verifying Checksum [2022-05-11T23:01:07.171Z] 2de7ff778b66: Download complete [2022-05-11T23:01:10.466Z] ab5ef0e58194: Pull complete [2022-05-11T23:01:10.466Z] 9712f1f96733: Pull complete [2022-05-11T23:01:11.405Z] 63f879dbbcfc: Pull complete [2022-05-11T23:01:15.603Z] 0d9ebad4ef96: Pull complete [2022-05-11T23:01:16.173Z] e9a5061849ea: Pull complete [2022-05-11T23:01:16.173Z] d747dcd14b5f: Pull complete [2022-05-11T23:01:17.554Z] 2de7ff778b66: Pull complete [2022-05-11T23:01:17.554Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-11T23:01:17.554Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-11T23:01:17.554Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-11T23:01:17.627Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T23:01:17.671Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-05-11T23:01:19.543Z] $ docker top e293298b29316f0542615068980647b7576d7ed650c8a43b1155913b62852944 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-11T23:01:19.633Z] provisioning config files... [2022-05-11T23:01:19.643Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2150894327918090149tmp [2022-05-11T23:01:19.654Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2235909562406488697tmp [2022-05-11T23:01:19.663Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3049799085271258583tmp [Pipeline] { [Pipeline] echo [2022-05-11T23:01:19.678Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:19.968Z] ---> sigul-configuration.sh [2022-05-11T23:01:19.968Z] gpg: directory `/root/.gnupg' created [2022-05-11T23:01:19.968Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-11T23:01:19.968Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-11T23:01:19.968Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-11T23:01:19.968Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-11T23:01:19.968Z] gpg: CAST5 encrypted data [2022-05-11T23:01:19.968Z] gpg: encrypted with 1 passphrase [2022-05-11T23:01:19.968Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-11T23:01:20.257Z] + mkdir /home/jenkins [2022-05-11T23:01:20.257Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-11T23:01:20.545Z] + 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-05-11T23:01:20.554Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:20.849Z] ---> sigul-install.sh [2022-05-11T23:01:20.849Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-11T23:01:21.141Z] + git tag --list [2022-05-11T23:01:21.141Z] v1.0.0 [2022-05-11T23:01:21.141Z] v1.1.0 [2022-05-11T23:01:21.141Z] v1.1.1 [2022-05-11T23:01:21.141Z] v1.1.2 [2022-05-11T23:01:21.141Z] v1.2.0 [2022-05-11T23:01:21.141Z] v1.2.1 [2022-05-11T23:01:21.141Z] v2.0.0 [2022-05-11T23:01:21.141Z] v2.0.1-dev.1 [2022-05-11T23:01:21.141Z] v2.0.1-dev.10 [2022-05-11T23:01:21.141Z] v2.0.1-dev.11 [2022-05-11T23:01:21.141Z] v2.0.1-dev.12 [2022-05-11T23:01:21.141Z] v2.0.1-dev.13 [2022-05-11T23:01:21.141Z] v2.0.1-dev.14 [2022-05-11T23:01:21.141Z] v2.0.1-dev.2 [2022-05-11T23:01:21.141Z] v2.0.1-dev.3 [2022-05-11T23:01:21.141Z] v2.0.1-dev.4 [2022-05-11T23:01:21.141Z] v2.0.1-dev.5 [2022-05-11T23:01:21.141Z] v2.0.1-dev.6 [2022-05-11T23:01:21.141Z] v2.0.1-dev.7 [2022-05-11T23:01:21.141Z] v2.0.1-dev.8 [2022-05-11T23:01:21.141Z] v2.0.1-dev.9 [2022-05-11T23:01:21.141Z] v2.1.0 [2022-05-11T23:01:21.141Z] v2.2.0 [2022-05-11T23:01:21.141Z] v2.2.0-dev.1 [2022-05-11T23:01:21.141Z] v2.2.0-dev.10 [2022-05-11T23:01:21.141Z] v2.2.0-dev.11 [2022-05-11T23:01:21.141Z] v2.2.0-dev.12 [2022-05-11T23:01:21.141Z] v2.2.0-dev.13 [2022-05-11T23:01:21.141Z] v2.2.0-dev.14 [2022-05-11T23:01:21.141Z] v2.2.0-dev.15 [2022-05-11T23:01:21.141Z] v2.2.0-dev.16 [2022-05-11T23:01:21.141Z] v2.2.0-dev.17 [2022-05-11T23:01:21.141Z] v2.2.0-dev.18 [2022-05-11T23:01:21.141Z] v2.2.0-dev.2 [2022-05-11T23:01:21.141Z] v2.2.0-dev.3 [2022-05-11T23:01:21.141Z] v2.2.0-dev.4 [2022-05-11T23:01:21.141Z] v2.2.0-dev.5 [2022-05-11T23:01:21.141Z] v2.2.0-dev.6 [2022-05-11T23:01:21.141Z] v2.2.0-dev.7 [2022-05-11T23:01:21.141Z] v2.2.0-dev.8 [2022-05-11T23:01:21.141Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-11T23:01:21.434Z] + lftools sign git-tag v2.2.0 [2022-05-11T23:01:22.006Z] Signing Git tag with Sigul... [2022-05-11T23:01:22.006Z] Signing v2.2.0 [Pipeline] echo [2022-05-11T23:01:22.278Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:22.566Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-11T23:01:22.574Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-11T23:01:22.604Z] $ docker stop --time=1 e293298b29316f0542615068980647b7576d7ed650c8a43b1155913b62852944 [2022-05-11T23:01:23.931Z] $ docker rm -f e293298b29316f0542615068980647b7576d7ed650c8a43b1155913b62852944 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-11T23:01:24.371Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T23:01:24.371Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:01:24.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T23:01:24.672Z] . [Pipeline] withDockerContainer [2022-05-11T23:01:24.744Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T23:01:24.785Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T23:01:25.187Z] $ docker top 6faf12d16b0babd71ecb4f222614f2e959119cd67496aa327521b232f4710066 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T23:01:25.291Z] [edgeXSemver]: ignoring command bump pre because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.18' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T23:01:25.577Z] + git semver [Pipeline] } [2022-05-11T23:01:25.858Z] $ docker stop --time=1 6faf12d16b0babd71ecb4f222614f2e959119cd67496aa327521b232f4710066 [2022-05-11T23:01:27.172Z] $ docker rm -f 6faf12d16b0babd71ecb4f222614f2e959119cd67496aa327521b232f4710066 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-11T23:01:27.522Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-11T23:01:27.522Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:01:27.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-11T23:01:27.823Z] . [Pipeline] withDockerContainer [2022-05-11T23:01:27.894Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T23:01:27.943Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-11T23:01:28.327Z] $ docker top 3577252cbcd2c51cc74663e431413a535fa4468961db0f1da2ba8fa9b5593fab -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-11T23:01:28.428Z] [edgeXSemver]: ignoring command push because GITSEMVER_HEAD_TAG is already set to 'v2.2.0|v2.2.0-dev.18' [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-11T23:01:28.752Z] + git semver [Pipeline] } [2022-05-11T23:01:29.036Z] $ docker stop --time=1 3577252cbcd2c51cc74663e431413a535fa4468961db0f1da2ba8fa9b5593fab [2022-05-11T23:01:30.329Z] $ docker rm -f 3577252cbcd2c51cc74663e431413a535fa4468961db0f1da2ba8fa9b5593fab [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-05-11T23:01:30.917Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-05-11T23:01:30.917Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-11T23:01:30.917Z] total 16 [2022-05-11T23:01:30.917Z] drwxr-xr-x 3 root root 4096 May 11 22:51 . [2022-05-11T23:01:30.917Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 23:01 .. [2022-05-11T23:01:30.917Z] drwxr-xr-x 2 root root 4096 May 11 22:51 cost [2022-05-11T23:01:30.917Z] -rw-r--r-- 1 root root 84 May 11 22:51 cost.csv [2022-05-11T23:01:30.917Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-11T23:01:30.917Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-11T23:01:30.917Z] total 16 [2022-05-11T23:01:30.917Z] drwxr-xr-x 3 jenkins jenkins 4096 May 11 22:51 . [2022-05-11T23:01:30.917Z] drwxrwxr-x 10 jenkins jenkins 4096 May 11 23:01 .. [2022-05-11T23:01:30.917Z] drwxr-xr-x 2 jenkins jenkins 4096 May 11 22:51 cost [2022-05-11T23:01:30.917Z] -rw-r--r-- 1 jenkins jenkins 84 May 11 22:51 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:31.212Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:32.152Z] ---> package-listing.sh [2022-05-11T23:01:32.152Z] ++ facter osfamily [2022-05-11T23:01:32.152Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-11T23:01:32.413Z] + OS_FAMILY=debian [2022-05-11T23:01:32.413Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-05-11T23:01:32.413Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-11T23:01:32.413Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-11T23:01:32.413Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-11T23:01:32.413Z] + PACKAGES=/tmp/packages_start.txt [2022-05-11T23:01:32.413Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-11T23:01:32.413Z] + PACKAGES=/tmp/packages_end.txt [2022-05-11T23:01:32.413Z] + case "${OS_FAMILY}" in [2022-05-11T23:01:32.413Z] + dpkg -l [2022-05-11T23:01:32.413Z] + grep '^ii' [2022-05-11T23:01:32.413Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-11T23:01:32.413Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-11T23:01:32.413Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-11T23:01:32.413Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-11T23:01:32.413Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-05-11T23:01:32.413Z] + 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-05-11T23:01:32.426Z] 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-05-11T23:01:32.708Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-11T23:01:33.262Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-11T23:01:33.262Z] . [Pipeline] withDockerContainer [2022-05-11T23:01:33.327Z] prd-ubuntu20.04-docker-8c-8g-63288 does not seem to be running inside a container [2022-05-11T23:01:33.365Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-11T23:01:33.603Z] $ docker top e231b76fd92bca6de039e236c2a2f9e838c3030ea856172a98abef5d5923ff37 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-11T23:01:33.956Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-11T23:01:34.244Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-11T23:01:34.534Z] + ls /var/log/sa-host [2022-05-11T23:01:34.534Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-11T23:01:34.617Z] provisioning config files... [2022-05-11T23:01:34.626Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2730180067576134479tmp [Pipeline] { [Pipeline] echo [2022-05-11T23:01:34.639Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:34.926Z] ---> create-netrc.sh [Pipeline] } [2022-05-11T23:01:34.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:35.269Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-11T23:01:35.281Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:35.567Z] ---> sudo-logs.sh [2022-05-11T23:01:35.567Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-11T23:01:35.592Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:35.885Z] ---> job-cost.sh [2022-05-11T23:01:35.885Z] lf-activate-venv: SKIPPING [2022-05-11T23:01:35.885Z] DEBUG: total: 0.2199999988079071 [2022-05-11T23:01:35.885Z] INFO: Retrieving Stack Cost... [2022-05-11T23:01:36.457Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-11T23:01:37.030Z] INFO: Archiving Costs [Pipeline] echo [2022-05-11T23:01:37.044Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-11T23:01:37.331Z] ---> logs-deploy.sh [2022-05-11T23:01:37.332Z] lf-activate-venv: SKIPPING [2022-05-11T23:01:37.332Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/41 [2022-05-11T23:01:37.332Z] INFO: archiving workspace using pattern(s): [2022-05-11T23:01:38.275Z] Archives upload complete. [2022-05-11T23:01:38.275Z] INFO: archiving logs to Nexus