Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from e20d54948958fbae002d4522b61cee1c213d8f02 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-ssh693870916408225171.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh7244596215716096749.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh13236498059649206537.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh9686215438746694718.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3057173258390337908.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-10949’ Running on prd-ubuntu20.04-docker-8c-8g-10951 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 e20d54948958fbae002d4522b61cee1c213d8f02 (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 e20d54948958fbae002d4522b61cee1c213d8f02 # timeout=10 Commit message: "Merge pull request #169 from bnevis-i/add-spiffe" > git rev-list --no-walk 868c3d37fa7208ff5e10080602f68a64287cb162 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-06T08:34:08.310Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-06T08:34:08.368Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-06T08:34:08.381Z] ========================================================= [2022-04-06T08:34:08.381Z] EdgeX Global Pipelines Version Info [2022-04-06T08:34:08.381Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:34:09.518Z] ------------------- [2022-04-06T08:34:09.518Z] stable info: [2022-04-06T08:34:09.518Z] ------------------- [2022-04-06T08:34:09.518Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-06T08:34:09.518Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T08:34:09.518Z] Message: update stable to v1.0.221 [2022-04-06T08:34:10.092Z] ------------------- [2022-04-06T08:34:10.092Z] experimental info: [2022-04-06T08:34:10.092Z] ------------------- [2022-04-06T08:34:10.092Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-06T08:34:10.092Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-06T08:34:10.092Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-06T08:34:10.196Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-06T08:34:10.206Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-06T08:34:10.215Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-06T08:34:10.226Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-06T08:34:10.236Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-06T08:34:10.246Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-06T08:34:10.254Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-06T08:34:10.264Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-06T08:34:10.272Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-06T08:34:10.282Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-06T08:34:10.297Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-06T08:34:10.312Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-06T08:34:10.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-06T08:34:10.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-06T08:34:10.365Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T08:34:10.377Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-06T08:34:10.393Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T08:34:10.406Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-06T08:34:10.418Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-06T08:34:10.429Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-06T08:34:10.442Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-06T08:34:10.454Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-06T08:34:10.468Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-06T08:34:10.482Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-06T08:34:10.499Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-06T08:34:10.513Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-06T08:34:10.526Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-06T08:34:10.539Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-06T08:34:10.553Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-06T08:34:10.566Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] echo [2022-04-06T08:34:10.583Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = e20d549 [Pipeline] echo [2022-04-06T08:34:10.604Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:34:10.651Z] provisioning config files... [2022-04-06T08:34:10.665Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6158788145635677027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:34:11.034Z] ---> docker-login.sh [2022-04-06T08:34:11.034Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:34:11.295Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:11.295Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:11.295Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:11.295Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:11.295Z] [2022-04-06T08:34:11.295Z] Login Succeeded [2022-04-06T08:34:11.295Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:34:11.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:11.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:11.558Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:11.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:11.558Z] [2022-04-06T08:34:11.558Z] Login Succeeded [2022-04-06T08:34:11.558Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:34:11.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:11.558Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:11.558Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:11.558Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:11.558Z] [2022-04-06T08:34:11.558Z] Login Succeeded [2022-04-06T08:34:11.558Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:34:11.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:11.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:11.820Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:11.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:11.820Z] [2022-04-06T08:34:11.820Z] Login Succeeded [2022-04-06T08:34:11.820Z] docker.io [2022-04-06T08:34:11.820Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:12.081Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:12.081Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:12.081Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:12.081Z] [2022-04-06T08:34:12.081Z] Login Succeeded [2022-04-06T08:34:12.081Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:34:12.095Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-06T08:34:12.495Z] + git rev-list -1 --merges e20d54948958fbae002d4522b61cee1c213d8f02~1..e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] echo [2022-04-06T08:34:12.528Z] -----------> git rev-list -1 --merges e20d54948958fbae002d4522b61cee1c213d8f02~1..e20d54948958fbae002d4522b61cee1c213d8f02 e20d54948958fbae002d4522b61cee1c213d8f02 [2022-04-06T08:34:12.528Z] e20d54948958fbae002d4522b61cee1c213d8f02 [false] [Pipeline] sh [2022-04-06T08:34:12.829Z] + git log --format=format:%s -1 e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] echo [2022-04-06T08:34:12.845Z] ========================================================= [2022-04-06T08:34:12.845Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-06T08:34:12.845Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T08:34:13.178Z] + git log --format=format:%s -1 e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] echo [2022-04-06T08:34:13.190Z] [semverPrep] GIT_COMMIT: e20d54948958fbae002d4522b61cee1c213d8f02, Commit Message: Merge pull request #169 from bnevis-i/add-spiffe [Pipeline] echo [2022-04-06T08:34:13.198Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-06T08:34:13.590Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T08:34:13.590Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-06T08:34:13.590Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-06T08:34:13.590Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-06T08:34:13.590Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-06T08:34:13.590Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-06T08:34:13.590Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:13.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:34:13.940Z] [2022-04-06T08:34:13.940Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:14.259Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:34:14.259Z] latest: Pulling from edgex-devops/git-semver [2022-04-06T08:34:14.259Z] a0d0a0d46f8b: Pulling fs layer [2022-04-06T08:34:14.259Z] 3e5f54012d9b: Pulling fs layer [2022-04-06T08:34:14.259Z] 4c7163046ea9: Pulling fs layer [2022-04-06T08:34:14.259Z] 0c2d73faf560: Pulling fs layer [2022-04-06T08:34:14.259Z] 0c2d73faf560: Waiting [2022-04-06T08:34:14.259Z] 3e5f54012d9b: Verifying Checksum [2022-04-06T08:34:14.259Z] 3e5f54012d9b: Download complete [2022-04-06T08:34:14.259Z] a0d0a0d46f8b: Download complete [2022-04-06T08:34:14.259Z] 4c7163046ea9: Verifying Checksum [2022-04-06T08:34:14.259Z] 4c7163046ea9: Download complete [2022-04-06T08:34:14.259Z] 0c2d73faf560: Verifying Checksum [2022-04-06T08:34:14.259Z] 0c2d73faf560: Download complete [2022-04-06T08:34:14.519Z] a0d0a0d46f8b: Pull complete [2022-04-06T08:34:14.519Z] 3e5f54012d9b: Pull complete [2022-04-06T08:34:14.780Z] 4c7163046ea9: Pull complete [2022-04-06T08:34:15.041Z] 0c2d73faf560: Pull complete [2022-04-06T08:34:15.041Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-06T08:34:15.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:34:15.041Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-06T08:34:15.120Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:34:15.147Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-06T08:34:15.793Z] $ docker top 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T08:34:15.917Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:34:15.917Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:34:16.040Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:34:16.027Z] $ docker exec 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 ssh-agent [2022-04-06T08:34:16.172Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPeGonp/agent.13 [2022-04-06T08:34:16.172Z] SSH_AGENT_PID=20 [2022-04-06T08:34:16.180Z] Running ssh-add (command line suppressed) [2022-04-06T08:34:16.271Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3452337118276097906.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3452337118276097906.key) [2022-04-06T08:34:16.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:34:16.598Z] + git tag --points-at HEAD [Pipeline] } [2022-04-06T08:34:16.606Z] $ docker exec --env ******** --env ******** 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 ssh-agent -k [2022-04-06T08:34:16.715Z] unset SSH_AUTH_SOCK; [2022-04-06T08:34:16.716Z] unset SSH_AGENT_PID; [2022-04-06T08:34:16.716Z] echo Agent pid 20 killed; [2022-04-06T08:34:16.743Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-06T08:34:16.770Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:34:16.770Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:34:16.894Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:34:16.881Z] $ docker exec 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 ssh-agent [2022-04-06T08:34:17.035Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXlpjIjl/agent.53 [2022-04-06T08:34:17.035Z] SSH_AGENT_PID=59 [2022-04-06T08:34:17.040Z] Running ssh-add (command line suppressed) [2022-04-06T08:34:17.143Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1545645460303547335.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1545645460303547335.key) [2022-04-06T08:34:17.176Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:34:17.472Z] + git semver init [2022-04-06T08:34:17.472Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T08:34:17.472Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-06T08:34:17.472Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-06T08:34:17.472Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T08:34:17.472Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T08:34:17.472Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T08:34:17.472Z] # $SEMVER_BRANCH = main [2022-04-06T08:34:17.472Z] # $SEMVER_TEMP = /tmp/semver-321765151 [2022-04-06T08:34:17.472Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-06T08:34:18.857Z] # '/tmp/semver-321765151' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-04-06T08:34:18.857Z] # -> Force: false [2022-04-06T08:34:18.857Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-06T08:34:18.854Z] $ docker exec --env ******** --env ******** 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 ssh-agent -k [2022-04-06T08:34:18.961Z] unset SSH_AUTH_SOCK; [2022-04-06T08:34:18.962Z] unset SSH_AGENT_PID; [2022-04-06T08:34:18.962Z] echo Agent pid 59 killed; [2022-04-06T08:34:18.986Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T08:34:19.292Z] + git semver [Pipeline] } [2022-04-06T08:34:19.295Z] $ docker stop --time=1 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 [2022-04-06T08:34:20.705Z] $ docker rm -f 49498d85fd15cbedc2c460c3e0ab9e143fe67de9dcf1d4fdb0043040e4e0e675 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T08:34:21.079Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-06T08:34:21.333Z] Stashed 1 file(s) [Pipeline] echo [2022-04-06T08:34:21.337Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.8 [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-04-06T08:34:21.485Z] provisioning config files... [2022-04-06T08:34:21.495Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4704752306631227032tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:34:21.794Z] ---> docker-login.sh [2022-04-06T08:34:21.794Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:34:21.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:21.794Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:21.794Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:21.794Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:21.794Z] [2022-04-06T08:34:21.794Z] Login Succeeded [2022-04-06T08:34:21.794Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:34:21.794Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:22.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:22.056Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:22.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:22.056Z] [2022-04-06T08:34:22.056Z] Login Succeeded [2022-04-06T08:34:22.056Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:34:22.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:22.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:22.056Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:22.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:22.056Z] [2022-04-06T08:34:22.056Z] Login Succeeded [2022-04-06T08:34:22.056Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:34:22.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:22.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:22.317Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:22.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:22.317Z] [2022-04-06T08:34:22.317Z] Login Succeeded [2022-04-06T08:34:22.317Z] docker.io [2022-04-06T08:34:22.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:34:22.578Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:34:22.578Z] Configure a credential helper to remove this warning. See [2022-04-06T08:34:22.578Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:34:22.578Z] [2022-04-06T08:34:22.578Z] Login Succeeded [2022-04-06T08:34:22.578Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:34:22.586Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T08:34:22.655Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T08:34:22.665Z] ========================================================= [2022-04-06T08:34:22.665Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-06T08:34:22.665Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:22.974Z] + 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-04-06T08:34:22.974Z] Sending build context to Docker daemon 10.55MB [2022-04-06T08:34:22.974Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T08:34:22.974Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T08:34:22.974Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-06T08:34:22.974Z] 59bf1c3509f3: Pulling fs layer [2022-04-06T08:34:22.974Z] 666ba61612fd: Pulling fs layer [2022-04-06T08:34:22.974Z] 8ed8ca486205: Pulling fs layer [2022-04-06T08:34:22.974Z] 4fe6c5a15a65: Pulling fs layer [2022-04-06T08:34:22.974Z] 22a0e8bec74d: Pulling fs layer [2022-04-06T08:34:22.974Z] 640e595b4fbd: Pulling fs layer [2022-04-06T08:34:22.974Z] 763cafe07f6e: Pulling fs layer [2022-04-06T08:34:22.974Z] 0c0b528cf693: Pulling fs layer [2022-04-06T08:34:22.974Z] 10935f4eaf8b: Pulling fs layer [2022-04-06T08:34:22.974Z] 4fe6c5a15a65: Waiting [2022-04-06T08:34:22.974Z] 22a0e8bec74d: Waiting [2022-04-06T08:34:22.974Z] 640e595b4fbd: Waiting [2022-04-06T08:34:22.974Z] 10935f4eaf8b: Waiting [2022-04-06T08:34:22.974Z] 8ed8ca486205: Verifying Checksum [2022-04-06T08:34:22.974Z] 8ed8ca486205: Download complete [2022-04-06T08:34:22.974Z] 666ba61612fd: Download complete [2022-04-06T08:34:22.974Z] 22a0e8bec74d: Download complete [2022-04-06T08:34:22.974Z] 640e595b4fbd: Download complete [2022-04-06T08:34:22.974Z] 59bf1c3509f3: Download complete [2022-04-06T08:34:23.235Z] 763cafe07f6e: Verifying Checksum [2022-04-06T08:34:23.235Z] 763cafe07f6e: Download complete [2022-04-06T08:34:23.235Z] 0c0b528cf693: Verifying Checksum [2022-04-06T08:34:23.235Z] 0c0b528cf693: Download complete [2022-04-06T08:34:23.235Z] 59bf1c3509f3: Pull complete [2022-04-06T08:34:23.494Z] 666ba61612fd: Pull complete [2022-04-06T08:34:23.494Z] 8ed8ca486205: Pull complete [2022-04-06T08:34:23.755Z] 10935f4eaf8b: Verifying Checksum [2022-04-06T08:34:23.755Z] 10935f4eaf8b: Download complete [2022-04-06T08:34:24.014Z] 4fe6c5a15a65: Verifying Checksum [2022-04-06T08:34:24.014Z] 4fe6c5a15a65: Download complete [2022-04-06T08:34:27.297Z] 4fe6c5a15a65: Pull complete [2022-04-06T08:34:27.297Z] 22a0e8bec74d: Pull complete [2022-04-06T08:34:27.556Z] 640e595b4fbd: Pull complete [2022-04-06T08:34:27.556Z] 763cafe07f6e: Pull complete [2022-04-06T08:34:27.556Z] 0c0b528cf693: Pull complete [2022-04-06T08:34:30.093Z] 10935f4eaf8b: Pull complete [2022-04-06T08:34:30.093Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-06T08:34:30.093Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-06T08:34:30.093Z] ---> 99d49a6021b9 [2022-04-06T08:34:30.093Z] Step 3/12 : ARG MAKE='make build' [2022-04-06T08:34:31.034Z] ---> Running in 56369eeb46d7 [2022-04-06T08:34:31.034Z] Removing intermediate container 56369eeb46d7 [2022-04-06T08:34:31.034Z] ---> 1b87926dce91 [2022-04-06T08:34:31.034Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T08:34:31.034Z] ---> Running in 96791f2c6887 [2022-04-06T08:34:31.293Z] Removing intermediate container 96791f2c6887 [2022-04-06T08:34:31.293Z] ---> a87c4f65e332 [2022-04-06T08:34:31.293Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T08:34:31.293Z] ---> Running in b297cf2fad92 [2022-04-06T08:34:31.293Z] Removing intermediate container b297cf2fad92 [2022-04-06T08:34:31.293Z] ---> 1318b8961969 [2022-04-06T08:34:31.294Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T08:34:31.294Z] ---> Running in 2977467493ba [2022-04-06T08:34:32.233Z] Removing intermediate container 2977467493ba [2022-04-06T08:34:32.233Z] ---> 982245a326ec [2022-04-06T08:34:32.233Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T08:34:32.233Z] ---> Running in a11b2cdfc426 [2022-04-06T08:34:32.233Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T08:34:33.176Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T08:34:33.436Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T08:34:33.436Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T08:34:33.697Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T08:34:33.697Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T08:34:33.697Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T08:34:33.697Z] OK: 224 MiB in 56 packages [2022-04-06T08:34:34.267Z] Removing intermediate container a11b2cdfc426 [2022-04-06T08:34:34.267Z] ---> aab8cca9ed0c [2022-04-06T08:34:34.267Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-06T08:34:34.267Z] ---> Running in 10314bcf85e6 [2022-04-06T08:34:34.267Z] Removing intermediate container 10314bcf85e6 [2022-04-06T08:34:34.267Z] ---> d66e57e9a0fe [2022-04-06T08:34:34.267Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-06T08:34:34.527Z] ---> 094f8f87a530 [2022-04-06T08:34:34.527Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T08:34:34.527Z] ---> Running in 4e573ce01b15 [2022-04-06T08:34:36.431Z] Still waiting to schedule task [2022-04-06T08:34:36.431Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-10950’ [2022-04-06T08:34:49.429Z] Removing intermediate container 4e573ce01b15 [2022-04-06T08:34:49.429Z] ---> 09db221cca3a [2022-04-06T08:34:49.429Z] Step 11/12 : COPY . . [2022-04-06T08:34:49.429Z] ---> 26d2d9864c41 [2022-04-06T08:34:49.429Z] Step 12/12 : RUN $MAKE [2022-04-06T08:34:49.429Z] ---> Running in 8dacd27606ce [2022-04-06T08:34:49.429Z] noop [2022-04-06T08:34:49.429Z] Removing intermediate container 8dacd27606ce [2022-04-06T08:34:49.429Z] ---> 3ad088608e7e [2022-04-06T08:34:49.429Z] Successfully built 3ad088608e7e [2022-04-06T08:34:49.429Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:49.728Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T08:34:49.728Z] . [Pipeline] withDockerContainer [2022-04-06T08:34:49.798Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:34:49.833Z] $ 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-04-06T08:34:50.200Z] $ docker top 0c8d48f021478e08f965692da5e2f1f7e7f402790d260d4a460a1c5a7133086d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T08:34:50.562Z] + go version [2022-04-06T08:34:50.562Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-06T08:34:50.578Z] $ docker stop --time=1 0c8d48f021478e08f965692da5e2f1f7e7f402790d260d4a460a1c5a7133086d [2022-04-06T08:34:51.891Z] $ docker rm -f 0c8d48f021478e08f965692da5e2f1f7e7f402790d260d4a460a1c5a7133086d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:34:52.328Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-06T08:34:52.329Z] . [Pipeline] withDockerContainer [2022-04-06T08:34:52.396Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:34:52.446Z] $ 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-04-06T08:34:52.814Z] $ docker top 8e2f2367065a86aef8888df3492b2828e838d8f74d0db2982d65798d09e84b6b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T08:34:53.237Z] + make test [2022-04-06T08:34:53.237Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T08:34:53.537Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-06T08:35:03.533Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-06T08:35:03.533Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-04-06T08:35:08.816Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T08:35:13.016Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T08:35:13.016Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T08:35:13.016Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T08:35:13.033Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T08:35:13.056Z] $ docker stop --time=1 8e2f2367065a86aef8888df3492b2828e838d8f74d0db2982d65798d09e84b6b [2022-04-06T08:35:14.756Z] $ docker rm -f 8e2f2367065a86aef8888df3492b2828e838d8f74d0db2982d65798d09e84b6b [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T08:35:15.199Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T08:35:15.230Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-06T08:35:15.828Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T08:35:16.119Z] + ls -al . [2022-04-06T08:35:16.119Z] total 172 [2022-04-06T08:35:16.119Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 6 08:35 . [2022-04-06T08:35:16.119Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:34 .. [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 6 08:34 .dockerignore [2022-04-06T08:35:16.119Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:34 .git [2022-04-06T08:35:16.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 .github [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 08:34 .gitignore [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 08:34 .golangci.yml [2022-04-06T08:35:16.119Z] drwx------ 3 jenkins jenkins 4096 Apr 6 08:34 .semver [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 6 08:34 Attribution.txt [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 6 08:34 CHANGELOG.md [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 6 08:34 Dockerfile [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 08:34 GOVERNANCE.md [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 6 08:34 Jenkinsfile [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 08:34 LICENSE [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 6 08:34 Makefile [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 08:34 OWNERS.md [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 6 08:34 README.md [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 6 08:34 VERSION [2022-04-06T08:35:16.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 bin [2022-04-06T08:35:16.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 cmd [2022-04-06T08:35:16.119Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 6 08:35 coverage.out [2022-04-06T08:35:16.119Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:34 driver [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 6 08:34 go.mod [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 08:34 go.sum [2022-04-06T08:35:16.119Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:34 snap [2022-04-06T08:35:16.119Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 6 08:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:16.421Z] + 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=e20d54948958fbae002d4522b61cee1c213d8f02 --label arch=amd64 --label version=2.2.0-dev.8 . [2022-04-06T08:35:16.421Z] Sending build context to Docker daemon 10.56MB [2022-04-06T08:35:16.421Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T08:35:16.421Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-06T08:35:16.421Z] ---> 3ad088608e7e [2022-04-06T08:35:16.421Z] Step 3/25 : ARG MAKE='make build' [2022-04-06T08:35:16.421Z] ---> Running in e719e33f5552 [2022-04-06T08:35:16.681Z] Removing intermediate container e719e33f5552 [2022-04-06T08:35:16.682Z] ---> 21637b37c991 [2022-04-06T08:35:16.682Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T08:35:16.682Z] ---> Running in ef51212a2a1e [2022-04-06T08:35:16.682Z] Removing intermediate container ef51212a2a1e [2022-04-06T08:35:16.682Z] ---> d474b17ca23a [2022-04-06T08:35:16.682Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T08:35:16.682Z] ---> Running in 78d762b0ad67 [2022-04-06T08:35:16.942Z] Removing intermediate container 78d762b0ad67 [2022-04-06T08:35:16.942Z] ---> 5c09a0a69e37 [2022-04-06T08:35:16.942Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T08:35:16.942Z] ---> Running in 8c87b00b0a6b [2022-04-06T08:35:17.512Z] Removing intermediate container 8c87b00b0a6b [2022-04-06T08:35:17.512Z] ---> 8cf51f7c5ffc [2022-04-06T08:35:17.512Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T08:35:17.512Z] ---> Running in 35a7dc7c6aad [2022-04-06T08:35:17.772Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-06T08:35:18.712Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-06T08:35:18.975Z] OK: 224 MiB in 56 packages [2022-04-06T08:35:19.235Z] Removing intermediate container 35a7dc7c6aad [2022-04-06T08:35:19.235Z] ---> 4ecee3a829e7 [2022-04-06T08:35:19.235Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-06T08:35:19.235Z] ---> Running in b64d0bdb3499 [2022-04-06T08:35:19.495Z] Removing intermediate container b64d0bdb3499 [2022-04-06T08:35:19.495Z] ---> 8f9cc67ba326 [2022-04-06T08:35:19.495Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-06T08:35:19.495Z] ---> c2f22735d361 [2022-04-06T08:35:19.495Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T08:35:19.495Z] ---> Running in 469c3cbdda07 [2022-04-06T08:35:20.435Z] Removing intermediate container 469c3cbdda07 [2022-04-06T08:35:20.435Z] ---> 05bf987c8aea [2022-04-06T08:35:20.435Z] Step 11/25 : COPY . . [2022-04-06T08:35:20.435Z] ---> e2f2de934372 [2022-04-06T08:35:20.435Z] Step 12/25 : RUN $MAKE [2022-04-06T08:35:20.435Z] ---> Running in f32a97b8260e [2022-04-06T08:35:20.694Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.8" -o cmd/device-rest ./cmd [2022-04-06T08:35:32.906Z] Removing intermediate container f32a97b8260e [2022-04-06T08:35:32.906Z] ---> 8077692ada55 [2022-04-06T08:35:32.906Z] Step 13/25 : FROM alpine:3.14 [2022-04-06T08:35:32.906Z] 3.14: Pulling from library/alpine [2022-04-06T08:35:32.906Z] 8663204ce13b: Pulling fs layer [2022-04-06T08:35:32.906Z] 8663204ce13b: Verifying Checksum [2022-04-06T08:35:32.906Z] 8663204ce13b: Download complete [2022-04-06T08:35:32.906Z] 8663204ce13b: Pull complete [2022-04-06T08:35:32.906Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T08:35:32.906Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T08:35:32.906Z] ---> e04c818066af [2022-04-06T08:35:32.906Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-06T08:35:32.906Z] ---> Running in 2ffcb5ff7931 [2022-04-06T08:35:32.906Z] Removing intermediate container 2ffcb5ff7931 [2022-04-06T08:35:32.906Z] ---> bd1cf61eff1d [2022-04-06T08:35:32.906Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-06T08:35:32.906Z] ---> Running in 49650057befa [2022-04-06T08:35:32.906Z] Removing intermediate container 49650057befa [2022-04-06T08:35:32.906Z] ---> b8f898cec6b5 [2022-04-06T08:35:32.906Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T08:35:32.906Z] ---> Running in 2f9dad2ed677 [2022-04-06T08:35:33.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-06T08:35:33.168Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-06T08:35:33.428Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T08:35:33.428Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T08:35:33.428Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T08:35:33.428Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T08:35:33.428Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T08:35:33.428Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T08:35:33.428Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T08:35:33.428Z] OK: 8 MiB in 20 packages [2022-04-06T08:35:33.689Z] Removing intermediate container 2f9dad2ed677 [2022-04-06T08:35:33.689Z] ---> 453a10f64d36 [2022-04-06T08:35:33.689Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-06T08:35:34.260Z] ---> c8ace2d7a4f6 [2022-04-06T08:35:34.260Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-06T08:35:34.260Z] ---> 89746014561d [2022-04-06T08:35:34.260Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-06T08:35:34.521Z] ---> ba42febcd78b [2022-04-06T08:35:34.521Z] Step 20/25 : EXPOSE 59986 [2022-04-06T08:35:34.521Z] ---> Running in 8d3aabe80bfc [2022-04-06T08:35:34.521Z] Removing intermediate container 8d3aabe80bfc [2022-04-06T08:35:34.521Z] ---> 9821805a025d [2022-04-06T08:35:34.521Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-06T08:35:34.780Z] ---> Running in 71a121f04602 [2022-04-06T08:35:34.780Z] Removing intermediate container 71a121f04602 [2022-04-06T08:35:34.780Z] ---> 490c17d29c5d [2022-04-06T08:35:34.780Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-06T08:35:34.780Z] ---> Running in 7234cb91648c [2022-04-06T08:35:34.780Z] Removing intermediate container 7234cb91648c [2022-04-06T08:35:34.780Z] ---> 73bb26ac0c4f [2022-04-06T08:35:34.780Z] Step 23/25 : LABEL arch=amd64 [2022-04-06T08:35:35.041Z] ---> Running in 7ca0558c321a [2022-04-06T08:35:35.041Z] Removing intermediate container 7ca0558c321a [2022-04-06T08:35:35.041Z] ---> c5e23844cff9 [2022-04-06T08:35:35.041Z] Step 24/25 : LABEL git_sha=e20d54948958fbae002d4522b61cee1c213d8f02 [2022-04-06T08:35:35.041Z] ---> Running in 3509e7e2eb98 [2022-04-06T08:35:35.041Z] Removing intermediate container 3509e7e2eb98 [2022-04-06T08:35:35.041Z] ---> e0efc8b50751 [2022-04-06T08:35:35.041Z] Step 25/25 : LABEL version=2.2.0-dev.8 [2022-04-06T08:35:35.041Z] ---> Running in 4de88a129dc7 [2022-04-06T08:35:35.301Z] Removing intermediate container 4de88a129dc7 [2022-04-06T08:35:35.301Z] ---> 0eb4502e1ade [2022-04-06T08:35:35.301Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T08:35:35.301Z] Successfully built 0eb4502e1ade [2022-04-06T08:35:35.301Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:35:35.399Z] provisioning config files... [2022-04-06T08:35:35.409Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config375322678067351221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:35:35.707Z] ---> docker-login.sh [2022-04-06T08:35:35.707Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:35:35.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:35.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:35.707Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:35.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:35.707Z] [2022-04-06T08:35:35.707Z] Login Succeeded [2022-04-06T08:35:35.707Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:35:35.707Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:35.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:35.967Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:35.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:35.967Z] [2022-04-06T08:35:35.967Z] Login Succeeded [2022-04-06T08:35:35.967Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:35:35.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:35.967Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:35.967Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:35.967Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:35.967Z] [2022-04-06T08:35:35.967Z] Login Succeeded [2022-04-06T08:35:35.967Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:35:35.967Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:36.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:36.228Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:36.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:36.228Z] [2022-04-06T08:35:36.228Z] Login Succeeded [2022-04-06T08:35:36.228Z] docker.io [2022-04-06T08:35:36.228Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:35:36.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:35:36.488Z] Configure a credential helper to remove this warning. See [2022-04-06T08:35:36.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:35:36.488Z] [2022-04-06T08:35:36.488Z] Login Succeeded [2022-04-06T08:35:36.488Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:35:36.495Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T08:35:36.524Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T08:35:36.547Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-04-06T08:35:36.547Z] e20d54948958fbae002d4522b61cee1c213d8f02 [2022-04-06T08:35:36.547Z] latest [2022-04-06T08:35:36.547Z] 2.2.0-dev.8 [2022-04-06T08:35:36.547Z] e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [2022-04-06T08:35:36.547Z] main [2022-04-06T08:35:36.547Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:36.871Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:37.166Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02 [2022-04-06T08:35:37.166Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-06T08:35:37.166Z] 826ff7ef2185: Preparing [2022-04-06T08:35:37.166Z] f3a20dc9740c: Preparing [2022-04-06T08:35:37.166Z] 7207440735b8: Preparing [2022-04-06T08:35:37.166Z] 391ffe34aaa3: Preparing [2022-04-06T08:35:37.166Z] b541d28bf3b4: Preparing [2022-04-06T08:35:37.166Z] b541d28bf3b4: Layer already exists [2022-04-06T08:35:37.166Z] 826ff7ef2185: Pushed [2022-04-06T08:35:37.166Z] f3a20dc9740c: Pushed [2022-04-06T08:35:37.426Z] 391ffe34aaa3: Pushed [2022-04-06T08:35:39.970Z] 7207440735b8: Pushed [2022-04-06T08:35:39.970Z] e20d54948958fbae002d4522b61cee1c213d8f02: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:40.269Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:40.561Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-06T08:35:40.561Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-06T08:35:40.561Z] 826ff7ef2185: Preparing [2022-04-06T08:35:40.561Z] f3a20dc9740c: Preparing [2022-04-06T08:35:40.561Z] 7207440735b8: Preparing [2022-04-06T08:35:40.561Z] 391ffe34aaa3: Preparing [2022-04-06T08:35:40.561Z] b541d28bf3b4: Preparing [2022-04-06T08:35:40.561Z] 391ffe34aaa3: Layer already exists [2022-04-06T08:35:40.561Z] b541d28bf3b4: Layer already exists [2022-04-06T08:35:40.561Z] f3a20dc9740c: Layer already exists [2022-04-06T08:35:40.561Z] 7207440735b8: Layer already exists [2022-04-06T08:35:40.561Z] 826ff7ef2185: Layer already exists [2022-04-06T08:35:40.561Z] latest: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:40.857Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:41.152Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.8 [2022-04-06T08:35:41.152Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-06T08:35:41.152Z] 826ff7ef2185: Preparing [2022-04-06T08:35:41.152Z] f3a20dc9740c: Preparing [2022-04-06T08:35:41.152Z] 7207440735b8: Preparing [2022-04-06T08:35:41.152Z] 391ffe34aaa3: Preparing [2022-04-06T08:35:41.152Z] b541d28bf3b4: Preparing [2022-04-06T08:35:41.152Z] 391ffe34aaa3: Layer already exists [2022-04-06T08:35:41.152Z] f3a20dc9740c: Layer already exists [2022-04-06T08:35:41.152Z] 826ff7ef2185: Layer already exists [2022-04-06T08:35:41.152Z] 7207440735b8: Layer already exists [2022-04-06T08:35:41.152Z] b541d28bf3b4: Layer already exists [2022-04-06T08:35:41.152Z] 2.2.0-dev.8: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:41.453Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:41.750Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [2022-04-06T08:35:41.750Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-06T08:35:41.750Z] 826ff7ef2185: Preparing [2022-04-06T08:35:41.750Z] f3a20dc9740c: Preparing [2022-04-06T08:35:41.750Z] 7207440735b8: Preparing [2022-04-06T08:35:41.750Z] 391ffe34aaa3: Preparing [2022-04-06T08:35:41.750Z] b541d28bf3b4: Preparing [2022-04-06T08:35:41.750Z] 391ffe34aaa3: Layer already exists [2022-04-06T08:35:41.750Z] b541d28bf3b4: Layer already exists [2022-04-06T08:35:41.750Z] 7207440735b8: Layer already exists [2022-04-06T08:35:41.750Z] 826ff7ef2185: Layer already exists [2022-04-06T08:35:41.750Z] f3a20dc9740c: Layer already exists [2022-04-06T08:35:41.750Z] e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:42.057Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:42.349Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-04-06T08:35:42.349Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-06T08:35:42.349Z] 826ff7ef2185: Preparing [2022-04-06T08:35:42.349Z] f3a20dc9740c: Preparing [2022-04-06T08:35:42.349Z] 7207440735b8: Preparing [2022-04-06T08:35:42.349Z] 391ffe34aaa3: Preparing [2022-04-06T08:35:42.349Z] b541d28bf3b4: Preparing [2022-04-06T08:35:42.349Z] f3a20dc9740c: Layer already exists [2022-04-06T08:35:42.349Z] b541d28bf3b4: Layer already exists [2022-04-06T08:35:42.349Z] 7207440735b8: Layer already exists [2022-04-06T08:35:42.349Z] 826ff7ef2185: Layer already exists [2022-04-06T08:35:42.349Z] 391ffe34aaa3: Layer already exists [2022-04-06T08:35:42.349Z] main: digest: sha256:dd8bc5819d15590cb0742acb7eb94d2ba6d95f51745358dded04fddfa0b9fb0c size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T08:35:42.392Z] ===================================================== [Pipeline] echo [2022-04-06T08:35:42.405Z] taggedImages: [2022-04-06T08:35:42.405Z] - nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02 [2022-04-06T08:35:42.405Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-06T08:35:42.405Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.8 [2022-04-06T08:35:42.405Z] - nexus3.edgexfoundry.org:10004/device-rest:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [2022-04-06T08:35:42.405Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:42.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T08:35:42.776Z] [2022-04-06T08:35:42.776Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:35:43.075Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T08:35:43.075Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-06T08:35:43.075Z] 5eb5b503b376: Pulling fs layer [2022-04-06T08:35:43.075Z] 5c69ac0246d0: Pulling fs layer [2022-04-06T08:35:43.075Z] ec43610c2a17: Pulling fs layer [2022-04-06T08:35:43.075Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-06T08:35:43.075Z] 33b1e0a273af: Pulling fs layer [2022-04-06T08:35:43.075Z] 5d3b04190fa2: Pulling fs layer [2022-04-06T08:35:43.075Z] 2f39f015ded8: Pulling fs layer [2022-04-06T08:35:43.075Z] 2f39f015ded8: Waiting [2022-04-06T08:35:43.075Z] 3a2ae6a8a46f: Waiting [2022-04-06T08:35:43.075Z] 33b1e0a273af: Waiting [2022-04-06T08:35:43.075Z] 5d3b04190fa2: Waiting [2022-04-06T08:35:43.075Z] 5c69ac0246d0: Download complete [2022-04-06T08:35:43.075Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-06T08:35:43.075Z] 3a2ae6a8a46f: Download complete [2022-04-06T08:35:43.075Z] 33b1e0a273af: Verifying Checksum [2022-04-06T08:35:43.075Z] 33b1e0a273af: Download complete [2022-04-06T08:35:43.075Z] ec43610c2a17: Verifying Checksum [2022-04-06T08:35:43.075Z] ec43610c2a17: Download complete [2022-04-06T08:35:43.075Z] 5d3b04190fa2: Verifying Checksum [2022-04-06T08:35:43.075Z] 5d3b04190fa2: Download complete [2022-04-06T08:35:43.335Z] 5eb5b503b376: Verifying Checksum [2022-04-06T08:35:43.335Z] 5eb5b503b376: Download complete [2022-04-06T08:35:43.902Z] 2f39f015ded8: Verifying Checksum [2022-04-06T08:35:43.902Z] 2f39f015ded8: Download complete [2022-04-06T08:35:44.470Z] 5eb5b503b376: Pull complete [2022-04-06T08:35:44.470Z] 5c69ac0246d0: Pull complete [2022-04-06T08:35:45.039Z] ec43610c2a17: Pull complete [2022-04-06T08:35:45.039Z] 3a2ae6a8a46f: Pull complete [2022-04-06T08:35:45.299Z] 33b1e0a273af: Pull complete [2022-04-06T08:35:45.299Z] 5d3b04190fa2: Pull complete [2022-04-06T08:35:49.603Z] 2f39f015ded8: Pull complete [2022-04-06T08:35:49.603Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-06T08:35:49.603Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T08:35:49.603Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-06T08:35:49.664Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:35:49.706Z] $ 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-04-06T08:35:51.227Z] $ docker top f41a70b08209d498c19c69851d9f0377d1f44620fc5d3e69db2ab21cdf3441f6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:35:51.611Z] ---> job-cost.sh [2022-04-06T08:35:51.611Z] lf-activate-venv: SKIPPING [2022-04-06T08:35:51.611Z] INFO: No Stack... [2022-04-06T08:35:52.182Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T08:35:52.442Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T08:35:52.732Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-04-06T08:35:52.732Z] + cut -d, -f6 [Pipeline] lock [2022-04-06T08:35:52.748Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [2022-04-06T08:35:52.753Z] Resource [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] did not exist. Created. [2022-04-06T08:35:52.754Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T08:35:53.053Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-06T08:35:53.074Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T08:35:53.082Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T08:35:53.104Z] $ docker stop --time=1 f41a70b08209d498c19c69851d9f0377d1f44620fc5d3e69db2ab21cdf3441f6 [2022-04-06T08:35:54.266Z] $ docker rm -f f41a70b08209d498c19c69851d9f0377d1f44620fc5d3e69db2ab21cdf3441f6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-06T08:36:59.984Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-10953 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-04-06T08:36:59.995Z] Running in /w/workspace/device-rest-go/29 [Pipeline] { [Pipeline] checkout [2022-04-06T08:37:00.655Z] The recommended git tool is: git [2022-04-06T08:37:08.308Z] using credential edgex-jenkins-ssh [2022-04-06T08:37:08.346Z] Cloning the remote Git repository [2022-04-06T08:37:08.599Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-06T08:37:08.840Z] > git init /w/workspace/device-rest-go/29 # timeout=10 [2022-04-06T08:37:08.948Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-06T08:37:08.949Z] > git --version # timeout=10 [2022-04-06T08:37:08.975Z] > git --version # 'git version 2.25.1' [2022-04-06T08:37:08.978Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-06T08:37:09.085Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T08:37:11.078Z] Avoid second fetch [2022-04-06T08:37:11.079Z] Checking out Revision e20d54948958fbae002d4522b61cee1c213d8f02 (main) [2022-04-06T08:37:11.039Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-06T08:37:11.061Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-06T08:37:11.108Z] > git config core.sparsecheckout # timeout=10 [2022-04-06T08:37:11.133Z] > git checkout -f e20d54948958fbae002d4522b61cee1c213d8f02 # timeout=10 [2022-04-06T08:37:15.498Z] Commit message: "Merge pull request #169 from bnevis-i/add-spiffe" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T08:37:16.490Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-06T08:37:16.490Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T08:37:16.490Z] Dload Upload Total Spent Left Speed [2022-04-06T08:37:16.490Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 196k 0 --:--:-- --:--:-- --:--:-- 196k [Pipeline] sh [2022-04-06T08:37:17.064Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-06T08:37:17.420Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-04-06T08:37:17.420Z] sudo tee /etc/docker/daemon.new [2022-04-06T08:37:17.420Z] { [2022-04-06T08:37:17.420Z] "registry-mirrors": [ [2022-04-06T08:37:17.420Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-06T08:37:17.420Z] ], [2022-04-06T08:37:17.420Z] "bip": "10.250.0.254/24", [2022-04-06T08:37:17.420Z] "hosts": [ [2022-04-06T08:37:17.420Z] "tcp://0.0.0.0:5555", [2022-04-06T08:37:17.420Z] "unix:///var/run/docker.sock" [2022-04-06T08:37:17.420Z] ], [2022-04-06T08:37:17.420Z] "mtu": 1458, [2022-04-06T08:37:17.420Z] "selinux-enabled": true, [2022-04-06T08:37:17.420Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-06T08:37:17.420Z] } [Pipeline] sh [2022-04-06T08:37:17.772Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-06T08:37:18.132Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:37:36.556Z] provisioning config files... [2022-04-06T08:37:36.582Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config8808043607258862910tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:37:36.962Z] ---> docker-login.sh [2022-04-06T08:37:36.962Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:37:37.573Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:37:37.850Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:37:37.850Z] Configure a credential helper to remove this warning. See [2022-04-06T08:37:37.850Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:37:37.850Z] [2022-04-06T08:37:37.850Z] Login Succeeded [2022-04-06T08:37:37.850Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:37:38.451Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:37:38.451Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:37:38.451Z] Configure a credential helper to remove this warning. See [2022-04-06T08:37:38.451Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:37:38.451Z] [2022-04-06T08:37:38.451Z] Login Succeeded [2022-04-06T08:37:38.451Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:37:38.731Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:37:39.016Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:37:39.016Z] Configure a credential helper to remove this warning. See [2022-04-06T08:37:39.016Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:37:39.016Z] [2022-04-06T08:37:39.016Z] Login Succeeded [2022-04-06T08:37:39.016Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:37:39.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:37:39.566Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:37:39.566Z] Configure a credential helper to remove this warning. See [2022-04-06T08:37:39.566Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:37:39.566Z] [2022-04-06T08:37:39.566Z] Login Succeeded [2022-04-06T08:37:39.566Z] docker.io [2022-04-06T08:37:39.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:37:40.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:37:40.441Z] Configure a credential helper to remove this warning. See [2022-04-06T08:37:40.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:37:40.441Z] [2022-04-06T08:37:40.441Z] Login Succeeded [2022-04-06T08:37:40.441Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:37:40.457Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-06T08:37:41.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T08:37:41.108Z] ========================================================= [2022-04-06T08:37:41.108Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-06T08:37:41.108Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:37:41.604Z] + 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-04-06T08:37:41.604Z] Sending build context to Docker daemon 127.5kB [2022-04-06T08:37:41.604Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T08:37:41.604Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-06T08:37:41.878Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-06T08:37:41.878Z] 9b3977197b4f: Pulling fs layer [2022-04-06T08:37:41.878Z] 1a89e8eeedd5: Pulling fs layer [2022-04-06T08:37:41.878Z] 94645a83ff95: Pulling fs layer [2022-04-06T08:37:41.878Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-06T08:37:41.878Z] 0c92f367c5e7: Pulling fs layer [2022-04-06T08:37:41.878Z] f7c0051592d6: Pulling fs layer [2022-04-06T08:37:41.878Z] a227ed2f7395: Pulling fs layer [2022-04-06T08:37:41.878Z] 7b1c46037f91: Pulling fs layer [2022-04-06T08:37:41.878Z] f7c0051592d6: Waiting [2022-04-06T08:37:41.878Z] 3f3a8bcf1eab: Waiting [2022-04-06T08:37:41.878Z] 0c92f367c5e7: Waiting [2022-04-06T08:37:41.878Z] a227ed2f7395: Waiting [2022-04-06T08:37:41.878Z] 7b1c46037f91: Waiting [2022-04-06T08:37:41.878Z] 94645a83ff95: Download complete [2022-04-06T08:37:41.878Z] 1a89e8eeedd5: Verifying Checksum [2022-04-06T08:37:41.878Z] 1a89e8eeedd5: Download complete [2022-04-06T08:37:41.878Z] 0c92f367c5e7: Verifying Checksum [2022-04-06T08:37:41.878Z] 0c92f367c5e7: Download complete [2022-04-06T08:37:41.878Z] f7c0051592d6: Verifying Checksum [2022-04-06T08:37:41.878Z] f7c0051592d6: Download complete [2022-04-06T08:37:41.878Z] 9b3977197b4f: Verifying Checksum [2022-04-06T08:37:41.878Z] 9b3977197b4f: Download complete [2022-04-06T08:37:42.158Z] a227ed2f7395: Download complete [2022-04-06T08:37:42.770Z] 9b3977197b4f: Pull complete [2022-04-06T08:37:43.380Z] 1a89e8eeedd5: Pull complete [2022-04-06T08:37:43.661Z] 94645a83ff95: Pull complete [2022-04-06T08:37:43.936Z] 7b1c46037f91: Verifying Checksum [2022-04-06T08:37:43.936Z] 7b1c46037f91: Download complete [2022-04-06T08:37:44.538Z] 3f3a8bcf1eab: Verifying Checksum [2022-04-06T08:37:44.538Z] 3f3a8bcf1eab: Download complete [2022-04-06T08:37:56.959Z] 3f3a8bcf1eab: Pull complete [2022-04-06T08:37:56.959Z] 0c92f367c5e7: Pull complete [2022-04-06T08:37:57.231Z] f7c0051592d6: Pull complete [2022-04-06T08:37:57.504Z] a227ed2f7395: Pull complete [2022-04-06T08:38:04.234Z] 7b1c46037f91: Pull complete [2022-04-06T08:38:04.234Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-06T08:38:04.234Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-06T08:38:04.234Z] ---> f79e39bc4007 [2022-04-06T08:38:04.235Z] Step 3/12 : ARG MAKE='make build' [2022-04-06T08:38:04.840Z] ---> Running in 689ca4f35d24 [2022-04-06T08:38:05.451Z] Removing intermediate container 689ca4f35d24 [2022-04-06T08:38:05.451Z] ---> f9c839e396e3 [2022-04-06T08:38:05.451Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T08:38:05.451Z] ---> Running in 8239419ec19b [2022-04-06T08:38:05.741Z] Removing intermediate container 8239419ec19b [2022-04-06T08:38:05.741Z] ---> be947341a138 [2022-04-06T08:38:05.741Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T08:38:05.741Z] ---> Running in ca6874c24a48 [2022-04-06T08:38:06.024Z] Removing intermediate container ca6874c24a48 [2022-04-06T08:38:06.024Z] ---> eaa39bd359b5 [2022-04-06T08:38:06.024Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T08:38:06.303Z] ---> Running in ea8e5d922242 [2022-04-06T08:38:08.291Z] Removing intermediate container ea8e5d922242 [2022-04-06T08:38:08.291Z] ---> 95f07ad89197 [2022-04-06T08:38:08.291Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T08:38:08.291Z] ---> Running in cac5f6857230 [2022-04-06T08:38:09.279Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T08:38:10.288Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T08:38:11.277Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-06T08:38:11.277Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-06T08:38:11.567Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-06T08:38:11.567Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-06T08:38:11.843Z] Executing busybox-1.34.1-r3.trigger [2022-04-06T08:38:11.843Z] OK: 224 MiB in 56 packages [2022-04-06T08:38:13.305Z] Removing intermediate container cac5f6857230 [2022-04-06T08:38:13.305Z] ---> 96dba69296d9 [2022-04-06T08:38:13.305Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-06T08:38:13.586Z] ---> Running in d9b91ea28362 [2022-04-06T08:38:13.861Z] Removing intermediate container d9b91ea28362 [2022-04-06T08:38:13.861Z] ---> f496c8b7dbd0 [2022-04-06T08:38:13.861Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-06T08:38:14.464Z] ---> e86380f3b39d [2022-04-06T08:38:14.464Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T08:38:14.464Z] ---> Running in 6981c20e98b0 [2022-04-06T08:39:11.001Z] Removing intermediate container 6981c20e98b0 [2022-04-06T08:39:11.001Z] ---> 5a0c4a5eeb5d [2022-04-06T08:39:11.001Z] Step 11/12 : COPY . . [2022-04-06T08:39:11.001Z] ---> 1bab093eaea0 [2022-04-06T08:39:11.001Z] Step 12/12 : RUN $MAKE [2022-04-06T08:39:11.001Z] ---> Running in b1bb201158bd [2022-04-06T08:39:11.001Z] noop [2022-04-06T08:39:11.001Z] Removing intermediate container b1bb201158bd [2022-04-06T08:39:11.001Z] ---> f396558d0224 [2022-04-06T08:39:11.001Z] Successfully built f396558d0224 [2022-04-06T08:39:11.001Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:39:11.353Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T08:39:11.353Z] . [Pipeline] withDockerContainer [2022-04-06T08:39:11.583Z] prd-ubuntu20.04-docker-arm64-4c-16g-10953 does not seem to be running inside a container [2022-04-06T08:39:11.691Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@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-04-06T08:39:12.991Z] $ docker top 3a980f1f447dc7ed6c457a7c7380baac664763050ae0f9ea3a522c5c15314a8b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T08:39:13.881Z] + go version [2022-04-06T08:39:13.881Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-06T08:39:13.911Z] $ docker stop --time=1 3a980f1f447dc7ed6c457a7c7380baac664763050ae0f9ea3a522c5c15314a8b [2022-04-06T08:39:15.569Z] $ docker rm -f 3a980f1f447dc7ed6c457a7c7380baac664763050ae0f9ea3a522c5c15314a8b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:39:16.171Z] + docker inspect -f . ci-base-image-arm64 [2022-04-06T08:39:16.171Z] . [Pipeline] withDockerContainer [2022-04-06T08:39:16.401Z] prd-ubuntu20.04-docker-arm64-4c-16g-10953 does not seem to be running inside a container [2022-04-06T08:39:16.491Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@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-04-06T08:39:17.751Z] $ docker top a4044d64363049e267c11b73193137d0992b5977abfcdeecabcd46a980d1ad91 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-06T08:39:18.875Z] + make test [2022-04-06T08:39:18.875Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-06T08:39:20.323Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-06T08:40:42.203Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-06T08:40:42.203Z] ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 55.2% of statements [2022-04-06T08:40:42.203Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-06T08:40:42.203Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-06T08:41:09.046Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-06T08:41:09.046Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-06T08:41:09.046Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-06T08:41:11.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-06T08:41:11.747Z] $ docker stop --time=1 a4044d64363049e267c11b73193137d0992b5977abfcdeecabcd46a980d1ad91 [2022-04-06T08:41:13.629Z] $ docker rm -f a4044d64363049e267c11b73193137d0992b5977abfcdeecabcd46a980d1ad91 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T08:41:14.573Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-06T08:41:14.593Z] Warning: overwriting stash ‘coverage-report’ [2022-04-06T08:41:15.088Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-06T08:41:15.483Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-06T08:41:15.827Z] + ls -al . [2022-04-06T08:41:15.827Z] total 168 [2022-04-06T08:41:15.828Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:41 . [2022-04-06T08:41:15.828Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 6 08:37 .. [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 6 08:37 .dockerignore [2022-04-06T08:41:15.828Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 6 08:37 .git [2022-04-06T08:41:15.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:37 .github [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 6 08:37 .gitignore [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 6 08:37 .golangci.yml [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 6 08:37 Attribution.txt [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 6 08:37 CHANGELOG.md [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 6 08:37 Dockerfile [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 6 08:37 GOVERNANCE.md [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 6 08:37 Jenkinsfile [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 6 08:37 LICENSE [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 6 08:37 Makefile [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 6 08:37 OWNERS.md [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 6 08:37 README.md [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 6 08:34 VERSION [2022-04-06T08:41:15.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:37 bin [2022-04-06T08:41:15.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:37 cmd [2022-04-06T08:41:15.828Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 6 08:40 coverage.out [2022-04-06T08:41:15.828Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 6 08:37 driver [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 6 08:37 go.mod [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 6 08:37 go.sum [2022-04-06T08:41:15.828Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 6 08:37 snap [2022-04-06T08:41:15.828Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 6 08:37 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:41:16.173Z] + 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=e20d54948958fbae002d4522b61cee1c213d8f02 --label arch=arm64 --label version=2.2.0-dev.8 . [2022-04-06T08:41:16.173Z] Sending build context to Docker daemon 137.7kB [2022-04-06T08:41:16.448Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-06T08:41:16.448Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-06T08:41:16.448Z] ---> f396558d0224 [2022-04-06T08:41:16.448Z] Step 3/25 : ARG MAKE='make build' [2022-04-06T08:41:16.726Z] ---> Running in 67e06703e35d [2022-04-06T08:41:17.002Z] Removing intermediate container 67e06703e35d [2022-04-06T08:41:17.003Z] ---> 44c87a21bf91 [2022-04-06T08:41:17.003Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-06T08:41:17.003Z] ---> Running in f5a18ba20272 [2022-04-06T08:41:17.277Z] Removing intermediate container f5a18ba20272 [2022-04-06T08:41:17.277Z] ---> 2643cc8c7efe [2022-04-06T08:41:17.277Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-06T08:41:17.553Z] ---> Running in 61636838489e [2022-04-06T08:41:17.843Z] Removing intermediate container 61636838489e [2022-04-06T08:41:17.843Z] ---> 47cf2298621e [2022-04-06T08:41:17.843Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-06T08:41:17.843Z] ---> Running in 3d761d8175f7 [2022-04-06T08:41:19.828Z] Removing intermediate container 3d761d8175f7 [2022-04-06T08:41:19.828Z] ---> 718b68abccfd [2022-04-06T08:41:19.828Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-06T08:41:19.828Z] ---> Running in 430212cbeb96 [2022-04-06T08:41:20.808Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-06T08:41:21.787Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-06T08:41:22.386Z] OK: 224 MiB in 56 packages [2022-04-06T08:41:23.369Z] Removing intermediate container 430212cbeb96 [2022-04-06T08:41:23.369Z] ---> 3ed6c3502b4e [2022-04-06T08:41:23.369Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-06T08:41:23.369Z] ---> Running in b1bbcf0b4077 [2022-04-06T08:41:23.644Z] Removing intermediate container b1bbcf0b4077 [2022-04-06T08:41:23.644Z] ---> 039a27cb9b1a [2022-04-06T08:41:23.644Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-06T08:41:24.245Z] ---> f0ef45e33684 [2022-04-06T08:41:24.245Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-06T08:41:24.245Z] ---> Running in 9bca97c08f1b [2022-04-06T08:41:26.221Z] Removing intermediate container 9bca97c08f1b [2022-04-06T08:41:26.221Z] ---> 5b834f77ccf1 [2022-04-06T08:41:26.221Z] Step 11/25 : COPY . . [2022-04-06T08:41:26.819Z] ---> bddad1bced77 [2022-04-06T08:41:26.819Z] Step 12/25 : RUN $MAKE [2022-04-06T08:41:26.819Z] ---> Running in 8dab0153d74b [2022-04-06T08:41:27.803Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.8" -o cmd/device-rest ./cmd [2022-04-06T08:42:49.647Z] Removing intermediate container 8dab0153d74b [2022-04-06T08:42:49.647Z] ---> c4d2cc1ce65e [2022-04-06T08:42:49.647Z] Step 13/25 : FROM alpine:3.14 [2022-04-06T08:42:49.647Z] 3.14: Pulling from library/alpine [2022-04-06T08:42:49.648Z] 455c02918c45: Pulling fs layer [2022-04-06T08:42:49.648Z] 455c02918c45: Verifying Checksum [2022-04-06T08:42:49.648Z] 455c02918c45: Download complete [2022-04-06T08:42:49.648Z] 455c02918c45: Pull complete [2022-04-06T08:42:49.648Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-06T08:42:49.648Z] Status: Downloaded newer image for alpine:3.14 [2022-04-06T08:42:49.648Z] ---> ac73e934f311 [2022-04-06T08:42:49.648Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-06T08:42:49.648Z] ---> Running in 424138a3aa3c [2022-04-06T08:42:49.648Z] Removing intermediate container 424138a3aa3c [2022-04-06T08:42:49.648Z] ---> 12cdb44d08dc [2022-04-06T08:42:49.648Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-06T08:42:49.648Z] ---> Running in 96768cc3e819 [2022-04-06T08:42:49.648Z] Removing intermediate container 96768cc3e819 [2022-04-06T08:42:49.648Z] ---> 129fbe6fff45 [2022-04-06T08:42:49.648Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-06T08:42:49.648Z] ---> Running in d3c935ed0467 [2022-04-06T08:42:49.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-06T08:42:49.648Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-06T08:42:49.648Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-06T08:42:49.648Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-06T08:42:49.648Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-06T08:42:49.648Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-06T08:42:49.648Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-06T08:42:49.648Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-06T08:42:49.648Z] Executing busybox-1.33.1-r7.trigger [2022-04-06T08:42:49.648Z] OK: 8 MiB in 20 packages [2022-04-06T08:42:49.648Z] Removing intermediate container d3c935ed0467 [2022-04-06T08:42:49.648Z] ---> 8bca259110c1 [2022-04-06T08:42:49.648Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-06T08:42:49.648Z] ---> 3c9cbeafedb9 [2022-04-06T08:42:49.648Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-06T08:42:49.648Z] ---> 238b101c12e1 [2022-04-06T08:42:49.648Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-06T08:42:50.255Z] ---> 8d3faaf0c157 [2022-04-06T08:42:50.255Z] Step 20/25 : EXPOSE 59986 [2022-04-06T08:42:50.255Z] ---> Running in d27eaafcbecb [2022-04-06T08:42:50.863Z] Removing intermediate container d27eaafcbecb [2022-04-06T08:42:50.863Z] ---> b6dfa01dee2b [2022-04-06T08:42:50.863Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-06T08:42:50.863Z] ---> Running in aa2e46012884 [2022-04-06T08:42:51.138Z] Removing intermediate container aa2e46012884 [2022-04-06T08:42:51.138Z] ---> ed44e71130c8 [2022-04-06T08:42:51.138Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-06T08:42:51.138Z] ---> Running in 51f0fbfc7afe [2022-04-06T08:42:51.414Z] Removing intermediate container 51f0fbfc7afe [2022-04-06T08:42:51.414Z] ---> 6d206729b0a9 [2022-04-06T08:42:51.414Z] Step 23/25 : LABEL arch=arm64 [2022-04-06T08:42:51.689Z] ---> Running in af1489dd08a5 [2022-04-06T08:42:51.971Z] Removing intermediate container af1489dd08a5 [2022-04-06T08:42:51.971Z] ---> 935704467cfc [2022-04-06T08:42:51.971Z] Step 24/25 : LABEL git_sha=e20d54948958fbae002d4522b61cee1c213d8f02 [2022-04-06T08:42:51.971Z] ---> Running in 0401508db18d [2022-04-06T08:42:52.247Z] Removing intermediate container 0401508db18d [2022-04-06T08:42:52.247Z] ---> c0fed04c8d35 [2022-04-06T08:42:52.247Z] Step 25/25 : LABEL version=2.2.0-dev.8 [2022-04-06T08:42:52.529Z] ---> Running in fd668bda9402 [2022-04-06T08:42:52.805Z] Removing intermediate container fd668bda9402 [2022-04-06T08:42:52.805Z] ---> 4ab6f13befb8 [2022-04-06T08:42:52.805Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-06T08:42:52.805Z] Successfully built 4ab6f13befb8 [2022-04-06T08:42:52.805Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:42:52.912Z] provisioning config files... [2022-04-06T08:42:52.934Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/29@tmp/config4310102670045864789tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:42:53.295Z] ---> docker-login.sh [2022-04-06T08:42:53.295Z] nexus3.edgexfoundry.org:10001 [2022-04-06T08:42:53.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:42:53.572Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:42:53.572Z] Configure a credential helper to remove this warning. See [2022-04-06T08:42:53.572Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:42:53.572Z] [2022-04-06T08:42:53.572Z] Login Succeeded [2022-04-06T08:42:53.572Z] nexus3.edgexfoundry.org:10002 [2022-04-06T08:42:54.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:42:54.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:42:54.176Z] Configure a credential helper to remove this warning. See [2022-04-06T08:42:54.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:42:54.176Z] [2022-04-06T08:42:54.176Z] Login Succeeded [2022-04-06T08:42:54.176Z] nexus3.edgexfoundry.org:10003 [2022-04-06T08:42:54.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:42:54.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:42:54.785Z] Configure a credential helper to remove this warning. See [2022-04-06T08:42:54.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:42:54.785Z] [2022-04-06T08:42:54.785Z] Login Succeeded [2022-04-06T08:42:54.785Z] nexus3.edgexfoundry.org:10004 [2022-04-06T08:42:55.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:42:55.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:42:55.338Z] Configure a credential helper to remove this warning. See [2022-04-06T08:42:55.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:42:55.338Z] [2022-04-06T08:42:55.338Z] Login Succeeded [2022-04-06T08:42:55.338Z] docker.io [2022-04-06T08:42:55.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-06T08:42:56.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-06T08:42:56.213Z] Configure a credential helper to remove this warning. See [2022-04-06T08:42:56.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-06T08:42:56.213Z] [2022-04-06T08:42:56.213Z] Login Succeeded [2022-04-06T08:42:56.213Z] ---> docker-login.sh ends [Pipeline] } [2022-04-06T08:42:56.232Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T08:42:56.269Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-06T08:42:56.297Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-04-06T08:42:56.297Z] e20d54948958fbae002d4522b61cee1c213d8f02 [2022-04-06T08:42:56.297Z] latest [2022-04-06T08:42:56.297Z] 2.2.0-dev.8 [2022-04-06T08:42:56.297Z] e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [2022-04-06T08:42:56.297Z] main [2022-04-06T08:42:56.297Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:42:56.669Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:42:57.018Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02 [2022-04-06T08:42:57.018Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-06T08:42:57.018Z] e954a2817dfd: Preparing [2022-04-06T08:42:57.018Z] f151668562a9: Preparing [2022-04-06T08:42:57.018Z] a35da44265c2: Preparing [2022-04-06T08:42:57.018Z] 346f0ca82880: Preparing [2022-04-06T08:42:57.018Z] f73e7dbfee58: Preparing [2022-04-06T08:42:57.300Z] f73e7dbfee58: Layer already exists [2022-04-06T08:42:57.300Z] e954a2817dfd: Pushed [2022-04-06T08:42:57.300Z] f151668562a9: Pushed [2022-04-06T08:42:57.896Z] 346f0ca82880: Pushed [2022-04-06T08:43:03.320Z] a35da44265c2: Pushed [2022-04-06T08:43:03.320Z] e20d54948958fbae002d4522b61cee1c213d8f02: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:03.673Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:04.025Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-06T08:43:04.025Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-06T08:43:04.025Z] e954a2817dfd: Preparing [2022-04-06T08:43:04.025Z] f151668562a9: Preparing [2022-04-06T08:43:04.025Z] a35da44265c2: Preparing [2022-04-06T08:43:04.025Z] 346f0ca82880: Preparing [2022-04-06T08:43:04.025Z] f73e7dbfee58: Preparing [2022-04-06T08:43:04.025Z] f73e7dbfee58: Layer already exists [2022-04-06T08:43:04.025Z] 346f0ca82880: Layer already exists [2022-04-06T08:43:04.025Z] e954a2817dfd: Layer already exists [2022-04-06T08:43:04.025Z] f151668562a9: Layer already exists [2022-04-06T08:43:04.025Z] a35da44265c2: Layer already exists [2022-04-06T08:43:04.300Z] latest: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:04.658Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:05.011Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.8 [2022-04-06T08:43:05.011Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-06T08:43:05.011Z] e954a2817dfd: Preparing [2022-04-06T08:43:05.011Z] f151668562a9: Preparing [2022-04-06T08:43:05.011Z] a35da44265c2: Preparing [2022-04-06T08:43:05.011Z] 346f0ca82880: Preparing [2022-04-06T08:43:05.011Z] f73e7dbfee58: Preparing [2022-04-06T08:43:05.011Z] 346f0ca82880: Layer already exists [2022-04-06T08:43:05.011Z] f73e7dbfee58: Layer already exists [2022-04-06T08:43:05.011Z] f151668562a9: Layer already exists [2022-04-06T08:43:05.011Z] e954a2817dfd: Layer already exists [2022-04-06T08:43:05.011Z] a35da44265c2: Layer already exists [2022-04-06T08:43:05.291Z] 2.2.0-dev.8: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:05.644Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:05.989Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [2022-04-06T08:43:05.989Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-06T08:43:05.989Z] e954a2817dfd: Preparing [2022-04-06T08:43:05.989Z] f151668562a9: Preparing [2022-04-06T08:43:05.989Z] a35da44265c2: Preparing [2022-04-06T08:43:05.989Z] 346f0ca82880: Preparing [2022-04-06T08:43:05.989Z] f73e7dbfee58: Preparing [2022-04-06T08:43:05.989Z] a35da44265c2: Layer already exists [2022-04-06T08:43:05.989Z] 346f0ca82880: Layer already exists [2022-04-06T08:43:05.989Z] e954a2817dfd: Layer already exists [2022-04-06T08:43:05.989Z] f73e7dbfee58: Layer already exists [2022-04-06T08:43:05.989Z] f151668562a9: Layer already exists [2022-04-06T08:43:06.263Z] e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:06.617Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:06.964Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-04-06T08:43:06.964Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-06T08:43:06.964Z] e954a2817dfd: Preparing [2022-04-06T08:43:06.964Z] f151668562a9: Preparing [2022-04-06T08:43:06.964Z] a35da44265c2: Preparing [2022-04-06T08:43:06.964Z] 346f0ca82880: Preparing [2022-04-06T08:43:06.964Z] f73e7dbfee58: Preparing [2022-04-06T08:43:06.964Z] 346f0ca82880: Layer already exists [2022-04-06T08:43:06.964Z] f73e7dbfee58: Layer already exists [2022-04-06T08:43:06.964Z] a35da44265c2: Layer already exists [2022-04-06T08:43:06.964Z] e954a2817dfd: Layer already exists [2022-04-06T08:43:06.964Z] f151668562a9: Layer already exists [2022-04-06T08:43:07.239Z] main: digest: sha256:84253f0e921676fb1bd7f36e5fbd4309d937a5e3cd32a571f381fb25d60a44fd size: 1365 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-06T08:43:07.298Z] ===================================================== [Pipeline] echo [2022-04-06T08:43:07.307Z] taggedImages: [2022-04-06T08:43:07.307Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02 [2022-04-06T08:43:07.307Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-06T08:43:07.307Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.8 [2022-04-06T08:43:07.307Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:e20d54948958fbae002d4522b61cee1c213d8f02-2.2.0-dev.8 [2022-04-06T08:43:07.307Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:07.675Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T08:43:07.675Z] [2022-04-06T08:43:07.675Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:08.032Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T08:43:08.305Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-06T08:43:08.306Z] 8998bd30e6a1: Pulling fs layer [2022-04-06T08:43:08.306Z] 04944245beec: Pulling fs layer [2022-04-06T08:43:08.306Z] 699f458cf7ca: Pulling fs layer [2022-04-06T08:43:08.306Z] 765212b225bb: Pulling fs layer [2022-04-06T08:43:08.306Z] f23df028b6ca: Pulling fs layer [2022-04-06T08:43:08.306Z] d65c8cfc05b1: Pulling fs layer [2022-04-06T08:43:08.306Z] 2437ff75d9bd: Pulling fs layer [2022-04-06T08:43:08.306Z] f23df028b6ca: Waiting [2022-04-06T08:43:08.306Z] d65c8cfc05b1: Waiting [2022-04-06T08:43:08.306Z] 2437ff75d9bd: Waiting [2022-04-06T08:43:08.306Z] 765212b225bb: Waiting [2022-04-06T08:43:08.306Z] 04944245beec: Download complete [2022-04-06T08:43:08.306Z] f23df028b6ca: Download complete [2022-04-06T08:43:08.306Z] d65c8cfc05b1: Verifying Checksum [2022-04-06T08:43:08.306Z] d65c8cfc05b1: Download complete [2022-04-06T08:43:08.582Z] 699f458cf7ca: Verifying Checksum [2022-04-06T08:43:08.582Z] 699f458cf7ca: Download complete [2022-04-06T08:43:08.870Z] 8998bd30e6a1: Verifying Checksum [2022-04-06T08:43:08.870Z] 8998bd30e6a1: Download complete [2022-04-06T08:43:11.502Z] 2437ff75d9bd: Verifying Checksum [2022-04-06T08:43:11.502Z] 2437ff75d9bd: Download complete [2022-04-06T08:43:13.489Z] 8998bd30e6a1: Pull complete [2022-04-06T08:43:13.765Z] 04944245beec: Pull complete [2022-04-06T08:43:15.211Z] 699f458cf7ca: Pull complete [2022-04-06T08:43:15.485Z] 765212b225bb: Pull complete [2022-04-06T08:43:16.470Z] f23df028b6ca: Pull complete [2022-04-06T08:43:16.745Z] d65c8cfc05b1: Pull complete [2022-04-06T08:43:31.877Z] 2437ff75d9bd: Pull complete [2022-04-06T08:43:31.877Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-06T08:43:31.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-06T08:43:31.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-06T08:43:32.126Z] prd-ubuntu20.04-docker-arm64-4c-16g-10953 does not seem to be running inside a container [2022-04-06T08:43:32.217Z] $ 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/29 -v /w/workspace/device-rest-go/29:/w/workspace/device-rest-go/29:rw,z -v /w/workspace/device-rest-go/29@tmp:/w/workspace/device-rest-go/29@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-04-06T08:43:34.796Z] $ docker top 64c2d1902da556e84a00dd287583271c8f953011decbf3d46329804cb302c923 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:43:35.748Z] ---> job-cost.sh [2022-04-06T08:43:35.748Z] lf-activate-venv: SKIPPING [2022-04-06T08:43:35.748Z] INFO: No Stack... [2022-04-06T08:43:36.021Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-06T08:43:37.009Z] INFO: Archiving Costs [Pipeline] sh [2022-04-06T08:43:37.680Z] + cut -d, -f6 [2022-04-06T08:43:37.680Z] + cat /w/workspace/device-rest-go/29/archives/cost.csv [Pipeline] lock [2022-04-06T08:43:37.748Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [2022-04-06T08:43:37.754Z] Resource [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] did not exist. Created. [2022-04-06T08:43:37.754Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-06T08:43:38.426Z] /w/workspace/device-rest-go/29@tmp/durable-91311b87/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-06T08:43:39.107Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-06T08:43:39.134Z] Warning: overwriting stash ‘stack-cost’ [2022-04-06T08:43:39.180Z] Stashed 1 file(s) [Pipeline] } [2022-04-06T08:43:39.190Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-29-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-06T08:43:39.214Z] $ docker stop --time=1 64c2d1902da556e84a00dd287583271c8f953011decbf3d46329804cb302c923 [2022-04-06T08:43:40.761Z] $ docker rm -f 64c2d1902da556e84a00dd287583271c8f953011decbf3d46329804cb302c923 [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-04-06T08:43:41.215Z] provisioning config files... [2022-04-06T08:43:41.228Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7933298763043863071tmp [Pipeline] { [Pipeline] sh [2022-04-06T08:43:41.532Z] + set +x [2022-04-06T08:43:41.532Z] + curl -s https://codecov.io/bash [2022-04-06T08:43:41.532Z] + bash -s -- [2022-04-06T08:43:41.532Z] [2022-04-06T08:43:41.532Z] _____ _ [2022-04-06T08:43:41.532Z] / ____| | | [2022-04-06T08:43:41.532Z] | | ___ __| | ___ ___ _____ __ [2022-04-06T08:43:41.532Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-06T08:43:41.532Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-06T08:43:41.532Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-06T08:43:41.532Z] Bash-1.0.6 [2022-04-06T08:43:41.532Z] [2022-04-06T08:43:41.532Z] [2022-04-06T08:43:41.532Z] ==> git version 2.25.1 found [2022-04-06T08:43:41.532Z] ==> 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-04-06T08:43:41.532Z] Release-Date: 2020-01-08 [2022-04-06T08:43:41.532Z] 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-04-06T08:43:41.532Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-06T08:43:41.532Z] ==> Jenkins CI detected. [2022-04-06T08:43:41.532Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-04-06T08:43:41.532Z] project root: . [2022-04-06T08:43:41.532Z] --> token set from env [2022-04-06T08:43:41.532Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-06T08:43:41.532Z] ==> Running gcov in . (disable via -X gcov) [2022-04-06T08:43:41.532Z] ==> Python coveragepy not found [2022-04-06T08:43:41.532Z] ==> Searching for coverage reports in: [2022-04-06T08:43:41.532Z] + . [2022-04-06T08:43:41.532Z] -> Found 1 reports [2022-04-06T08:43:41.532Z] ==> Detecting git/mercurial file structure [2022-04-06T08:43:41.532Z] ==> Reading reports [2022-04-06T08:43:41.532Z] + ./coverage.out bytes=9355 [2022-04-06T08:43:41.532Z] ==> Appending adjustments [2022-04-06T08:43:41.532Z] https://docs.codecov.io/docs/fixing-reports [2022-04-06T08:43:41.532Z] + Found adjustments [2022-04-06T08:43:41.532Z] ==> Gzipping contents [2022-04-06T08:43:41.532Z] 4.0K /tmp/codecov.JuxEBd.gz [2022-04-06T08:43:41.532Z] ==> Uploading reports [2022-04-06T08:43:41.532Z] url: https://codecov.io [2022-04-06T08:43:41.532Z] query: branch=main&commit=e20d54948958fbae002d4522b61cee1c213d8f02&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-06T08:43:41.532Z] -> Pinging Codecov [2022-04-06T08:43:41.532Z] 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=e20d54948958fbae002d4522b61cee1c213d8f02&build=29&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F29%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-06T08:43:41.793Z] -> Uploading to [2022-04-06T08:43:41.793Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-06/4E5D53B4F1F92C436F7061BF334D961C/e20d54948958fbae002d4522b61cee1c213d8f02/deb15db3-eb91-4328-955b-a5b6c2e747e8.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220406%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220406T084341Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=32d26a6081bcbfde096b03532dd6d487167b068930e33e299db9f7623ed77b55 [2022-04-06T08:43:41.793Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-06T08:43:41.793Z] Dload Upload Total Spent Left Speed [2022-04-06T08:43:42.058Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 6818 --:--:-- --:--:-- --:--:-- 6818 [2022-04-06T08:43:42.058Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] } [2022-04-06T08:43:42.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-06T08:43:42.221Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-06T08:43:42.230Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:42.528Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-06T08:43:42.528Z] [2022-04-06T08:43:42.528Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:43:42.835Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-06T08:43:42.835Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-06T08:43:42.835Z] 188c0c94c7c5: Pulling fs layer [2022-04-06T08:43:42.835Z] 0ef7d3d256c8: Pulling fs layer [2022-04-06T08:43:42.835Z] de9db76c5a1d: Pulling fs layer [2022-04-06T08:43:42.835Z] 0eba1c9be4d2: Pulling fs layer [2022-04-06T08:43:42.835Z] 0d57e429df01: Pulling fs layer [2022-04-06T08:43:42.835Z] 4e4be7b47b0d: Pulling fs layer [2022-04-06T08:43:42.835Z] e1f770b5df2f: Pulling fs layer [2022-04-06T08:43:42.835Z] 85a0685a4137: Pulling fs layer [2022-04-06T08:43:42.835Z] 0d57e429df01: Waiting [2022-04-06T08:43:42.835Z] 4e4be7b47b0d: Waiting [2022-04-06T08:43:42.835Z] e1f770b5df2f: Waiting [2022-04-06T08:43:42.835Z] 85a0685a4137: Waiting [2022-04-06T08:43:42.835Z] 0eba1c9be4d2: Waiting [2022-04-06T08:43:42.835Z] de9db76c5a1d: Verifying Checksum [2022-04-06T08:43:42.835Z] de9db76c5a1d: Download complete [2022-04-06T08:43:42.835Z] 0ef7d3d256c8: Verifying Checksum [2022-04-06T08:43:42.835Z] 0ef7d3d256c8: Download complete [2022-04-06T08:43:42.835Z] 0d57e429df01: Verifying Checksum [2022-04-06T08:43:42.835Z] 0d57e429df01: Download complete [2022-04-06T08:43:42.835Z] 4e4be7b47b0d: Download complete [2022-04-06T08:43:42.835Z] 188c0c94c7c5: Verifying Checksum [2022-04-06T08:43:42.835Z] 188c0c94c7c5: Download complete [2022-04-06T08:43:43.095Z] 188c0c94c7c5: Pull complete [2022-04-06T08:43:43.095Z] e1f770b5df2f: Verifying Checksum [2022-04-06T08:43:43.095Z] e1f770b5df2f: Download complete [2022-04-06T08:43:43.095Z] 0ef7d3d256c8: Pull complete [2022-04-06T08:43:43.355Z] de9db76c5a1d: Pull complete [2022-04-06T08:43:43.614Z] 0eba1c9be4d2: Verifying Checksum [2022-04-06T08:43:43.614Z] 0eba1c9be4d2: Download complete [2022-04-06T08:43:43.614Z] 85a0685a4137: Verifying Checksum [2022-04-06T08:43:43.615Z] 85a0685a4137: Download complete [2022-04-06T08:43:46.911Z] 0eba1c9be4d2: Pull complete [2022-04-06T08:43:46.911Z] 0d57e429df01: Pull complete [2022-04-06T08:43:46.911Z] 4e4be7b47b0d: Pull complete [2022-04-06T08:43:47.173Z] e1f770b5df2f: Pull complete [2022-04-06T08:43:50.465Z] 85a0685a4137: Pull complete [2022-04-06T08:43:50.465Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-06T08:43:50.465Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-06T08:43:50.465Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-06T08:43:50.536Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:43:50.583Z] $ 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-04-06T08:43:52.631Z] $ docker top 95c6267fcab230f9c21e600f571eea904370ed846090db2209448e0403d2b00d -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-06T08:43:52.709Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-06T08:43:52.993Z] + set -o pipefail [2022-04-06T08:43:52.993Z] + snyk monitor '--org=edgex-jenkins' [2022-04-06T08:43:59.575Z] [2022-04-06T08:43:59.575Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-04-06T08:43:59.575Z] [2022-04-06T08:43:59.576Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/82948468-71b0-4e24-b26b-f133e7bcb627 [2022-04-06T08:43:59.576Z] [2022-04-06T08:43:59.576Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-06T08:43:59.576Z] [2022-04-06T08:43:59.576Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-06T08:43:59.576Z] [2022-04-06T08:43:59.576Z] [Pipeline] } [2022-04-06T08:43:59.601Z] $ docker stop --time=1 95c6267fcab230f9c21e600f571eea904370ed846090db2209448e0403d2b00d [2022-04-06T08:44:01.886Z] $ docker rm -f 95c6267fcab230f9c21e600f571eea904370ed846090db2209448e0403d2b00d [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-04-06T08:44:02.639Z] + git log --format=format:%s -1 e20d54948958fbae002d4522b61cee1c213d8f02 [Pipeline] sh [2022-04-06T08:44:02.934Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T08:44:02.934Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:44:03.231Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:44:03.231Z] . [Pipeline] withDockerContainer [2022-04-06T08:44:03.302Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:44:03.352Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-06T08:44:03.774Z] $ docker top 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T08:44:03.855Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:44:03.855Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:44:03.984Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:44:04.000Z] $ docker exec 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e ssh-agent [2022-04-06T08:44:04.090Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgolJkB/agent.15 [2022-04-06T08:44:04.090Z] SSH_AGENT_PID=22 [2022-04-06T08:44:04.095Z] Running ssh-add (command line suppressed) [2022-04-06T08:44:04.216Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3344003616384249021.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3344003616384249021.key) [2022-04-06T08:44:04.217Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:44:04.506Z] + git semver tag [2022-04-06T08:44:04.506Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T08:44:04.506Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-06T08:44:04.506Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-06T08:44:04.506Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T08:44:04.506Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T08:44:04.506Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T08:44:04.506Z] # $SEMVER_BRANCH = main [2022-04-06T08:44:04.506Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-06T08:44:04.506Z] # e20d54948958fbae002d4522b61cee1c213d8f02 HEAD [2022-04-06T08:44:04.506Z] # -> Force: false [2022-04-06T08:44:04.506Z] # 455027499bdcd1d5025c0c30e39554593e8b36ca refs/tags/v2.2.0-dev.8 [Pipeline] } [2022-04-06T08:44:04.530Z] $ docker exec --env ******** --env ******** 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e ssh-agent -k [2022-04-06T08:44:04.637Z] unset SSH_AUTH_SOCK; [2022-04-06T08:44:04.639Z] unset SSH_AGENT_PID; [2022-04-06T08:44:04.639Z] echo Agent pid 22 killed; [2022-04-06T08:44:04.636Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T08:44:04.943Z] + git semver [Pipeline] } [2022-04-06T08:44:04.971Z] $ docker stop --time=1 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e [2022-04-06T08:44:06.256Z] $ docker rm -f 2a48c4c1447f7871d744d767294e5b09ae1d94d68e3756d0d7a622ad4dafa26e [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:44:06.650Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-06T08:44:06.650Z] [2022-04-06T08:44:06.650Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:44:06.955Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-06T08:44:06.955Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-06T08:44:06.955Z] ab5ef0e58194: Pulling fs layer [2022-04-06T08:44:06.955Z] 9712f1f96733: Pulling fs layer [2022-04-06T08:44:06.955Z] 63f879dbbcfc: Pulling fs layer [2022-04-06T08:44:06.955Z] 0d9ebad4ef96: Pulling fs layer [2022-04-06T08:44:06.955Z] e9a5061849ea: Pulling fs layer [2022-04-06T08:44:06.955Z] d747dcd14b5f: Pulling fs layer [2022-04-06T08:44:06.955Z] 2de7ff778b66: Pulling fs layer [2022-04-06T08:44:06.955Z] 0d9ebad4ef96: Waiting [2022-04-06T08:44:06.955Z] e9a5061849ea: Waiting [2022-04-06T08:44:06.955Z] d747dcd14b5f: Waiting [2022-04-06T08:44:06.955Z] 2de7ff778b66: Waiting [2022-04-06T08:44:06.955Z] 9712f1f96733: Verifying Checksum [2022-04-06T08:44:06.955Z] 9712f1f96733: Download complete [2022-04-06T08:44:07.218Z] 63f879dbbcfc: Verifying Checksum [2022-04-06T08:44:07.218Z] 63f879dbbcfc: Download complete [2022-04-06T08:44:07.478Z] e9a5061849ea: Verifying Checksum [2022-04-06T08:44:07.478Z] e9a5061849ea: Download complete [2022-04-06T08:44:07.478Z] d747dcd14b5f: Download complete [2022-04-06T08:44:07.478Z] 0d9ebad4ef96: Download complete [2022-04-06T08:44:07.478Z] ab5ef0e58194: Verifying Checksum [2022-04-06T08:44:07.478Z] ab5ef0e58194: Download complete [2022-04-06T08:44:07.478Z] 2de7ff778b66: Verifying Checksum [2022-04-06T08:44:07.478Z] 2de7ff778b66: Download complete [2022-04-06T08:44:10.026Z] ab5ef0e58194: Pull complete [2022-04-06T08:44:10.026Z] 9712f1f96733: Pull complete [2022-04-06T08:44:10.961Z] 63f879dbbcfc: Pull complete [2022-04-06T08:44:14.255Z] 0d9ebad4ef96: Pull complete [2022-04-06T08:44:14.514Z] e9a5061849ea: Pull complete [2022-04-06T08:44:14.514Z] d747dcd14b5f: Pull complete [2022-04-06T08:44:15.454Z] 2de7ff778b66: Pull complete [2022-04-06T08:44:15.454Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-06T08:44:15.454Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-06T08:44:15.454Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-06T08:44:15.528Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:44:15.577Z] $ 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-04-06T08:44:17.936Z] $ docker top 42bdc258e579a410d48c827836fa8b2c6d4597f374a5386a3a988a1c0f7f7dc4 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:44:18.009Z] provisioning config files... [2022-04-06T08:44:18.017Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config207868514987507922tmp [2022-04-06T08:44:18.028Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5156768376702951803tmp [2022-04-06T08:44:18.039Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2164537458150100407tmp [Pipeline] { [Pipeline] echo [2022-04-06T08:44:18.057Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:18.340Z] ---> sigul-configuration.sh [2022-04-06T08:44:18.340Z] gpg: directory `/root/.gnupg' created [2022-04-06T08:44:18.340Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-06T08:44:18.340Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-06T08:44:18.340Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-06T08:44:18.340Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-06T08:44:18.340Z] gpg: CAST5 encrypted data [2022-04-06T08:44:18.340Z] gpg: encrypted with 1 passphrase [2022-04-06T08:44:18.340Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-06T08:44:18.628Z] + mkdir /home/jenkins [2022-04-06T08:44:18.628Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-06T08:44:18.912Z] + 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-04-06T08:44:18.922Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:19.206Z] ---> sigul-install.sh [2022-04-06T08:44:19.206Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-06T08:44:19.493Z] + git tag --list [2022-04-06T08:44:19.493Z] v1.0.0 [2022-04-06T08:44:19.493Z] v1.1.0 [2022-04-06T08:44:19.493Z] v1.1.1 [2022-04-06T08:44:19.493Z] v1.1.2 [2022-04-06T08:44:19.493Z] v1.2.0 [2022-04-06T08:44:19.493Z] v1.2.1 [2022-04-06T08:44:19.493Z] v2.0.0 [2022-04-06T08:44:19.493Z] v2.0.1-dev.1 [2022-04-06T08:44:19.493Z] v2.0.1-dev.10 [2022-04-06T08:44:19.493Z] v2.0.1-dev.11 [2022-04-06T08:44:19.493Z] v2.0.1-dev.12 [2022-04-06T08:44:19.493Z] v2.0.1-dev.13 [2022-04-06T08:44:19.493Z] v2.0.1-dev.14 [2022-04-06T08:44:19.493Z] v2.0.1-dev.2 [2022-04-06T08:44:19.493Z] v2.0.1-dev.3 [2022-04-06T08:44:19.493Z] v2.0.1-dev.4 [2022-04-06T08:44:19.493Z] v2.0.1-dev.5 [2022-04-06T08:44:19.493Z] v2.0.1-dev.6 [2022-04-06T08:44:19.493Z] v2.0.1-dev.7 [2022-04-06T08:44:19.493Z] v2.0.1-dev.8 [2022-04-06T08:44:19.493Z] v2.0.1-dev.9 [2022-04-06T08:44:19.493Z] v2.1.0 [2022-04-06T08:44:19.493Z] v2.2.0-dev.1 [2022-04-06T08:44:19.494Z] v2.2.0-dev.2 [2022-04-06T08:44:19.494Z] v2.2.0-dev.3 [2022-04-06T08:44:19.494Z] v2.2.0-dev.4 [2022-04-06T08:44:19.494Z] v2.2.0-dev.5 [2022-04-06T08:44:19.494Z] v2.2.0-dev.6 [2022-04-06T08:44:19.494Z] v2.2.0-dev.7 [2022-04-06T08:44:19.494Z] v2.2.0-dev.8 [Pipeline] sh [2022-04-06T08:44:19.787Z] + lftools sign git-tag v2.2.0-dev.8 [2022-04-06T08:44:20.356Z] Signing Git tag with Sigul... [2022-04-06T08:44:20.356Z] Signing v2.2.0-dev.8 [Pipeline] echo [2022-04-06T08:44:20.627Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:20.915Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-06T08:44:20.924Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-06T08:44:20.956Z] $ docker stop --time=1 42bdc258e579a410d48c827836fa8b2c6d4597f374a5386a3a988a1c0f7f7dc4 [2022-04-06T08:44:22.398Z] $ docker rm -f 42bdc258e579a410d48c827836fa8b2c6d4597f374a5386a3a988a1c0f7f7dc4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-06T08:44:22.804Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T08:44:22.804Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:44:23.108Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:44:23.108Z] . [Pipeline] withDockerContainer [2022-04-06T08:44:23.174Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:44:23.224Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-06T08:44:23.585Z] $ docker top 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T08:44:23.667Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:44:23.667Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:44:23.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:44:23.809Z] $ docker exec 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 ssh-agent [2022-04-06T08:44:23.939Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXocHeCK/agent.13 [2022-04-06T08:44:23.939Z] SSH_AGENT_PID=19 [2022-04-06T08:44:23.946Z] Running ssh-add (command line suppressed) [2022-04-06T08:44:24.072Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8990721003837168743.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8990721003837168743.key) [2022-04-06T08:44:24.073Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:44:24.370Z] + git semver bump pre [2022-04-06T08:44:24.370Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T08:44:24.370Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-06T08:44:24.370Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-06T08:44:24.370Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T08:44:24.370Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T08:44:24.370Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T08:44:24.370Z] # $SEMVER_BRANCH = main [2022-04-06T08:44:24.370Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-06T08:44:24.370Z] 2.2.0-dev.9 [Pipeline] } [2022-04-06T08:44:24.394Z] $ docker exec --env ******** --env ******** 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 ssh-agent -k [2022-04-06T08:44:24.505Z] unset SSH_AUTH_SOCK; [2022-04-06T08:44:24.506Z] unset SSH_AGENT_PID; [2022-04-06T08:44:24.506Z] echo Agent pid 19 killed; [2022-04-06T08:44:24.504Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T08:44:24.807Z] + git semver [Pipeline] } [2022-04-06T08:44:24.836Z] $ docker stop --time=1 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 [2022-04-06T08:44:26.134Z] $ docker rm -f 4a2de10eca0540c3ba486907f43ab2966b352286acd58557e7185a01d54a6279 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-06T08:44:26.478Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-06T08:44:26.478Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:44:26.776Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-06T08:44:26.776Z] . [Pipeline] withDockerContainer [2022-04-06T08:44:26.850Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:44:26.899Z] $ 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:10004/edgex-devops/git-semver:latest cat [2022-04-06T08:44:27.315Z] $ docker top ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-06T08:44:27.400Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-06T08:44:27.401Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-06T08:44:27.518Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-06T08:44:27.535Z] $ docker exec ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 ssh-agent [2022-04-06T08:44:27.643Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXJHLJke/agent.14 [2022-04-06T08:44:27.643Z] SSH_AGENT_PID=20 [2022-04-06T08:44:27.648Z] Running ssh-add (command line suppressed) [2022-04-06T08:44:27.777Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9152386599333099909.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9152386599333099909.key) [2022-04-06T08:44:27.778Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-06T08:44:28.066Z] + git semver push [2022-04-06T08:44:28.066Z] # -> Open(): unable to determine branch for HEAD [2022-04-06T08:44:28.066Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-06T08:44:28.066Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-06T08:44:28.066Z] # $SEMVER_REMOTE_NAME = origin [2022-04-06T08:44:28.066Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-06T08:44:28.066Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-06T08:44:28.066Z] # $SEMVER_BRANCH = main [2022-04-06T08:44:28.066Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-06T08:44:29.484Z] $ docker exec --env ******** --env ******** ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 ssh-agent -k [2022-04-06T08:44:29.596Z] unset SSH_AUTH_SOCK; [2022-04-06T08:44:29.596Z] unset SSH_AGENT_PID; [2022-04-06T08:44:29.596Z] echo Agent pid 20 killed; [2022-04-06T08:44:29.598Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-06T08:44:29.909Z] + git semver [Pipeline] } [2022-04-06T08:44:29.939Z] $ docker stop --time=1 ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 [2022-04-06T08:44:31.293Z] $ docker rm -f ad7c7da51a549a481eb3e89fa231ac4e1b37e3a83ea458e2ce3d6c94d14c16a3 [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-04-06T08:44:31.936Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-04-06T08:44:31.936Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-06T08:44:31.936Z] total 16 [2022-04-06T08:44:31.936Z] drwxr-xr-x 3 root root 4096 Apr 6 08:35 . [2022-04-06T08:44:31.936Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:44 .. [2022-04-06T08:44:31.936Z] drwxr-xr-x 2 root root 4096 Apr 6 08:35 cost [2022-04-06T08:44:31.936Z] -rw-r--r-- 1 root root 84 Apr 6 08:35 cost.csv [2022-04-06T08:44:31.936Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-06T08:44:31.936Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-06T08:44:31.936Z] total 16 [2022-04-06T08:44:31.936Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 6 08:35 . [2022-04-06T08:44:31.936Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 6 08:44 .. [2022-04-06T08:44:31.936Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 6 08:35 cost [2022-04-06T08:44:31.936Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 6 08:35 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:32.230Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:33.102Z] ---> package-listing.sh [2022-04-06T08:44:33.102Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-06T08:44:33.102Z] ++ facter osfamily [2022-04-06T08:44:33.365Z] + OS_FAMILY=debian [2022-04-06T08:44:33.365Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-04-06T08:44:33.365Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-06T08:44:33.365Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-06T08:44:33.365Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-06T08:44:33.365Z] + PACKAGES=/tmp/packages_start.txt [2022-04-06T08:44:33.365Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-06T08:44:33.365Z] + PACKAGES=/tmp/packages_end.txt [2022-04-06T08:44:33.365Z] + case "${OS_FAMILY}" in [2022-04-06T08:44:33.365Z] + dpkg -l [2022-04-06T08:44:33.365Z] + grep '^ii' [2022-04-06T08:44:33.365Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-06T08:44:33.365Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-06T08:44:33.365Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-06T08:44:33.365Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-06T08:44:33.365Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-04-06T08:44:33.365Z] + 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-04-06T08:44:33.378Z] 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-04-06T08:44:33.661Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-06T08:44:34.222Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-06T08:44:34.222Z] . [Pipeline] withDockerContainer [2022-04-06T08:44:34.289Z] prd-ubuntu20.04-docker-8c-8g-10951 does not seem to be running inside a container [2022-04-06T08:44:34.335Z] $ 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-04-06T08:44:34.582Z] $ docker top 3d37dd611191a85b31142b210c038e87f1acc1084336a525320919b149706476 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-06T08:44:34.924Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-06T08:44:35.217Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-06T08:44:35.508Z] + ls /var/log/sa-host [2022-04-06T08:44:35.508Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-06T08:44:35.593Z] provisioning config files... [2022-04-06T08:44:35.602Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4290865465394684248tmp [Pipeline] { [Pipeline] echo [2022-04-06T08:44:35.620Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:35.914Z] ---> create-netrc.sh [Pipeline] } [2022-04-06T08:44:35.924Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:36.264Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-06T08:44:36.274Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:36.574Z] ---> sudo-logs.sh [2022-04-06T08:44:36.574Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-06T08:44:36.595Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:36.887Z] ---> job-cost.sh [2022-04-06T08:44:36.887Z] lf-activate-venv: SKIPPING [2022-04-06T08:44:36.887Z] DEBUG: total: 0.2199999988079071 [2022-04-06T08:44:36.887Z] INFO: Retrieving Stack Cost... [2022-04-06T08:44:37.147Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-06T08:44:37.719Z] INFO: Archiving Costs [Pipeline] echo [2022-04-06T08:44:37.733Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-06T08:44:38.020Z] ---> logs-deploy.sh [2022-04-06T08:44:38.020Z] lf-activate-venv: SKIPPING [2022-04-06T08:44:38.020Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/29 [2022-04-06T08:44:38.020Z] INFO: archiving workspace using pattern(s): [2022-04-06T08:44:38.965Z] Archives upload complete. [2022-04-06T08:44:38.965Z] INFO: archiving logs to Nexus