Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6db49600d84fbc344f4830d0628105aa21893aeb 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-ssh12250656502424207617.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-ssh6127602577197485269.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/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13534546983356383114.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 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-ssh12545014168169681092.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5966178330146764871.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-568’ Running on prd-ubuntu20.04-docker-8c-8g-570 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 6db49600d84fbc344f4830d0628105aa21893aeb (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 6db49600d84fbc344f4830d0628105aa21893aeb # timeout=10 Commit message: "fix(snap): typo in install hook error log (#192)" > git rev-list --no-walk 92c0cb48aec9e6367c7fc89cd27c50580ba6d44f # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-01T20:35:18.728Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-01T20:35:18.786Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-01T20:35:18.806Z] ========================================================= [2022-06-01T20:35:18.806Z] EdgeX Global Pipelines Version Info [2022-06-01T20:35:18.806Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:35:19.551Z] ------------------- [2022-06-01T20:35:19.551Z] stable info: [2022-06-01T20:35:19.551Z] ------------------- [2022-06-01T20:35:19.551Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T20:35:19.551Z] Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb [2022-06-01T20:35:19.551Z] Message: update stable to v1.0.230 [2022-06-01T20:35:20.124Z] ------------------- [2022-06-01T20:35:20.124Z] experimental info: [2022-06-01T20:35:20.124Z] ------------------- [2022-06-01T20:35:20.124Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-01T20:35:20.124Z] Commit SHA: e2cac8b444d664382c771f5dccbf61e369ddf83e [2022-06-01T20:35:20.124Z] Message: update experimental to v1.0.231 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-01T20:35:20.388Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-01T20:35:20.400Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-01T20:35:20.411Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-01T20:35:20.424Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-01T20:35:20.435Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-01T20:35:20.447Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-01T20:35:20.462Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-01T20:35:20.476Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-01T20:35:20.485Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-01T20:35:20.497Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-01T20:35:20.508Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-01T20:35:20.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-01T20:35:20.530Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-01T20:35:20.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-01T20:35:20.554Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T20:35:20.565Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-01T20:35:20.576Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T20:35:20.593Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-01T20:35:20.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-01T20:35:20.625Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-01T20:35:20.642Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-01T20:35:20.651Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-01T20:35:20.662Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-01T20:35:20.675Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-01T20:35:20.685Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-01T20:35:20.696Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-01T20:35:20.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-01T20:35:20.722Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-01T20:35:20.733Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-01T20:35:20.747Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] echo [2022-06-01T20:35:20.759Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6db4960 [Pipeline] echo [2022-06-01T20:35:20.771Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T20:35:20.807Z] provisioning config files... [2022-06-01T20:35:20.818Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config940739147542394380tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:35:21.147Z] ---> docker-login.sh [2022-06-01T20:35:21.147Z] nexus3.edgexfoundry.org:10001 [2022-06-01T20:35:21.410Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:21.410Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:21.410Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:21.410Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:21.410Z] [2022-06-01T20:35:21.410Z] Login Succeeded [2022-06-01T20:35:21.410Z] nexus3.edgexfoundry.org:10002 [2022-06-01T20:35:21.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:21.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:21.672Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:21.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:21.672Z] [2022-06-01T20:35:21.672Z] Login Succeeded [2022-06-01T20:35:21.672Z] nexus3.edgexfoundry.org:10003 [2022-06-01T20:35:21.672Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:21.672Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:21.672Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:21.672Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:21.672Z] [2022-06-01T20:35:21.672Z] Login Succeeded [2022-06-01T20:35:21.672Z] nexus3.edgexfoundry.org:10004 [2022-06-01T20:35:21.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:21.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:21.932Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:21.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:21.932Z] [2022-06-01T20:35:21.932Z] Login Succeeded [2022-06-01T20:35:21.932Z] docker.io [2022-06-01T20:35:21.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:22.503Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:22.503Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:22.503Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:22.503Z] [2022-06-01T20:35:22.503Z] Login Succeeded [2022-06-01T20:35:22.503Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T20:35:22.511Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-01T20:35:22.877Z] + git rev-list -1 --merges 6db49600d84fbc344f4830d0628105aa21893aeb~1..6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] echo [2022-06-01T20:35:22.907Z] -----------> git rev-list -1 --merges 6db49600d84fbc344f4830d0628105aa21893aeb~1..6db49600d84fbc344f4830d0628105aa21893aeb 6db49600d84fbc344f4830d0628105aa21893aeb [false] [Pipeline] sh [2022-06-01T20:35:23.198Z] + git log --format=format:%s -1 6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] echo [2022-06-01T20:35:23.212Z] ========================================================= [2022-06-01T20:35:23.212Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-01T20:35:23.212Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T20:35:23.540Z] + git log --format=format:%s -1 6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] echo [2022-06-01T20:35:23.552Z] [semverPrep] GIT_COMMIT: 6db49600d84fbc344f4830d0628105aa21893aeb, Commit Message: fix(snap): typo in install hook error log (#192) [Pipeline] echo [2022-06-01T20:35:23.559Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-01T20:35:23.933Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T20:35:23.934Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-01T20:35:23.934Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-01T20:35:23.934Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-01T20:35:23.934Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-01T20:35:23.934Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-01T20:35:23.934Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:35:24.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T20:35:24.276Z] [2022-06-01T20:35:24.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:35:24.581Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T20:35:24.581Z] latest: Pulling from edgex-devops/py-git-semver [2022-06-01T20:35:24.581Z] 1fe172e4850f: Pulling fs layer [2022-06-01T20:35:24.581Z] caf521ccaac6: Pulling fs layer [2022-06-01T20:35:24.581Z] 3ead6fa29328: Pulling fs layer [2022-06-01T20:35:24.581Z] 5c2a1cbceb83: Pulling fs layer [2022-06-01T20:35:24.581Z] a8d5f1318db7: Pulling fs layer [2022-06-01T20:35:24.581Z] c427282e49a2: Pulling fs layer [2022-06-01T20:35:24.581Z] 1827001aaf11: Pulling fs layer [2022-06-01T20:35:24.581Z] 5c2a1cbceb83: Waiting [2022-06-01T20:35:24.581Z] a8d5f1318db7: Waiting [2022-06-01T20:35:24.581Z] c427282e49a2: Waiting [2022-06-01T20:35:24.581Z] 0714d37db230: Pulling fs layer [2022-06-01T20:35:24.581Z] ac28cf19c067: Pulling fs layer [2022-06-01T20:35:24.581Z] ca983d60f3e2: Pulling fs layer [2022-06-01T20:35:24.581Z] 9f894cec8388: Pulling fs layer [2022-06-01T20:35:24.581Z] ac28cf19c067: Waiting [2022-06-01T20:35:24.581Z] 0714d37db230: Waiting [2022-06-01T20:35:24.581Z] 1827001aaf11: Waiting [2022-06-01T20:35:24.581Z] 9f894cec8388: Waiting [2022-06-01T20:35:24.581Z] ca983d60f3e2: Waiting [2022-06-01T20:35:24.581Z] caf521ccaac6: Verifying Checksum [2022-06-01T20:35:24.581Z] caf521ccaac6: Download complete [2022-06-01T20:35:24.581Z] 5c2a1cbceb83: Verifying Checksum [2022-06-01T20:35:24.581Z] 5c2a1cbceb83: Download complete [2022-06-01T20:35:24.841Z] a8d5f1318db7: Verifying Checksum [2022-06-01T20:35:24.841Z] a8d5f1318db7: Download complete [2022-06-01T20:35:24.841Z] 3ead6fa29328: Verifying Checksum [2022-06-01T20:35:24.841Z] 3ead6fa29328: Download complete [2022-06-01T20:35:24.841Z] c427282e49a2: Download complete [2022-06-01T20:35:24.841Z] 0714d37db230: Verifying Checksum [2022-06-01T20:35:24.841Z] 0714d37db230: Download complete [2022-06-01T20:35:24.841Z] ac28cf19c067: Download complete [2022-06-01T20:35:24.841Z] ca983d60f3e2: Verifying Checksum [2022-06-01T20:35:24.841Z] ca983d60f3e2: Download complete [2022-06-01T20:35:24.841Z] 9f894cec8388: Download complete [2022-06-01T20:35:24.841Z] 1fe172e4850f: Verifying Checksum [2022-06-01T20:35:24.841Z] 1fe172e4850f: Download complete [2022-06-01T20:35:25.100Z] 1827001aaf11: Verifying Checksum [2022-06-01T20:35:25.100Z] 1827001aaf11: Download complete [2022-06-01T20:35:26.039Z] 1fe172e4850f: Pull complete [2022-06-01T20:35:26.298Z] caf521ccaac6: Pull complete [2022-06-01T20:35:26.879Z] 3ead6fa29328: Pull complete [2022-06-01T20:35:26.879Z] 5c2a1cbceb83: Pull complete [2022-06-01T20:35:27.141Z] a8d5f1318db7: Pull complete [2022-06-01T20:35:27.141Z] c427282e49a2: Pull complete [2022-06-01T20:35:29.050Z] 1827001aaf11: Pull complete [2022-06-01T20:35:29.050Z] 0714d37db230: Pull complete [2022-06-01T20:35:29.311Z] ac28cf19c067: Pull complete [2022-06-01T20:35:29.311Z] ca983d60f3e2: Pull complete [2022-06-01T20:35:29.311Z] 9f894cec8388: Pull complete [2022-06-01T20:35:29.311Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-06-01T20:35:29.311Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T20:35:29.311Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:35:29.432Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:35:29.476Z] $ 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-06-01T20:35:31.176Z] $ docker top 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b -eo pid,comm [2022-06-01T20:35:31.250Z] 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-06-01T20:35:31.250Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T20:35:31.284Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T20:35:31.284Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T20:35:31.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T20:35:31.408Z] $ docker exec 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b ssh-agent [2022-06-01T20:35:31.532Z] SSH_AUTH_SOCK=/tmp/ssh-m6wfl7ZyAv8z/agent.34 [2022-06-01T20:35:31.532Z] SSH_AGENT_PID=40 [2022-06-01T20:35:31.541Z] Running ssh-add (command line suppressed) [2022-06-01T20:35:31.659Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4731754557521153184.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4731754557521153184.key) [2022-06-01T20:35:31.680Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T20:35:31.971Z] + git tag --points-at HEAD [Pipeline] } [2022-06-01T20:35:31.986Z] $ docker exec --env ******** --env ******** 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b ssh-agent -k [2022-06-01T20:35:32.081Z] unset SSH_AUTH_SOCK; [2022-06-01T20:35:32.081Z] unset SSH_AGENT_PID; [2022-06-01T20:35:32.081Z] echo Agent pid 40 killed; [2022-06-01T20:35:32.089Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-01T20:35:32.116Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T20:35:32.116Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T20:35:32.228Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T20:35:32.234Z] $ docker exec 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b ssh-agent [2022-06-01T20:35:32.339Z] SSH_AUTH_SOCK=/tmp/ssh-CcWTEDx1ixcF/agent.74 [2022-06-01T20:35:32.339Z] SSH_AGENT_PID=81 [2022-06-01T20:35:32.344Z] Running ssh-add (command line suppressed) [2022-06-01T20:35:32.457Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1140873859316510013.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1140873859316510013.key) [2022-06-01T20:35:32.471Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T20:35:32.762Z] + git semver init [2022-06-01T20:35:33.022Z] 2022-06-01 20:35:32,957 [run_init] DEBUG init version:0.0.0 force:False [2022-06-01T20:35:33.022Z] 2022-06-01 20:35:32,958 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-06-01T20:35:33.023Z] 2022-06-01 20:35:32,958 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-06-01T20:35:33.023Z] 2022-06-01 20:35:32,959 [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-06-01T20:35:33.969Z] 2022-06-01 20:35:33,897 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-06-01T20:35:33.969Z] 2022-06-01 20:35:33,897 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-06-01T20:35:33.969Z] 2022-06-01 20:35:33,897 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-01T20:35:33.969Z] 2022-06-01 20:35:33,898 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-01T20:35:33.969Z] 2.2.1-dev.2 [Pipeline] } [2022-06-01T20:35:33.982Z] $ docker exec --env ******** --env ******** 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b ssh-agent -k [2022-06-01T20:35:34.101Z] unset SSH_AUTH_SOCK; [2022-06-01T20:35:34.101Z] unset SSH_AGENT_PID; [2022-06-01T20:35:34.101Z] echo Agent pid 81 killed; [2022-06-01T20:35:34.114Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T20:35:34.427Z] + git semver [Pipeline] } [2022-06-01T20:35:34.704Z] $ docker stop --time=1 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b [2022-06-01T20:35:36.028Z] $ docker rm -f 3081c567ab9aca9f788a78ac6d0f4ae96eb6a08c541478c7b2c3dba5ecacd18b [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T20:35:36.388Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-01T20:35:36.650Z] Stashed 1 file(s) [Pipeline] echo [2022-06-01T20:35:36.653Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T20:35:36.786Z] provisioning config files... [2022-06-01T20:35:36.798Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config175254678802098908tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:35:37.110Z] ---> docker-login.sh [2022-06-01T20:35:37.110Z] nexus3.edgexfoundry.org:10001 [2022-06-01T20:35:37.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:37.110Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:37.110Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:37.110Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:37.110Z] [2022-06-01T20:35:37.110Z] Login Succeeded [2022-06-01T20:35:37.110Z] nexus3.edgexfoundry.org:10002 [2022-06-01T20:35:37.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:37.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:37.371Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:37.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:37.371Z] [2022-06-01T20:35:37.371Z] Login Succeeded [2022-06-01T20:35:37.371Z] nexus3.edgexfoundry.org:10003 [2022-06-01T20:35:37.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:37.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:37.371Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:37.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:37.371Z] [2022-06-01T20:35:37.371Z] Login Succeeded [2022-06-01T20:35:37.371Z] nexus3.edgexfoundry.org:10004 [2022-06-01T20:35:37.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:37.631Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:37.631Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:37.631Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:37.631Z] [2022-06-01T20:35:37.631Z] Login Succeeded [2022-06-01T20:35:37.631Z] docker.io [2022-06-01T20:35:37.631Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:35:37.890Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:35:37.891Z] Configure a credential helper to remove this warning. See [2022-06-01T20:35:37.891Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:35:37.891Z] [2022-06-01T20:35:37.891Z] Login Succeeded [2022-06-01T20:35:37.891Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T20:35:37.897Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T20:35:37.965Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T20:35:37.976Z] ========================================================= [2022-06-01T20:35:37.976Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-01T20:35:37.976Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:35:38.287Z] + 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-06-01T20:35:38.287Z] Sending build context to Docker daemon 10.61MB [2022-06-01T20:35:38.287Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T20:35:38.287Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T20:35:38.287Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-01T20:35:38.287Z] 59bf1c3509f3: Pulling fs layer [2022-06-01T20:35:38.287Z] 666ba61612fd: Pulling fs layer [2022-06-01T20:35:38.287Z] 8ed8ca486205: Pulling fs layer [2022-06-01T20:35:38.287Z] 4fe6c5a15a65: Pulling fs layer [2022-06-01T20:35:38.287Z] 22a0e8bec74d: Pulling fs layer [2022-06-01T20:35:38.287Z] ca2b28591e48: Pulling fs layer [2022-06-01T20:35:38.287Z] a51346096db8: Pulling fs layer [2022-06-01T20:35:38.287Z] daebc70d1ce1: Pulling fs layer [2022-06-01T20:35:38.287Z] 0e18a0eac166: Pulling fs layer [2022-06-01T20:35:38.287Z] 22a0e8bec74d: Waiting [2022-06-01T20:35:38.287Z] daebc70d1ce1: Waiting [2022-06-01T20:35:38.287Z] 0e18a0eac166: Waiting [2022-06-01T20:35:38.287Z] ca2b28591e48: Waiting [2022-06-01T20:35:38.287Z] a51346096db8: Waiting [2022-06-01T20:35:38.287Z] 4fe6c5a15a65: Waiting [2022-06-01T20:35:38.287Z] 8ed8ca486205: Verifying Checksum [2022-06-01T20:35:38.287Z] 8ed8ca486205: Download complete [2022-06-01T20:35:38.287Z] 666ba61612fd: Verifying Checksum [2022-06-01T20:35:38.287Z] 666ba61612fd: Download complete [2022-06-01T20:35:38.548Z] ca2b28591e48: Verifying Checksum [2022-06-01T20:35:38.548Z] ca2b28591e48: Download complete [2022-06-01T20:35:38.548Z] a51346096db8: Download complete [2022-06-01T20:35:38.548Z] 59bf1c3509f3: Download complete [2022-06-01T20:35:38.548Z] daebc70d1ce1: Verifying Checksum [2022-06-01T20:35:38.548Z] 59bf1c3509f3: Pull complete [2022-06-01T20:35:38.809Z] 666ba61612fd: Pull complete [2022-06-01T20:35:38.809Z] 8ed8ca486205: Pull complete [2022-06-01T20:35:39.070Z] 0e18a0eac166: Verifying Checksum [2022-06-01T20:35:39.070Z] 0e18a0eac166: Download complete [2022-06-01T20:35:39.330Z] 4fe6c5a15a65: Download complete [2022-06-01T20:35:43.543Z] 4fe6c5a15a65: Pull complete [2022-06-01T20:35:43.543Z] 22a0e8bec74d: Pull complete [2022-06-01T20:35:43.543Z] ca2b28591e48: Pull complete [2022-06-01T20:35:43.543Z] a51346096db8: Pull complete [2022-06-01T20:35:43.543Z] daebc70d1ce1: Pull complete [2022-06-01T20:35:45.448Z] 0e18a0eac166: Pull complete [2022-06-01T20:35:45.448Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-06-01T20:35:45.448Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-01T20:35:45.448Z] ---> f018257e8ee9 [2022-06-01T20:35:45.448Z] Step 3/12 : ARG MAKE='make build' [2022-06-01T20:35:47.992Z] ---> Running in 3e633b025f53 [2022-06-01T20:35:47.992Z] Removing intermediate container 3e633b025f53 [2022-06-01T20:35:47.992Z] ---> 5eba23e99590 [2022-06-01T20:35:47.992Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T20:35:47.992Z] ---> Running in d1e2489d8e30 [2022-06-01T20:35:47.992Z] Removing intermediate container d1e2489d8e30 [2022-06-01T20:35:47.992Z] ---> 1af59b8f8849 [2022-06-01T20:35:47.992Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T20:35:47.992Z] ---> Running in 38ffcb861c43 [2022-06-01T20:35:47.992Z] Removing intermediate container 38ffcb861c43 [2022-06-01T20:35:47.992Z] ---> a0e560570984 [2022-06-01T20:35:47.992Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T20:35:47.992Z] ---> Running in a26a441a520f [2022-06-01T20:35:48.564Z] Removing intermediate container a26a441a520f [2022-06-01T20:35:48.564Z] ---> e4871961f1ac [2022-06-01T20:35:48.564Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T20:35:48.825Z] ---> Running in c5e31976cddb [2022-06-01T20:35:49.086Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T20:35:50.030Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T20:35:50.292Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T20:35:50.292Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T20:35:50.292Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T20:35:50.551Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T20:35:50.551Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T20:35:50.551Z] OK: 224 MiB in 56 packages [2022-06-01T20:35:51.120Z] Removing intermediate container c5e31976cddb [2022-06-01T20:35:51.120Z] ---> a72ab794fb87 [2022-06-01T20:35:51.120Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-01T20:35:51.120Z] ---> Running in f38790c06b4f [2022-06-01T20:35:51.120Z] Removing intermediate container f38790c06b4f [2022-06-01T20:35:51.120Z] ---> 999ffe00dedb [2022-06-01T20:35:51.120Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-01T20:35:51.380Z] ---> bfe5d79c236c [2022-06-01T20:35:51.380Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T20:35:51.380Z] ---> Running in 1fb53e428ffb [2022-06-01T20:35:51.756Z] Still waiting to schedule task [2022-06-01T20:35:51.756Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-569’ [2022-06-01T20:36:09.497Z] Removing intermediate container 1fb53e428ffb [2022-06-01T20:36:09.497Z] ---> c41c4c004fa8 [2022-06-01T20:36:09.497Z] Step 11/12 : COPY . . [2022-06-01T20:36:09.497Z] ---> 6e8825310ebd [2022-06-01T20:36:09.497Z] Step 12/12 : RUN $MAKE [2022-06-01T20:36:09.497Z] ---> Running in efc3dc658010 [2022-06-01T20:36:09.497Z] noop [2022-06-01T20:36:09.497Z] Removing intermediate container efc3dc658010 [2022-06-01T20:36:09.497Z] ---> 9ddb1ef32c98 [2022-06-01T20:36:09.497Z] Successfully built 9ddb1ef32c98 [2022-06-01T20:36:09.497Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:36:09.822Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T20:36:09.823Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:36:09.904Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:36:09.944Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-01T20:36:10.333Z] $ docker top e6a7154d9eea71dac5b2ba5e7a8198f6afed8a965b0540ed48c03b415f3c93e9 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T20:36:10.690Z] + go version [2022-06-01T20:36:10.691Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-06-01T20:36:10.704Z] $ docker stop --time=1 e6a7154d9eea71dac5b2ba5e7a8198f6afed8a965b0540ed48c03b415f3c93e9 [2022-06-01T20:36:11.973Z] $ docker rm -f e6a7154d9eea71dac5b2ba5e7a8198f6afed8a965b0540ed48c03b415f3c93e9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:36:12.392Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-01T20:36:12.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:36:12.488Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:36:12.559Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-01T20:36:12.948Z] $ docker top 1749415d9c6022f8a99e4291f6b05cf39da16e93e47453063c65ea11d57dade5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T20:36:13.324Z] + make test [2022-06-01T20:36:13.324Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-01T20:36:13.584Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-01T20:36:23.564Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-01T20:36:23.564Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-06-01T20:36:28.832Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T20:36:33.026Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T20:36:33.026Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T20:36:33.026Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-01T20:36:33.038Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-01T20:36:33.051Z] $ docker stop --time=1 1749415d9c6022f8a99e4291f6b05cf39da16e93e47453063c65ea11d57dade5 [2022-06-01T20:36:34.939Z] $ docker rm -f 1749415d9c6022f8a99e4291f6b05cf39da16e93e47453063c65ea11d57dade5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T20:36:35.373Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T20:36:35.412Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-01T20:36:35.960Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T20:36:36.247Z] + ls -al . [2022-06-01T20:36:36.247Z] total 172 [2022-06-01T20:36:36.247Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 1 20:36 . [2022-06-01T20:36:36.247Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:35 .. [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 20:35 .dockerignore [2022-06-01T20:36:36.247Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:35 .git [2022-06-01T20:36:36.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:35 .github [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 1 20:35 .gitignore [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 1 20:35 .golangci.yml [2022-06-01T20:36:36.247Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 20:35 .semver [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 1 20:35 Attribution.txt [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 1 20:35 CHANGELOG.md [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 1 20:35 Dockerfile [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 20:35 GOVERNANCE.md [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 20:35 Jenkinsfile [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 20:35 LICENSE [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 1 20:35 Makefile [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 20:35 OWNERS.md [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 1 20:35 README.md [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 20:35 VERSION [2022-06-01T20:36:36.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:35 bin [2022-06-01T20:36:36.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:35 cmd [2022-06-01T20:36:36.247Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 1 20:36 coverage.out [2022-06-01T20:36:36.247Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:35 driver [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 1 20:35 go.mod [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 34802 Jun 1 20:35 go.sum [2022-06-01T20:36:36.247Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:35 snap [2022-06-01T20:36:36.247Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 20:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:36:36.560Z] + 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=6db49600d84fbc344f4830d0628105aa21893aeb --label arch=amd64 --label version=2.2.1-dev.2 . [2022-06-01T20:36:36.560Z] Sending build context to Docker daemon 10.62MB [2022-06-01T20:36:36.560Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T20:36:36.560Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-01T20:36:36.560Z] ---> 9ddb1ef32c98 [2022-06-01T20:36:36.560Z] Step 3/25 : ARG MAKE='make build' [2022-06-01T20:36:36.819Z] ---> Running in 845b90a7e78c [2022-06-01T20:36:36.819Z] Removing intermediate container 845b90a7e78c [2022-06-01T20:36:36.819Z] ---> f1f66fa6c258 [2022-06-01T20:36:36.819Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T20:36:36.819Z] ---> Running in 6cd277ef686c [2022-06-01T20:36:36.819Z] Removing intermediate container 6cd277ef686c [2022-06-01T20:36:36.819Z] ---> cfea6c271e55 [2022-06-01T20:36:36.819Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T20:36:37.079Z] ---> Running in e2eb9da2a859 [2022-06-01T20:36:37.079Z] Removing intermediate container e2eb9da2a859 [2022-06-01T20:36:37.079Z] ---> ba97159f25d8 [2022-06-01T20:36:37.079Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T20:36:37.079Z] ---> Running in f1ec3c32a8c6 [2022-06-01T20:36:37.652Z] Removing intermediate container f1ec3c32a8c6 [2022-06-01T20:36:37.652Z] ---> db8207a620af [2022-06-01T20:36:37.652Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T20:36:37.652Z] ---> Running in 36a443fa6e7a [2022-06-01T20:36:38.221Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-01T20:36:38.790Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-01T20:36:39.050Z] OK: 224 MiB in 56 packages [2022-06-01T20:36:39.619Z] Removing intermediate container 36a443fa6e7a [2022-06-01T20:36:39.619Z] ---> b52c4cce0f6e [2022-06-01T20:36:39.619Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-01T20:36:39.619Z] ---> Running in cec52d7636b1 [2022-06-01T20:36:39.619Z] Removing intermediate container cec52d7636b1 [2022-06-01T20:36:39.619Z] ---> 450a25209595 [2022-06-01T20:36:39.619Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-01T20:36:39.878Z] ---> 6c3781ead3bb [2022-06-01T20:36:39.878Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T20:36:39.878Z] ---> Running in 99b4d12793af [2022-06-01T20:36:40.449Z] Removing intermediate container 99b4d12793af [2022-06-01T20:36:40.449Z] ---> ec59ed73a93e [2022-06-01T20:36:40.449Z] Step 11/25 : COPY . . [2022-06-01T20:36:41.017Z] ---> 94d5f8c12ffe [2022-06-01T20:36:41.017Z] Step 12/25 : RUN $MAKE [2022-06-01T20:36:41.017Z] ---> Running in 2244c8a0c3d7 [2022-06-01T20:36:41.277Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-01T20:37:03.239Z] Removing intermediate container 2244c8a0c3d7 [2022-06-01T20:37:03.239Z] ---> 85ab0401ac09 [2022-06-01T20:37:03.239Z] Step 13/25 : FROM alpine:3.14 [2022-06-01T20:37:03.239Z] 3.14: Pulling from library/alpine [2022-06-01T20:37:03.239Z] 8663204ce13b: Pulling fs layer [2022-06-01T20:37:03.239Z] 8663204ce13b: Verifying Checksum [2022-06-01T20:37:03.239Z] 8663204ce13b: Download complete [2022-06-01T20:37:03.239Z] 8663204ce13b: Pull complete [2022-06-01T20:37:03.239Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T20:37:03.239Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T20:37:03.239Z] ---> e04c818066af [2022-06-01T20:37:03.239Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-01T20:37:03.239Z] ---> Running in 6a2fc8087a44 [2022-06-01T20:37:03.239Z] Removing intermediate container 6a2fc8087a44 [2022-06-01T20:37:03.239Z] ---> 15de6dccafc1 [2022-06-01T20:37:03.239Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-01T20:37:03.239Z] ---> Running in 412c11414347 [2022-06-01T20:37:03.239Z] Removing intermediate container 412c11414347 [2022-06-01T20:37:03.239Z] ---> 369948da29b2 [2022-06-01T20:37:03.239Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T20:37:03.239Z] ---> Running in e03b2c5c7dac [2022-06-01T20:37:03.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-01T20:37:03.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-01T20:37:03.239Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T20:37:03.239Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T20:37:03.239Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T20:37:03.239Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T20:37:03.239Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T20:37:03.239Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T20:37:03.239Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T20:37:03.239Z] OK: 8 MiB in 20 packages [2022-06-01T20:37:03.239Z] Removing intermediate container e03b2c5c7dac [2022-06-01T20:37:03.239Z] ---> 576ac0d85610 [2022-06-01T20:37:03.239Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-01T20:37:03.239Z] ---> c40e031a46b5 [2022-06-01T20:37:03.239Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-01T20:37:03.499Z] ---> d4b13b47d869 [2022-06-01T20:37:03.499Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-01T20:37:03.499Z] ---> c8f4cd5ce1fb [2022-06-01T20:37:03.499Z] Step 20/25 : EXPOSE 59986 [2022-06-01T20:37:03.499Z] ---> Running in 0e20247b105b [2022-06-01T20:37:03.761Z] Removing intermediate container 0e20247b105b [2022-06-01T20:37:03.761Z] ---> a7ae21684c16 [2022-06-01T20:37:03.761Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-01T20:37:03.761Z] ---> Running in a240fe90f548 [2022-06-01T20:37:03.761Z] Removing intermediate container a240fe90f548 [2022-06-01T20:37:03.761Z] ---> 9ce21bf1e030 [2022-06-01T20:37:03.761Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-01T20:37:03.761Z] ---> Running in b9e5e31c8dd3 [2022-06-01T20:37:04.020Z] Removing intermediate container b9e5e31c8dd3 [2022-06-01T20:37:04.020Z] ---> 463e4f75986b [2022-06-01T20:37:04.020Z] Step 23/25 : LABEL arch=amd64 [2022-06-01T20:37:04.020Z] ---> Running in a2e7f7e5b0a7 [2022-06-01T20:37:04.020Z] Removing intermediate container a2e7f7e5b0a7 [2022-06-01T20:37:04.020Z] ---> c462a1f85941 [2022-06-01T20:37:04.020Z] Step 24/25 : LABEL git_sha=6db49600d84fbc344f4830d0628105aa21893aeb [2022-06-01T20:37:04.020Z] ---> Running in b38fea79090e [2022-06-01T20:37:04.285Z] Removing intermediate container b38fea79090e [2022-06-01T20:37:04.285Z] ---> 81a364623941 [2022-06-01T20:37:04.285Z] Step 25/25 : LABEL version=2.2.1-dev.2 [2022-06-01T20:37:04.285Z] ---> Running in b00511c934b1 [2022-06-01T20:37:04.285Z] Removing intermediate container b00511c934b1 [2022-06-01T20:37:04.285Z] ---> 2932a9431774 [2022-06-01T20:37:04.285Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T20:37:04.285Z] Successfully built 2932a9431774 [2022-06-01T20:37:04.285Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T20:37:04.376Z] provisioning config files... [2022-06-01T20:37:04.385Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config743226661115184334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:37:04.683Z] ---> docker-login.sh [2022-06-01T20:37:04.683Z] nexus3.edgexfoundry.org:10001 [2022-06-01T20:37:04.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:37:04.683Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:37:04.683Z] Configure a credential helper to remove this warning. See [2022-06-01T20:37:04.683Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:37:04.683Z] [2022-06-01T20:37:04.683Z] Login Succeeded [2022-06-01T20:37:04.683Z] nexus3.edgexfoundry.org:10002 [2022-06-01T20:37:04.683Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:37:04.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:37:04.944Z] Configure a credential helper to remove this warning. See [2022-06-01T20:37:04.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:37:04.944Z] [2022-06-01T20:37:04.944Z] Login Succeeded [2022-06-01T20:37:04.944Z] nexus3.edgexfoundry.org:10003 [2022-06-01T20:37:04.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:37:04.944Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:37:04.944Z] Configure a credential helper to remove this warning. See [2022-06-01T20:37:04.944Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:37:04.944Z] [2022-06-01T20:37:04.944Z] Login Succeeded [2022-06-01T20:37:04.944Z] nexus3.edgexfoundry.org:10004 [2022-06-01T20:37:04.944Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:37:05.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:37:05.205Z] Configure a credential helper to remove this warning. See [2022-06-01T20:37:05.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:37:05.205Z] [2022-06-01T20:37:05.205Z] Login Succeeded [2022-06-01T20:37:05.205Z] docker.io [2022-06-01T20:37:05.205Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:37:05.467Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:37:05.467Z] Configure a credential helper to remove this warning. See [2022-06-01T20:37:05.467Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:37:05.467Z] [2022-06-01T20:37:05.467Z] Login Succeeded [2022-06-01T20:37:05.467Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T20:37:05.476Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T20:37:05.504Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T20:37:05.524Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-06-01T20:37:05.524Z] 6db49600d84fbc344f4830d0628105aa21893aeb [2022-06-01T20:37:05.524Z] latest [2022-06-01T20:37:05.524Z] 2.2.1-dev.2 [2022-06-01T20:37:05.524Z] 6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [2022-06-01T20:37:05.524Z] main [2022-06-01T20:37:05.524Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:05.932Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:06.246Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb [2022-06-01T20:37:06.246Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-01T20:37:06.246Z] 03cb662b1fc7: Preparing [2022-06-01T20:37:06.246Z] 7f2898701f8c: Preparing [2022-06-01T20:37:06.246Z] 4780e9af26f4: Preparing [2022-06-01T20:37:06.246Z] 70094703469d: Preparing [2022-06-01T20:37:06.246Z] b541d28bf3b4: Preparing [2022-06-01T20:37:06.246Z] b541d28bf3b4: Layer already exists [2022-06-01T20:37:06.246Z] 7f2898701f8c: Pushed [2022-06-01T20:37:06.246Z] 03cb662b1fc7: Pushed [2022-06-01T20:37:06.506Z] 70094703469d: Pushed [2022-06-01T20:37:09.052Z] 4780e9af26f4: Pushed [2022-06-01T20:37:09.314Z] 6db49600d84fbc344f4830d0628105aa21893aeb: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:09.644Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:09.954Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-06-01T20:37:09.954Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-01T20:37:09.954Z] 03cb662b1fc7: Preparing [2022-06-01T20:37:09.954Z] 7f2898701f8c: Preparing [2022-06-01T20:37:09.954Z] 4780e9af26f4: Preparing [2022-06-01T20:37:09.954Z] 70094703469d: Preparing [2022-06-01T20:37:09.954Z] b541d28bf3b4: Preparing [2022-06-01T20:37:09.954Z] 4780e9af26f4: Layer already exists [2022-06-01T20:37:09.954Z] 7f2898701f8c: Layer already exists [2022-06-01T20:37:09.954Z] 70094703469d: Layer already exists [2022-06-01T20:37:09.954Z] 03cb662b1fc7: Layer already exists [2022-06-01T20:37:09.954Z] b541d28bf3b4: Layer already exists [2022-06-01T20:37:09.954Z] latest: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:10.269Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:10.580Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.2 [2022-06-01T20:37:10.580Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-01T20:37:10.580Z] 03cb662b1fc7: Preparing [2022-06-01T20:37:10.580Z] 7f2898701f8c: Preparing [2022-06-01T20:37:10.580Z] 4780e9af26f4: Preparing [2022-06-01T20:37:10.580Z] 70094703469d: Preparing [2022-06-01T20:37:10.580Z] b541d28bf3b4: Preparing [2022-06-01T20:37:10.580Z] 70094703469d: Layer already exists [2022-06-01T20:37:10.580Z] 7f2898701f8c: Layer already exists [2022-06-01T20:37:10.580Z] 03cb662b1fc7: Layer already exists [2022-06-01T20:37:10.580Z] 4780e9af26f4: Layer already exists [2022-06-01T20:37:10.580Z] b541d28bf3b4: Layer already exists [2022-06-01T20:37:10.580Z] 2.2.1-dev.2: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:10.896Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:11.212Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [2022-06-01T20:37:11.212Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-01T20:37:11.212Z] 03cb662b1fc7: Preparing [2022-06-01T20:37:11.212Z] 7f2898701f8c: Preparing [2022-06-01T20:37:11.212Z] 4780e9af26f4: Preparing [2022-06-01T20:37:11.212Z] 70094703469d: Preparing [2022-06-01T20:37:11.212Z] b541d28bf3b4: Preparing [2022-06-01T20:37:11.212Z] b541d28bf3b4: Layer already exists [2022-06-01T20:37:11.212Z] 7f2898701f8c: Layer already exists [2022-06-01T20:37:11.212Z] 70094703469d: Layer already exists [2022-06-01T20:37:11.212Z] 4780e9af26f4: Layer already exists [2022-06-01T20:37:11.212Z] 03cb662b1fc7: Layer already exists [2022-06-01T20:37:11.212Z] 6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:11.546Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:11.861Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-06-01T20:37:11.861Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-01T20:37:11.861Z] 03cb662b1fc7: Preparing [2022-06-01T20:37:11.861Z] 7f2898701f8c: Preparing [2022-06-01T20:37:11.861Z] 4780e9af26f4: Preparing [2022-06-01T20:37:11.861Z] 70094703469d: Preparing [2022-06-01T20:37:11.861Z] b541d28bf3b4: Preparing [2022-06-01T20:37:11.861Z] 4780e9af26f4: Layer already exists [2022-06-01T20:37:11.861Z] 70094703469d: Layer already exists [2022-06-01T20:37:11.861Z] 7f2898701f8c: Layer already exists [2022-06-01T20:37:11.861Z] 03cb662b1fc7: Layer already exists [2022-06-01T20:37:11.861Z] b541d28bf3b4: Layer already exists [2022-06-01T20:37:11.861Z] main: digest: sha256:bc1c0a62e5b298377aba8fb7fb15e44e4041b1d0f8f69195a7b88f3fb415d0b1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T20:37:11.912Z] ===================================================== [Pipeline] echo [2022-06-01T20:37:11.924Z] taggedImages: [2022-06-01T20:37:11.924Z] - nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb [2022-06-01T20:37:11.924Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-06-01T20:37:11.924Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.2 [2022-06-01T20:37:11.924Z] - nexus3.edgexfoundry.org:10004/device-rest:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [2022-06-01T20:37:11.924Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:12.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T20:37:12.350Z] [2022-06-01T20:37:12.350Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:37:12.697Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T20:37:12.697Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-01T20:37:12.697Z] 5eb5b503b376: Pulling fs layer [2022-06-01T20:37:12.697Z] 5c69ac0246d0: Pulling fs layer [2022-06-01T20:37:12.697Z] ec43610c2a17: Pulling fs layer [2022-06-01T20:37:12.697Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-01T20:37:12.697Z] 33b1e0a273af: Pulling fs layer [2022-06-01T20:37:12.697Z] 5d3b04190fa2: Pulling fs layer [2022-06-01T20:37:12.697Z] 2f39f015ded8: Pulling fs layer [2022-06-01T20:37:12.697Z] 3a2ae6a8a46f: Waiting [2022-06-01T20:37:12.697Z] 33b1e0a273af: Waiting [2022-06-01T20:37:12.697Z] 2f39f015ded8: Waiting [2022-06-01T20:37:12.697Z] 5c69ac0246d0: Download complete [2022-06-01T20:37:12.697Z] 3a2ae6a8a46f: Download complete [2022-06-01T20:37:12.697Z] 33b1e0a273af: Verifying Checksum [2022-06-01T20:37:12.697Z] 33b1e0a273af: Download complete [2022-06-01T20:37:12.957Z] ec43610c2a17: Verifying Checksum [2022-06-01T20:37:12.957Z] ec43610c2a17: Download complete [2022-06-01T20:37:12.957Z] 5d3b04190fa2: Verifying Checksum [2022-06-01T20:37:12.957Z] 5d3b04190fa2: Download complete [2022-06-01T20:37:12.957Z] 5eb5b503b376: Verifying Checksum [2022-06-01T20:37:12.957Z] 5eb5b503b376: Download complete [2022-06-01T20:37:13.527Z] 2f39f015ded8: Download complete [2022-06-01T20:37:14.095Z] 5eb5b503b376: Pull complete [2022-06-01T20:37:14.353Z] 5c69ac0246d0: Pull complete [2022-06-01T20:37:14.923Z] ec43610c2a17: Pull complete [2022-06-01T20:37:14.923Z] 3a2ae6a8a46f: Pull complete [2022-06-01T20:37:14.923Z] 33b1e0a273af: Pull complete [2022-06-01T20:37:15.182Z] 5d3b04190fa2: Pull complete [2022-06-01T20:37:19.374Z] 2f39f015ded8: Pull complete [2022-06-01T20:37:19.374Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-01T20:37:19.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T20:37:19.374Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:37:19.461Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:37:19.499Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T20:37:21.724Z] $ docker top 4ed058417fff3e9e3d696a13e900978fbf8f6723886e40f9b757246a28674758 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:37:22.106Z] ---> job-cost.sh [2022-06-01T20:37:22.107Z] lf-activate-venv: SKIPPING [2022-06-01T20:37:22.107Z] INFO: No Stack... [2022-06-01T20:37:22.678Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T20:37:22.940Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T20:37:23.230Z] + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-06-01T20:37:23.231Z] cut -d, -f6 [Pipeline] lock [2022-06-01T20:37:23.247Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [2022-06-01T20:37:23.258Z] Resource [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] did not exist. Created. [2022-06-01T20:37:23.258Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T20:37:23.562Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-01T20:37:23.584Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T20:37:23.591Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T20:37:23.615Z] $ docker stop --time=1 4ed058417fff3e9e3d696a13e900978fbf8f6723886e40f9b757246a28674758 [2022-06-01T20:37:24.774Z] $ docker rm -f 4ed058417fff3e9e3d696a13e900978fbf8f6723886e40f9b757246a28674758 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-01T20:38:56.803Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-571 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-06-01T20:38:56.817Z] Running in /w/workspace/device-rest-go/43 [Pipeline] { [Pipeline] checkout [2022-06-01T20:38:56.860Z] The recommended git tool is: git [2022-06-01T20:39:04.153Z] using credential edgex-jenkins-ssh [2022-06-01T20:39:04.174Z] Cloning the remote Git repository [2022-06-01T20:39:04.224Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T20:39:04.305Z] > git init /w/workspace/device-rest-go/43 # timeout=10 [2022-06-01T20:39:04.423Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-01T20:39:04.424Z] > git --version # timeout=10 [2022-06-01T20:39:04.442Z] > git --version # 'git version 2.25.1' [2022-06-01T20:39:04.444Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-01T20:39:04.550Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T20:39:06.309Z] Avoid second fetch [2022-06-01T20:39:06.310Z] Checking out Revision 6db49600d84fbc344f4830d0628105aa21893aeb (main) [2022-06-01T20:39:06.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-01T20:39:06.287Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-01T20:39:06.332Z] > git config core.sparsecheckout # timeout=10 [2022-06-01T20:39:06.348Z] > git checkout -f 6db49600d84fbc344f4830d0628105aa21893aeb # timeout=10 [2022-06-01T20:39:10.870Z] Commit message: "fix(snap): typo in install hook error log (#192)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T20:39:11.722Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-01T20:39:11.722Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T20:39:11.722Z] Dload Upload Total Spent Left Speed [2022-06-01T20:39:11.722Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 84503 [Pipeline] sh [2022-06-01T20:39:12.434Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-01T20:39:12.779Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-01T20:39:12.779Z] + sudo tee /etc/docker/daemon.new [2022-06-01T20:39:12.779Z] { [2022-06-01T20:39:12.779Z] "registry-mirrors": [ [2022-06-01T20:39:12.779Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-01T20:39:12.779Z] ], [2022-06-01T20:39:12.779Z] "bip": "10.250.0.254/24", [2022-06-01T20:39:12.779Z] "hosts": [ [2022-06-01T20:39:12.779Z] "tcp://0.0.0.0:5555", [2022-06-01T20:39:12.779Z] "unix:///var/run/docker.sock" [2022-06-01T20:39:12.779Z] ], [2022-06-01T20:39:12.779Z] "mtu": 1458, [2022-06-01T20:39:12.779Z] "selinux-enabled": true, [2022-06-01T20:39:12.779Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-01T20:39:12.779Z] } [Pipeline] sh [2022-06-01T20:39:13.133Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-01T20:39:13.473Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T20:39:31.868Z] provisioning config files... [2022-06-01T20:39:31.894Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config2259436815100044696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:39:32.248Z] ---> docker-login.sh [2022-06-01T20:39:32.248Z] nexus3.edgexfoundry.org:10001 [2022-06-01T20:39:32.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:39:33.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:39:33.130Z] Configure a credential helper to remove this warning. See [2022-06-01T20:39:33.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:39:33.130Z] [2022-06-01T20:39:33.130Z] Login Succeeded [2022-06-01T20:39:33.130Z] nexus3.edgexfoundry.org:10002 [2022-06-01T20:39:33.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:39:33.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:39:33.407Z] Configure a credential helper to remove this warning. See [2022-06-01T20:39:33.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:39:33.407Z] [2022-06-01T20:39:33.407Z] Login Succeeded [2022-06-01T20:39:33.407Z] nexus3.edgexfoundry.org:10003 [2022-06-01T20:39:33.696Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:39:33.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:39:33.972Z] Configure a credential helper to remove this warning. See [2022-06-01T20:39:33.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:39:33.972Z] [2022-06-01T20:39:33.972Z] Login Succeeded [2022-06-01T20:39:33.972Z] nexus3.edgexfoundry.org:10004 [2022-06-01T20:39:34.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:39:34.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:39:34.531Z] Configure a credential helper to remove this warning. See [2022-06-01T20:39:34.531Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:39:34.531Z] [2022-06-01T20:39:34.531Z] Login Succeeded [2022-06-01T20:39:34.531Z] docker.io [2022-06-01T20:39:34.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:39:35.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:39:35.076Z] Configure a credential helper to remove this warning. See [2022-06-01T20:39:35.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:39:35.076Z] [2022-06-01T20:39:35.076Z] Login Succeeded [2022-06-01T20:39:35.076Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T20:39:35.094Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-01T20:39:35.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T20:39:35.640Z] ========================================================= [2022-06-01T20:39:35.640Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-01T20:39:35.640Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:39:36.021Z] + 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-06-01T20:39:36.021Z] Sending build context to Docker daemon 128.5kB [2022-06-01T20:39:36.301Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T20:39:36.301Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-01T20:39:36.578Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-01T20:39:36.579Z] 9b3977197b4f: Pulling fs layer [2022-06-01T20:39:36.579Z] 1a89e8eeedd5: Pulling fs layer [2022-06-01T20:39:36.579Z] 94645a83ff95: Pulling fs layer [2022-06-01T20:39:36.579Z] 3f3a8bcf1eab: Pulling fs layer [2022-06-01T20:39:36.579Z] 0c92f367c5e7: Pulling fs layer [2022-06-01T20:39:36.579Z] 3096ccb668a1: Pulling fs layer [2022-06-01T20:39:36.579Z] e8cf19c19ddd: Pulling fs layer [2022-06-01T20:39:36.579Z] a4caa8a26152: Pulling fs layer [2022-06-01T20:39:36.579Z] 3096ccb668a1: Waiting [2022-06-01T20:39:36.579Z] e8cf19c19ddd: Waiting [2022-06-01T20:39:36.579Z] 3f3a8bcf1eab: Waiting [2022-06-01T20:39:36.579Z] a4caa8a26152: Waiting [2022-06-01T20:39:36.579Z] 0c92f367c5e7: Waiting [2022-06-01T20:39:36.579Z] 94645a83ff95: Verifying Checksum [2022-06-01T20:39:36.579Z] 94645a83ff95: Download complete [2022-06-01T20:39:36.579Z] 1a89e8eeedd5: Verifying Checksum [2022-06-01T20:39:36.579Z] 1a89e8eeedd5: Download complete [2022-06-01T20:39:36.579Z] 0c92f367c5e7: Verifying Checksum [2022-06-01T20:39:36.579Z] 0c92f367c5e7: Download complete [2022-06-01T20:39:36.579Z] 3096ccb668a1: Verifying Checksum [2022-06-01T20:39:36.579Z] 3096ccb668a1: Download complete [2022-06-01T20:39:36.579Z] 9b3977197b4f: Verifying Checksum [2022-06-01T20:39:36.579Z] e8cf19c19ddd: Verifying Checksum [2022-06-01T20:39:36.579Z] e8cf19c19ddd: Download complete [2022-06-01T20:39:37.184Z] 9b3977197b4f: Pull complete [2022-06-01T20:39:37.788Z] 1a89e8eeedd5: Pull complete [2022-06-01T20:39:38.389Z] 94645a83ff95: Pull complete [2022-06-01T20:39:38.665Z] a4caa8a26152: Verifying Checksum [2022-06-01T20:39:38.665Z] a4caa8a26152: Download complete [2022-06-01T20:39:39.266Z] 3f3a8bcf1eab: Verifying Checksum [2022-06-01T20:39:39.266Z] 3f3a8bcf1eab: Download complete [2022-06-01T20:39:51.674Z] 3f3a8bcf1eab: Pull complete [2022-06-01T20:39:51.674Z] 0c92f367c5e7: Pull complete [2022-06-01T20:39:51.674Z] 3096ccb668a1: Pull complete [2022-06-01T20:39:51.949Z] e8cf19c19ddd: Pull complete [2022-06-01T20:39:58.665Z] a4caa8a26152: Pull complete [2022-06-01T20:39:58.665Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-06-01T20:39:58.665Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-01T20:39:58.665Z] ---> 725f1c02e7f9 [2022-06-01T20:39:58.665Z] Step 3/12 : ARG MAKE='make build' [2022-06-01T20:39:59.649Z] ---> Running in 90728d45d2c2 [2022-06-01T20:39:59.649Z] Removing intermediate container 90728d45d2c2 [2022-06-01T20:39:59.649Z] ---> 48bdf4619610 [2022-06-01T20:39:59.649Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T20:39:59.922Z] ---> Running in 4a450d835404 [2022-06-01T20:40:00.198Z] Removing intermediate container 4a450d835404 [2022-06-01T20:40:00.198Z] ---> 3b4f188e99b1 [2022-06-01T20:40:00.198Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T20:40:00.198Z] ---> Running in b7c846670589 [2022-06-01T20:40:00.487Z] Removing intermediate container b7c846670589 [2022-06-01T20:40:00.487Z] ---> 95a9e9e67a67 [2022-06-01T20:40:00.487Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T20:40:00.487Z] ---> Running in 7e51c5879ace [2022-06-01T20:40:02.500Z] Removing intermediate container 7e51c5879ace [2022-06-01T20:40:02.500Z] ---> 875cf74da21c [2022-06-01T20:40:02.500Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T20:40:02.500Z] ---> Running in c1e15b63f1c4 [2022-06-01T20:40:03.491Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T20:40:04.081Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T20:40:05.061Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-01T20:40:05.062Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-01T20:40:05.062Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-01T20:40:05.341Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-01T20:40:05.618Z] Executing busybox-1.34.1-r3.trigger [2022-06-01T20:40:05.618Z] OK: 224 MiB in 56 packages [2022-06-01T20:40:07.053Z] Removing intermediate container c1e15b63f1c4 [2022-06-01T20:40:07.053Z] ---> 4a9bc18a5ef4 [2022-06-01T20:40:07.053Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-01T20:40:07.053Z] ---> Running in f090d3015166 [2022-06-01T20:40:07.328Z] Removing intermediate container f090d3015166 [2022-06-01T20:40:07.328Z] ---> 6c37f35c4f8d [2022-06-01T20:40:07.328Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-01T20:40:07.930Z] ---> e818e57d198d [2022-06-01T20:40:07.930Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T20:40:07.930Z] ---> Running in 8c5ac99c4460 [2022-06-01T20:40:54.947Z] Removing intermediate container 8c5ac99c4460 [2022-06-01T20:40:54.947Z] ---> 5fb11ed6f386 [2022-06-01T20:40:54.947Z] Step 11/12 : COPY . . [2022-06-01T20:40:54.947Z] ---> ce7b4363bfdf [2022-06-01T20:40:54.947Z] Step 12/12 : RUN $MAKE [2022-06-01T20:40:54.947Z] ---> Running in bbc5d59f5f04 [2022-06-01T20:40:54.947Z] noop [2022-06-01T20:40:54.947Z] Removing intermediate container bbc5d59f5f04 [2022-06-01T20:40:54.947Z] ---> 701468f335b2 [2022-06-01T20:40:54.947Z] Successfully built 701468f335b2 [2022-06-01T20:40:54.947Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:40:55.307Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T20:40:55.307Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:40:55.527Z] prd-ubuntu20.04-docker-arm64-4c-16g-571 does not seem to be running inside a container [2022-06-01T20:40:55.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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-arm64 cat [2022-06-01T20:40:56.850Z] $ docker top 0ce5980f32f30d30ac9a884f5a976de8daf032d76b462a6fd6dd7a3fc5b0a16b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T20:40:57.738Z] + go version [2022-06-01T20:40:57.738Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-06-01T20:40:57.769Z] $ docker stop --time=1 0ce5980f32f30d30ac9a884f5a976de8daf032d76b462a6fd6dd7a3fc5b0a16b [2022-06-01T20:40:59.368Z] $ docker rm -f 0ce5980f32f30d30ac9a884f5a976de8daf032d76b462a6fd6dd7a3fc5b0a16b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:40:59.962Z] + docker inspect -f . ci-base-image-arm64 [2022-06-01T20:40:59.962Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:41:00.199Z] prd-ubuntu20.04-docker-arm64-4c-16g-571 does not seem to be running inside a container [2022-06-01T20:41:00.285Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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-arm64 cat [2022-06-01T20:41:01.489Z] $ docker top e1c42a5733540b5c63426965fe557dd46bbb14b9a6ca626d3c7bc3884bfdd0ca -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-01T20:41:02.389Z] + make test [2022-06-01T20:41:02.389Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-01T20:41:03.832Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-01T20:42:25.699Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-01T20:42:25.699Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 55.2% of statements [2022-06-01T20:42:25.699Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-01T20:42:25.699Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-01T20:42:47.900Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-01T20:42:47.900Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-01T20:42:47.900Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-01T20:42:50.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-01T20:42:50.562Z] $ docker stop --time=1 e1c42a5733540b5c63426965fe557dd46bbb14b9a6ca626d3c7bc3884bfdd0ca [2022-06-01T20:42:52.322Z] $ docker rm -f e1c42a5733540b5c63426965fe557dd46bbb14b9a6ca626d3c7bc3884bfdd0ca [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T20:42:53.276Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-01T20:42:53.303Z] Warning: overwriting stash ‘coverage-report’ [2022-06-01T20:42:53.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-01T20:42:54.120Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-01T20:42:54.451Z] + ls -al . [2022-06-01T20:42:54.451Z] total 168 [2022-06-01T20:42:54.451Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:42 . [2022-06-01T20:42:54.451Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 1 20:39 .. [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 1 20:39 .dockerignore [2022-06-01T20:42:54.451Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 1 20:39 .git [2022-06-01T20:42:54.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:39 .github [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 1 20:39 .gitignore [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 1 20:39 .golangci.yml [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 1 20:39 Attribution.txt [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 1 20:39 CHANGELOG.md [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 1 20:39 Dockerfile [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 1 20:39 GOVERNANCE.md [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 1 20:39 Jenkinsfile [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 1 20:39 LICENSE [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 1 20:39 Makefile [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 1 20:39 OWNERS.md [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 1 20:39 README.md [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 1 20:35 VERSION [2022-06-01T20:42:54.451Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:39 bin [2022-06-01T20:42:54.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:39 cmd [2022-06-01T20:42:54.451Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 1 20:42 coverage.out [2022-06-01T20:42:54.451Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 1 20:39 driver [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 3287 Jun 1 20:39 go.mod [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 34802 Jun 1 20:39 go.sum [2022-06-01T20:42:54.451Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 1 20:39 snap [2022-06-01T20:42:54.451Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 1 20:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:42:54.809Z] + 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=6db49600d84fbc344f4830d0628105aa21893aeb --label arch=arm64 --label version=2.2.1-dev.2 . [2022-06-01T20:42:54.809Z] Sending build context to Docker daemon 138.8kB [2022-06-01T20:42:55.085Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-01T20:42:55.085Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-01T20:42:55.085Z] ---> 701468f335b2 [2022-06-01T20:42:55.085Z] Step 3/25 : ARG MAKE='make build' [2022-06-01T20:42:55.360Z] ---> Running in 31c44e650b13 [2022-06-01T20:42:55.637Z] Removing intermediate container 31c44e650b13 [2022-06-01T20:42:55.637Z] ---> 4ef42ab4dfab [2022-06-01T20:42:55.637Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-01T20:42:55.637Z] ---> Running in 806e081c86a1 [2022-06-01T20:42:55.911Z] Removing intermediate container 806e081c86a1 [2022-06-01T20:42:55.911Z] ---> fd671b0ffe85 [2022-06-01T20:42:55.911Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-01T20:42:55.911Z] ---> Running in 8538c3c535a9 [2022-06-01T20:42:56.186Z] Removing intermediate container 8538c3c535a9 [2022-06-01T20:42:56.186Z] ---> 08c4cd6ede5c [2022-06-01T20:42:56.186Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-01T20:42:56.492Z] ---> Running in 2de27687205a [2022-06-01T20:42:57.935Z] Removing intermediate container 2de27687205a [2022-06-01T20:42:57.935Z] ---> 8788b4daafe9 [2022-06-01T20:42:57.935Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-01T20:42:58.215Z] ---> Running in 8f69b1446fb5 [2022-06-01T20:42:59.204Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-01T20:43:00.186Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-01T20:43:00.782Z] OK: 224 MiB in 56 packages [2022-06-01T20:43:01.767Z] Removing intermediate container 8f69b1446fb5 [2022-06-01T20:43:01.767Z] ---> 7c9335e56c02 [2022-06-01T20:43:01.767Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-01T20:43:01.767Z] ---> Running in 6ba0b662d3a9 [2022-06-01T20:43:02.043Z] Removing intermediate container 6ba0b662d3a9 [2022-06-01T20:43:02.043Z] ---> afd428bdb6af [2022-06-01T20:43:02.043Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-01T20:43:02.645Z] ---> 95551fe15ef9 [2022-06-01T20:43:02.645Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-01T20:43:02.645Z] ---> Running in 4b4038a5dfa1 [2022-06-01T20:43:04.625Z] Removing intermediate container 4b4038a5dfa1 [2022-06-01T20:43:04.625Z] ---> 1885689b5317 [2022-06-01T20:43:04.625Z] Step 11/25 : COPY . . [2022-06-01T20:43:05.223Z] ---> e18ecf121ea0 [2022-06-01T20:43:05.223Z] Step 12/25 : RUN $MAKE [2022-06-01T20:43:05.223Z] ---> Running in da8acb37d3f9 [2022-06-01T20:43:06.211Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.2" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-01T20:45:13.072Z] Removing intermediate container da8acb37d3f9 [2022-06-01T20:45:13.072Z] ---> d77a43ec544d [2022-06-01T20:45:13.072Z] Step 13/25 : FROM alpine:3.14 [2022-06-01T20:45:13.072Z] 3.14: Pulling from library/alpine [2022-06-01T20:45:13.072Z] 455c02918c45: Pulling fs layer [2022-06-01T20:45:13.072Z] 455c02918c45: Download complete [2022-06-01T20:45:13.072Z] 455c02918c45: Pull complete [2022-06-01T20:45:13.072Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-01T20:45:13.072Z] Status: Downloaded newer image for alpine:3.14 [2022-06-01T20:45:13.072Z] ---> ac73e934f311 [2022-06-01T20:45:13.072Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-01T20:45:13.072Z] ---> Running in e99a58b6f17c [2022-06-01T20:45:13.072Z] Removing intermediate container e99a58b6f17c [2022-06-01T20:45:13.072Z] ---> c013e9134189 [2022-06-01T20:45:13.072Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-01T20:45:13.072Z] ---> Running in 5479ca79e1b6 [2022-06-01T20:45:13.072Z] Removing intermediate container 5479ca79e1b6 [2022-06-01T20:45:13.072Z] ---> dc97f14bb54a [2022-06-01T20:45:13.072Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-01T20:45:13.072Z] ---> Running in 8adfe43e8d01 [2022-06-01T20:45:13.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-01T20:45:13.072Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-01T20:45:13.072Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-01T20:45:13.072Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-01T20:45:13.072Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-01T20:45:13.072Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-01T20:45:13.072Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-01T20:45:13.072Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-01T20:45:13.072Z] Executing busybox-1.33.1-r7.trigger [2022-06-01T20:45:13.072Z] OK: 8 MiB in 20 packages [2022-06-01T20:45:13.072Z] Removing intermediate container 8adfe43e8d01 [2022-06-01T20:45:13.072Z] ---> 4d8c50aaa6d1 [2022-06-01T20:45:13.072Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-01T20:45:13.072Z] ---> 78095a2b344e [2022-06-01T20:45:13.072Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-01T20:45:13.072Z] ---> 9fb98b35851e [2022-06-01T20:45:13.072Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-01T20:45:13.072Z] ---> af45ff53f9c9 [2022-06-01T20:45:13.072Z] Step 20/25 : EXPOSE 59986 [2022-06-01T20:45:13.072Z] ---> Running in 414f4e9ef7c7 [2022-06-01T20:45:13.072Z] Removing intermediate container 414f4e9ef7c7 [2022-06-01T20:45:13.072Z] ---> 0036265e8b19 [2022-06-01T20:45:13.072Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-01T20:45:13.072Z] ---> Running in 3bd3dd3d6dd6 [2022-06-01T20:45:13.072Z] Removing intermediate container 3bd3dd3d6dd6 [2022-06-01T20:45:13.072Z] ---> b9b02b1cb076 [2022-06-01T20:45:13.072Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-01T20:45:13.072Z] ---> Running in b21fe59a6540 [2022-06-01T20:45:13.072Z] Removing intermediate container b21fe59a6540 [2022-06-01T20:45:13.072Z] ---> 7ad93d0c7602 [2022-06-01T20:45:13.072Z] Step 23/25 : LABEL arch=arm64 [2022-06-01T20:45:13.072Z] ---> Running in 9fb225769ca8 [2022-06-01T20:45:13.072Z] Removing intermediate container 9fb225769ca8 [2022-06-01T20:45:13.072Z] ---> 8a9f4eaacf82 [2022-06-01T20:45:13.072Z] Step 24/25 : LABEL git_sha=6db49600d84fbc344f4830d0628105aa21893aeb [2022-06-01T20:45:13.072Z] ---> Running in 7fa938f78d7a [2022-06-01T20:45:13.072Z] Removing intermediate container 7fa938f78d7a [2022-06-01T20:45:13.072Z] ---> 5161d7cbb282 [2022-06-01T20:45:13.072Z] Step 25/25 : LABEL version=2.2.1-dev.2 [2022-06-01T20:45:13.072Z] ---> Running in f1f466ccbf64 [2022-06-01T20:45:13.072Z] Removing intermediate container f1f466ccbf64 [2022-06-01T20:45:13.072Z] ---> acee734bf14f [2022-06-01T20:45:13.072Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-01T20:45:13.072Z] Successfully built acee734bf14f [2022-06-01T20:45:13.072Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T20:45:13.206Z] provisioning config files... [2022-06-01T20:45:13.224Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/43@tmp/config2335944176115195518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:45:13.578Z] ---> docker-login.sh [2022-06-01T20:45:13.578Z] nexus3.edgexfoundry.org:10001 [2022-06-01T20:45:13.856Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:45:13.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:45:13.856Z] Configure a credential helper to remove this warning. See [2022-06-01T20:45:13.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:45:13.856Z] [2022-06-01T20:45:13.856Z] Login Succeeded [2022-06-01T20:45:13.856Z] nexus3.edgexfoundry.org:10002 [2022-06-01T20:45:14.130Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:45:14.406Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:45:14.406Z] Configure a credential helper to remove this warning. See [2022-06-01T20:45:14.406Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:45:14.406Z] [2022-06-01T20:45:14.406Z] Login Succeeded [2022-06-01T20:45:14.406Z] nexus3.edgexfoundry.org:10003 [2022-06-01T20:45:14.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:45:14.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:45:14.958Z] Configure a credential helper to remove this warning. See [2022-06-01T20:45:14.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:45:14.958Z] [2022-06-01T20:45:14.958Z] Login Succeeded [2022-06-01T20:45:14.958Z] nexus3.edgexfoundry.org:10004 [2022-06-01T20:45:15.232Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:45:15.232Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:45:15.232Z] Configure a credential helper to remove this warning. See [2022-06-01T20:45:15.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:45:15.233Z] [2022-06-01T20:45:15.233Z] Login Succeeded [2022-06-01T20:45:15.233Z] docker.io [2022-06-01T20:45:15.833Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-01T20:45:16.108Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-01T20:45:16.108Z] Configure a credential helper to remove this warning. See [2022-06-01T20:45:16.108Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-01T20:45:16.108Z] [2022-06-01T20:45:16.108Z] Login Succeeded [2022-06-01T20:45:16.108Z] ---> docker-login.sh ends [Pipeline] } [2022-06-01T20:45:16.126Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T20:45:16.163Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-01T20:45:16.188Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-06-01T20:45:16.188Z] 6db49600d84fbc344f4830d0628105aa21893aeb [2022-06-01T20:45:16.188Z] latest [2022-06-01T20:45:16.188Z] 2.2.1-dev.2 [2022-06-01T20:45:16.188Z] 6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [2022-06-01T20:45:16.188Z] main [2022-06-01T20:45:16.188Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:16.565Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:16.938Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb [2022-06-01T20:45:16.938Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-01T20:45:16.938Z] 7d10354f156d: Preparing [2022-06-01T20:45:16.938Z] 6182b48d2e2b: Preparing [2022-06-01T20:45:16.938Z] 68ef02ccd9bb: Preparing [2022-06-01T20:45:16.938Z] b0048d2d1bf3: Preparing [2022-06-01T20:45:16.938Z] f73e7dbfee58: Preparing [2022-06-01T20:45:16.938Z] f73e7dbfee58: Layer already exists [2022-06-01T20:45:17.212Z] 6182b48d2e2b: Pushed [2022-06-01T20:45:17.212Z] 7d10354f156d: Pushed [2022-06-01T20:45:17.814Z] b0048d2d1bf3: Pushed [2022-06-01T20:45:23.218Z] 68ef02ccd9bb: Pushed [2022-06-01T20:45:23.218Z] 6db49600d84fbc344f4830d0628105aa21893aeb: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:23.599Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:23.972Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-06-01T20:45:23.972Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-01T20:45:23.972Z] 7d10354f156d: Preparing [2022-06-01T20:45:23.972Z] 6182b48d2e2b: Preparing [2022-06-01T20:45:23.972Z] 68ef02ccd9bb: Preparing [2022-06-01T20:45:23.972Z] b0048d2d1bf3: Preparing [2022-06-01T20:45:23.972Z] f73e7dbfee58: Preparing [2022-06-01T20:45:23.972Z] b0048d2d1bf3: Layer already exists [2022-06-01T20:45:23.972Z] 7d10354f156d: Layer already exists [2022-06-01T20:45:23.972Z] 6182b48d2e2b: Layer already exists [2022-06-01T20:45:23.972Z] 68ef02ccd9bb: Layer already exists [2022-06-01T20:45:23.972Z] f73e7dbfee58: Layer already exists [2022-06-01T20:45:24.246Z] latest: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:24.625Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:24.989Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.2 [2022-06-01T20:45:24.989Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-01T20:45:24.989Z] 7d10354f156d: Preparing [2022-06-01T20:45:24.989Z] 6182b48d2e2b: Preparing [2022-06-01T20:45:24.989Z] 68ef02ccd9bb: Preparing [2022-06-01T20:45:24.989Z] b0048d2d1bf3: Preparing [2022-06-01T20:45:24.989Z] f73e7dbfee58: Preparing [2022-06-01T20:45:24.989Z] 6182b48d2e2b: Layer already exists [2022-06-01T20:45:24.989Z] f73e7dbfee58: Layer already exists [2022-06-01T20:45:24.989Z] b0048d2d1bf3: Layer already exists [2022-06-01T20:45:24.989Z] 68ef02ccd9bb: Layer already exists [2022-06-01T20:45:24.989Z] 7d10354f156d: Layer already exists [2022-06-01T20:45:25.262Z] 2.2.1-dev.2: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:25.639Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:25.998Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [2022-06-01T20:45:25.998Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-01T20:45:25.998Z] 7d10354f156d: Preparing [2022-06-01T20:45:25.998Z] 6182b48d2e2b: Preparing [2022-06-01T20:45:25.998Z] 68ef02ccd9bb: Preparing [2022-06-01T20:45:25.998Z] b0048d2d1bf3: Preparing [2022-06-01T20:45:25.998Z] f73e7dbfee58: Preparing [2022-06-01T20:45:25.998Z] f73e7dbfee58: Layer already exists [2022-06-01T20:45:25.998Z] b0048d2d1bf3: Layer already exists [2022-06-01T20:45:25.998Z] 6182b48d2e2b: Layer already exists [2022-06-01T20:45:25.998Z] 7d10354f156d: Layer already exists [2022-06-01T20:45:25.998Z] 68ef02ccd9bb: Layer already exists [2022-06-01T20:45:26.271Z] 6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:26.635Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:27.001Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-06-01T20:45:27.001Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-01T20:45:27.001Z] 7d10354f156d: Preparing [2022-06-01T20:45:27.001Z] 6182b48d2e2b: Preparing [2022-06-01T20:45:27.001Z] 68ef02ccd9bb: Preparing [2022-06-01T20:45:27.001Z] b0048d2d1bf3: Preparing [2022-06-01T20:45:27.001Z] f73e7dbfee58: Preparing [2022-06-01T20:45:27.001Z] 6182b48d2e2b: Layer already exists [2022-06-01T20:45:27.001Z] f73e7dbfee58: Layer already exists [2022-06-01T20:45:27.001Z] 68ef02ccd9bb: Layer already exists [2022-06-01T20:45:27.001Z] b0048d2d1bf3: Layer already exists [2022-06-01T20:45:27.001Z] 7d10354f156d: Layer already exists [2022-06-01T20:45:27.275Z] main: digest: sha256:69bc7089b0a7003de9f28bb66bc28df8383e6156887af6c67c32773998fe5838 size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-01T20:45:27.325Z] ===================================================== [Pipeline] echo [2022-06-01T20:45:27.333Z] taggedImages: [2022-06-01T20:45:27.333Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb [2022-06-01T20:45:27.333Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-06-01T20:45:27.333Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.2 [2022-06-01T20:45:27.333Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:6db49600d84fbc344f4830d0628105aa21893aeb-2.2.1-dev.2 [2022-06-01T20:45:27.333Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:27.706Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T20:45:27.706Z] [2022-06-01T20:45:27.706Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:45:28.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T20:45:28.066Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-01T20:45:28.066Z] 8998bd30e6a1: Pulling fs layer [2022-06-01T20:45:28.066Z] 04944245beec: Pulling fs layer [2022-06-01T20:45:28.066Z] 699f458cf7ca: Pulling fs layer [2022-06-01T20:45:28.066Z] 765212b225bb: Pulling fs layer [2022-06-01T20:45:28.066Z] f23df028b6ca: Pulling fs layer [2022-06-01T20:45:28.066Z] d65c8cfc05b1: Pulling fs layer [2022-06-01T20:45:28.066Z] 2437ff75d9bd: Pulling fs layer [2022-06-01T20:45:28.066Z] f23df028b6ca: Waiting [2022-06-01T20:45:28.066Z] d65c8cfc05b1: Waiting [2022-06-01T20:45:28.066Z] 2437ff75d9bd: Waiting [2022-06-01T20:45:28.066Z] 765212b225bb: Waiting [2022-06-01T20:45:28.344Z] 04944245beec: Verifying Checksum [2022-06-01T20:45:28.344Z] 04944245beec: Download complete [2022-06-01T20:45:28.344Z] 765212b225bb: Verifying Checksum [2022-06-01T20:45:28.344Z] 765212b225bb: Download complete [2022-06-01T20:45:28.344Z] f23df028b6ca: Verifying Checksum [2022-06-01T20:45:28.344Z] f23df028b6ca: Download complete [2022-06-01T20:45:28.344Z] d65c8cfc05b1: Download complete [2022-06-01T20:45:28.629Z] 699f458cf7ca: Verifying Checksum [2022-06-01T20:45:28.629Z] 699f458cf7ca: Download complete [2022-06-01T20:45:28.905Z] 8998bd30e6a1: Verifying Checksum [2022-06-01T20:45:28.905Z] 8998bd30e6a1: Download complete [2022-06-01T20:45:31.552Z] 2437ff75d9bd: Verifying Checksum [2022-06-01T20:45:31.552Z] 2437ff75d9bd: Download complete [2022-06-01T20:45:33.538Z] 8998bd30e6a1: Pull complete [2022-06-01T20:45:33.813Z] 04944245beec: Pull complete [2022-06-01T20:45:35.254Z] 699f458cf7ca: Pull complete [2022-06-01T20:45:35.531Z] 765212b225bb: Pull complete [2022-06-01T20:45:36.132Z] f23df028b6ca: Pull complete [2022-06-01T20:45:36.405Z] d65c8cfc05b1: Pull complete [2022-06-01T20:45:51.503Z] 2437ff75d9bd: Pull complete [2022-06-01T20:45:51.503Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-01T20:45:51.503Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-01T20:45:51.503Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:45:51.747Z] prd-ubuntu20.04-docker-arm64-4c-16g-571 does not seem to be running inside a container [2022-06-01T20:45:51.841Z] $ 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/43 -v /w/workspace/device-rest-go/43:/w/workspace/device-rest-go/43:rw,z -v /w/workspace/device-rest-go/43@tmp:/w/workspace/device-rest-go/43@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:arm64 cat [2022-06-01T20:45:54.309Z] $ docker top 43b1391b44c8446b46be6980d7f120ad937f5e3218658184288b9c1cc921ab71 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:45:55.220Z] ---> job-cost.sh [2022-06-01T20:45:55.220Z] lf-activate-venv: SKIPPING [2022-06-01T20:45:55.220Z] INFO: No Stack... [2022-06-01T20:45:55.817Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-01T20:45:56.415Z] INFO: Archiving Costs [Pipeline] sh [2022-06-01T20:45:57.084Z] + cat /w/workspace/device-rest-go/43/archives/cost.csv [2022-06-01T20:45:57.084Z] + cut -d, -f6 [Pipeline] lock [2022-06-01T20:45:57.147Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [2022-06-01T20:45:57.154Z] Resource [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] did not exist. Created. [2022-06-01T20:45:57.154Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-01T20:45:57.829Z] /w/workspace/device-rest-go/43@tmp/durable-e0013d31/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-01T20:45:58.506Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-01T20:45:58.527Z] Warning: overwriting stash ‘stack-cost’ [2022-06-01T20:45:58.571Z] Stashed 1 file(s) [Pipeline] } [2022-06-01T20:45:58.578Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-43-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-01T20:45:58.607Z] $ docker stop --time=1 43b1391b44c8446b46be6980d7f120ad937f5e3218658184288b9c1cc921ab71 [2022-06-01T20:46:00.093Z] $ docker rm -f 43b1391b44c8446b46be6980d7f120ad937f5e3218658184288b9c1cc921ab71 [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-06-01T20:46:00.503Z] provisioning config files... [2022-06-01T20:46:00.511Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6442003343374578020tmp [Pipeline] { [Pipeline] sh [2022-06-01T20:46:00.801Z] + set +x [2022-06-01T20:46:00.801Z] + curl -s https://codecov.io/bash [2022-06-01T20:46:00.801Z] + bash -s -- [2022-06-01T20:46:00.801Z] [2022-06-01T20:46:00.801Z] _____ _ [2022-06-01T20:46:00.801Z] / ____| | | [2022-06-01T20:46:00.801Z] | | ___ __| | ___ ___ _____ __ [2022-06-01T20:46:00.801Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-01T20:46:00.801Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-01T20:46:00.801Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-01T20:46:00.801Z] Bash-1.0.6 [2022-06-01T20:46:00.801Z] [2022-06-01T20:46:00.801Z] [2022-06-01T20:46:00.801Z] ==> git version 2.25.1 found [2022-06-01T20:46:00.801Z] ==> 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-06-01T20:46:00.801Z] Release-Date: 2020-01-08 [2022-06-01T20:46:00.801Z] 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-06-01T20:46:00.801Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-01T20:46:00.801Z] ==> Jenkins CI detected. [2022-06-01T20:46:00.801Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-06-01T20:46:00.801Z] project root: . [2022-06-01T20:46:00.801Z] --> token set from env [2022-06-01T20:46:00.801Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-01T20:46:00.801Z] ==> Running gcov in . (disable via -X gcov) [2022-06-01T20:46:00.801Z] ==> Python coveragepy not found [2022-06-01T20:46:00.801Z] ==> Searching for coverage reports in: [2022-06-01T20:46:00.801Z] + . [2022-06-01T20:46:00.801Z] -> Found 1 reports [2022-06-01T20:46:00.801Z] ==> Detecting git/mercurial file structure [2022-06-01T20:46:00.801Z] ==> Reading reports [2022-06-01T20:46:00.801Z] + ./coverage.out bytes=9355 [2022-06-01T20:46:01.061Z] ==> Appending adjustments [2022-06-01T20:46:01.061Z] https://docs.codecov.io/docs/fixing-reports [2022-06-01T20:46:01.061Z] + Found adjustments [2022-06-01T20:46:01.061Z] ==> Gzipping contents [2022-06-01T20:46:01.061Z] 4.0K /tmp/codecov.EgA08x.gz [2022-06-01T20:46:01.061Z] ==> Uploading reports [2022-06-01T20:46:01.061Z] url: https://codecov.io [2022-06-01T20:46:01.061Z] query: branch=main&commit=6db49600d84fbc344f4830d0628105aa21893aeb&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-01T20:46:01.061Z] -> Pinging Codecov [2022-06-01T20:46:01.061Z] 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=6db49600d84fbc344f4830d0628105aa21893aeb&build=43&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F43%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-01T20:46:01.321Z] -> Uploading to [2022-06-01T20:46:01.321Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-01/4E5D53B4F1F92C436F7061BF334D961C/6db49600d84fbc344f4830d0628105aa21893aeb/81645153-5aa8-4b8f-be38-5248a74811d4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220601%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220601T204601Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df1d4a721f812f99050a8400b4f6cef4426e178a819ca2717a33b3901bea7a52 [2022-06-01T20:46:01.321Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-01T20:46:01.322Z] Dload Upload Total Spent Left Speed [2022-06-01T20:46:01.582Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7991 --:--:-- --:--:-- --:--:-- 7955 100 1806 0 0 100 1806 0 7166 --:--:-- --:--:-- --:--:-- 7138 [2022-06-01T20:46:01.582Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] } [2022-06-01T20:46:01.589Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-01T20:46:01.684Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-01T20:46:01.692Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:46:01.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-01T20:46:01.986Z] [2022-06-01T20:46:01.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:46:02.283Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-01T20:46:02.283Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-01T20:46:02.283Z] df9b9388f04a: Pulling fs layer [2022-06-01T20:46:02.283Z] 52dc419b0ee2: Pulling fs layer [2022-06-01T20:46:02.283Z] 25bc292e5bac: Pulling fs layer [2022-06-01T20:46:02.283Z] 114826534d7a: Pulling fs layer [2022-06-01T20:46:02.283Z] 4657fd5d0bcf: Pulling fs layer [2022-06-01T20:46:02.283Z] 6ad1cebc031e: Pulling fs layer [2022-06-01T20:46:02.283Z] 8a3aa393b2d8: Pulling fs layer [2022-06-01T20:46:02.283Z] 4657fd5d0bcf: Waiting [2022-06-01T20:46:02.283Z] 114826534d7a: Waiting [2022-06-01T20:46:02.283Z] 6ad1cebc031e: Waiting [2022-06-01T20:46:02.283Z] 25bc292e5bac: Download complete [2022-06-01T20:46:02.283Z] 52dc419b0ee2: Verifying Checksum [2022-06-01T20:46:02.283Z] 52dc419b0ee2: Download complete [2022-06-01T20:46:02.283Z] 4657fd5d0bcf: Verifying Checksum [2022-06-01T20:46:02.283Z] 4657fd5d0bcf: Download complete [2022-06-01T20:46:02.283Z] df9b9388f04a: Download complete [2022-06-01T20:46:02.542Z] 6ad1cebc031e: Verifying Checksum [2022-06-01T20:46:02.542Z] 6ad1cebc031e: Download complete [2022-06-01T20:46:02.542Z] df9b9388f04a: Pull complete [2022-06-01T20:46:02.542Z] 52dc419b0ee2: Pull complete [2022-06-01T20:46:02.802Z] 25bc292e5bac: Pull complete [2022-06-01T20:46:03.060Z] 114826534d7a: Verifying Checksum [2022-06-01T20:46:03.060Z] 114826534d7a: Download complete [2022-06-01T20:46:03.319Z] 8a3aa393b2d8: Verifying Checksum [2022-06-01T20:46:03.319Z] 8a3aa393b2d8: Download complete [2022-06-01T20:46:06.603Z] 114826534d7a: Pull complete [2022-06-01T20:46:06.603Z] 4657fd5d0bcf: Pull complete [2022-06-01T20:46:06.862Z] 6ad1cebc031e: Pull complete [2022-06-01T20:46:09.398Z] 8a3aa393b2d8: Pull complete [2022-06-01T20:46:09.398Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-01T20:46:09.398Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-01T20:46:09.398Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:46:09.488Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:46:09.523Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-01T20:46:11.788Z] $ docker top 98d029dd89ef158af8aa94e74ffb26262d18ce5668796e7abc8b56ef045abd2d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-01T20:46:11.861Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-06-01T20:46:12.136Z] + set -o pipefail [2022-06-01T20:46:12.136Z] + snyk monitor '--org=edgex-jenkins' [2022-06-01T20:46:17.414Z] [2022-06-01T20:46:17.414Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-06-01T20:46:17.414Z] [2022-06-01T20:46:17.414Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/08ddc0d6-35d2-49b9-81bf-20d2bcfebf5f/history/17552252-f6cf-4a13-bab4-4a2404f41672 [2022-06-01T20:46:17.414Z] [2022-06-01T20:46:17.414Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-01T20:46:17.414Z] [2022-06-01T20:46:17.414Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-01T20:46:17.414Z] [2022-06-01T20:46:17.985Z] [Pipeline] } [2022-06-01T20:46:17.998Z] $ docker stop --time=1 98d029dd89ef158af8aa94e74ffb26262d18ce5668796e7abc8b56ef045abd2d [2022-06-01T20:46:20.230Z] $ docker rm -f 98d029dd89ef158af8aa94e74ffb26262d18ce5668796e7abc8b56ef045abd2d [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-06-01T20:46:20.956Z] + git log --format=format:%s -1 6db49600d84fbc344f4830d0628105aa21893aeb [Pipeline] sh [2022-06-01T20:46:21.249Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T20:46:21.249Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:46:21.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T20:46:21.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:46:21.636Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:46:21.670Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T20:46:22.076Z] $ docker top 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T20:46:22.177Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T20:46:22.177Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T20:46:22.300Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T20:46:22.303Z] $ docker exec 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c ssh-agent [2022-06-01T20:46:22.417Z] SSH_AUTH_SOCK=/tmp/ssh-HSEa28e54wJP/agent.33 [2022-06-01T20:46:22.417Z] SSH_AGENT_PID=40 [2022-06-01T20:46:22.423Z] Running ssh-add (command line suppressed) [2022-06-01T20:46:22.536Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_717780012464101952.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_717780012464101952.key) [2022-06-01T20:46:22.549Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T20:46:22.837Z] + git semver tag [2022-06-01T20:46:23.099Z] 2022-06-01 20:46:23,037 [run_tag] DEBUG tag force:False [2022-06-01T20:46:23.100Z] 2022-06-01 20:46:23,037 [check_head_tag] DEBUG check head tag [2022-06-01T20:46:23.100Z] 2022-06-01 20:46:23,037 [execute] INFO git cat-file --batch-check [2022-06-01T20:46:23.100Z] 2022-06-01 20:46:23,038 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-06-01T20:46:23.100Z] 2022-06-01 20:46:23,041 [execute] INFO git cat-file --batch [2022-06-01T20:46:23.100Z] 2022-06-01 20:46:23,042 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-06-01T20:46:23.100Z] 2022-06-01 20:46:23,048 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-01T20:46:23.100Z] 2022-06-01 20:46:23,049 [execute] INFO git tag -a v2.2.1-dev.2 -m v2.2.1-dev.2 [2022-06-01T20:46:23.100Z] 2022-06-01 20:46:23,049 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.2', '-m', 'v2.2.1-dev.2'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-01T20:46:23.100Z] 2022-06-01 20:46:23,054 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-01T20:46:23.100Z] 2.2.1-dev.2 [Pipeline] } [2022-06-01T20:46:23.112Z] $ docker exec --env ******** --env ******** 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c ssh-agent -k [2022-06-01T20:46:23.224Z] unset SSH_AUTH_SOCK; [2022-06-01T20:46:23.225Z] unset SSH_AGENT_PID; [2022-06-01T20:46:23.225Z] echo Agent pid 40 killed; [2022-06-01T20:46:23.249Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T20:46:23.599Z] + git semver [Pipeline] } [2022-06-01T20:46:23.880Z] $ docker stop --time=1 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c [2022-06-01T20:46:25.158Z] $ docker rm -f 8475677b8b9a27aa4ca09e51a0b9235ab0443fe2c1c42c7720ec2533e1ddb05c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:46:25.568Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-01T20:46:25.568Z] [2022-06-01T20:46:25.568Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:46:25.873Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-01T20:46:25.873Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-01T20:46:25.873Z] ab5ef0e58194: Pulling fs layer [2022-06-01T20:46:25.873Z] 9712f1f96733: Pulling fs layer [2022-06-01T20:46:25.873Z] 63f879dbbcfc: Pulling fs layer [2022-06-01T20:46:25.873Z] 0d9ebad4ef96: Pulling fs layer [2022-06-01T20:46:25.873Z] e9a5061849ea: Pulling fs layer [2022-06-01T20:46:25.873Z] d747dcd14b5f: Pulling fs layer [2022-06-01T20:46:25.873Z] 2de7ff778b66: Pulling fs layer [2022-06-01T20:46:25.873Z] d747dcd14b5f: Waiting [2022-06-01T20:46:25.873Z] 2de7ff778b66: Waiting [2022-06-01T20:46:25.873Z] e9a5061849ea: Waiting [2022-06-01T20:46:25.873Z] 0d9ebad4ef96: Waiting [2022-06-01T20:46:25.873Z] 9712f1f96733: Download complete [2022-06-01T20:46:26.442Z] 63f879dbbcfc: Verifying Checksum [2022-06-01T20:46:26.442Z] 63f879dbbcfc: Download complete [2022-06-01T20:46:26.442Z] e9a5061849ea: Verifying Checksum [2022-06-01T20:46:26.442Z] e9a5061849ea: Download complete [2022-06-01T20:46:26.442Z] d747dcd14b5f: Verifying Checksum [2022-06-01T20:46:26.442Z] d747dcd14b5f: Download complete [2022-06-01T20:46:26.442Z] 0d9ebad4ef96: Verifying Checksum [2022-06-01T20:46:26.442Z] 0d9ebad4ef96: Download complete [2022-06-01T20:46:26.442Z] ab5ef0e58194: Verifying Checksum [2022-06-01T20:46:26.442Z] ab5ef0e58194: Download complete [2022-06-01T20:46:26.700Z] 2de7ff778b66: Verifying Checksum [2022-06-01T20:46:26.700Z] 2de7ff778b66: Download complete [2022-06-01T20:46:29.272Z] ab5ef0e58194: Pull complete [2022-06-01T20:46:29.272Z] 9712f1f96733: Pull complete [2022-06-01T20:46:29.842Z] 63f879dbbcfc: Pull complete [2022-06-01T20:46:34.037Z] 0d9ebad4ef96: Pull complete [2022-06-01T20:46:34.037Z] e9a5061849ea: Pull complete [2022-06-01T20:46:34.037Z] d747dcd14b5f: Pull complete [2022-06-01T20:46:34.977Z] 2de7ff778b66: Pull complete [2022-06-01T20:46:34.977Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-01T20:46:34.977Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-01T20:46:34.977Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:46:35.073Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:46:35.109Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-01T20:46:37.608Z] $ docker top 706f673bb3b17bf72ade63f01252675d25fbec9db7484242ff4525aaafa0dce9 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-01T20:46:37.681Z] provisioning config files... [2022-06-01T20:46:37.689Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config995183661170221695tmp [2022-06-01T20:46:37.700Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6630927695405613878tmp [2022-06-01T20:46:37.710Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2672831953829194587tmp [Pipeline] { [Pipeline] echo [2022-06-01T20:46:37.724Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:38.008Z] ---> sigul-configuration.sh [2022-06-01T20:46:38.008Z] gpg: directory `/root/.gnupg' created [2022-06-01T20:46:38.008Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-01T20:46:38.008Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-01T20:46:38.008Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-01T20:46:38.008Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-01T20:46:38.008Z] gpg: CAST5 encrypted data [2022-06-01T20:46:38.008Z] gpg: encrypted with 1 passphrase [2022-06-01T20:46:38.008Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-01T20:46:38.292Z] + mkdir /home/jenkins [2022-06-01T20:46:38.292Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-01T20:46:38.578Z] + 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-06-01T20:46:38.585Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:38.869Z] ---> sigul-install.sh [2022-06-01T20:46:38.869Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-01T20:46:39.155Z] + git tag --list [2022-06-01T20:46:39.155Z] v1.0.0 [2022-06-01T20:46:39.155Z] v1.1.0 [2022-06-01T20:46:39.155Z] v1.1.1 [2022-06-01T20:46:39.155Z] v1.1.2 [2022-06-01T20:46:39.155Z] v1.2.0 [2022-06-01T20:46:39.155Z] v1.2.1 [2022-06-01T20:46:39.155Z] v2.0.0 [2022-06-01T20:46:39.155Z] v2.1.0 [2022-06-01T20:46:39.155Z] v2.2.0 [2022-06-01T20:46:39.155Z] v2.2.1-dev.1 [2022-06-01T20:46:39.155Z] v2.2.1-dev.2 [Pipeline] sh [2022-06-01T20:46:39.446Z] + lftools sign git-tag v2.2.1-dev.2 [2022-06-01T20:46:40.014Z] Signing Git tag with Sigul... [2022-06-01T20:46:40.015Z] Signing v2.2.1-dev.2 [Pipeline] echo [2022-06-01T20:46:40.594Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:40.880Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-01T20:46:40.887Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-01T20:46:40.906Z] $ docker stop --time=1 706f673bb3b17bf72ade63f01252675d25fbec9db7484242ff4525aaafa0dce9 [2022-06-01T20:46:42.200Z] $ docker rm -f 706f673bb3b17bf72ade63f01252675d25fbec9db7484242ff4525aaafa0dce9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-01T20:46:42.602Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T20:46:42.602Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:46:42.904Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T20:46:42.904Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:46:42.983Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:46:43.016Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T20:46:43.367Z] $ docker top 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T20:46:43.457Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T20:46:43.457Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T20:46:43.585Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T20:46:43.589Z] $ docker exec 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 ssh-agent [2022-06-01T20:46:43.707Z] SSH_AUTH_SOCK=/tmp/ssh-MNkyKao9grq9/agent.35 [2022-06-01T20:46:43.707Z] SSH_AGENT_PID=42 [2022-06-01T20:46:43.712Z] Running ssh-add (command line suppressed) [2022-06-01T20:46:43.823Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5672578693966830462.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5672578693966830462.key) [2022-06-01T20:46:43.840Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T20:46:44.129Z] + git semver bump pre [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,311 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,311 [bump_version] DEBUG bumping version:2.2.1-dev.2 on axis:pre with prefix:dev [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,312 [bump_version] DEBUG bumped version:2.2.1-dev.3 [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,312 [write_version] DEBUG write version:2.2.1-dev.3 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,312 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,312 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,314 [execute] INFO git cat-file --batch-check [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,314 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,321 [execute] INFO git cat-file --batch [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,322 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-01T20:46:44.389Z] 2022-06-01 20:46:44,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-01T20:46:44.389Z] 2.2.1-dev.3 [Pipeline] } [2022-06-01T20:46:44.401Z] $ docker exec --env ******** --env ******** 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 ssh-agent -k [2022-06-01T20:46:44.521Z] unset SSH_AUTH_SOCK; [2022-06-01T20:46:44.521Z] unset SSH_AGENT_PID; [2022-06-01T20:46:44.521Z] echo Agent pid 42 killed; [2022-06-01T20:46:44.535Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T20:46:44.855Z] + git semver [Pipeline] } [2022-06-01T20:46:45.135Z] $ docker stop --time=1 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 [2022-06-01T20:46:46.434Z] $ docker rm -f 908a7d7474bed777b66e17bff240e084563e0303f2b4061c22308f0b73ac5550 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-01T20:46:46.788Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-01T20:46:46.788Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:46:47.095Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-06-01T20:46:47.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:46:47.175Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:46:47.212Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-06-01T20:46:47.616Z] $ docker top 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-01T20:46:47.716Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-01T20:46:47.716Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-01T20:46:47.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-01T20:46:47.845Z] $ docker exec 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 ssh-agent [2022-06-01T20:46:47.965Z] SSH_AUTH_SOCK=/tmp/ssh-qp4jW5uDKqYj/agent.33 [2022-06-01T20:46:47.965Z] SSH_AGENT_PID=39 [2022-06-01T20:46:47.978Z] Running ssh-add (command line suppressed) [2022-06-01T20:46:48.084Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5205973465904602003.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_5205973465904602003.key) [2022-06-01T20:46:48.124Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-01T20:46:48.420Z] + git semver push [2022-06-01T20:46:48.681Z] 2022-06-01 20:46:48,628 [run_push] DEBUG push [2022-06-01T20:46:48.681Z] 2022-06-01 20:46:48,629 [execute] INFO git push origin semver [2022-06-01T20:46:48.681Z] 2022-06-01 20:46:48,629 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-01T20:46:49.625Z] 2022-06-01 20:46:49,331 [run_push] DEBUG push all version tags [2022-06-01T20:46:49.625Z] 2022-06-01 20:46:49,331 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-01T20:46:49.625Z] 2022-06-01 20:46:49,332 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-01T20:46:50.196Z] 2022-06-01 20:46:49,992 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-01T20:46:50.196Z] 2.2.1-dev.3 [Pipeline] } [2022-06-01T20:46:50.207Z] $ docker exec --env ******** --env ******** 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 ssh-agent -k [2022-06-01T20:46:50.319Z] unset SSH_AUTH_SOCK; [2022-06-01T20:46:50.319Z] unset SSH_AGENT_PID; [2022-06-01T20:46:50.319Z] echo Agent pid 39 killed; [2022-06-01T20:46:50.339Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-01T20:46:50.648Z] + git semver [Pipeline] } [2022-06-01T20:46:50.926Z] $ docker stop --time=1 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 [2022-06-01T20:46:52.299Z] $ docker rm -f 72bd940b4f44841195a5d885d46ba33694427d01d6dbfcdf212232c784d8e701 [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-06-01T20:46:52.834Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-06-01T20:46:52.834Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-01T20:46:52.834Z] total 16 [2022-06-01T20:46:52.834Z] drwxr-xr-x 3 root root 4096 Jun 1 20:37 . [2022-06-01T20:46:52.834Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 20:46 .. [2022-06-01T20:46:52.834Z] drwxr-xr-x 2 root root 4096 Jun 1 20:37 cost [2022-06-01T20:46:52.834Z] -rw-r--r-- 1 root root 84 Jun 1 20:37 cost.csv [2022-06-01T20:46:52.834Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-01T20:46:52.834Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-01T20:46:52.834Z] total 16 [2022-06-01T20:46:52.834Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 1 20:37 . [2022-06-01T20:46:52.834Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 1 20:46 .. [2022-06-01T20:46:52.834Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 1 20:37 cost [2022-06-01T20:46:52.834Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 1 20:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:53.128Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:53.992Z] ---> package-listing.sh [2022-06-01T20:46:53.992Z] ++ facter osfamily [2022-06-01T20:46:53.992Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-01T20:46:54.252Z] + OS_FAMILY=debian [2022-06-01T20:46:54.252Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-06-01T20:46:54.252Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-01T20:46:54.252Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-01T20:46:54.252Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-01T20:46:54.252Z] + PACKAGES=/tmp/packages_start.txt [2022-06-01T20:46:54.252Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-06-01T20:46:54.252Z] + PACKAGES=/tmp/packages_end.txt [2022-06-01T20:46:54.252Z] + case "${OS_FAMILY}" in [2022-06-01T20:46:54.252Z] + dpkg -l [2022-06-01T20:46:54.252Z] + grep '^ii' [2022-06-01T20:46:54.252Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-01T20:46:54.252Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-01T20:46:54.252Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-01T20:46:54.252Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-06-01T20:46:54.252Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-06-01T20:46:54.252Z] + 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-06-01T20:46:54.260Z] 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-06-01T20:46:54.538Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-01T20:46:55.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-01T20:46:55.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-01T20:46:55.181Z] prd-ubuntu20.04-docker-8c-8g-570 does not seem to be running inside a container [2022-06-01T20:46:55.215Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-01T20:46:55.459Z] $ docker top 3b720e063f7fce0561c8b38e3ddd7bc36dc0d27b898cef9f614ae8fb3cf2bd72 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-01T20:46:55.812Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-01T20:46:56.097Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-01T20:46:56.382Z] + ls /var/log/sa-host [2022-06-01T20:46:56.382Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-01T20:46:56.444Z] provisioning config files... [2022-06-01T20:46:56.538Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4888398403588051939tmp [Pipeline] { [Pipeline] echo [2022-06-01T20:46:56.552Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:56.833Z] ---> create-netrc.sh [Pipeline] } [2022-06-01T20:46:56.840Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:57.161Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-01T20:46:57.168Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:57.447Z] ---> sudo-logs.sh [2022-06-01T20:46:57.447Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-01T20:46:57.472Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:57.753Z] ---> job-cost.sh [2022-06-01T20:46:57.753Z] lf-activate-venv: SKIPPING [2022-06-01T20:46:57.753Z] DEBUG: total: 0.2199999988079071 [2022-06-01T20:46:57.753Z] INFO: Retrieving Stack Cost... [2022-06-01T20:46:58.320Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-01T20:46:58.579Z] INFO: Archiving Costs [Pipeline] echo [2022-06-01T20:46:58.590Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-01T20:46:58.874Z] ---> logs-deploy.sh [2022-06-01T20:46:58.874Z] lf-activate-venv: SKIPPING [2022-06-01T20:46:58.874Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/43 [2022-06-01T20:46:58.874Z] INFO: archiving workspace using pattern(s): [2022-06-01T20:46:59.821Z] Archives upload complete. [2022-06-01T20:46:59.821Z] INFO: archiving logs to Nexus