Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4202c4e4a89e3dab93c0881b05113b30e3444e83 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-ssh5042394192713209760.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-ssh14266964159161433308.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-ssh5815387373029897556.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-ssh17138293672171563070.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-ssh799721922774124164.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-11537’ Running on prd-ubuntu20.04-docker-8c-8g-11543 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 4202c4e4a89e3dab93c0881b05113b30e3444e83 (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 4202c4e4a89e3dab93c0881b05113b30e3444e83 # timeout=10 Commit message: "Merge pull request #171 from jpwhitemn/enable-security-hardening" > git rev-list --no-walk e20d54948958fbae002d4522b61cee1c213d8f02 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-04-08T01:20:21.210Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-04-08T01:20:21.280Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-04-08T01:20:21.304Z] ========================================================= [2022-04-08T01:20:21.304Z] EdgeX Global Pipelines Version Info [2022-04-08T01:20:21.304Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:20:22.088Z] ------------------- [2022-04-08T01:20:22.088Z] stable info: [2022-04-08T01:20:22.088Z] ------------------- [2022-04-08T01:20:22.088Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-04-08T01:20:22.088Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T01:20:22.088Z] Message: update stable to v1.0.221 [2022-04-08T01:20:22.667Z] ------------------- [2022-04-08T01:20:22.667Z] experimental info: [2022-04-08T01:20:22.667Z] ------------------- [2022-04-08T01:20:22.667Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-04-08T01:20:22.667Z] Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 [2022-04-08T01:20:22.667Z] Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-04-08T01:20:22.823Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-04-08T01:20:22.845Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-04-08T01:20:22.866Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-04-08T01:20:22.887Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-04-08T01:20:22.906Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-04-08T01:20:22.926Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-04-08T01:20:22.944Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-04-08T01:20:22.960Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-04-08T01:20:22.976Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-04-08T01:20:22.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-04-08T01:20:23.015Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-04-08T01:20:23.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-04-08T01:20:23.046Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-04-08T01:20:23.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-04-08T01:20:23.074Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-04-08T01:20:23.087Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-04-08T01:20:23.102Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T01:20:23.120Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-04-08T01:20:23.142Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-04-08T01:20:23.163Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-04-08T01:20:23.178Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-04-08T01:20:23.198Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-04-08T01:20:23.215Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-04-08T01:20:23.232Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-04-08T01:20:23.249Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-04-08T01:20:23.274Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-04-08T01:20:23.291Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-04-08T01:20:23.308Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-04-08T01:20:23.323Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-04-08T01:20:23.346Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] echo [2022-04-08T01:20:23.361Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4202c4e [Pipeline] echo [2022-04-08T01:20:23.374Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T01:20:23.434Z] provisioning config files... [2022-04-08T01:20:23.448Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3293144611938233015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:20:23.775Z] ---> docker-login.sh [2022-04-08T01:20:23.775Z] nexus3.edgexfoundry.org:10001 [2022-04-08T01:20:24.037Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:24.037Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:24.037Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:24.037Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:24.037Z] [2022-04-08T01:20:24.037Z] Login Succeeded [2022-04-08T01:20:24.037Z] nexus3.edgexfoundry.org:10002 [2022-04-08T01:20:24.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:24.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:24.300Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:24.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:24.300Z] [2022-04-08T01:20:24.300Z] Login Succeeded [2022-04-08T01:20:24.300Z] nexus3.edgexfoundry.org:10003 [2022-04-08T01:20:24.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:24.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:24.564Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:24.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:24.564Z] [2022-04-08T01:20:24.564Z] Login Succeeded [2022-04-08T01:20:24.564Z] nexus3.edgexfoundry.org:10004 [2022-04-08T01:20:24.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:24.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:24.564Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:24.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:24.564Z] [2022-04-08T01:20:24.564Z] Login Succeeded [2022-04-08T01:20:24.564Z] docker.io [2022-04-08T01:20:24.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:25.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:25.091Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:25.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:25.091Z] [2022-04-08T01:20:25.091Z] Login Succeeded [2022-04-08T01:20:25.091Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T01:20:25.099Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-04-08T01:20:25.487Z] + git rev-list -1 --merges 4202c4e4a89e3dab93c0881b05113b30e3444e83~1..4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] echo [2022-04-08T01:20:25.618Z] -----------> git rev-list -1 --merges 4202c4e4a89e3dab93c0881b05113b30e3444e83~1..4202c4e4a89e3dab93c0881b05113b30e3444e83 4202c4e4a89e3dab93c0881b05113b30e3444e83 [2022-04-08T01:20:25.618Z] 4202c4e4a89e3dab93c0881b05113b30e3444e83 [false] [Pipeline] sh [2022-04-08T01:20:25.928Z] + git log --format=format:%s -1 4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] echo [2022-04-08T01:20:25.946Z] ========================================================= [2022-04-08T01:20:25.946Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-04-08T01:20:25.946Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T01:20:26.298Z] + git log --format=format:%s -1 4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] echo [2022-04-08T01:20:26.312Z] [semverPrep] GIT_COMMIT: 4202c4e4a89e3dab93c0881b05113b30e3444e83, Commit Message: Merge pull request #171 from jpwhitemn/enable-security-hardening [Pipeline] echo [2022-04-08T01:20:26.325Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-04-08T01:20:26.766Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-08T01:20:26.766Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-04-08T01:20:26.766Z] + [ -e /tmp/ssh_known_hosts ] [2022-04-08T01:20:26.766Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-04-08T01:20:26.766Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2022-04-08T01:20:26.766Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-04-08T01:20:26.766Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:20:27.206Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T01:20:27.206Z] [2022-04-08T01:20:27.206Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:20:27.521Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T01:20:27.521Z] latest: Pulling from edgex-devops/git-semver [2022-04-08T01:20:27.521Z] a0d0a0d46f8b: Pulling fs layer [2022-04-08T01:20:27.521Z] 3e5f54012d9b: Pulling fs layer [2022-04-08T01:20:27.521Z] 4c7163046ea9: Pulling fs layer [2022-04-08T01:20:27.521Z] 0c2d73faf560: Pulling fs layer [2022-04-08T01:20:27.521Z] 0c2d73faf560: Waiting [2022-04-08T01:20:27.521Z] 3e5f54012d9b: Download complete [2022-04-08T01:20:27.521Z] a0d0a0d46f8b: Verifying Checksum [2022-04-08T01:20:27.521Z] a0d0a0d46f8b: Download complete [2022-04-08T01:20:27.521Z] 0c2d73faf560: Verifying Checksum [2022-04-08T01:20:27.521Z] 0c2d73faf560: Download complete [2022-04-08T01:20:27.521Z] 4c7163046ea9: Download complete [2022-04-08T01:20:27.783Z] a0d0a0d46f8b: Pull complete [2022-04-08T01:20:27.783Z] 3e5f54012d9b: Pull complete [2022-04-08T01:20:28.044Z] 4c7163046ea9: Pull complete [2022-04-08T01:20:28.306Z] 0c2d73faf560: Pull complete [2022-04-08T01:20:28.306Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-04-08T01:20:28.306Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T01:20:28.306Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-04-08T01:20:28.386Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:20:28.437Z] $ 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-08T01:20:29.063Z] $ docker top 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-08T01:20:29.168Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T01:20:29.168Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T01:20:29.314Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T01:20:29.321Z] $ docker exec 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f ssh-agent [2022-04-08T01:20:29.445Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXbnHFFI/agent.13 [2022-04-08T01:20:29.446Z] SSH_AGENT_PID=19 [2022-04-08T01:20:29.457Z] Running ssh-add (command line suppressed) [2022-04-08T01:20:29.571Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6017438054033336467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6017438054033336467.key) [2022-04-08T01:20:29.591Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T01:20:29.885Z] + git tag --points-at HEAD [Pipeline] } [2022-04-08T01:20:29.912Z] $ docker exec --env ******** --env ******** 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f ssh-agent -k [2022-04-08T01:20:30.028Z] unset SSH_AUTH_SOCK; [2022-04-08T01:20:30.029Z] unset SSH_AGENT_PID; [2022-04-08T01:20:30.030Z] echo Agent pid 19 killed; [2022-04-08T01:20:30.040Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-04-08T01:20:30.066Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T01:20:30.067Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T01:20:30.190Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T01:20:30.197Z] $ docker exec 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f ssh-agent [2022-04-08T01:20:30.339Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXgPIFAg/agent.52 [2022-04-08T01:20:30.340Z] SSH_AGENT_PID=58 [2022-04-08T01:20:30.345Z] Running ssh-add (command line suppressed) [2022-04-08T01:20:30.472Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8554088030450690386.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8554088030450690386.key) [2022-04-08T01:20:30.487Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T01:20:30.785Z] + git semver init [2022-04-08T01:20:30.785Z] # -> Open(): unable to determine branch for HEAD [2022-04-08T01:20:30.785Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-08T01:20:30.785Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-08T01:20:30.785Z] # $SEMVER_REMOTE_NAME = origin [2022-04-08T01:20:30.785Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-08T01:20:30.785Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-08T01:20:30.785Z] # $SEMVER_BRANCH = main [2022-04-08T01:20:30.785Z] # $SEMVER_TEMP = /tmp/semver-163072124 [2022-04-08T01:20:30.785Z] # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP [2022-04-08T01:20:32.176Z] # '/tmp/semver-163072124' -> '/w/workspace/edgexfoundry_device-rest-go_main/.semver' [2022-04-08T01:20:32.176Z] # -> Force: false [2022-04-08T01:20:32.176Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-08T01:20:32.193Z] $ docker exec --env ******** --env ******** 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f ssh-agent -k [2022-04-08T01:20:32.294Z] unset SSH_AUTH_SOCK; [2022-04-08T01:20:32.295Z] unset SSH_AGENT_PID; [2022-04-08T01:20:32.295Z] echo Agent pid 58 killed; [2022-04-08T01:20:32.307Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-08T01:20:32.615Z] + git semver [Pipeline] } [2022-04-08T01:20:32.633Z] $ docker stop --time=1 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f [2022-04-08T01:20:33.987Z] $ docker rm -f 31609f5e27194b4f380d317277db154ae552766d3d5e47c1c22af6f293b7171f [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T01:20:34.355Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-04-08T01:20:34.624Z] Stashed 1 file(s) [Pipeline] echo [2022-04-08T01:20:34.628Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.9 [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-08T01:20:34.802Z] provisioning config files... [2022-04-08T01:20:34.816Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config396690612733663454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:20:35.125Z] ---> docker-login.sh [2022-04-08T01:20:35.125Z] nexus3.edgexfoundry.org:10001 [2022-04-08T01:20:35.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:35.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:35.125Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:35.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:35.125Z] [2022-04-08T01:20:35.125Z] Login Succeeded [2022-04-08T01:20:35.125Z] nexus3.edgexfoundry.org:10002 [2022-04-08T01:20:35.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:35.385Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:35.386Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:35.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:35.386Z] [2022-04-08T01:20:35.386Z] Login Succeeded [2022-04-08T01:20:35.386Z] nexus3.edgexfoundry.org:10003 [2022-04-08T01:20:35.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:35.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:35.386Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:35.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:35.386Z] [2022-04-08T01:20:35.386Z] Login Succeeded [2022-04-08T01:20:35.386Z] nexus3.edgexfoundry.org:10004 [2022-04-08T01:20:35.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:35.648Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:35.648Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:35.648Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:35.648Z] [2022-04-08T01:20:35.648Z] Login Succeeded [2022-04-08T01:20:35.648Z] docker.io [2022-04-08T01:20:35.648Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:20:35.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:20:35.910Z] Configure a credential helper to remove this warning. See [2022-04-08T01:20:35.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:20:35.910Z] [2022-04-08T01:20:35.910Z] Login Succeeded [2022-04-08T01:20:35.910Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T01:20:35.920Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T01:20:35.995Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T01:20:36.010Z] ========================================================= [2022-04-08T01:20:36.010Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-04-08T01:20:36.010Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:20:36.334Z] + 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-08T01:20:36.334Z] Sending build context to Docker daemon 10.56MB [2022-04-08T01:20:36.334Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T01:20:36.334Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-08T01:20:36.334Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-04-08T01:20:36.334Z] 59bf1c3509f3: Pulling fs layer [2022-04-08T01:20:36.334Z] 666ba61612fd: Pulling fs layer [2022-04-08T01:20:36.334Z] 8ed8ca486205: Pulling fs layer [2022-04-08T01:20:36.334Z] 4fe6c5a15a65: Pulling fs layer [2022-04-08T01:20:36.334Z] 22a0e8bec74d: Pulling fs layer [2022-04-08T01:20:36.334Z] 640e595b4fbd: Pulling fs layer [2022-04-08T01:20:36.334Z] 763cafe07f6e: Pulling fs layer [2022-04-08T01:20:36.334Z] 0c0b528cf693: Pulling fs layer [2022-04-08T01:20:36.334Z] 10935f4eaf8b: Pulling fs layer [2022-04-08T01:20:36.334Z] 763cafe07f6e: Waiting [2022-04-08T01:20:36.334Z] 0c0b528cf693: Waiting [2022-04-08T01:20:36.334Z] 10935f4eaf8b: Waiting [2022-04-08T01:20:36.334Z] 4fe6c5a15a65: Waiting [2022-04-08T01:20:36.334Z] 22a0e8bec74d: Waiting [2022-04-08T01:20:36.334Z] 640e595b4fbd: Waiting [2022-04-08T01:20:36.334Z] 8ed8ca486205: Verifying Checksum [2022-04-08T01:20:36.334Z] 8ed8ca486205: Download complete [2022-04-08T01:20:36.334Z] 666ba61612fd: Download complete [2022-04-08T01:20:36.596Z] 22a0e8bec74d: Download complete [2022-04-08T01:20:36.596Z] 640e595b4fbd: Verifying Checksum [2022-04-08T01:20:36.596Z] 640e595b4fbd: Download complete [2022-04-08T01:20:36.596Z] 59bf1c3509f3: Verifying Checksum [2022-04-08T01:20:36.596Z] 59bf1c3509f3: Download complete [2022-04-08T01:20:36.596Z] 763cafe07f6e: Verifying Checksum [2022-04-08T01:20:36.596Z] 763cafe07f6e: Download complete [2022-04-08T01:20:36.596Z] 0c0b528cf693: Verifying Checksum [2022-04-08T01:20:36.596Z] 0c0b528cf693: Download complete [2022-04-08T01:20:36.596Z] 59bf1c3509f3: Pull complete [2022-04-08T01:20:36.857Z] 666ba61612fd: Pull complete [2022-04-08T01:20:36.857Z] 8ed8ca486205: Pull complete [2022-04-08T01:20:37.431Z] 10935f4eaf8b: Verifying Checksum [2022-04-08T01:20:37.431Z] 10935f4eaf8b: Download complete [2022-04-08T01:20:37.431Z] 4fe6c5a15a65: Verifying Checksum [2022-04-08T01:20:37.431Z] 4fe6c5a15a65: Download complete [2022-04-08T01:20:41.642Z] 4fe6c5a15a65: Pull complete [2022-04-08T01:20:41.642Z] 22a0e8bec74d: Pull complete [2022-04-08T01:20:41.642Z] 640e595b4fbd: Pull complete [2022-04-08T01:20:41.642Z] 763cafe07f6e: Pull complete [2022-04-08T01:20:41.642Z] 0c0b528cf693: Pull complete [2022-04-08T01:20:44.186Z] 10935f4eaf8b: Pull complete [2022-04-08T01:20:44.186Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-04-08T01:20:44.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-04-08T01:20:44.186Z] ---> 99d49a6021b9 [2022-04-08T01:20:44.186Z] Step 3/12 : ARG MAKE='make build' [2022-04-08T01:20:45.130Z] ---> Running in 6066574499f3 [2022-04-08T01:20:45.391Z] Removing intermediate container 6066574499f3 [2022-04-08T01:20:45.391Z] ---> dd3491b17a50 [2022-04-08T01:20:45.391Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T01:20:45.391Z] ---> Running in 75079f77ff8f [2022-04-08T01:20:45.391Z] Removing intermediate container 75079f77ff8f [2022-04-08T01:20:45.391Z] ---> 5daea2e27c92 [2022-04-08T01:20:45.391Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T01:20:45.391Z] ---> Running in 128b85eaa484 [2022-04-08T01:20:45.652Z] Removing intermediate container 128b85eaa484 [2022-04-08T01:20:45.652Z] ---> eb566ada0fc4 [2022-04-08T01:20:45.652Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T01:20:45.652Z] ---> Running in 8a8a5b4baad7 [2022-04-08T01:20:46.223Z] Removing intermediate container 8a8a5b4baad7 [2022-04-08T01:20:46.223Z] ---> 1684c9442e35 [2022-04-08T01:20:46.223Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T01:20:46.223Z] ---> Running in 5cee816975b7 [2022-04-08T01:20:46.485Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T01:20:47.428Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T01:20:48.002Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-08T01:20:48.002Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-08T01:20:48.002Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-08T01:20:48.262Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-08T01:20:48.262Z] Executing busybox-1.34.1-r3.trigger [2022-04-08T01:20:48.262Z] OK: 224 MiB in 56 packages [2022-04-08T01:20:48.843Z] Removing intermediate container 5cee816975b7 [2022-04-08T01:20:48.843Z] ---> 29be4fcd5501 [2022-04-08T01:20:48.843Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-08T01:20:48.843Z] ---> Running in f9bc97a680e9 [2022-04-08T01:20:48.843Z] Removing intermediate container f9bc97a680e9 [2022-04-08T01:20:48.843Z] ---> 2236a5174293 [2022-04-08T01:20:48.843Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-08T01:20:48.843Z] ---> 97e704dccf24 [2022-04-08T01:20:48.843Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T01:20:49.105Z] ---> Running in a293a4b0a576 [2022-04-08T01:20:49.750Z] Still waiting to schedule task [2022-04-08T01:20:49.751Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-11541’ [2022-04-08T01:21:04.028Z] Removing intermediate container a293a4b0a576 [2022-04-08T01:21:04.028Z] ---> c3c2f61a761c [2022-04-08T01:21:04.028Z] Step 11/12 : COPY . . [2022-04-08T01:21:04.602Z] ---> 820087d9fd37 [2022-04-08T01:21:04.602Z] Step 12/12 : RUN $MAKE [2022-04-08T01:21:04.602Z] ---> Running in d80919c84c99 [2022-04-08T01:21:04.867Z] noop [2022-04-08T01:21:05.128Z] Removing intermediate container d80919c84c99 [2022-04-08T01:21:05.128Z] ---> c5f46fc4a403 [2022-04-08T01:21:05.128Z] Successfully built c5f46fc4a403 [2022-04-08T01:21:05.128Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:21:05.427Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-08T01:21:05.427Z] . [Pipeline] withDockerContainer [2022-04-08T01:21:05.509Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:21:05.555Z] $ 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-08T01:21:05.961Z] $ docker top 9360e0155755966ab577198a5f6f10fc03c343976ecb7ec771db9644aab526f8 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T01:21:06.329Z] + go version [2022-04-08T01:21:06.329Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-04-08T01:21:06.347Z] $ docker stop --time=1 9360e0155755966ab577198a5f6f10fc03c343976ecb7ec771db9644aab526f8 [2022-04-08T01:21:07.644Z] $ docker rm -f 9360e0155755966ab577198a5f6f10fc03c343976ecb7ec771db9644aab526f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:21:08.074Z] + docker inspect -f . ci-base-image-x86_64 [2022-04-08T01:21:08.074Z] . [Pipeline] withDockerContainer [2022-04-08T01:21:08.154Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:21:08.203Z] $ 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-08T01:21:08.600Z] $ docker top f9d744b4ce062c2e5afd7aedde2e51f58686fc795d308339c6b3c73400f361ea -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-08T01:21:08.994Z] + make test [2022-04-08T01:21:08.994Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-08T01:21:09.256Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-08T01:21:19.415Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-08T01:21:19.415Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-04-08T01:21:25.997Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-08T01:21:29.289Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-08T01:21:29.289Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-08T01:21:29.289Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-08T01:21:29.877Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-08T01:21:29.898Z] $ docker stop --time=1 f9d744b4ce062c2e5afd7aedde2e51f58686fc795d308339c6b3c73400f361ea [2022-04-08T01:21:31.668Z] $ docker rm -f f9d744b4ce062c2e5afd7aedde2e51f58686fc795d308339c6b3c73400f361ea [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T01:21:32.135Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-08T01:21:32.182Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-04-08T01:21:33.304Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T01:21:33.599Z] + ls -al . [2022-04-08T01:21:33.599Z] total 172 [2022-04-08T01:21:33.599Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 8 01:21 . [2022-04-08T01:21:33.599Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 01:20 .. [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 8 01:20 .dockerignore [2022-04-08T01:21:33.599Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 01:20 .git [2022-04-08T01:21:33.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:20 .github [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 8 01:20 .gitignore [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 01:20 .golangci.yml [2022-04-08T01:21:33.599Z] drwx------ 3 jenkins jenkins 4096 Apr 8 01:20 .semver [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 8 01:20 Attribution.txt [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 8 01:20 CHANGELOG.md [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 8 01:20 Dockerfile [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 01:20 GOVERNANCE.md [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 8 01:20 Jenkinsfile [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 01:20 LICENSE [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 8 01:20 Makefile [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 8 01:20 OWNERS.md [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 8 01:20 README.md [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 8 01:20 VERSION [2022-04-08T01:21:33.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:20 bin [2022-04-08T01:21:33.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 01:20 cmd [2022-04-08T01:21:33.599Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 8 01:21 coverage.out [2022-04-08T01:21:33.599Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:20 driver [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 8 01:20 go.mod [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 8 01:20 go.sum [2022-04-08T01:21:33.599Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 01:20 snap [2022-04-08T01:21:33.599Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 8 01:20 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:21:33.904Z] + 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=4202c4e4a89e3dab93c0881b05113b30e3444e83 --label arch=amd64 --label version=2.2.0-dev.9 . [2022-04-08T01:21:33.904Z] Sending build context to Docker daemon 10.57MB [2022-04-08T01:21:33.904Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T01:21:33.904Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-08T01:21:33.904Z] ---> c5f46fc4a403 [2022-04-08T01:21:33.904Z] Step 3/25 : ARG MAKE='make build' [2022-04-08T01:21:33.904Z] ---> Running in 9a6c55936b51 [2022-04-08T01:21:34.167Z] Removing intermediate container 9a6c55936b51 [2022-04-08T01:21:34.167Z] ---> b207177209be [2022-04-08T01:21:34.167Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T01:21:34.167Z] ---> Running in 6050b69d1c4e [2022-04-08T01:21:34.167Z] Removing intermediate container 6050b69d1c4e [2022-04-08T01:21:34.167Z] ---> c03061f19240 [2022-04-08T01:21:34.167Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T01:21:34.167Z] ---> Running in 080f12a0d2fa [2022-04-08T01:21:34.429Z] Removing intermediate container 080f12a0d2fa [2022-04-08T01:21:34.429Z] ---> 86ad5f6aef7c [2022-04-08T01:21:34.429Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T01:21:34.429Z] ---> Running in 64bd8070b53a [2022-04-08T01:21:35.003Z] Removing intermediate container 64bd8070b53a [2022-04-08T01:21:35.003Z] ---> 1cb72368fb91 [2022-04-08T01:21:35.003Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T01:21:35.003Z] ---> Running in cedc5c5428ea [2022-04-08T01:21:35.264Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-04-08T01:21:36.210Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-04-08T01:21:36.472Z] OK: 224 MiB in 56 packages [2022-04-08T01:21:36.733Z] Removing intermediate container cedc5c5428ea [2022-04-08T01:21:36.733Z] ---> e0693a9ff801 [2022-04-08T01:21:36.733Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-08T01:21:36.733Z] ---> Running in f61c94c09c0c [2022-04-08T01:21:36.995Z] Removing intermediate container f61c94c09c0c [2022-04-08T01:21:36.995Z] ---> a15d4b29272e [2022-04-08T01:21:36.995Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-08T01:21:36.995Z] ---> 1f84f14d089f [2022-04-08T01:21:36.995Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T01:21:36.995Z] ---> Running in 1698f67a5b50 [2022-04-08T01:21:37.569Z] Removing intermediate container 1698f67a5b50 [2022-04-08T01:21:37.569Z] ---> fd9486d88645 [2022-04-08T01:21:37.569Z] Step 11/25 : COPY . . [2022-04-08T01:21:38.148Z] ---> e3f01c083ccf [2022-04-08T01:21:38.148Z] Step 12/25 : RUN $MAKE [2022-04-08T01:21:38.148Z] ---> Running in 9f80ff5fa8ed [2022-04-08T01:21:38.409Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-08T01:22:00.378Z] Removing intermediate container 9f80ff5fa8ed [2022-04-08T01:22:00.378Z] ---> 5d8ed194cebf [2022-04-08T01:22:00.378Z] Step 13/25 : FROM alpine:3.14 [2022-04-08T01:22:00.378Z] 3.14: Pulling from library/alpine [2022-04-08T01:22:00.378Z] 8663204ce13b: Pulling fs layer [2022-04-08T01:22:00.378Z] 8663204ce13b: Verifying Checksum [2022-04-08T01:22:00.378Z] 8663204ce13b: Download complete [2022-04-08T01:22:00.378Z] 8663204ce13b: Pull complete [2022-04-08T01:22:00.378Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-08T01:22:00.378Z] Status: Downloaded newer image for alpine:3.14 [2022-04-08T01:22:00.378Z] ---> e04c818066af [2022-04-08T01:22:00.378Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-08T01:22:00.378Z] ---> Running in c7dc1362f40b [2022-04-08T01:22:00.378Z] Removing intermediate container c7dc1362f40b [2022-04-08T01:22:00.378Z] ---> 225a8725987e [2022-04-08T01:22:00.378Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-08T01:22:00.378Z] ---> Running in c3a8f1bd4d2b [2022-04-08T01:22:00.378Z] Removing intermediate container c3a8f1bd4d2b [2022-04-08T01:22:00.378Z] ---> d020bd2a7728 [2022-04-08T01:22:00.378Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-08T01:22:00.378Z] ---> Running in 6f31aa7145a6 [2022-04-08T01:22:00.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-04-08T01:22:00.378Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-04-08T01:22:00.378Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-08T01:22:00.378Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-08T01:22:00.378Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-08T01:22:00.378Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-08T01:22:00.378Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-08T01:22:00.378Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-08T01:22:00.378Z] Executing busybox-1.33.1-r7.trigger [2022-04-08T01:22:00.378Z] OK: 8 MiB in 20 packages [2022-04-08T01:22:00.378Z] Removing intermediate container 6f31aa7145a6 [2022-04-08T01:22:00.378Z] ---> d9051ee926c7 [2022-04-08T01:22:00.378Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-08T01:22:00.637Z] ---> 22fd49412ff9 [2022-04-08T01:22:00.637Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-08T01:22:00.637Z] ---> b40e5c8eef91 [2022-04-08T01:22:00.637Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-08T01:22:00.898Z] ---> 23bbbb932784 [2022-04-08T01:22:00.898Z] Step 20/25 : EXPOSE 59986 [2022-04-08T01:22:00.898Z] ---> Running in 731e5da3ea84 [2022-04-08T01:22:00.898Z] Removing intermediate container 731e5da3ea84 [2022-04-08T01:22:00.898Z] ---> fdc098513a63 [2022-04-08T01:22:00.898Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-08T01:22:00.898Z] ---> Running in 3e4b357e9884 [2022-04-08T01:22:01.159Z] Removing intermediate container 3e4b357e9884 [2022-04-08T01:22:01.159Z] ---> 1c2146f6a84a [2022-04-08T01:22:01.159Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-08T01:22:01.159Z] ---> Running in 7b9882dc2192 [2022-04-08T01:22:01.159Z] Removing intermediate container 7b9882dc2192 [2022-04-08T01:22:01.159Z] ---> b47fe833947f [2022-04-08T01:22:01.159Z] Step 23/25 : LABEL arch=amd64 [2022-04-08T01:22:01.159Z] ---> Running in 0c61d772339d [2022-04-08T01:22:01.421Z] Removing intermediate container 0c61d772339d [2022-04-08T01:22:01.421Z] ---> 67a06775a786 [2022-04-08T01:22:01.421Z] Step 24/25 : LABEL git_sha=4202c4e4a89e3dab93c0881b05113b30e3444e83 [2022-04-08T01:22:01.421Z] ---> Running in 944fd1c98274 [2022-04-08T01:22:01.421Z] Removing intermediate container 944fd1c98274 [2022-04-08T01:22:01.421Z] ---> a03feec4a1f1 [2022-04-08T01:22:01.421Z] Step 25/25 : LABEL version=2.2.0-dev.9 [2022-04-08T01:22:01.421Z] ---> Running in e569c6c25875 [2022-04-08T01:22:01.682Z] Removing intermediate container e569c6c25875 [2022-04-08T01:22:01.682Z] ---> e2ad017386ca [2022-04-08T01:22:01.682Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-08T01:22:01.682Z] Successfully built e2ad017386ca [2022-04-08T01:22:01.682Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T01:22:01.794Z] provisioning config files... [2022-04-08T01:22:01.806Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9218502452664008984tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:22:02.106Z] ---> docker-login.sh [2022-04-08T01:22:02.106Z] nexus3.edgexfoundry.org:10001 [2022-04-08T01:22:02.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:22:02.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:22:02.106Z] Configure a credential helper to remove this warning. See [2022-04-08T01:22:02.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:22:02.106Z] [2022-04-08T01:22:02.106Z] Login Succeeded [2022-04-08T01:22:02.106Z] nexus3.edgexfoundry.org:10002 [2022-04-08T01:22:02.106Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:22:02.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:22:02.368Z] Configure a credential helper to remove this warning. See [2022-04-08T01:22:02.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:22:02.368Z] [2022-04-08T01:22:02.368Z] Login Succeeded [2022-04-08T01:22:02.368Z] nexus3.edgexfoundry.org:10003 [2022-04-08T01:22:02.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:22:02.368Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:22:02.368Z] Configure a credential helper to remove this warning. See [2022-04-08T01:22:02.368Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:22:02.368Z] [2022-04-08T01:22:02.368Z] Login Succeeded [2022-04-08T01:22:02.368Z] nexus3.edgexfoundry.org:10004 [2022-04-08T01:22:02.368Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:22:02.628Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:22:02.628Z] Configure a credential helper to remove this warning. See [2022-04-08T01:22:02.628Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:22:02.628Z] [2022-04-08T01:22:02.628Z] Login Succeeded [2022-04-08T01:22:02.628Z] docker.io [2022-04-08T01:22:02.628Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:22:02.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:22:02.889Z] Configure a credential helper to remove this warning. See [2022-04-08T01:22:02.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:22:02.889Z] [2022-04-08T01:22:02.889Z] Login Succeeded [2022-04-08T01:22:02.889Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T01:22:02.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-08T01:22:02.934Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T01:22:02.958Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-04-08T01:22:02.958Z] 4202c4e4a89e3dab93c0881b05113b30e3444e83 [2022-04-08T01:22:02.958Z] latest [2022-04-08T01:22:02.958Z] 2.2.0-dev.9 [2022-04-08T01:22:02.958Z] 4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [2022-04-08T01:22:02.958Z] main [2022-04-08T01:22:02.958Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:03.279Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:03.573Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83 [2022-04-08T01:22:03.573Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-08T01:22:03.573Z] 8c89bd107b47: Preparing [2022-04-08T01:22:03.573Z] 66fce86a0730: Preparing [2022-04-08T01:22:03.573Z] fab1c7a82853: Preparing [2022-04-08T01:22:03.573Z] adcb9e770940: Preparing [2022-04-08T01:22:03.573Z] b541d28bf3b4: Preparing [2022-04-08T01:22:03.573Z] b541d28bf3b4: Layer already exists [2022-04-08T01:22:03.573Z] 8c89bd107b47: Pushed [2022-04-08T01:22:03.573Z] 66fce86a0730: Pushed [2022-04-08T01:22:03.833Z] adcb9e770940: Pushed [2022-04-08T01:22:06.379Z] fab1c7a82853: Pushed [2022-04-08T01:22:06.379Z] 4202c4e4a89e3dab93c0881b05113b30e3444e83: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:06.684Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:06.987Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-08T01:22:06.987Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-08T01:22:06.987Z] 8c89bd107b47: Preparing [2022-04-08T01:22:06.987Z] 66fce86a0730: Preparing [2022-04-08T01:22:06.987Z] fab1c7a82853: Preparing [2022-04-08T01:22:06.987Z] adcb9e770940: Preparing [2022-04-08T01:22:06.987Z] b541d28bf3b4: Preparing [2022-04-08T01:22:06.987Z] fab1c7a82853: Layer already exists [2022-04-08T01:22:06.987Z] b541d28bf3b4: Layer already exists [2022-04-08T01:22:06.987Z] 66fce86a0730: Layer already exists [2022-04-08T01:22:06.987Z] 8c89bd107b47: Layer already exists [2022-04-08T01:22:06.987Z] adcb9e770940: Layer already exists [2022-04-08T01:22:06.987Z] latest: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:07.293Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:07.594Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.9 [2022-04-08T01:22:07.594Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-08T01:22:07.594Z] 8c89bd107b47: Preparing [2022-04-08T01:22:07.594Z] 66fce86a0730: Preparing [2022-04-08T01:22:07.594Z] fab1c7a82853: Preparing [2022-04-08T01:22:07.594Z] adcb9e770940: Preparing [2022-04-08T01:22:07.594Z] b541d28bf3b4: Preparing [2022-04-08T01:22:07.594Z] b541d28bf3b4: Layer already exists [2022-04-08T01:22:07.594Z] fab1c7a82853: Layer already exists [2022-04-08T01:22:07.594Z] 8c89bd107b47: Layer already exists [2022-04-08T01:22:07.594Z] adcb9e770940: Layer already exists [2022-04-08T01:22:07.594Z] 66fce86a0730: Layer already exists [2022-04-08T01:22:07.594Z] 2.2.0-dev.9: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:07.896Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:08.190Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [2022-04-08T01:22:08.190Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-08T01:22:08.190Z] 8c89bd107b47: Preparing [2022-04-08T01:22:08.190Z] 66fce86a0730: Preparing [2022-04-08T01:22:08.190Z] fab1c7a82853: Preparing [2022-04-08T01:22:08.190Z] adcb9e770940: Preparing [2022-04-08T01:22:08.190Z] b541d28bf3b4: Preparing [2022-04-08T01:22:08.190Z] 66fce86a0730: Layer already exists [2022-04-08T01:22:08.190Z] fab1c7a82853: Layer already exists [2022-04-08T01:22:08.190Z] 8c89bd107b47: Layer already exists [2022-04-08T01:22:08.190Z] adcb9e770940: Layer already exists [2022-04-08T01:22:08.190Z] b541d28bf3b4: Layer already exists [2022-04-08T01:22:08.190Z] 4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:08.488Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:08.784Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-04-08T01:22:08.785Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-04-08T01:22:08.785Z] 8c89bd107b47: Preparing [2022-04-08T01:22:08.785Z] 66fce86a0730: Preparing [2022-04-08T01:22:08.785Z] fab1c7a82853: Preparing [2022-04-08T01:22:08.785Z] adcb9e770940: Preparing [2022-04-08T01:22:08.785Z] b541d28bf3b4: Preparing [2022-04-08T01:22:08.785Z] 8c89bd107b47: Layer already exists [2022-04-08T01:22:08.785Z] b541d28bf3b4: Layer already exists [2022-04-08T01:22:08.785Z] fab1c7a82853: Layer already exists [2022-04-08T01:22:08.785Z] 66fce86a0730: Layer already exists [2022-04-08T01:22:08.785Z] adcb9e770940: Layer already exists [2022-04-08T01:22:08.785Z] main: digest: sha256:901fc1ac0a632fb87b237b0998d80498e215a228c7c6512a7d65b7cca7c64f74 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-08T01:22:08.826Z] ===================================================== [Pipeline] echo [2022-04-08T01:22:08.844Z] taggedImages: [2022-04-08T01:22:08.844Z] - nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83 [2022-04-08T01:22:08.844Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-04-08T01:22:08.844Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.9 [2022-04-08T01:22:08.844Z] - nexus3.edgexfoundry.org:10004/device-rest:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [2022-04-08T01:22:08.844Z] - 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-08T01:22:09.227Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T01:22:09.227Z] [2022-04-08T01:22:09.227Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:22:09.526Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T01:22:09.526Z] latest: Pulling from edgex-lftools-log-publisher [2022-04-08T01:22:09.526Z] 5eb5b503b376: Pulling fs layer [2022-04-08T01:22:09.526Z] 5c69ac0246d0: Pulling fs layer [2022-04-08T01:22:09.526Z] ec43610c2a17: Pulling fs layer [2022-04-08T01:22:09.526Z] 3a2ae6a8a46f: Pulling fs layer [2022-04-08T01:22:09.526Z] 33b1e0a273af: Pulling fs layer [2022-04-08T01:22:09.526Z] 5d3b04190fa2: Pulling fs layer [2022-04-08T01:22:09.526Z] 2f39f015ded8: Pulling fs layer [2022-04-08T01:22:09.526Z] 33b1e0a273af: Waiting [2022-04-08T01:22:09.526Z] 3a2ae6a8a46f: Waiting [2022-04-08T01:22:09.526Z] 5c69ac0246d0: Verifying Checksum [2022-04-08T01:22:09.526Z] 5c69ac0246d0: Download complete [2022-04-08T01:22:09.526Z] 3a2ae6a8a46f: Verifying Checksum [2022-04-08T01:22:09.526Z] 3a2ae6a8a46f: Download complete [2022-04-08T01:22:09.526Z] 33b1e0a273af: Verifying Checksum [2022-04-08T01:22:09.526Z] 33b1e0a273af: Download complete [2022-04-08T01:22:09.526Z] ec43610c2a17: Verifying Checksum [2022-04-08T01:22:09.526Z] ec43610c2a17: Download complete [2022-04-08T01:22:09.526Z] 5d3b04190fa2: Verifying Checksum [2022-04-08T01:22:09.526Z] 5d3b04190fa2: Download complete [2022-04-08T01:22:09.786Z] 5eb5b503b376: Verifying Checksum [2022-04-08T01:22:09.786Z] 5eb5b503b376: Download complete [2022-04-08T01:22:10.358Z] 2f39f015ded8: Download complete [2022-04-08T01:22:11.300Z] 5eb5b503b376: Pull complete [2022-04-08T01:22:11.300Z] 5c69ac0246d0: Pull complete [2022-04-08T01:22:11.871Z] ec43610c2a17: Pull complete [2022-04-08T01:22:11.871Z] 3a2ae6a8a46f: Pull complete [2022-04-08T01:22:12.133Z] 33b1e0a273af: Pull complete [2022-04-08T01:22:12.133Z] 5d3b04190fa2: Pull complete [2022-04-08T01:22:17.421Z] 2f39f015ded8: Pull complete [2022-04-08T01:22:17.421Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-04-08T01:22:17.421Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T01:22:17.421Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-04-08T01:22:17.491Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:22:17.534Z] $ 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-08T01:22:19.094Z] $ docker top 820d21e53d9af95503175898472f718025f1313cbd03f8e81d743717301f2c17 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:22:19.542Z] ---> job-cost.sh [2022-04-08T01:22:19.542Z] lf-activate-venv: SKIPPING [2022-04-08T01:22:19.542Z] INFO: No Stack... [2022-04-08T01:22:19.802Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T01:22:20.374Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T01:22:20.671Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-04-08T01:22:20.671Z] + cut -d, -f6 [Pipeline] lock [2022-04-08T01:22:20.688Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [2022-04-08T01:22:20.695Z] Resource [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] did not exist. Created. [2022-04-08T01:22:20.695Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T01:22:21.043Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-04-08T01:22:21.110Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T01:22:21.119Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T01:22:21.146Z] $ docker stop --time=1 820d21e53d9af95503175898472f718025f1313cbd03f8e81d743717301f2c17 [2022-04-08T01:22:22.352Z] $ docker rm -f 820d21e53d9af95503175898472f718025f1313cbd03f8e81d743717301f2c17 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-04-08T01:24:31.954Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-11544 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-04-08T01:24:31.967Z] Running in /w/workspace/device-rest-go/30 [Pipeline] { [Pipeline] checkout [2022-04-08T01:24:32.380Z] The recommended git tool is: git [2022-04-08T01:24:40.303Z] using credential edgex-jenkins-ssh [2022-04-08T01:24:40.328Z] Cloning the remote Git repository [2022-04-08T01:24:40.424Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-04-08T01:24:40.605Z] > git init /w/workspace/device-rest-go/30 # timeout=10 [2022-04-08T01:24:40.737Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-04-08T01:24:40.738Z] > git --version # timeout=10 [2022-04-08T01:24:40.778Z] > git --version # 'git version 2.25.1' [2022-04-08T01:24:40.779Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-04-08T01:24:40.928Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T01:24:43.116Z] Avoid second fetch [2022-04-08T01:24:43.116Z] Checking out Revision 4202c4e4a89e3dab93c0881b05113b30e3444e83 (main) [2022-04-08T01:24:43.038Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-04-08T01:24:43.080Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-04-08T01:24:43.145Z] > git config core.sparsecheckout # timeout=10 [2022-04-08T01:24:43.176Z] > git checkout -f 4202c4e4a89e3dab93c0881b05113b30e3444e83 # timeout=10 [2022-04-08T01:24:47.751Z] Commit message: "Merge pull request #171 from jpwhitemn/enable-security-hardening" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T01:24:48.641Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-04-08T01:24:48.641Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-08T01:24:48.641Z] Dload Upload Total Spent Left Speed [2022-04-08T01:24:48.641Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 46996 0 --:--:-- --:--:-- --:--:-- 46996 [Pipeline] sh [2022-04-08T01:24:49.160Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-04-08T01:24:49.519Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-04-08T01:24:49.519Z] + sudo tee /etc/docker/daemon.new [2022-04-08T01:24:49.519Z] { [2022-04-08T01:24:49.519Z] "registry-mirrors": [ [2022-04-08T01:24:49.519Z] "https://nexus3.edgexfoundry.org:10001" [2022-04-08T01:24:49.519Z] ], [2022-04-08T01:24:49.519Z] "bip": "10.250.0.254/24", [2022-04-08T01:24:49.519Z] "hosts": [ [2022-04-08T01:24:49.519Z] "tcp://0.0.0.0:5555", [2022-04-08T01:24:49.519Z] "unix:///var/run/docker.sock" [2022-04-08T01:24:49.519Z] ], [2022-04-08T01:24:49.519Z] "mtu": 1458, [2022-04-08T01:24:49.519Z] "selinux-enabled": true, [2022-04-08T01:24:49.519Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-04-08T01:24:49.519Z] } [Pipeline] sh [2022-04-08T01:24:49.873Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-04-08T01:24:50.218Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T01:25:08.611Z] provisioning config files... [2022-04-08T01:25:08.642Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/30@tmp/config6981698440937545866tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:25:09.055Z] ---> docker-login.sh [2022-04-08T01:25:09.055Z] nexus3.edgexfoundry.org:10001 [2022-04-08T01:25:09.669Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:25:09.943Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:25:09.943Z] Configure a credential helper to remove this warning. See [2022-04-08T01:25:09.943Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:25:09.943Z] [2022-04-08T01:25:09.943Z] Login Succeeded [2022-04-08T01:25:09.943Z] nexus3.edgexfoundry.org:10002 [2022-04-08T01:25:10.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:25:10.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:25:10.218Z] Configure a credential helper to remove this warning. See [2022-04-08T01:25:10.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:25:10.218Z] [2022-04-08T01:25:10.218Z] Login Succeeded [2022-04-08T01:25:10.218Z] nexus3.edgexfoundry.org:10003 [2022-04-08T01:25:10.818Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:25:10.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:25:10.818Z] Configure a credential helper to remove this warning. See [2022-04-08T01:25:10.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:25:10.818Z] [2022-04-08T01:25:10.818Z] Login Succeeded [2022-04-08T01:25:10.818Z] nexus3.edgexfoundry.org:10004 [2022-04-08T01:25:11.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:25:11.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:25:11.096Z] Configure a credential helper to remove this warning. See [2022-04-08T01:25:11.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:25:11.096Z] [2022-04-08T01:25:11.096Z] Login Succeeded [2022-04-08T01:25:11.096Z] docker.io [2022-04-08T01:25:11.693Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:25:11.968Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:25:11.968Z] Configure a credential helper to remove this warning. See [2022-04-08T01:25:11.968Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:25:11.968Z] [2022-04-08T01:25:11.968Z] Login Succeeded [2022-04-08T01:25:11.968Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T01:25:11.987Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-04-08T01:25:12.390Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T01:25:12.402Z] ========================================================= [2022-04-08T01:25:12.402Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-04-08T01:25:12.402Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:25:12.810Z] + 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-08T01:25:12.810Z] Sending build context to Docker daemon 127.5kB [2022-04-08T01:25:13.084Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T01:25:13.084Z] Step 2/12 : FROM ${BASE} AS builder [2022-04-08T01:25:13.375Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-04-08T01:25:13.375Z] 9b3977197b4f: Pulling fs layer [2022-04-08T01:25:13.375Z] 1a89e8eeedd5: Pulling fs layer [2022-04-08T01:25:13.375Z] 94645a83ff95: Pulling fs layer [2022-04-08T01:25:13.375Z] 3f3a8bcf1eab: Pulling fs layer [2022-04-08T01:25:13.375Z] 0c92f367c5e7: Pulling fs layer [2022-04-08T01:25:13.375Z] f7c0051592d6: Pulling fs layer [2022-04-08T01:25:13.375Z] a227ed2f7395: Pulling fs layer [2022-04-08T01:25:13.375Z] 7b1c46037f91: Pulling fs layer [2022-04-08T01:25:13.375Z] f7c0051592d6: Waiting [2022-04-08T01:25:13.375Z] a227ed2f7395: Waiting [2022-04-08T01:25:13.375Z] 3f3a8bcf1eab: Waiting [2022-04-08T01:25:13.375Z] 7b1c46037f91: Waiting [2022-04-08T01:25:13.375Z] 0c92f367c5e7: Waiting [2022-04-08T01:25:13.375Z] 94645a83ff95: Verifying Checksum [2022-04-08T01:25:13.375Z] 94645a83ff95: Download complete [2022-04-08T01:25:13.375Z] 1a89e8eeedd5: Verifying Checksum [2022-04-08T01:25:13.375Z] 1a89e8eeedd5: Download complete [2022-04-08T01:25:13.375Z] 0c92f367c5e7: Download complete [2022-04-08T01:25:13.375Z] f7c0051592d6: Verifying Checksum [2022-04-08T01:25:13.375Z] f7c0051592d6: Download complete [2022-04-08T01:25:13.375Z] 9b3977197b4f: Download complete [2022-04-08T01:25:13.375Z] a227ed2f7395: Verifying Checksum [2022-04-08T01:25:13.375Z] a227ed2f7395: Download complete [2022-04-08T01:25:13.976Z] 9b3977197b4f: Pull complete [2022-04-08T01:25:14.586Z] 1a89e8eeedd5: Pull complete [2022-04-08T01:25:14.862Z] 94645a83ff95: Pull complete [2022-04-08T01:25:15.462Z] 7b1c46037f91: Verifying Checksum [2022-04-08T01:25:15.462Z] 7b1c46037f91: Download complete [2022-04-08T01:25:16.067Z] 3f3a8bcf1eab: Download complete [2022-04-08T01:25:28.474Z] 3f3a8bcf1eab: Pull complete [2022-04-08T01:25:28.474Z] 0c92f367c5e7: Pull complete [2022-04-08T01:25:28.474Z] f7c0051592d6: Pull complete [2022-04-08T01:25:28.474Z] a227ed2f7395: Pull complete [2022-04-08T01:25:35.203Z] 7b1c46037f91: Pull complete [2022-04-08T01:25:35.203Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-04-08T01:25:35.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-04-08T01:25:35.203Z] ---> f79e39bc4007 [2022-04-08T01:25:35.203Z] Step 3/12 : ARG MAKE='make build' [2022-04-08T01:25:35.806Z] ---> Running in e5550e491222 [2022-04-08T01:25:36.081Z] Removing intermediate container e5550e491222 [2022-04-08T01:25:36.081Z] ---> 6b6a7d2d6887 [2022-04-08T01:25:36.081Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T01:25:36.081Z] ---> Running in 151cee8afd11 [2022-04-08T01:25:36.358Z] Removing intermediate container 151cee8afd11 [2022-04-08T01:25:36.358Z] ---> 1beb4db976e3 [2022-04-08T01:25:36.358Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T01:25:36.358Z] ---> Running in 944a559b743d [2022-04-08T01:25:36.972Z] Removing intermediate container 944a559b743d [2022-04-08T01:25:36.972Z] ---> 1658ba049eff [2022-04-08T01:25:36.972Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T01:25:36.972Z] ---> Running in da80eb241cdb [2022-04-08T01:25:38.969Z] Removing intermediate container da80eb241cdb [2022-04-08T01:25:38.969Z] ---> 1f644832f85f [2022-04-08T01:25:38.969Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T01:25:38.969Z] ---> Running in 6a56c209ee36 [2022-04-08T01:25:39.568Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T01:25:40.547Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T01:25:41.142Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-04-08T01:25:41.414Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-04-08T01:25:41.414Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-04-08T01:25:41.689Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-04-08T01:25:41.689Z] Executing busybox-1.34.1-r3.trigger [2022-04-08T01:25:41.689Z] OK: 224 MiB in 56 packages [2022-04-08T01:25:42.672Z] Removing intermediate container 6a56c209ee36 [2022-04-08T01:25:42.672Z] ---> 49ef440216db [2022-04-08T01:25:42.672Z] Step 8/12 : WORKDIR /device-rest-go [2022-04-08T01:25:42.672Z] ---> Running in 0cff7427485a [2022-04-08T01:25:42.954Z] Removing intermediate container 0cff7427485a [2022-04-08T01:25:42.954Z] ---> 87e33485ca1e [2022-04-08T01:25:42.954Z] Step 9/12 : COPY go.mod vendor* ./ [2022-04-08T01:25:43.555Z] ---> 03c665aebe09 [2022-04-08T01:25:43.555Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T01:25:43.555Z] ---> Running in 32e828a6289c [2022-04-08T01:26:30.621Z] Removing intermediate container 32e828a6289c [2022-04-08T01:26:30.621Z] ---> 48adf272e6fa [2022-04-08T01:26:30.621Z] Step 11/12 : COPY . . [2022-04-08T01:26:30.621Z] ---> 9f53d2b4d7c4 [2022-04-08T01:26:30.621Z] Step 12/12 : RUN $MAKE [2022-04-08T01:26:30.621Z] ---> Running in 907a671ad438 [2022-04-08T01:26:31.607Z] noop [2022-04-08T01:26:32.208Z] Removing intermediate container 907a671ad438 [2022-04-08T01:26:32.208Z] ---> f55ed830f920 [2022-04-08T01:26:32.208Z] Successfully built f55ed830f920 [2022-04-08T01:26:32.208Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:26:32.565Z] + docker inspect -f . ci-base-image-arm64 [2022-04-08T01:26:32.565Z] . [Pipeline] withDockerContainer [2022-04-08T01:26:32.801Z] prd-ubuntu20.04-docker-arm64-4c-16g-11544 does not seem to be running inside a container [2022-04-08T01:26:32.894Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@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-08T01:26:34.217Z] $ docker top d64b387badc66e0a9a3dc110caf9728ab4ab608cb687e0e6ebeb2c9385f7694a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T01:26:35.162Z] + go version [2022-04-08T01:26:35.162Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-04-08T01:26:35.197Z] $ docker stop --time=1 d64b387badc66e0a9a3dc110caf9728ab4ab608cb687e0e6ebeb2c9385f7694a [2022-04-08T01:26:36.811Z] $ docker rm -f d64b387badc66e0a9a3dc110caf9728ab4ab608cb687e0e6ebeb2c9385f7694a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:26:37.418Z] + docker inspect -f . ci-base-image-arm64 [2022-04-08T01:26:37.418Z] . [Pipeline] withDockerContainer [2022-04-08T01:26:37.664Z] prd-ubuntu20.04-docker-arm64-4c-16g-11544 does not seem to be running inside a container [2022-04-08T01:26:37.765Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@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-08T01:26:39.020Z] $ docker top 8469b3fd6699da831cead207d169f0c7c38a66af408cead72620c18aa3a9d257 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-04-08T01:26:39.936Z] + make test [2022-04-08T01:26:39.937Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-04-08T01:26:41.389Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-04-08T01:28:03.271Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-04-08T01:28:03.271Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements [2022-04-08T01:28:03.271Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-04-08T01:28:03.271Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-04-08T01:28:25.473Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-04-08T01:28:25.473Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-04-08T01:28:25.473Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-04-08T01:28:26.952Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-04-08T01:28:26.977Z] $ docker stop --time=1 8469b3fd6699da831cead207d169f0c7c38a66af408cead72620c18aa3a9d257 [2022-04-08T01:28:28.798Z] $ docker rm -f 8469b3fd6699da831cead207d169f0c7c38a66af408cead72620c18aa3a9d257 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T01:28:29.847Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-04-08T01:28:29.872Z] Warning: overwriting stash ‘coverage-report’ [2022-04-08T01:28:30.401Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-04-08T01:28:30.833Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-04-08T01:28:31.172Z] + ls -al . [2022-04-08T01:28:31.172Z] total 168 [2022-04-08T01:28:31.172Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 01:28 . [2022-04-08T01:28:31.172Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 8 01:24 .. [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 8 01:24 .dockerignore [2022-04-08T01:28:31.172Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 8 01:24 .git [2022-04-08T01:28:31.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:24 .github [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 8 01:24 .gitignore [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 8 01:24 .golangci.yml [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 8330 Apr 8 01:24 Attribution.txt [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 7459 Apr 8 01:24 CHANGELOG.md [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 1672 Apr 8 01:24 Dockerfile [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 8 01:24 GOVERNANCE.md [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 8 01:24 Jenkinsfile [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 8 01:24 LICENSE [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 1964 Apr 8 01:24 Makefile [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 8 01:24 OWNERS.md [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 8246 Apr 8 01:24 README.md [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 11 Apr 8 01:20 VERSION [2022-04-08T01:28:31.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:24 bin [2022-04-08T01:28:31.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 01:24 cmd [2022-04-08T01:28:31.172Z] -rw-r--r-- 1 jenkins jenkins 9355 Apr 8 01:27 coverage.out [2022-04-08T01:28:31.172Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 8 01:24 driver [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 3240 Apr 8 01:24 go.mod [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 34722 Apr 8 01:24 go.sum [2022-04-08T01:28:31.172Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 8 01:24 snap [2022-04-08T01:28:31.172Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 8 01:24 version.go [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:28:31.517Z] + 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=4202c4e4a89e3dab93c0881b05113b30e3444e83 --label arch=arm64 --label version=2.2.0-dev.9 . [2022-04-08T01:28:31.517Z] Sending build context to Docker daemon 137.7kB [2022-04-08T01:28:31.797Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-04-08T01:28:31.797Z] Step 2/25 : FROM ${BASE} AS builder [2022-04-08T01:28:31.797Z] ---> f55ed830f920 [2022-04-08T01:28:31.797Z] Step 3/25 : ARG MAKE='make build' [2022-04-08T01:28:31.797Z] ---> Running in 8be8f31708a5 [2022-04-08T01:28:32.075Z] Removing intermediate container 8be8f31708a5 [2022-04-08T01:28:32.075Z] ---> caf8495e7701 [2022-04-08T01:28:32.075Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-04-08T01:28:32.355Z] ---> Running in 8eb6dbb8a6f4 [2022-04-08T01:28:32.627Z] Removing intermediate container 8eb6dbb8a6f4 [2022-04-08T01:28:32.627Z] ---> 70ccc682b4ab [2022-04-08T01:28:32.627Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-04-08T01:28:32.627Z] ---> Running in d7a18b6d9e03 [2022-04-08T01:28:32.912Z] Removing intermediate container d7a18b6d9e03 [2022-04-08T01:28:32.912Z] ---> 57dd70bb6cbf [2022-04-08T01:28:32.912Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-04-08T01:28:32.912Z] ---> Running in a213b5de8856 [2022-04-08T01:28:34.957Z] Removing intermediate container a213b5de8856 [2022-04-08T01:28:34.957Z] ---> 3c2ee086ed2d [2022-04-08T01:28:34.957Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-04-08T01:28:34.957Z] ---> Running in a986af1574e7 [2022-04-08T01:28:35.613Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-04-08T01:28:36.663Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-04-08T01:28:37.257Z] OK: 224 MiB in 56 packages [2022-04-08T01:28:38.238Z] Removing intermediate container a986af1574e7 [2022-04-08T01:28:38.238Z] ---> 5ea590ea2a3d [2022-04-08T01:28:38.238Z] Step 8/25 : WORKDIR /device-rest-go [2022-04-08T01:28:38.238Z] ---> Running in 6771720bc390 [2022-04-08T01:28:38.513Z] Removing intermediate container 6771720bc390 [2022-04-08T01:28:38.513Z] ---> 00167cd2afaa [2022-04-08T01:28:38.513Z] Step 9/25 : COPY go.mod vendor* ./ [2022-04-08T01:28:39.108Z] ---> cf03366b6bef [2022-04-08T01:28:39.109Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-04-08T01:28:39.109Z] ---> Running in db7672892c8a [2022-04-08T01:28:41.078Z] Removing intermediate container db7672892c8a [2022-04-08T01:28:41.078Z] ---> 2c3d0a48ecc7 [2022-04-08T01:28:41.078Z] Step 11/25 : COPY . . [2022-04-08T01:28:41.351Z] ---> c36386f0cfb4 [2022-04-08T01:28:41.351Z] Step 12/25 : RUN $MAKE [2022-04-08T01:28:41.632Z] ---> Running in 4825f5a97ee6 [2022-04-08T01:28:42.617Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.9" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-04-08T01:30:49.492Z] Removing intermediate container 4825f5a97ee6 [2022-04-08T01:30:49.492Z] ---> dfc1f0094607 [2022-04-08T01:30:49.492Z] Step 13/25 : FROM alpine:3.14 [2022-04-08T01:30:49.492Z] 3.14: Pulling from library/alpine [2022-04-08T01:30:49.492Z] 455c02918c45: Pulling fs layer [2022-04-08T01:30:49.492Z] 455c02918c45: Verifying Checksum [2022-04-08T01:30:49.492Z] 455c02918c45: Download complete [2022-04-08T01:30:49.492Z] 455c02918c45: Pull complete [2022-04-08T01:30:49.492Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-04-08T01:30:49.492Z] Status: Downloaded newer image for alpine:3.14 [2022-04-08T01:30:49.492Z] ---> ac73e934f311 [2022-04-08T01:30:49.492Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-04-08T01:30:49.492Z] ---> Running in dcd4d3651855 [2022-04-08T01:30:49.492Z] Removing intermediate container dcd4d3651855 [2022-04-08T01:30:49.492Z] ---> 9f54c8a5a19a [2022-04-08T01:30:49.492Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-04-08T01:30:49.492Z] ---> Running in 86c0de96efe4 [2022-04-08T01:30:49.492Z] Removing intermediate container 86c0de96efe4 [2022-04-08T01:30:49.492Z] ---> e421c95464ad [2022-04-08T01:30:49.492Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-04-08T01:30:49.492Z] ---> Running in b2e82e0ee5ee [2022-04-08T01:30:49.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-04-08T01:30:49.492Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-04-08T01:30:49.492Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-04-08T01:30:49.492Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-04-08T01:30:49.492Z] (3/6) Installing libsodium (1.0.18-r0) [2022-04-08T01:30:49.492Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-04-08T01:30:49.492Z] (5/6) Installing libzmq (4.3.4-r0) [2022-04-08T01:30:49.492Z] (6/6) Installing zeromq (4.3.4-r0) [2022-04-08T01:30:49.492Z] Executing busybox-1.33.1-r7.trigger [2022-04-08T01:30:49.492Z] OK: 8 MiB in 20 packages [2022-04-08T01:30:49.492Z] Removing intermediate container b2e82e0ee5ee [2022-04-08T01:30:49.492Z] ---> 5f6785e8eee5 [2022-04-08T01:30:49.492Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-04-08T01:30:49.492Z] ---> 413068d206d8 [2022-04-08T01:30:49.492Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-04-08T01:30:49.492Z] ---> 9a718f392c4d [2022-04-08T01:30:49.492Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-04-08T01:30:49.492Z] ---> a045fae42b36 [2022-04-08T01:30:49.492Z] Step 20/25 : EXPOSE 59986 [2022-04-08T01:30:49.492Z] ---> Running in a351d195dcbf [2022-04-08T01:30:49.492Z] Removing intermediate container a351d195dcbf [2022-04-08T01:30:49.492Z] ---> f18115538a9f [2022-04-08T01:30:49.493Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-04-08T01:30:49.493Z] ---> Running in 281f34b77e2b [2022-04-08T01:30:49.493Z] Removing intermediate container 281f34b77e2b [2022-04-08T01:30:49.493Z] ---> 337449f74752 [2022-04-08T01:30:49.493Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-04-08T01:30:49.493Z] ---> Running in e6425dc42507 [2022-04-08T01:30:49.493Z] Removing intermediate container e6425dc42507 [2022-04-08T01:30:49.493Z] ---> 6f4121078b58 [2022-04-08T01:30:49.493Z] Step 23/25 : LABEL arch=arm64 [2022-04-08T01:30:49.493Z] ---> Running in 9befc5517dab [2022-04-08T01:30:49.493Z] Removing intermediate container 9befc5517dab [2022-04-08T01:30:49.493Z] ---> e1e6cf2fb1bf [2022-04-08T01:30:49.493Z] Step 24/25 : LABEL git_sha=4202c4e4a89e3dab93c0881b05113b30e3444e83 [2022-04-08T01:30:49.493Z] ---> Running in ecaa2ec9c3ab [2022-04-08T01:30:49.493Z] Removing intermediate container ecaa2ec9c3ab [2022-04-08T01:30:49.493Z] ---> dc9db06dfdb1 [2022-04-08T01:30:49.493Z] Step 25/25 : LABEL version=2.2.0-dev.9 [2022-04-08T01:30:49.493Z] ---> Running in a449aa471483 [2022-04-08T01:30:49.493Z] Removing intermediate container a449aa471483 [2022-04-08T01:30:49.493Z] ---> e11810255bfb [2022-04-08T01:30:49.493Z] [Warning] One or more build-args [ARCH] were not consumed [2022-04-08T01:30:49.493Z] Successfully built e11810255bfb [2022-04-08T01:30:49.493Z] 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-08T01:30:49.628Z] provisioning config files... [2022-04-08T01:30:49.647Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/30@tmp/config4477740812847868625tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:30:49.998Z] ---> docker-login.sh [2022-04-08T01:30:49.998Z] nexus3.edgexfoundry.org:10001 [2022-04-08T01:30:50.271Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:30:50.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:30:50.271Z] Configure a credential helper to remove this warning. See [2022-04-08T01:30:50.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:30:50.271Z] [2022-04-08T01:30:50.271Z] Login Succeeded [2022-04-08T01:30:50.271Z] nexus3.edgexfoundry.org:10002 [2022-04-08T01:30:50.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:30:50.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:30:50.865Z] Configure a credential helper to remove this warning. See [2022-04-08T01:30:50.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:30:50.865Z] [2022-04-08T01:30:50.865Z] Login Succeeded [2022-04-08T01:30:50.865Z] nexus3.edgexfoundry.org:10003 [2022-04-08T01:30:51.138Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:30:51.420Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:30:51.420Z] Configure a credential helper to remove this warning. See [2022-04-08T01:30:51.420Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:30:51.420Z] [2022-04-08T01:30:51.420Z] Login Succeeded [2022-04-08T01:30:51.420Z] nexus3.edgexfoundry.org:10004 [2022-04-08T01:30:51.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:30:51.978Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:30:51.978Z] Configure a credential helper to remove this warning. See [2022-04-08T01:30:51.978Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:30:51.978Z] [2022-04-08T01:30:51.978Z] Login Succeeded [2022-04-08T01:30:51.978Z] docker.io [2022-04-08T01:30:52.251Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-04-08T01:30:52.522Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-04-08T01:30:52.522Z] Configure a credential helper to remove this warning. See [2022-04-08T01:30:52.522Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-04-08T01:30:52.522Z] [2022-04-08T01:30:52.522Z] Login Succeeded [2022-04-08T01:30:52.794Z] ---> docker-login.sh ends [Pipeline] } [2022-04-08T01:30:52.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-08T01:30:52.865Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-04-08T01:30:52.895Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-04-08T01:30:52.895Z] 4202c4e4a89e3dab93c0881b05113b30e3444e83 [2022-04-08T01:30:52.895Z] latest [2022-04-08T01:30:52.895Z] 2.2.0-dev.9 [2022-04-08T01:30:52.895Z] 4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [2022-04-08T01:30:52.895Z] main [2022-04-08T01:30:52.895Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:30:53.268Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:30:53.612Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83 [2022-04-08T01:30:53.612Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-08T01:30:53.612Z] 943484086112: Preparing [2022-04-08T01:30:53.612Z] 9b3ef6fdc8c6: Preparing [2022-04-08T01:30:53.612Z] 6102fcf80fa8: Preparing [2022-04-08T01:30:53.612Z] 4881e2e3c989: Preparing [2022-04-08T01:30:53.612Z] f73e7dbfee58: Preparing [2022-04-08T01:30:53.890Z] f73e7dbfee58: Layer already exists [2022-04-08T01:30:53.890Z] 9b3ef6fdc8c6: Pushed [2022-04-08T01:30:53.890Z] 943484086112: Pushed [2022-04-08T01:30:54.485Z] 4881e2e3c989: Pushed [2022-04-08T01:30:58.777Z] 6102fcf80fa8: Pushed [2022-04-08T01:30:59.048Z] 4202c4e4a89e3dab93c0881b05113b30e3444e83: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:30:59.395Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:30:59.735Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-08T01:30:59.735Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-08T01:30:59.735Z] 943484086112: Preparing [2022-04-08T01:30:59.735Z] 9b3ef6fdc8c6: Preparing [2022-04-08T01:30:59.735Z] 6102fcf80fa8: Preparing [2022-04-08T01:30:59.735Z] 4881e2e3c989: Preparing [2022-04-08T01:30:59.735Z] f73e7dbfee58: Preparing [2022-04-08T01:30:59.735Z] f73e7dbfee58: Layer already exists [2022-04-08T01:30:59.735Z] 9b3ef6fdc8c6: Layer already exists [2022-04-08T01:30:59.735Z] 6102fcf80fa8: Layer already exists [2022-04-08T01:30:59.735Z] 4881e2e3c989: Layer already exists [2022-04-08T01:30:59.735Z] 943484086112: Layer already exists [2022-04-08T01:31:00.008Z] latest: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:00.361Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:00.712Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.9 [2022-04-08T01:31:00.712Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-08T01:31:00.712Z] 943484086112: Preparing [2022-04-08T01:31:00.712Z] 9b3ef6fdc8c6: Preparing [2022-04-08T01:31:00.712Z] 6102fcf80fa8: Preparing [2022-04-08T01:31:00.712Z] 4881e2e3c989: Preparing [2022-04-08T01:31:00.712Z] f73e7dbfee58: Preparing [2022-04-08T01:31:00.712Z] 943484086112: Layer already exists [2022-04-08T01:31:00.712Z] 6102fcf80fa8: Layer already exists [2022-04-08T01:31:00.712Z] f73e7dbfee58: Layer already exists [2022-04-08T01:31:00.712Z] 4881e2e3c989: Layer already exists [2022-04-08T01:31:00.712Z] 9b3ef6fdc8c6: Layer already exists [2022-04-08T01:31:00.983Z] 2.2.0-dev.9: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:01.327Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:01.660Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [2022-04-08T01:31:01.660Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-08T01:31:01.660Z] 943484086112: Preparing [2022-04-08T01:31:01.660Z] 9b3ef6fdc8c6: Preparing [2022-04-08T01:31:01.660Z] 6102fcf80fa8: Preparing [2022-04-08T01:31:01.660Z] 4881e2e3c989: Preparing [2022-04-08T01:31:01.660Z] f73e7dbfee58: Preparing [2022-04-08T01:31:01.660Z] 6102fcf80fa8: Layer already exists [2022-04-08T01:31:01.660Z] f73e7dbfee58: Layer already exists [2022-04-08T01:31:01.660Z] 9b3ef6fdc8c6: Layer already exists [2022-04-08T01:31:01.660Z] 943484086112: Layer already exists [2022-04-08T01:31:01.660Z] 4881e2e3c989: Layer already exists [2022-04-08T01:31:01.931Z] 4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:02.279Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:02.619Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-04-08T01:31:02.619Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-04-08T01:31:02.619Z] 943484086112: Preparing [2022-04-08T01:31:02.619Z] 9b3ef6fdc8c6: Preparing [2022-04-08T01:31:02.619Z] 6102fcf80fa8: Preparing [2022-04-08T01:31:02.619Z] 4881e2e3c989: Preparing [2022-04-08T01:31:02.619Z] f73e7dbfee58: Preparing [2022-04-08T01:31:02.619Z] f73e7dbfee58: Layer already exists [2022-04-08T01:31:02.619Z] 943484086112: Layer already exists [2022-04-08T01:31:02.619Z] 6102fcf80fa8: Layer already exists [2022-04-08T01:31:02.619Z] 4881e2e3c989: Layer already exists [2022-04-08T01:31:02.619Z] 9b3ef6fdc8c6: Layer already exists [2022-04-08T01:31:02.891Z] main: digest: sha256:4a1cdbe8d6dbd010185532c12c520d422a5c9162295c86353b5994ac2a2af002 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-04-08T01:31:02.940Z] ===================================================== [Pipeline] echo [2022-04-08T01:31:02.953Z] taggedImages: [2022-04-08T01:31:02.954Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83 [2022-04-08T01:31:02.954Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-04-08T01:31:02.954Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.9 [2022-04-08T01:31:02.954Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:4202c4e4a89e3dab93c0881b05113b30e3444e83-2.2.0-dev.9 [2022-04-08T01:31:02.954Z] - 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-08T01:31:03.328Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T01:31:03.328Z] [2022-04-08T01:31:03.328Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:03.678Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T01:31:03.953Z] arm64: Pulling from edgex-lftools-log-publisher [2022-04-08T01:31:03.953Z] 8998bd30e6a1: Pulling fs layer [2022-04-08T01:31:03.953Z] 04944245beec: Pulling fs layer [2022-04-08T01:31:03.953Z] 699f458cf7ca: Pulling fs layer [2022-04-08T01:31:03.953Z] 765212b225bb: Pulling fs layer [2022-04-08T01:31:03.953Z] f23df028b6ca: Pulling fs layer [2022-04-08T01:31:03.953Z] d65c8cfc05b1: Pulling fs layer [2022-04-08T01:31:03.953Z] 2437ff75d9bd: Pulling fs layer [2022-04-08T01:31:03.953Z] 765212b225bb: Waiting [2022-04-08T01:31:03.953Z] f23df028b6ca: Waiting [2022-04-08T01:31:03.953Z] d65c8cfc05b1: Waiting [2022-04-08T01:31:03.953Z] 2437ff75d9bd: Waiting [2022-04-08T01:31:03.953Z] 04944245beec: Verifying Checksum [2022-04-08T01:31:03.953Z] 04944245beec: Download complete [2022-04-08T01:31:03.953Z] 765212b225bb: Verifying Checksum [2022-04-08T01:31:03.953Z] 765212b225bb: Download complete [2022-04-08T01:31:03.953Z] f23df028b6ca: Verifying Checksum [2022-04-08T01:31:03.953Z] f23df028b6ca: Download complete [2022-04-08T01:31:03.953Z] d65c8cfc05b1: Verifying Checksum [2022-04-08T01:31:03.953Z] d65c8cfc05b1: Download complete [2022-04-08T01:31:04.229Z] 699f458cf7ca: Verifying Checksum [2022-04-08T01:31:04.229Z] 699f458cf7ca: Download complete [2022-04-08T01:31:04.511Z] 8998bd30e6a1: Verifying Checksum [2022-04-08T01:31:04.511Z] 8998bd30e6a1: Download complete [2022-04-08T01:31:07.141Z] 2437ff75d9bd: Verifying Checksum [2022-04-08T01:31:07.141Z] 2437ff75d9bd: Download complete [2022-04-08T01:31:08.572Z] 8998bd30e6a1: Pull complete [2022-04-08T01:31:09.167Z] 04944245beec: Pull complete [2022-04-08T01:31:10.606Z] 699f458cf7ca: Pull complete [2022-04-08T01:31:10.606Z] 765212b225bb: Pull complete [2022-04-08T01:31:11.585Z] f23df028b6ca: Pull complete [2022-04-08T01:31:11.585Z] d65c8cfc05b1: Pull complete [2022-04-08T01:31:26.693Z] 2437ff75d9bd: Pull complete [2022-04-08T01:31:26.693Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-04-08T01:31:26.693Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-04-08T01:31:26.693Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-04-08T01:31:26.940Z] prd-ubuntu20.04-docker-arm64-4c-16g-11544 does not seem to be running inside a container [2022-04-08T01:31:27.032Z] $ 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/30 -v /w/workspace/device-rest-go/30:/w/workspace/device-rest-go/30:rw,z -v /w/workspace/device-rest-go/30@tmp:/w/workspace/device-rest-go/30@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-08T01:31:29.757Z] $ docker top a9d178827cd4b3f4464d18c94b9c30c9d6abd518ecfb208e786f55e6109a0af2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:31:30.782Z] ---> job-cost.sh [2022-04-08T01:31:30.782Z] lf-activate-venv: SKIPPING [2022-04-08T01:31:30.782Z] INFO: No Stack... [2022-04-08T01:31:31.057Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-04-08T01:31:32.037Z] INFO: Archiving Costs [Pipeline] sh [2022-04-08T01:31:32.702Z] + + cat /w/workspace/device-rest-go/30/archives/cost.csv [2022-04-08T01:31:32.703Z] cut -d, -f6 [Pipeline] lock [2022-04-08T01:31:32.764Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [2022-04-08T01:31:32.769Z] Resource [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] did not exist. Created. [2022-04-08T01:31:32.769Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-04-08T01:31:33.445Z] /w/workspace/device-rest-go/30@tmp/durable-b4e7af29/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-04-08T01:31:34.126Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-04-08T01:31:34.149Z] Warning: overwriting stash ‘stack-cost’ [2022-04-08T01:31:34.191Z] Stashed 1 file(s) [Pipeline] } [2022-04-08T01:31:34.197Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-30-stack-cost] [Pipeline] // lock [Pipeline] } [2022-04-08T01:31:34.226Z] $ docker stop --time=1 a9d178827cd4b3f4464d18c94b9c30c9d6abd518ecfb208e786f55e6109a0af2 [2022-04-08T01:31:35.765Z] $ docker rm -f a9d178827cd4b3f4464d18c94b9c30c9d6abd518ecfb208e786f55e6109a0af2 [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-08T01:31:36.460Z] provisioning config files... [2022-04-08T01:31:36.472Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2685291707758318189tmp [Pipeline] { [Pipeline] sh [2022-04-08T01:31:36.770Z] + set +x [2022-04-08T01:31:36.770Z] + curl -s https://codecov.io/bash [2022-04-08T01:31:36.770Z] + bash -s -- [2022-04-08T01:31:36.770Z] [2022-04-08T01:31:36.770Z] _____ _ [2022-04-08T01:31:36.770Z] / ____| | | [2022-04-08T01:31:36.770Z] | | ___ __| | ___ ___ _____ __ [2022-04-08T01:31:36.770Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-04-08T01:31:36.770Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-04-08T01:31:36.770Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-04-08T01:31:36.770Z] Bash-1.0.6 [2022-04-08T01:31:36.770Z] [2022-04-08T01:31:36.770Z] [2022-04-08T01:31:36.770Z] ==> git version 2.25.1 found [2022-04-08T01:31:36.770Z] ==> 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-08T01:31:36.770Z] Release-Date: 2020-01-08 [2022-04-08T01:31:36.770Z] 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-08T01:31:36.770Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-04-08T01:31:36.770Z] ==> Jenkins CI detected. [2022-04-08T01:31:36.770Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-04-08T01:31:36.770Z] project root: . [2022-04-08T01:31:36.770Z] --> token set from env [2022-04-08T01:31:36.770Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-04-08T01:31:36.770Z] ==> Running gcov in . (disable via -X gcov) [2022-04-08T01:31:36.770Z] ==> Python coveragepy not found [2022-04-08T01:31:36.770Z] ==> Searching for coverage reports in: [2022-04-08T01:31:36.770Z] + . [2022-04-08T01:31:36.770Z] -> Found 1 reports [2022-04-08T01:31:36.770Z] ==> Detecting git/mercurial file structure [2022-04-08T01:31:37.031Z] ==> Reading reports [2022-04-08T01:31:37.031Z] + ./coverage.out bytes=9355 [2022-04-08T01:31:37.031Z] ==> Appending adjustments [2022-04-08T01:31:37.031Z] https://docs.codecov.io/docs/fixing-reports [2022-04-08T01:31:37.031Z] + Found adjustments [2022-04-08T01:31:37.031Z] ==> Gzipping contents [2022-04-08T01:31:37.031Z] 4.0K /tmp/codecov.TNr2At.gz [2022-04-08T01:31:37.031Z] ==> Uploading reports [2022-04-08T01:31:37.031Z] url: https://codecov.io [2022-04-08T01:31:37.031Z] query: branch=main&commit=4202c4e4a89e3dab93c0881b05113b30e3444e83&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-08T01:31:37.031Z] -> Pinging Codecov [2022-04-08T01:31:37.031Z] 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=4202c4e4a89e3dab93c0881b05113b30e3444e83&build=30&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F30%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-04-08T01:31:37.293Z] -> Uploading to [2022-04-08T01:31:37.293Z] https://storage.googleapis.com/codecov/v4/raw/2022-04-08/4E5D53B4F1F92C436F7061BF334D961C/4202c4e4a89e3dab93c0881b05113b30e3444e83/f323a865-7b5e-4846-ba41-474578a69346.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220408%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220408T013137Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d3035f9a91001086d1ac41223af7dfa21dbfd48179912948e4cce5779f6b2634 [2022-04-08T01:31:37.293Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-04-08T01:31:37.293Z] Dload Upload Total Spent Left Speed [2022-04-08T01:31:37.554Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7725 --:--:-- --:--:-- --:--:-- 7725 [2022-04-08T01:31:37.554Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] } [2022-04-08T01:31:37.563Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-04-08T01:31:37.933Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-04-08T01:31:37.946Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:38.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-08T01:31:38.242Z] [2022-04-08T01:31:38.243Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:38.556Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-08T01:31:38.556Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-04-08T01:31:38.556Z] 188c0c94c7c5: Pulling fs layer [2022-04-08T01:31:38.556Z] 0ef7d3d256c8: Pulling fs layer [2022-04-08T01:31:38.556Z] de9db76c5a1d: Pulling fs layer [2022-04-08T01:31:38.556Z] 0eba1c9be4d2: Pulling fs layer [2022-04-08T01:31:38.556Z] 0d57e429df01: Pulling fs layer [2022-04-08T01:31:38.556Z] 4e4be7b47b0d: Pulling fs layer [2022-04-08T01:31:38.556Z] e1f770b5df2f: Pulling fs layer [2022-04-08T01:31:38.556Z] 85a0685a4137: Pulling fs layer [2022-04-08T01:31:38.556Z] 0eba1c9be4d2: Waiting [2022-04-08T01:31:38.556Z] 0d57e429df01: Waiting [2022-04-08T01:31:38.556Z] e1f770b5df2f: Waiting [2022-04-08T01:31:38.556Z] 85a0685a4137: Waiting [2022-04-08T01:31:38.556Z] de9db76c5a1d: Verifying Checksum [2022-04-08T01:31:38.556Z] de9db76c5a1d: Download complete [2022-04-08T01:31:38.556Z] 0ef7d3d256c8: Download complete [2022-04-08T01:31:38.556Z] 0d57e429df01: Verifying Checksum [2022-04-08T01:31:38.556Z] 0d57e429df01: Download complete [2022-04-08T01:31:38.556Z] 4e4be7b47b0d: Verifying Checksum [2022-04-08T01:31:38.556Z] 4e4be7b47b0d: Download complete [2022-04-08T01:31:38.556Z] 188c0c94c7c5: Verifying Checksum [2022-04-08T01:31:38.556Z] 188c0c94c7c5: Download complete [2022-04-08T01:31:38.824Z] 188c0c94c7c5: Pull complete [2022-04-08T01:31:38.824Z] e1f770b5df2f: Verifying Checksum [2022-04-08T01:31:38.824Z] e1f770b5df2f: Download complete [2022-04-08T01:31:38.824Z] 0ef7d3d256c8: Pull complete [2022-04-08T01:31:38.824Z] de9db76c5a1d: Pull complete [2022-04-08T01:31:39.398Z] 0eba1c9be4d2: Verifying Checksum [2022-04-08T01:31:39.398Z] 0eba1c9be4d2: Download complete [2022-04-08T01:31:39.398Z] 85a0685a4137: Verifying Checksum [2022-04-08T01:31:39.398Z] 85a0685a4137: Download complete [2022-04-08T01:31:42.693Z] 0eba1c9be4d2: Pull complete [2022-04-08T01:31:42.693Z] 0d57e429df01: Pull complete [2022-04-08T01:31:42.693Z] 4e4be7b47b0d: Pull complete [2022-04-08T01:31:43.263Z] e1f770b5df2f: Pull complete [2022-04-08T01:31:47.466Z] 85a0685a4137: Pull complete [2022-04-08T01:31:47.466Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-04-08T01:31:47.466Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-04-08T01:31:47.466Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-04-08T01:31:47.539Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:31:47.586Z] $ 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-08T01:31:49.138Z] $ docker top 58302839267a8b895d66c1bf7ffdd9ccf9eb2b6cdb47f1f33865bebcf9201814 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-04-08T01:31:49.234Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-04-08T01:31:49.522Z] + set -o pipefail [2022-04-08T01:31:49.522Z] + snyk monitor '--org=edgex-jenkins' [2022-04-08T01:31:56.120Z] [2022-04-08T01:31:56.120Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-04-08T01:31:56.120Z] [2022-04-08T01:31:56.120Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/45ff0abe-c3d8-4570-bcdf-4e42f24676d3 [2022-04-08T01:31:56.120Z] [2022-04-08T01:31:56.121Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-04-08T01:31:56.121Z] [2022-04-08T01:31:56.121Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-04-08T01:31:56.121Z] [2022-04-08T01:31:56.121Z] [Pipeline] } [2022-04-08T01:31:56.137Z] $ docker stop --time=1 58302839267a8b895d66c1bf7ffdd9ccf9eb2b6cdb47f1f33865bebcf9201814 [2022-04-08T01:31:58.194Z] $ docker rm -f 58302839267a8b895d66c1bf7ffdd9ccf9eb2b6cdb47f1f33865bebcf9201814 [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-08T01:31:58.956Z] + git log --format=format:%s -1 4202c4e4a89e3dab93c0881b05113b30e3444e83 [Pipeline] sh [2022-04-08T01:31:59.258Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-08T01:31:59.258Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:31:59.559Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T01:31:59.559Z] . [Pipeline] withDockerContainer [2022-04-08T01:31:59.632Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:31:59.681Z] $ 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-08T01:32:00.087Z] $ docker top 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-08T01:32:00.200Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T01:32:00.200Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T01:32:00.318Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T01:32:00.322Z] $ docker exec 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 ssh-agent [2022-04-08T01:32:00.442Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXMfGefC/agent.13 [2022-04-08T01:32:00.442Z] SSH_AGENT_PID=19 [2022-04-08T01:32:00.448Z] Running ssh-add (command line suppressed) [2022-04-08T01:32:00.561Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3184464255944579404.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3184464255944579404.key) [2022-04-08T01:32:00.578Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T01:32:00.869Z] + git semver tag [2022-04-08T01:32:00.870Z] # -> Open(): unable to determine branch for HEAD [2022-04-08T01:32:00.870Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-08T01:32:00.870Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-08T01:32:00.870Z] # $SEMVER_REMOTE_NAME = origin [2022-04-08T01:32:00.870Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-08T01:32:00.870Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-08T01:32:00.870Z] # $SEMVER_BRANCH = main [2022-04-08T01:32:00.870Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-08T01:32:00.870Z] # 4202c4e4a89e3dab93c0881b05113b30e3444e83 HEAD [2022-04-08T01:32:00.870Z] # -> Force: false [2022-04-08T01:32:00.870Z] # 6b78bcc69e6aefcf7dd2a18efd4a5350454d9043 refs/tags/v2.2.0-dev.9 [Pipeline] } [2022-04-08T01:32:00.883Z] $ docker exec --env ******** --env ******** 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 ssh-agent -k [2022-04-08T01:32:00.987Z] unset SSH_AUTH_SOCK; [2022-04-08T01:32:00.987Z] unset SSH_AGENT_PID; [2022-04-08T01:32:00.987Z] echo Agent pid 19 killed; [2022-04-08T01:32:00.998Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-08T01:32:01.315Z] + git semver [Pipeline] } [2022-04-08T01:32:01.339Z] $ docker stop --time=1 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 [2022-04-08T01:32:02.663Z] $ docker rm -f 2348026fd5701e928ca223aaa65fc8243f62c72ecb6f471b088c8dbc98ca49f8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:32:03.091Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-08T01:32:03.091Z] [2022-04-08T01:32:03.091Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:32:03.408Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-08T01:32:03.408Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-04-08T01:32:03.408Z] ab5ef0e58194: Pulling fs layer [2022-04-08T01:32:03.408Z] 9712f1f96733: Pulling fs layer [2022-04-08T01:32:03.409Z] 63f879dbbcfc: Pulling fs layer [2022-04-08T01:32:03.409Z] 0d9ebad4ef96: Pulling fs layer [2022-04-08T01:32:03.409Z] e9a5061849ea: Pulling fs layer [2022-04-08T01:32:03.409Z] d747dcd14b5f: Pulling fs layer [2022-04-08T01:32:03.409Z] 2de7ff778b66: Pulling fs layer [2022-04-08T01:32:03.409Z] 0d9ebad4ef96: Waiting [2022-04-08T01:32:03.409Z] e9a5061849ea: Waiting [2022-04-08T01:32:03.409Z] d747dcd14b5f: Waiting [2022-04-08T01:32:03.409Z] 2de7ff778b66: Waiting [2022-04-08T01:32:03.409Z] 9712f1f96733: Download complete [2022-04-08T01:32:03.677Z] 63f879dbbcfc: Verifying Checksum [2022-04-08T01:32:03.677Z] 63f879dbbcfc: Download complete [2022-04-08T01:32:03.938Z] e9a5061849ea: Verifying Checksum [2022-04-08T01:32:03.938Z] e9a5061849ea: Download complete [2022-04-08T01:32:03.938Z] 0d9ebad4ef96: Verifying Checksum [2022-04-08T01:32:03.938Z] 0d9ebad4ef96: Download complete [2022-04-08T01:32:03.938Z] d747dcd14b5f: Verifying Checksum [2022-04-08T01:32:03.938Z] d747dcd14b5f: Download complete [2022-04-08T01:32:03.938Z] ab5ef0e58194: Verifying Checksum [2022-04-08T01:32:03.938Z] ab5ef0e58194: Download complete [2022-04-08T01:32:04.198Z] 2de7ff778b66: Verifying Checksum [2022-04-08T01:32:07.484Z] ab5ef0e58194: Pull complete [2022-04-08T01:32:07.484Z] 9712f1f96733: Pull complete [2022-04-08T01:32:07.744Z] 63f879dbbcfc: Pull complete [2022-04-08T01:32:11.943Z] 0d9ebad4ef96: Pull complete [2022-04-08T01:32:11.943Z] e9a5061849ea: Pull complete [2022-04-08T01:32:11.943Z] d747dcd14b5f: Pull complete [2022-04-08T01:32:12.883Z] 2de7ff778b66: Pull complete [2022-04-08T01:32:12.883Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-04-08T01:32:12.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-04-08T01:32:12.883Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-04-08T01:32:12.956Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:32:12.994Z] $ 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-08T01:32:14.962Z] $ docker top 4255537c1199c2ef0b7546d69b9040c4029f4ce2c7196c521f38a1514c8351b5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-04-08T01:32:15.044Z] provisioning config files... [2022-04-08T01:32:15.053Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8197907649433624471tmp [2022-04-08T01:32:15.065Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7777119224166685521tmp [2022-04-08T01:32:15.076Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7141257016636274750tmp [Pipeline] { [Pipeline] echo [2022-04-08T01:32:15.094Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:15.379Z] ---> sigul-configuration.sh [2022-04-08T01:32:15.379Z] gpg: directory `/root/.gnupg' created [2022-04-08T01:32:15.379Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-04-08T01:32:15.379Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-04-08T01:32:15.379Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-04-08T01:32:15.379Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-04-08T01:32:15.379Z] gpg: CAST5 encrypted data [2022-04-08T01:32:15.379Z] gpg: encrypted with 1 passphrase [2022-04-08T01:32:15.379Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-04-08T01:32:15.670Z] + mkdir /home/jenkins [2022-04-08T01:32:15.670Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-04-08T01:32:15.969Z] + 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-08T01:32:15.979Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:16.265Z] ---> sigul-install.sh [2022-04-08T01:32:16.265Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-04-08T01:32:16.558Z] + git tag --list [2022-04-08T01:32:16.558Z] v1.0.0 [2022-04-08T01:32:16.558Z] v1.1.0 [2022-04-08T01:32:16.558Z] v1.1.1 [2022-04-08T01:32:16.558Z] v1.1.2 [2022-04-08T01:32:16.558Z] v1.2.0 [2022-04-08T01:32:16.558Z] v1.2.1 [2022-04-08T01:32:16.558Z] v2.0.0 [2022-04-08T01:32:16.558Z] v2.0.1-dev.1 [2022-04-08T01:32:16.558Z] v2.0.1-dev.10 [2022-04-08T01:32:16.558Z] v2.0.1-dev.11 [2022-04-08T01:32:16.558Z] v2.0.1-dev.12 [2022-04-08T01:32:16.558Z] v2.0.1-dev.13 [2022-04-08T01:32:16.558Z] v2.0.1-dev.14 [2022-04-08T01:32:16.558Z] v2.0.1-dev.2 [2022-04-08T01:32:16.558Z] v2.0.1-dev.3 [2022-04-08T01:32:16.558Z] v2.0.1-dev.4 [2022-04-08T01:32:16.558Z] v2.0.1-dev.5 [2022-04-08T01:32:16.558Z] v2.0.1-dev.6 [2022-04-08T01:32:16.558Z] v2.0.1-dev.7 [2022-04-08T01:32:16.558Z] v2.0.1-dev.8 [2022-04-08T01:32:16.558Z] v2.0.1-dev.9 [2022-04-08T01:32:16.558Z] v2.1.0 [2022-04-08T01:32:16.558Z] v2.2.0-dev.1 [2022-04-08T01:32:16.558Z] v2.2.0-dev.2 [2022-04-08T01:32:16.558Z] v2.2.0-dev.3 [2022-04-08T01:32:16.558Z] v2.2.0-dev.4 [2022-04-08T01:32:16.558Z] v2.2.0-dev.5 [2022-04-08T01:32:16.558Z] v2.2.0-dev.6 [2022-04-08T01:32:16.558Z] v2.2.0-dev.7 [2022-04-08T01:32:16.558Z] v2.2.0-dev.8 [2022-04-08T01:32:16.558Z] v2.2.0-dev.9 [Pipeline] sh [2022-04-08T01:32:16.852Z] + lftools sign git-tag v2.2.0-dev.9 [2022-04-08T01:32:17.421Z] Signing Git tag with Sigul... [2022-04-08T01:32:17.421Z] Signing v2.2.0-dev.9 [Pipeline] echo [2022-04-08T01:32:17.691Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:17.978Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-04-08T01:32:17.986Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-04-08T01:32:18.012Z] $ docker stop --time=1 4255537c1199c2ef0b7546d69b9040c4029f4ce2c7196c521f38a1514c8351b5 [2022-04-08T01:32:19.332Z] $ docker rm -f 4255537c1199c2ef0b7546d69b9040c4029f4ce2c7196c521f38a1514c8351b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-04-08T01:32:19.776Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-08T01:32:19.776Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:32:20.071Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T01:32:20.071Z] . [Pipeline] withDockerContainer [2022-04-08T01:32:20.144Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:32:20.182Z] $ 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-08T01:32:20.561Z] $ docker top 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-08T01:32:20.659Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T01:32:20.659Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T01:32:20.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T01:32:20.802Z] $ docker exec 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 ssh-agent [2022-04-08T01:32:20.920Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPfophG/agent.14 [2022-04-08T01:32:20.920Z] SSH_AGENT_PID=20 [2022-04-08T01:32:20.925Z] Running ssh-add (command line suppressed) [2022-04-08T01:32:21.042Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6883620947398102081.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6883620947398102081.key) [2022-04-08T01:32:21.058Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T01:32:21.357Z] + git semver bump pre [2022-04-08T01:32:21.357Z] # -> Open(): unable to determine branch for HEAD [2022-04-08T01:32:21.357Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-08T01:32:21.357Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-08T01:32:21.357Z] # $SEMVER_REMOTE_NAME = origin [2022-04-08T01:32:21.357Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-08T01:32:21.357Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-08T01:32:21.357Z] # $SEMVER_BRANCH = main [2022-04-08T01:32:21.357Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-04-08T01:32:21.357Z] 2.2.0-dev.10 [Pipeline] } [2022-04-08T01:32:21.369Z] $ docker exec --env ******** --env ******** 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 ssh-agent -k [2022-04-08T01:32:21.487Z] unset SSH_AUTH_SOCK; [2022-04-08T01:32:21.487Z] unset SSH_AGENT_PID; [2022-04-08T01:32:21.487Z] echo Agent pid 20 killed; [2022-04-08T01:32:21.499Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-08T01:32:21.805Z] + git semver [Pipeline] } [2022-04-08T01:32:21.821Z] $ docker stop --time=1 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 [2022-04-08T01:32:23.120Z] $ docker rm -f 8f2ee77ac84aeee6d9e972b920e64a27cea0fb65c503fdfebf530e6932ab8d23 [Pipeline] // withDockerContainer [Pipeline] sh [2022-04-08T01:32:23.489Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-04-08T01:32:23.489Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:32:23.791Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-04-08T01:32:23.791Z] . [Pipeline] withDockerContainer [2022-04-08T01:32:23.867Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:32:23.906Z] $ 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-08T01:32:24.288Z] $ docker top 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-04-08T01:32:24.391Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-04-08T01:32:24.392Z] [ssh-agent] Looking for ssh-agent implementation... [2022-04-08T01:32:24.537Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-04-08T01:32:24.541Z] $ docker exec 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 ssh-agent [2022-04-08T01:32:24.680Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXpgIoOM/agent.15 [2022-04-08T01:32:24.680Z] SSH_AGENT_PID=21 [2022-04-08T01:32:24.685Z] Running ssh-add (command line suppressed) [2022-04-08T01:32:24.814Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1288573745821546277.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1288573745821546277.key) [2022-04-08T01:32:24.829Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-04-08T01:32:25.122Z] + git semver push [2022-04-08T01:32:25.122Z] # -> Open(): unable to determine branch for HEAD [2022-04-08T01:32:25.122Z] # $GIT_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.git [2022-04-08T01:32:25.122Z] # $GIT_WORK_TREE = /w/workspace/edgexfoundry_device-rest-go_main [2022-04-08T01:32:25.122Z] # $SEMVER_REMOTE_NAME = origin [2022-04-08T01:32:25.122Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-04-08T01:32:25.122Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-04-08T01:32:25.122Z] # $SEMVER_BRANCH = main [2022-04-08T01:32:25.122Z] # $SEMVER_DIR = /w/workspace/edgexfoundry_device-rest-go_main/.semver [Pipeline] } [2022-04-08T01:32:26.524Z] $ docker exec --env ******** --env ******** 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 ssh-agent -k [2022-04-08T01:32:26.632Z] unset SSH_AUTH_SOCK; [2022-04-08T01:32:26.632Z] unset SSH_AGENT_PID; [2022-04-08T01:32:26.632Z] echo Agent pid 21 killed; [2022-04-08T01:32:26.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-04-08T01:32:26.948Z] + git semver [Pipeline] } [2022-04-08T01:32:26.989Z] $ docker stop --time=1 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 [2022-04-08T01:32:28.276Z] $ docker rm -f 78c20bb72364df4f71f7edc2b1279a588abc2a103750a359140ffecf1ce9e441 [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-08T01:32:28.985Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-04-08T01:32:28.985Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-08T01:32:28.985Z] total 16 [2022-04-08T01:32:28.985Z] drwxr-xr-x 3 root root 4096 Apr 8 01:22 . [2022-04-08T01:32:28.985Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 01:32 .. [2022-04-08T01:32:28.985Z] drwxr-xr-x 2 root root 4096 Apr 8 01:22 cost [2022-04-08T01:32:28.985Z] -rw-r--r-- 1 root root 84 Apr 8 01:22 cost.csv [2022-04-08T01:32:28.985Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-08T01:32:28.985Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-04-08T01:32:28.985Z] total 16 [2022-04-08T01:32:28.985Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 8 01:22 . [2022-04-08T01:32:28.985Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 8 01:32 .. [2022-04-08T01:32:28.985Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 8 01:22 cost [2022-04-08T01:32:28.985Z] -rw-r--r-- 1 jenkins jenkins 84 Apr 8 01:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:29.284Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:30.155Z] ---> package-listing.sh [2022-04-08T01:32:30.155Z] ++ facter osfamily [2022-04-08T01:32:30.155Z] ++ tr '[:upper:]' '[:lower:]' [2022-04-08T01:32:30.415Z] + OS_FAMILY=debian [2022-04-08T01:32:30.415Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-04-08T01:32:30.415Z] + START_PACKAGES=/tmp/packages_start.txt [2022-04-08T01:32:30.415Z] + END_PACKAGES=/tmp/packages_end.txt [2022-04-08T01:32:30.415Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-04-08T01:32:30.415Z] + PACKAGES=/tmp/packages_start.txt [2022-04-08T01:32:30.415Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-08T01:32:30.415Z] + PACKAGES=/tmp/packages_end.txt [2022-04-08T01:32:30.415Z] + case "${OS_FAMILY}" in [2022-04-08T01:32:30.415Z] + dpkg -l [2022-04-08T01:32:30.415Z] + grep '^ii' [2022-04-08T01:32:30.415Z] + '[' -f /tmp/packages_start.txt ']' [2022-04-08T01:32:30.415Z] + '[' -f /tmp/packages_end.txt ']' [2022-04-08T01:32:30.415Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-04-08T01:32:30.415Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-04-08T01:32:30.415Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-04-08T01:32:30.415Z] + 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-08T01:32:30.430Z] 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-08T01:32:30.714Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-04-08T01:32:31.277Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-04-08T01:32:31.277Z] . [Pipeline] withDockerContainer [2022-04-08T01:32:31.345Z] prd-ubuntu20.04-docker-8c-8g-11543 does not seem to be running inside a container [2022-04-08T01:32:31.382Z] $ 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-08T01:32:31.603Z] $ docker top fd092f061739d2e9a12d3b278fbe7701a9ea59f72d3d31496208b61962b3d6b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-04-08T01:32:31.963Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-04-08T01:32:32.257Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-04-08T01:32:32.550Z] + ls /var/log/sa-host [2022-04-08T01:32:32.550Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-04-08T01:32:32.792Z] provisioning config files... [2022-04-08T01:32:32.801Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6168589525142251857tmp [Pipeline] { [Pipeline] echo [2022-04-08T01:32:32.823Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:33.116Z] ---> create-netrc.sh [Pipeline] } [2022-04-08T01:32:33.125Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:33.471Z] ---> python-tools-install.sh [Pipeline] echo [2022-04-08T01:32:33.480Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:33.773Z] ---> sudo-logs.sh [2022-04-08T01:32:33.773Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-04-08T01:32:33.799Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:34.087Z] ---> job-cost.sh [2022-04-08T01:32:34.087Z] lf-activate-venv: SKIPPING [2022-04-08T01:32:34.087Z] DEBUG: total: 0.2199999988079071 [2022-04-08T01:32:34.087Z] INFO: Retrieving Stack Cost... [2022-04-08T01:32:34.348Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-04-08T01:32:34.921Z] INFO: Archiving Costs [Pipeline] echo [2022-04-08T01:32:34.935Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-04-08T01:32:35.221Z] ---> logs-deploy.sh [2022-04-08T01:32:35.221Z] lf-activate-venv: SKIPPING [2022-04-08T01:32:35.221Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/30 [2022-04-08T01:32:35.221Z] INFO: archiving workspace using pattern(s): [2022-04-08T01:32:36.163Z] Archives upload complete. [2022-04-08T01:32:36.163Z] INFO: archiving logs to Nexus