Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f0689e2451660e374e54247122f91e779ddae9a5 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-ssh13377488894270753094.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh4962526092777179491.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh7514965641324151699.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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-ssh5960905093960558040.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-ssh9364908208474742482.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 ‘prd-centos7-blackbox-4c-2g-34311’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-34829’ is offline ‘prd-ubuntu20.04-docker-8c-8g-34830’ is offline ‘prd-ubuntu20.04-docker-8c-8g-34831’ is offline Running on prd-ubuntu20.04-docker-8c-8g-38962 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 f0689e2451660e374e54247122f91e779ddae9a5 (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 f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 Commit message: "Merge pull request #183 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" > git rev-list --no-walk a43e2c30b821305cbbceda7bc94393c1897f4bc4 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-03T03:43:50.150Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-03T03:43:50.206Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-03T03:43:50.224Z] ========================================================= [2022-05-03T03:43:50.224Z] EdgeX Global Pipelines Version Info [2022-05-03T03:43:50.224Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:43:51.014Z] ------------------- [2022-05-03T03:43:51.014Z] stable info: [2022-05-03T03:43:51.014Z] ------------------- [2022-05-03T03:43:51.014Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-03T03:43:51.014Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-03T03:43:51.014Z] Message: update stable to v1.0.227 [2022-05-03T03:43:51.591Z] ------------------- [2022-05-03T03:43:51.591Z] experimental info: [2022-05-03T03:43:51.591Z] ------------------- [2022-05-03T03:43:51.591Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-05-03T03:43:51.591Z] Commit SHA: 602d0728ebfd21a5b975e02ac0465e47e5fef8c7 [2022-05-03T03:43:51.591Z] Message: update experimental to v1.0.228 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-03T03:43:51.720Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-03T03:43:51.733Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-03T03:43:51.746Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-03T03:43:51.767Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-03T03:43:51.780Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-03T03:43:51.791Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-03T03:43:51.803Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-03T03:43:51.817Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-03T03:43:51.831Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-03T03:43:51.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-03T03:43:51.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-03T03:43:51.860Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-03T03:43:51.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-03T03:43:51.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-03T03:43:51.907Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T03:43:51.921Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-03T03:43:51.932Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T03:43:51.947Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-03T03:43:51.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-03T03:43:51.971Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-03T03:43:51.981Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-03T03:43:51.993Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-03T03:43:52.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-03T03:43:52.021Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-03T03:43:52.034Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-03T03:43:52.045Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-03T03:43:52.058Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-05-03T03:43:52.078Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-05-03T03:43:52.094Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-05-03T03:43:52.110Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] echo [2022-05-03T03:43:52.124Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f0689e2 [Pipeline] echo [2022-05-03T03:43:52.138Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T03:43:52.176Z] provisioning config files... [2022-05-03T03:43:52.190Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4872554068055369534tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:43:52.523Z] ---> docker-login.sh [2022-05-03T03:43:52.523Z] nexus3.edgexfoundry.org:10001 [2022-05-03T03:43:52.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:43:52.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:43:52.789Z] Configure a credential helper to remove this warning. See [2022-05-03T03:43:52.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:43:52.789Z] [2022-05-03T03:43:52.789Z] Login Succeeded [2022-05-03T03:43:52.790Z] nexus3.edgexfoundry.org:10002 [2022-05-03T03:43:53.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:43:53.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:43:53.056Z] Configure a credential helper to remove this warning. See [2022-05-03T03:43:53.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:43:53.056Z] [2022-05-03T03:43:53.056Z] Login Succeeded [2022-05-03T03:43:53.056Z] nexus3.edgexfoundry.org:10003 [2022-05-03T03:43:53.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:43:53.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:43:53.056Z] Configure a credential helper to remove this warning. See [2022-05-03T03:43:53.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:43:53.056Z] [2022-05-03T03:43:53.056Z] Login Succeeded [2022-05-03T03:43:53.056Z] nexus3.edgexfoundry.org:10004 [2022-05-03T03:43:53.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:43:53.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:43:53.321Z] Configure a credential helper to remove this warning. See [2022-05-03T03:43:53.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:43:53.321Z] [2022-05-03T03:43:53.321Z] Login Succeeded [2022-05-03T03:43:53.321Z] docker.io [2022-05-03T03:43:53.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:43:53.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:43:53.910Z] Configure a credential helper to remove this warning. See [2022-05-03T03:43:53.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:43:53.910Z] [2022-05-03T03:43:53.910Z] Login Succeeded [2022-05-03T03:43:53.910Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T03:43:53.919Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-03T03:43:54.285Z] + git rev-list -1 --merges f0689e2451660e374e54247122f91e779ddae9a5~1..f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] echo [2022-05-03T03:43:54.415Z] -----------> git rev-list -1 --merges f0689e2451660e374e54247122f91e779ddae9a5~1..f0689e2451660e374e54247122f91e779ddae9a5 f0689e2451660e374e54247122f91e779ddae9a5 [2022-05-03T03:43:54.416Z] f0689e2451660e374e54247122f91e779ddae9a5 [false] [Pipeline] sh [2022-05-03T03:43:54.720Z] + git log --format=format:%s -1 f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] echo [2022-05-03T03:43:54.740Z] ========================================================= [2022-05-03T03:43:54.740Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-03T03:43:54.740Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T03:43:55.077Z] + git log --format=format:%s -1 f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] echo [2022-05-03T03:43:55.091Z] [semverPrep] GIT_COMMIT: f0689e2451660e374e54247122f91e779ddae9a5, Commit Message: Merge pull request #183 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35 [Pipeline] echo [2022-05-03T03:43:55.099Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-03T03:43:55.503Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T03:43:55.503Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-03T03:43:55.503Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-03T03:43:55.503Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-03T03:43:55.503Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-03T03:43:55.503Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-03T03:43:55.503Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:43:55.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T03:43:55.863Z] [2022-05-03T03:43:55.863Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:43:56.189Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T03:43:56.189Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-03T03:43:56.189Z] 1fe172e4850f: Pulling fs layer [2022-05-03T03:43:56.189Z] caf521ccaac6: Pulling fs layer [2022-05-03T03:43:56.189Z] 3ead6fa29328: Pulling fs layer [2022-05-03T03:43:56.189Z] 5c2a1cbceb83: Pulling fs layer [2022-05-03T03:43:56.189Z] a8d5f1318db7: Pulling fs layer [2022-05-03T03:43:56.189Z] c427282e49a2: Pulling fs layer [2022-05-03T03:43:56.189Z] 1827001aaf11: Pulling fs layer [2022-05-03T03:43:56.189Z] 0714d37db230: Pulling fs layer [2022-05-03T03:43:56.189Z] ac28cf19c067: Pulling fs layer [2022-05-03T03:43:56.189Z] ca983d60f3e2: Pulling fs layer [2022-05-03T03:43:56.189Z] 9f894cec8388: Pulling fs layer [2022-05-03T03:43:56.189Z] 5c2a1cbceb83: Waiting [2022-05-03T03:43:56.189Z] a8d5f1318db7: Waiting [2022-05-03T03:43:56.189Z] c427282e49a2: Waiting [2022-05-03T03:43:56.189Z] 1827001aaf11: Waiting [2022-05-03T03:43:56.189Z] 0714d37db230: Waiting [2022-05-03T03:43:56.189Z] ca983d60f3e2: Waiting [2022-05-03T03:43:56.189Z] 9f894cec8388: Waiting [2022-05-03T03:43:56.189Z] caf521ccaac6: Verifying Checksum [2022-05-03T03:43:56.189Z] caf521ccaac6: Download complete [2022-05-03T03:43:56.189Z] 5c2a1cbceb83: Verifying Checksum [2022-05-03T03:43:56.189Z] 5c2a1cbceb83: Download complete [2022-05-03T03:43:56.453Z] a8d5f1318db7: Verifying Checksum [2022-05-03T03:43:56.453Z] a8d5f1318db7: Download complete [2022-05-03T03:43:56.453Z] c427282e49a2: Verifying Checksum [2022-05-03T03:43:56.453Z] c427282e49a2: Download complete [2022-05-03T03:43:56.453Z] 3ead6fa29328: Verifying Checksum [2022-05-03T03:43:56.453Z] 3ead6fa29328: Download complete [2022-05-03T03:43:56.453Z] 0714d37db230: Download complete [2022-05-03T03:43:56.453Z] ac28cf19c067: Download complete [2022-05-03T03:43:56.453Z] ca983d60f3e2: Verifying Checksum [2022-05-03T03:43:56.453Z] ca983d60f3e2: Download complete [2022-05-03T03:43:56.453Z] 9f894cec8388: Verifying Checksum [2022-05-03T03:43:56.453Z] 9f894cec8388: Download complete [2022-05-03T03:43:56.714Z] 1fe172e4850f: Download complete [2022-05-03T03:43:56.978Z] 1827001aaf11: Verifying Checksum [2022-05-03T03:43:56.978Z] 1827001aaf11: Download complete [2022-05-03T03:43:57.930Z] 1fe172e4850f: Pull complete [2022-05-03T03:43:57.930Z] caf521ccaac6: Pull complete [2022-05-03T03:43:58.507Z] 3ead6fa29328: Pull complete [2022-05-03T03:43:58.507Z] 5c2a1cbceb83: Pull complete [2022-05-03T03:43:58.769Z] a8d5f1318db7: Pull complete [2022-05-03T03:43:58.769Z] c427282e49a2: Pull complete [2022-05-03T03:44:00.700Z] 1827001aaf11: Pull complete [2022-05-03T03:44:00.700Z] 0714d37db230: Pull complete [2022-05-03T03:44:00.700Z] ac28cf19c067: Pull complete [2022-05-03T03:44:00.700Z] ca983d60f3e2: Pull complete [2022-05-03T03:44:00.963Z] 9f894cec8388: Pull complete [2022-05-03T03:44:00.963Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-03T03:44:00.963Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T03:44:00.963Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-03T03:44:01.046Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T03:44:01.096Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-03T03:44:02.471Z] $ docker top 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 -eo pid,comm [2022-05-03T03:44:02.542Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-05-03T03:44:02.542Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T03:44:02.586Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T03:44:02.586Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T03:44:02.709Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T03:44:02.717Z] $ docker exec 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 ssh-agent [2022-05-03T03:44:02.857Z] SSH_AUTH_SOCK=/tmp/ssh-cycgsjR8LIlE/agent.33 [2022-05-03T03:44:02.857Z] SSH_AGENT_PID=39 [2022-05-03T03:44:02.867Z] Running ssh-add (command line suppressed) [2022-05-03T03:44:02.987Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1212462772940532577.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1212462772940532577.key) [2022-05-03T03:44:02.998Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T03:44:03.299Z] + git tag --points-at HEAD [Pipeline] } [2022-05-03T03:44:03.333Z] $ docker exec --env ******** --env ******** 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 ssh-agent -k [2022-05-03T03:44:03.447Z] unset SSH_AUTH_SOCK; [2022-05-03T03:44:03.447Z] unset SSH_AGENT_PID; [2022-05-03T03:44:03.448Z] echo Agent pid 39 killed; [2022-05-03T03:44:03.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-03T03:44:03.486Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T03:44:03.486Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T03:44:03.618Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T03:44:03.626Z] $ docker exec 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 ssh-agent [2022-05-03T03:44:03.743Z] SSH_AUTH_SOCK=/tmp/ssh-wJDknCMyp8OR/agent.74 [2022-05-03T03:44:03.743Z] SSH_AGENT_PID=81 [2022-05-03T03:44:03.750Z] Running ssh-add (command line suppressed) [2022-05-03T03:44:03.865Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1048190318965324450.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1048190318965324450.key) [2022-05-03T03:44:03.877Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T03:44:04.177Z] + git semver init [2022-05-03T03:44:04.438Z] 2022-05-03 03:44:04,387 [run_init] DEBUG init version:0.0.0 force:False [2022-05-03T03:44:04.438Z] 2022-05-03 03:44:04,389 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-03T03:44:04.438Z] 2022-05-03 03:44:04,389 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-05-03T03:44:04.438Z] 2022-05-03 03:44:04,389 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-03T03:44:05.387Z] 2022-05-03 03:44:05,388 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-05-03T03:44:05.387Z] 2022-05-03 03:44:05,389 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-05-03T03:44:05.387Z] 2022-05-03 03:44:05,389 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-03T03:44:05.387Z] 2022-05-03 03:44:05,390 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-03T03:44:05.387Z] 2.2.0-dev.13 [Pipeline] } [2022-05-03T03:44:05.666Z] $ docker exec --env ******** --env ******** 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 ssh-agent -k [2022-05-03T03:44:05.791Z] unset SSH_AUTH_SOCK; [2022-05-03T03:44:05.792Z] unset SSH_AGENT_PID; [2022-05-03T03:44:05.792Z] echo Agent pid 81 killed; [2022-05-03T03:44:05.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T03:44:06.108Z] + git semver [Pipeline] } [2022-05-03T03:44:06.396Z] $ docker stop --time=1 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 [2022-05-03T03:44:07.744Z] $ docker rm -f 6b7d8153d7c91c12b1cfe3993ae763a2391a4cae1c6e4ef28f767e05380f9042 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T03:44:08.118Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-03T03:44:08.419Z] Stashed 1 file(s) [Pipeline] echo [2022-05-03T03:44:08.425Z] [edgeXSemver]: initialized semver on version 2.2.0-dev.13 [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-05-03T03:44:08.637Z] provisioning config files... [2022-05-03T03:44:08.654Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4956074851349192933tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:44:08.970Z] ---> docker-login.sh [2022-05-03T03:44:08.970Z] nexus3.edgexfoundry.org:10001 [2022-05-03T03:44:08.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:44:08.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:44:08.970Z] Configure a credential helper to remove this warning. See [2022-05-03T03:44:08.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:44:08.970Z] [2022-05-03T03:44:08.970Z] Login Succeeded [2022-05-03T03:44:08.970Z] nexus3.edgexfoundry.org:10002 [2022-05-03T03:44:08.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:44:08.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:44:08.970Z] Configure a credential helper to remove this warning. See [2022-05-03T03:44:08.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:44:08.970Z] [2022-05-03T03:44:08.970Z] Login Succeeded [2022-05-03T03:44:09.231Z] nexus3.edgexfoundry.org:10003 [2022-05-03T03:44:09.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:44:09.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:44:09.231Z] Configure a credential helper to remove this warning. See [2022-05-03T03:44:09.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:44:09.231Z] [2022-05-03T03:44:09.231Z] Login Succeeded [2022-05-03T03:44:09.231Z] nexus3.edgexfoundry.org:10004 [2022-05-03T03:44:09.231Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:44:09.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:44:09.492Z] Configure a credential helper to remove this warning. See [2022-05-03T03:44:09.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:44:09.492Z] [2022-05-03T03:44:09.492Z] Login Succeeded [2022-05-03T03:44:09.492Z] docker.io [2022-05-03T03:44:09.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:44:09.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:44:09.753Z] Configure a credential helper to remove this warning. See [2022-05-03T03:44:09.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:44:09.753Z] [2022-05-03T03:44:09.753Z] Login Succeeded [2022-05-03T03:44:09.753Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T03:44:09.763Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T03:44:09.850Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T03:44:09.863Z] ========================================================= [2022-05-03T03:44:09.863Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-03T03:44:09.863Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:44:10.186Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-03T03:44:10.187Z] Sending build context to Docker daemon 10.61MB [2022-05-03T03:44:10.187Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T03:44:10.187Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-03T03:44:10.187Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-03T03:44:10.187Z] 59bf1c3509f3: Pulling fs layer [2022-05-03T03:44:10.187Z] 666ba61612fd: Pulling fs layer [2022-05-03T03:44:10.187Z] 8ed8ca486205: Pulling fs layer [2022-05-03T03:44:10.187Z] 4fe6c5a15a65: Pulling fs layer [2022-05-03T03:44:10.187Z] 22a0e8bec74d: Pulling fs layer [2022-05-03T03:44:10.187Z] ca2b28591e48: Pulling fs layer [2022-05-03T03:44:10.187Z] a51346096db8: Pulling fs layer [2022-05-03T03:44:10.187Z] daebc70d1ce1: Pulling fs layer [2022-05-03T03:44:10.187Z] 0e18a0eac166: Pulling fs layer [2022-05-03T03:44:10.187Z] 4fe6c5a15a65: Waiting [2022-05-03T03:44:10.187Z] daebc70d1ce1: Waiting [2022-05-03T03:44:10.187Z] 22a0e8bec74d: Waiting [2022-05-03T03:44:10.187Z] a51346096db8: Waiting [2022-05-03T03:44:10.187Z] ca2b28591e48: Waiting [2022-05-03T03:44:10.187Z] 8ed8ca486205: Verifying Checksum [2022-05-03T03:44:10.187Z] 8ed8ca486205: Download complete [2022-05-03T03:44:10.187Z] 666ba61612fd: Download complete [2022-05-03T03:44:10.448Z] 22a0e8bec74d: Verifying Checksum [2022-05-03T03:44:10.448Z] 22a0e8bec74d: Download complete [2022-05-03T03:44:10.448Z] ca2b28591e48: Verifying Checksum [2022-05-03T03:44:10.448Z] ca2b28591e48: Download complete [2022-05-03T03:44:10.448Z] a51346096db8: Verifying Checksum [2022-05-03T03:44:10.448Z] a51346096db8: Download complete [2022-05-03T03:44:10.448Z] 59bf1c3509f3: Verifying Checksum [2022-05-03T03:44:10.448Z] 59bf1c3509f3: Download complete [2022-05-03T03:44:10.448Z] 59bf1c3509f3: Pull complete [2022-05-03T03:44:10.448Z] daebc70d1ce1: Verifying Checksum [2022-05-03T03:44:10.448Z] daebc70d1ce1: Download complete [2022-05-03T03:44:10.716Z] 666ba61612fd: Pull complete [2022-05-03T03:44:10.716Z] 8ed8ca486205: Pull complete [2022-05-03T03:44:10.981Z] 0e18a0eac166: Download complete [2022-05-03T03:44:11.250Z] 4fe6c5a15a65: Verifying Checksum [2022-05-03T03:44:11.250Z] 4fe6c5a15a65: Download complete [2022-05-03T03:44:14.569Z] 4fe6c5a15a65: Pull complete [2022-05-03T03:44:14.569Z] 22a0e8bec74d: Pull complete [2022-05-03T03:44:14.839Z] ca2b28591e48: Pull complete [2022-05-03T03:44:14.839Z] a51346096db8: Pull complete [2022-05-03T03:44:14.839Z] daebc70d1ce1: Pull complete [2022-05-03T03:44:16.762Z] 0e18a0eac166: Pull complete [2022-05-03T03:44:16.762Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-03T03:44:16.762Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-03T03:44:16.762Z] ---> f018257e8ee9 [2022-05-03T03:44:16.762Z] Step 3/12 : ARG MAKE='make build' [2022-05-03T03:44:18.157Z] ---> Running in 01b3c0f1a96a [2022-05-03T03:44:18.157Z] Removing intermediate container 01b3c0f1a96a [2022-05-03T03:44:18.157Z] ---> b46c6ee75341 [2022-05-03T03:44:18.157Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T03:44:18.157Z] ---> Running in c0b2c47a1483 [2022-05-03T03:44:18.157Z] Removing intermediate container c0b2c47a1483 [2022-05-03T03:44:18.157Z] ---> 8bb0cd6238d2 [2022-05-03T03:44:18.157Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T03:44:18.157Z] ---> Running in 10c30a54f8ee [2022-05-03T03:44:18.427Z] Removing intermediate container 10c30a54f8ee [2022-05-03T03:44:18.427Z] ---> f12829b9a0ed [2022-05-03T03:44:18.427Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T03:44:18.427Z] ---> Running in 0fe57ee70565 [2022-05-03T03:44:19.011Z] Removing intermediate container 0fe57ee70565 [2022-05-03T03:44:19.011Z] ---> 4cd01115c79e [2022-05-03T03:44:19.011Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T03:44:19.011Z] ---> Running in 07a9775ad5eb [2022-05-03T03:44:19.277Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T03:44:20.228Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T03:44:20.493Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-03T03:44:20.493Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-03T03:44:20.493Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-03T03:44:20.757Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-03T03:44:20.757Z] Executing busybox-1.34.1-r3.trigger [2022-05-03T03:44:20.757Z] OK: 224 MiB in 56 packages [2022-05-03T03:44:21.340Z] Removing intermediate container 07a9775ad5eb [2022-05-03T03:44:21.340Z] ---> 266da8158c68 [2022-05-03T03:44:21.340Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-03T03:44:21.340Z] ---> Running in 4b6acf012890 [2022-05-03T03:44:21.340Z] Removing intermediate container 4b6acf012890 [2022-05-03T03:44:21.340Z] ---> 5e60bdc04546 [2022-05-03T03:44:21.340Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-03T03:44:21.340Z] ---> a7c61cbe6f2d [2022-05-03T03:44:21.340Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T03:44:21.604Z] ---> Running in ff6dffe68bcd [2022-05-03T03:44:23.574Z] Still waiting to schedule task [2022-05-03T03:44:23.575Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-38966’ is offline [2022-05-03T03:44:36.578Z] Removing intermediate container ff6dffe68bcd [2022-05-03T03:44:36.578Z] ---> 50a3b3e9a011 [2022-05-03T03:44:36.578Z] Step 11/12 : COPY . . [2022-05-03T03:44:36.578Z] ---> 45a2beb630b4 [2022-05-03T03:44:36.578Z] Step 12/12 : RUN $MAKE [2022-05-03T03:44:36.578Z] ---> Running in f47ee1466fb8 [2022-05-03T03:44:36.578Z] noop [2022-05-03T03:44:36.578Z] Removing intermediate container f47ee1466fb8 [2022-05-03T03:44:36.578Z] ---> b686f23f6ee7 [2022-05-03T03:44:36.578Z] Successfully built b686f23f6ee7 [2022-05-03T03:44:36.578Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:44:36.895Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T03:44:36.895Z] . [Pipeline] withDockerContainer [2022-05-03T03:44:36.969Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T03:44:37.015Z] $ 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-05-03T03:44:37.439Z] $ docker top 776e84f826236fa1d0e39aa7c39151898b68dc0e0ba57ce5619f58be5e9b5124 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T03:44:37.791Z] + go version [2022-05-03T03:44:37.791Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-03T03:44:37.808Z] $ docker stop --time=1 776e84f826236fa1d0e39aa7c39151898b68dc0e0ba57ce5619f58be5e9b5124 [2022-05-03T03:44:39.105Z] $ docker rm -f 776e84f826236fa1d0e39aa7c39151898b68dc0e0ba57ce5619f58be5e9b5124 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:44:39.542Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-03T03:44:39.542Z] . [Pipeline] withDockerContainer [2022-05-03T03:44:39.626Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T03:44:39.672Z] $ 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-05-03T03:44:40.060Z] $ docker top c88615d302648b28f6f1f20e19071b587eb9d29c4204d4dec9ffd69529957441 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T03:44:40.440Z] + make test [2022-05-03T03:44:40.440Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-03T03:44:40.705Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-03T03:44:49.002Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-03T03:44:49.267Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-05-03T03:44:55.870Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-03T03:44:59.176Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T03:44:59.176Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T03:44:59.176Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T03:44:59.191Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T03:44:59.206Z] $ docker stop --time=1 c88615d302648b28f6f1f20e19071b587eb9d29c4204d4dec9ffd69529957441 [2022-05-03T03:45:00.929Z] $ docker rm -f c88615d302648b28f6f1f20e19071b587eb9d29c4204d4dec9ffd69529957441 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T03:45:01.369Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T03:45:01.408Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-03T03:45:01.922Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T03:45:02.213Z] + ls -al . [2022-05-03T03:45:02.213Z] total 172 [2022-05-03T03:45:02.213Z] drwxrwxr-x 9 jenkins jenkins 4096 May 3 03:44 . [2022-05-03T03:45:02.213Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 03:43 .. [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 151 May 3 03:43 .dockerignore [2022-05-03T03:45:02.213Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 03:44 .git [2022-05-03T03:45:02.213Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:43 .github [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 329 May 3 03:43 .gitignore [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 03:43 .golangci.yml [2022-05-03T03:45:02.213Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:44 .semver [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 3 03:43 Attribution.txt [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 3 03:43 CHANGELOG.md [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 3 03:43 Dockerfile [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 03:43 GOVERNANCE.md [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 680 May 3 03:43 Jenkinsfile [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 03:43 LICENSE [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 3 03:43 Makefile [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 620 May 3 03:43 OWNERS.md [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 8246 May 3 03:43 README.md [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 12 May 3 03:44 VERSION [2022-05-03T03:45:02.213Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:43 bin [2022-05-03T03:45:02.213Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:43 cmd [2022-05-03T03:45:02.213Z] -rw-r--r-- 1 jenkins jenkins 9355 May 3 03:44 coverage.out [2022-05-03T03:45:02.213Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 03:43 driver [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 3 03:43 go.mod [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 3 03:43 go.sum [2022-05-03T03:45:02.213Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 03:43 snap [2022-05-03T03:45:02.213Z] -rw-rw-r-- 1 jenkins jenkins 713 May 3 03:43 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:02.518Z] + 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=f0689e2451660e374e54247122f91e779ddae9a5 --label arch=amd64 --label version=2.2.0-dev.13 . [2022-05-03T03:45:02.518Z] Sending build context to Docker daemon 10.62MB [2022-05-03T03:45:02.518Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T03:45:02.518Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T03:45:02.518Z] ---> b686f23f6ee7 [2022-05-03T03:45:02.518Z] Step 3/25 : ARG MAKE='make build' [2022-05-03T03:45:02.518Z] ---> Running in de8cf20af99b [2022-05-03T03:45:02.778Z] Removing intermediate container de8cf20af99b [2022-05-03T03:45:02.778Z] ---> 8681e46c4678 [2022-05-03T03:45:02.778Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T03:45:02.778Z] ---> Running in 517d85073a82 [2022-05-03T03:45:02.778Z] Removing intermediate container 517d85073a82 [2022-05-03T03:45:02.778Z] ---> cefc2d96da99 [2022-05-03T03:45:02.778Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T03:45:02.778Z] ---> Running in 27d1066ea739 [2022-05-03T03:45:03.038Z] Removing intermediate container 27d1066ea739 [2022-05-03T03:45:03.038Z] ---> 0b4808937bd9 [2022-05-03T03:45:03.038Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T03:45:03.038Z] ---> Running in a7a6814c29f7 [2022-05-03T03:45:03.625Z] Removing intermediate container a7a6814c29f7 [2022-05-03T03:45:03.625Z] ---> ee646e023b6e [2022-05-03T03:45:03.625Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T03:45:03.625Z] ---> Running in 4478909e9459 [2022-05-03T03:45:03.893Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-03T03:45:04.843Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-03T03:45:04.843Z] OK: 224 MiB in 56 packages [2022-05-03T03:45:05.417Z] Removing intermediate container 4478909e9459 [2022-05-03T03:45:05.417Z] ---> cb4753c7d237 [2022-05-03T03:45:05.417Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-03T03:45:05.417Z] ---> Running in 19049fe12864 [2022-05-03T03:45:05.417Z] Removing intermediate container 19049fe12864 [2022-05-03T03:45:05.417Z] ---> 1f00941a879f [2022-05-03T03:45:05.417Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-03T03:45:05.417Z] ---> 45c97ad903a2 [2022-05-03T03:45:05.417Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T03:45:05.417Z] ---> Running in f8dc79fbd92b [2022-05-03T03:45:06.371Z] Removing intermediate container f8dc79fbd92b [2022-05-03T03:45:06.371Z] ---> 228029c80238 [2022-05-03T03:45:06.371Z] Step 11/25 : COPY . . [2022-05-03T03:45:06.371Z] ---> 43130761e8b6 [2022-05-03T03:45:06.371Z] Step 12/25 : RUN $MAKE [2022-05-03T03:45:06.632Z] ---> Running in afc188c8ee68 [2022-05-03T03:45:06.895Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-03T03:45:28.905Z] Removing intermediate container afc188c8ee68 [2022-05-03T03:45:28.905Z] ---> cf8fbdfb8438 [2022-05-03T03:45:28.905Z] Step 13/25 : FROM alpine:3.14 [2022-05-03T03:45:28.905Z] 3.14: Pulling from library/alpine [2022-05-03T03:45:28.905Z] 8663204ce13b: Pulling fs layer [2022-05-03T03:45:28.905Z] 8663204ce13b: Verifying Checksum [2022-05-03T03:45:28.905Z] 8663204ce13b: Download complete [2022-05-03T03:45:28.905Z] 8663204ce13b: Pull complete [2022-05-03T03:45:28.905Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T03:45:28.905Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T03:45:28.905Z] ---> e04c818066af [2022-05-03T03:45:28.905Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-03T03:45:28.905Z] ---> Running in c1cbbabaffd7 [2022-05-03T03:45:28.905Z] Removing intermediate container c1cbbabaffd7 [2022-05-03T03:45:28.905Z] ---> 77d6f3ba8da4 [2022-05-03T03:45:28.905Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-03T03:45:28.905Z] ---> Running in 4681c4ca6474 [2022-05-03T03:45:28.905Z] Removing intermediate container 4681c4ca6474 [2022-05-03T03:45:28.905Z] ---> eb98300dffcf [2022-05-03T03:45:28.905Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-03T03:45:28.905Z] ---> Running in bc2b5277f1b4 [2022-05-03T03:45:28.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-03T03:45:28.905Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-03T03:45:28.905Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-03T03:45:28.905Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T03:45:28.905Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-03T03:45:28.905Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T03:45:28.905Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-03T03:45:28.905Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-03T03:45:28.905Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T03:45:28.905Z] OK: 8 MiB in 20 packages [2022-05-03T03:45:28.905Z] Removing intermediate container bc2b5277f1b4 [2022-05-03T03:45:28.905Z] ---> cbf6f9b2985a [2022-05-03T03:45:28.905Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-03T03:45:29.482Z] ---> 91a6589792a5 [2022-05-03T03:45:29.482Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-03T03:45:29.482Z] ---> 8323f3210ba6 [2022-05-03T03:45:29.482Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-03T03:45:29.754Z] ---> 217ab5a9691d [2022-05-03T03:45:29.754Z] Step 20/25 : EXPOSE 59986 [2022-05-03T03:45:29.754Z] ---> Running in ab4680829029 [2022-05-03T03:45:30.022Z] Removing intermediate container ab4680829029 [2022-05-03T03:45:30.022Z] ---> 433f6dadd330 [2022-05-03T03:45:30.022Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-03T03:45:30.022Z] ---> Running in f053764ecba4 [2022-05-03T03:45:30.295Z] Removing intermediate container f053764ecba4 [2022-05-03T03:45:30.295Z] ---> ba185807bcd9 [2022-05-03T03:45:30.295Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-03T03:45:30.295Z] ---> Running in 455c3d50d0b7 [2022-05-03T03:45:30.574Z] Removing intermediate container 455c3d50d0b7 [2022-05-03T03:45:30.574Z] ---> 47d08b5452e4 [2022-05-03T03:45:30.574Z] Step 23/25 : LABEL arch=amd64 [2022-05-03T03:45:30.574Z] ---> Running in d337237c6fcb [2022-05-03T03:45:30.840Z] Removing intermediate container d337237c6fcb [2022-05-03T03:45:30.840Z] ---> 98f9adb1aa8b [2022-05-03T03:45:30.840Z] Step 24/25 : LABEL git_sha=f0689e2451660e374e54247122f91e779ddae9a5 [2022-05-03T03:45:30.840Z] ---> Running in fb763b777828 [2022-05-03T03:45:31.101Z] Removing intermediate container fb763b777828 [2022-05-03T03:45:31.101Z] ---> ead9bf54bcab [2022-05-03T03:45:31.101Z] Step 25/25 : LABEL version=2.2.0-dev.13 [2022-05-03T03:45:31.101Z] ---> Running in 4743aafb757e [2022-05-03T03:45:31.363Z] Removing intermediate container 4743aafb757e [2022-05-03T03:45:31.363Z] ---> 054953dab0cf [2022-05-03T03:45:31.363Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T03:45:31.363Z] Successfully built 054953dab0cf [2022-05-03T03:45:31.363Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T03:45:31.452Z] provisioning config files... [2022-05-03T03:45:31.466Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6023697412821674994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:45:31.771Z] ---> docker-login.sh [2022-05-03T03:45:31.771Z] nexus3.edgexfoundry.org:10001 [2022-05-03T03:45:31.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:45:31.771Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:45:31.771Z] Configure a credential helper to remove this warning. See [2022-05-03T03:45:31.771Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:45:31.771Z] [2022-05-03T03:45:31.771Z] Login Succeeded [2022-05-03T03:45:31.771Z] nexus3.edgexfoundry.org:10002 [2022-05-03T03:45:31.771Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:45:32.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:45:32.031Z] Configure a credential helper to remove this warning. See [2022-05-03T03:45:32.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:45:32.031Z] [2022-05-03T03:45:32.031Z] Login Succeeded [2022-05-03T03:45:32.031Z] nexus3.edgexfoundry.org:10003 [2022-05-03T03:45:32.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:45:32.031Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:45:32.031Z] Configure a credential helper to remove this warning. See [2022-05-03T03:45:32.031Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:45:32.031Z] [2022-05-03T03:45:32.031Z] Login Succeeded [2022-05-03T03:45:32.031Z] nexus3.edgexfoundry.org:10004 [2022-05-03T03:45:32.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:45:32.291Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:45:32.291Z] Configure a credential helper to remove this warning. See [2022-05-03T03:45:32.291Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:45:32.291Z] [2022-05-03T03:45:32.291Z] Login Succeeded [2022-05-03T03:45:32.291Z] docker.io [2022-05-03T03:45:32.291Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T03:45:32.555Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T03:45:32.555Z] Configure a credential helper to remove this warning. See [2022-05-03T03:45:32.555Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T03:45:32.555Z] [2022-05-03T03:45:32.555Z] Login Succeeded [2022-05-03T03:45:32.555Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T03:45:32.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T03:45:32.599Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T03:45:32.622Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-05-03T03:45:32.622Z] f0689e2451660e374e54247122f91e779ddae9a5 [2022-05-03T03:45:32.622Z] latest [2022-05-03T03:45:32.622Z] 2.2.0-dev.13 [2022-05-03T03:45:32.622Z] f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [2022-05-03T03:45:32.622Z] main [2022-05-03T03:45:32.622Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:32.956Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:33.250Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5 [2022-05-03T03:45:33.250Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-03T03:45:33.250Z] 876425d87b26: Preparing [2022-05-03T03:45:33.250Z] fe7e35319d92: Preparing [2022-05-03T03:45:33.250Z] 38a97b30b1cd: Preparing [2022-05-03T03:45:33.250Z] 157b4293c62b: Preparing [2022-05-03T03:45:33.250Z] b541d28bf3b4: Preparing [2022-05-03T03:45:33.250Z] b541d28bf3b4: Layer already exists [2022-05-03T03:45:33.250Z] 876425d87b26: Pushed [2022-05-03T03:45:33.250Z] fe7e35319d92: Pushed [2022-05-03T03:45:33.511Z] 157b4293c62b: Pushed [2022-05-03T03:45:36.070Z] 38a97b30b1cd: Pushed [2022-05-03T03:45:36.070Z] f0689e2451660e374e54247122f91e779ddae9a5: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:36.380Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:36.686Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-03T03:45:36.686Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-03T03:45:36.686Z] 876425d87b26: Preparing [2022-05-03T03:45:36.686Z] fe7e35319d92: Preparing [2022-05-03T03:45:36.686Z] 38a97b30b1cd: Preparing [2022-05-03T03:45:36.686Z] 157b4293c62b: Preparing [2022-05-03T03:45:36.686Z] b541d28bf3b4: Preparing [2022-05-03T03:45:36.686Z] 876425d87b26: Layer already exists [2022-05-03T03:45:36.686Z] 38a97b30b1cd: Layer already exists [2022-05-03T03:45:36.686Z] fe7e35319d92: Layer already exists [2022-05-03T03:45:36.686Z] b541d28bf3b4: Layer already exists [2022-05-03T03:45:36.686Z] 157b4293c62b: Layer already exists [2022-05-03T03:45:36.686Z] latest: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:36.995Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:37.291Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.13 [2022-05-03T03:45:37.291Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-03T03:45:37.291Z] 876425d87b26: Preparing [2022-05-03T03:45:37.291Z] fe7e35319d92: Preparing [2022-05-03T03:45:37.291Z] 38a97b30b1cd: Preparing [2022-05-03T03:45:37.291Z] 157b4293c62b: Preparing [2022-05-03T03:45:37.291Z] b541d28bf3b4: Preparing [2022-05-03T03:45:37.291Z] 157b4293c62b: Layer already exists [2022-05-03T03:45:37.291Z] 876425d87b26: Layer already exists [2022-05-03T03:45:37.291Z] b541d28bf3b4: Layer already exists [2022-05-03T03:45:37.291Z] fe7e35319d92: Layer already exists [2022-05-03T03:45:37.291Z] 38a97b30b1cd: Layer already exists [2022-05-03T03:45:37.291Z] 2.2.0-dev.13: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:37.603Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:37.903Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [2022-05-03T03:45:37.903Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-03T03:45:37.903Z] 876425d87b26: Preparing [2022-05-03T03:45:37.903Z] fe7e35319d92: Preparing [2022-05-03T03:45:37.903Z] 38a97b30b1cd: Preparing [2022-05-03T03:45:37.903Z] 157b4293c62b: Preparing [2022-05-03T03:45:37.903Z] b541d28bf3b4: Preparing [2022-05-03T03:45:37.903Z] 157b4293c62b: Layer already exists [2022-05-03T03:45:37.903Z] 38a97b30b1cd: Layer already exists [2022-05-03T03:45:37.903Z] 876425d87b26: Layer already exists [2022-05-03T03:45:37.903Z] fe7e35319d92: Layer already exists [2022-05-03T03:45:37.903Z] b541d28bf3b4: Layer already exists [2022-05-03T03:45:37.903Z] f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:38.211Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:38.513Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-05-03T03:45:38.513Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-05-03T03:45:38.513Z] 876425d87b26: Preparing [2022-05-03T03:45:38.513Z] fe7e35319d92: Preparing [2022-05-03T03:45:38.513Z] 38a97b30b1cd: Preparing [2022-05-03T03:45:38.513Z] 157b4293c62b: Preparing [2022-05-03T03:45:38.513Z] b541d28bf3b4: Preparing [2022-05-03T03:45:38.513Z] 157b4293c62b: Layer already exists [2022-05-03T03:45:38.513Z] 876425d87b26: Layer already exists [2022-05-03T03:45:38.513Z] b541d28bf3b4: Layer already exists [2022-05-03T03:45:38.513Z] 38a97b30b1cd: Layer already exists [2022-05-03T03:45:38.513Z] fe7e35319d92: Layer already exists [2022-05-03T03:45:38.514Z] main: digest: sha256:1bae26480ca7ce80853f825348a9343a785e87e891e15e50cd5771e4b21678f9 size: 1367 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T03:45:38.550Z] ===================================================== [Pipeline] echo [2022-05-03T03:45:38.558Z] taggedImages: [2022-05-03T03:45:38.558Z] - nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5 [2022-05-03T03:45:38.558Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-05-03T03:45:38.558Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.0-dev.13 [2022-05-03T03:45:38.558Z] - nexus3.edgexfoundry.org:10004/device-rest:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [2022-05-03T03:45:38.558Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:38.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T03:45:38.937Z] [2022-05-03T03:45:38.937Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T03:45:39.252Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T03:45:39.252Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-03T03:45:39.252Z] 5eb5b503b376: Pulling fs layer [2022-05-03T03:45:39.252Z] 5c69ac0246d0: Pulling fs layer [2022-05-03T03:45:39.252Z] ec43610c2a17: Pulling fs layer [2022-05-03T03:45:39.252Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-03T03:45:39.252Z] 33b1e0a273af: Pulling fs layer [2022-05-03T03:45:39.252Z] 5d3b04190fa2: Pulling fs layer [2022-05-03T03:45:39.252Z] 2f39f015ded8: Pulling fs layer [2022-05-03T03:45:39.252Z] 5d3b04190fa2: Waiting [2022-05-03T03:45:39.252Z] 3a2ae6a8a46f: Waiting [2022-05-03T03:45:39.252Z] 33b1e0a273af: Waiting [2022-05-03T03:45:39.252Z] 2f39f015ded8: Waiting [2022-05-03T03:45:39.252Z] 5c69ac0246d0: Download complete [2022-05-03T03:45:39.252Z] 3a2ae6a8a46f: Download complete [2022-05-03T03:45:39.511Z] 33b1e0a273af: Verifying Checksum [2022-05-03T03:45:39.511Z] 33b1e0a273af: Download complete [2022-05-03T03:45:39.511Z] ec43610c2a17: Verifying Checksum [2022-05-03T03:45:39.511Z] ec43610c2a17: Download complete [2022-05-03T03:45:39.511Z] 5d3b04190fa2: Verifying Checksum [2022-05-03T03:45:39.511Z] 5d3b04190fa2: Download complete [2022-05-03T03:45:39.511Z] 5eb5b503b376: Verifying Checksum [2022-05-03T03:45:39.511Z] 5eb5b503b376: Download complete [2022-05-03T03:45:40.087Z] 2f39f015ded8: Download complete [2022-05-03T03:45:40.658Z] 5eb5b503b376: Pull complete [2022-05-03T03:45:40.658Z] 5c69ac0246d0: Pull complete [2022-05-03T03:45:41.230Z] ec43610c2a17: Pull complete [2022-05-03T03:45:41.230Z] 3a2ae6a8a46f: Pull complete [2022-05-03T03:45:41.490Z] 33b1e0a273af: Pull complete [2022-05-03T03:45:41.490Z] 5d3b04190fa2: Pull complete [2022-05-03T03:45:45.792Z] 2f39f015ded8: Pull complete [2022-05-03T03:45:45.792Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-03T03:45:45.792Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T03:45:45.792Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-03T03:45:45.888Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T03:45:45.935Z] $ 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-05-03T03:45:47.646Z] $ docker top 9fe12015b3e61be21f066c34cfa2e23d82d4e38e0d565abde014f4e0115007b0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T03:45:48.063Z] ---> job-cost.sh [2022-05-03T03:45:48.063Z] lf-activate-venv: SKIPPING [2022-05-03T03:45:48.063Z] INFO: No Stack... [2022-05-03T03:45:48.324Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T03:45:48.902Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T03:45:49.207Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-05-03T03:45:49.207Z] + cut -d, -f6 [Pipeline] lock [2022-05-03T03:45:49.226Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [2022-05-03T03:45:49.232Z] Resource [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] did not exist. Created. [2022-05-03T03:45:49.232Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T03:45:49.538Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-03T03:45:49.569Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T03:45:49.575Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T03:45:49.597Z] $ docker stop --time=1 9fe12015b3e61be21f066c34cfa2e23d82d4e38e0d565abde014f4e0115007b0 [2022-05-03T03:45:50.786Z] $ docker rm -f 9fe12015b3e61be21f066c34cfa2e23d82d4e38e0d565abde014f4e0115007b0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-03T04:14:57.948Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-40298 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-05-03T04:14:57.961Z] Running in /w/workspace/device-rest-go/35 [Pipeline] { [Pipeline] checkout [2022-05-03T04:14:58.189Z] The recommended git tool is: git [2022-05-03T04:15:03.930Z] using credential edgex-jenkins-ssh [2022-05-03T04:15:03.947Z] Cloning the remote Git repository [2022-05-03T04:15:04.016Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-03T04:15:04.118Z] > git init /w/workspace/device-rest-go/35 # timeout=10 [2022-05-03T04:15:04.209Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-03T04:15:04.211Z] > git --version # timeout=10 [2022-05-03T04:15:04.236Z] > git --version # 'git version 2.25.1' [2022-05-03T04:15:04.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-03T04:15:04.317Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T04:15:06.293Z] Avoid second fetch [2022-05-03T04:15:06.293Z] Checking out Revision f0689e2451660e374e54247122f91e779ddae9a5 (main) [2022-05-03T04:15:06.255Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-03T04:15:06.277Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-03T04:15:06.322Z] > git config core.sparsecheckout # timeout=10 [2022-05-03T04:15:06.343Z] > git checkout -f f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 [2022-05-03T04:15:10.833Z] Commit message: "Merge pull request #183 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v2-2.2.0-dev.35" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T04:15:11.661Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-03T04:15:11.661Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T04:15:11.661Z] Dload Upload Total Spent Left Speed [2022-05-03T04:15:11.661Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 214k 0 --:--:-- --:--:-- --:--:-- 218k [Pipeline] sh [2022-05-03T04:15:12.219Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-03T04:15:12.575Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-03T04:15:12.575Z] + sudo tee /etc/docker/daemon.new [2022-05-03T04:15:12.575Z] { [2022-05-03T04:15:12.575Z] "registry-mirrors": [ [2022-05-03T04:15:12.575Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-03T04:15:12.575Z] ], [2022-05-03T04:15:12.575Z] "bip": "10.250.0.254/24", [2022-05-03T04:15:12.575Z] "hosts": [ [2022-05-03T04:15:12.575Z] "tcp://0.0.0.0:5555", [2022-05-03T04:15:12.575Z] "unix:///var/run/docker.sock" [2022-05-03T04:15:12.575Z] ], [2022-05-03T04:15:12.575Z] "mtu": 1458, [2022-05-03T04:15:12.575Z] "selinux-enabled": true, [2022-05-03T04:15:12.575Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-03T04:15:12.575Z] } [Pipeline] sh [2022-05-03T04:15:12.928Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-03T04:15:13.276Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:15:31.653Z] provisioning config files... [2022-05-03T04:15:31.683Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/35@tmp/config2229008008931417599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:15:32.055Z] ---> docker-login.sh [2022-05-03T04:15:32.055Z] nexus3.edgexfoundry.org:10001 [2022-05-03T04:15:32.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:32.939Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:32.939Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:32.939Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:32.939Z] [2022-05-03T04:15:32.939Z] Login Succeeded [2022-05-03T04:15:32.939Z] nexus3.edgexfoundry.org:10002 [2022-05-03T04:15:33.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:33.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:33.546Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:33.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:33.546Z] [2022-05-03T04:15:33.546Z] Login Succeeded [2022-05-03T04:15:33.546Z] nexus3.edgexfoundry.org:10003 [2022-05-03T04:15:33.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:34.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:34.103Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:34.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:34.103Z] [2022-05-03T04:15:34.103Z] Login Succeeded [2022-05-03T04:15:34.103Z] nexus3.edgexfoundry.org:10004 [2022-05-03T04:15:34.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:34.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:34.379Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:34.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:34.379Z] [2022-05-03T04:15:34.379Z] Login Succeeded [2022-05-03T04:15:34.379Z] docker.io [2022-05-03T04:15:34.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:15:35.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:15:35.276Z] Configure a credential helper to remove this warning. See [2022-05-03T04:15:35.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:15:35.276Z] [2022-05-03T04:15:35.276Z] Login Succeeded [2022-05-03T04:15:35.276Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T04:15:35.297Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-03T04:15:35.970Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T04:15:36.060Z] ========================================================= [2022-05-03T04:15:36.060Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-03T04:15:36.060Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:15:36.535Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-05-03T04:15:36.535Z] Sending build context to Docker daemon 130kB [2022-05-03T04:15:36.828Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:15:36.828Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-03T04:15:37.433Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-03T04:15:37.434Z] 9b3977197b4f: Pulling fs layer [2022-05-03T04:15:37.434Z] 1a89e8eeedd5: Pulling fs layer [2022-05-03T04:15:37.434Z] 94645a83ff95: Pulling fs layer [2022-05-03T04:15:37.434Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-03T04:15:37.434Z] 0c92f367c5e7: Pulling fs layer [2022-05-03T04:15:37.434Z] 3096ccb668a1: Pulling fs layer [2022-05-03T04:15:37.434Z] e8cf19c19ddd: Pulling fs layer [2022-05-03T04:15:37.434Z] a4caa8a26152: Pulling fs layer [2022-05-03T04:15:37.434Z] 3096ccb668a1: Waiting [2022-05-03T04:15:37.434Z] e8cf19c19ddd: Waiting [2022-05-03T04:15:37.434Z] 3f3a8bcf1eab: Waiting [2022-05-03T04:15:37.434Z] 0c92f367c5e7: Waiting [2022-05-03T04:15:37.434Z] a4caa8a26152: Waiting [2022-05-03T04:15:37.434Z] 94645a83ff95: Verifying Checksum [2022-05-03T04:15:37.434Z] 94645a83ff95: Download complete [2022-05-03T04:15:37.434Z] 1a89e8eeedd5: Download complete [2022-05-03T04:15:37.434Z] 0c92f367c5e7: Download complete [2022-05-03T04:15:37.434Z] 3096ccb668a1: Verifying Checksum [2022-05-03T04:15:37.434Z] 3096ccb668a1: Download complete [2022-05-03T04:15:37.434Z] e8cf19c19ddd: Download complete [2022-05-03T04:15:37.434Z] 9b3977197b4f: Verifying Checksum [2022-05-03T04:15:37.434Z] 9b3977197b4f: Download complete [2022-05-03T04:15:38.441Z] 9b3977197b4f: Pull complete [2022-05-03T04:15:39.256Z] 1a89e8eeedd5: Pull complete [2022-05-03T04:15:39.256Z] 94645a83ff95: Pull complete [2022-05-03T04:15:40.261Z] a4caa8a26152: Verifying Checksum [2022-05-03T04:15:40.261Z] a4caa8a26152: Download complete [2022-05-03T04:15:40.541Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-03T04:15:40.541Z] 3f3a8bcf1eab: Download complete [2022-05-03T04:15:55.670Z] 3f3a8bcf1eab: Pull complete [2022-05-03T04:15:55.670Z] 0c92f367c5e7: Pull complete [2022-05-03T04:15:55.670Z] 3096ccb668a1: Pull complete [2022-05-03T04:15:56.278Z] e8cf19c19ddd: Pull complete [2022-05-03T04:16:08.757Z] a4caa8a26152: Pull complete [2022-05-03T04:16:08.757Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-03T04:16:08.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-03T04:16:08.757Z] ---> 725f1c02e7f9 [2022-05-03T04:16:08.757Z] Step 3/12 : ARG MAKE='make build' [2022-05-03T04:16:08.757Z] ---> Running in 8f7b839884be [2022-05-03T04:16:08.757Z] Removing intermediate container 8f7b839884be [2022-05-03T04:16:08.757Z] ---> 0b03878dfa0e [2022-05-03T04:16:08.757Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T04:16:08.757Z] ---> Running in 3e70a88be12a [2022-05-03T04:16:08.757Z] Removing intermediate container 3e70a88be12a [2022-05-03T04:16:08.757Z] ---> d99847c35b80 [2022-05-03T04:16:08.757Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T04:16:08.757Z] ---> Running in c9c853426997 [2022-05-03T04:16:09.377Z] Removing intermediate container c9c853426997 [2022-05-03T04:16:09.377Z] ---> e41fc11377f0 [2022-05-03T04:16:09.377Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:16:09.377Z] ---> Running in 7b88d6453b60 [2022-05-03T04:16:12.055Z] Removing intermediate container 7b88d6453b60 [2022-05-03T04:16:12.055Z] ---> b813c6470147 [2022-05-03T04:16:12.055Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T04:16:12.055Z] ---> Running in 2521e99feb96 [2022-05-03T04:16:13.522Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:16:14.122Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:16:15.104Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-03T04:16:15.104Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-03T04:16:15.104Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-03T04:16:15.377Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-03T04:16:15.649Z] Executing busybox-1.34.1-r3.trigger [2022-05-03T04:16:15.650Z] OK: 224 MiB in 56 packages [2022-05-03T04:16:16.631Z] Removing intermediate container 2521e99feb96 [2022-05-03T04:16:16.631Z] ---> 7916b5cd358b [2022-05-03T04:16:16.631Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-03T04:16:16.631Z] ---> Running in fa79d805e1e5 [2022-05-03T04:16:16.906Z] Removing intermediate container fa79d805e1e5 [2022-05-03T04:16:16.906Z] ---> 2ca08713b3c2 [2022-05-03T04:16:16.906Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-03T04:16:17.510Z] ---> 7d1cede68bf4 [2022-05-03T04:16:17.510Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:16:17.788Z] ---> Running in 9d734bf49ff7 [2022-05-03T04:17:05.078Z] Removing intermediate container 9d734bf49ff7 [2022-05-03T04:17:05.078Z] ---> cc871338ed68 [2022-05-03T04:17:05.078Z] Step 11/12 : COPY . . [2022-05-03T04:17:05.078Z] ---> 76dd2e5251d9 [2022-05-03T04:17:05.078Z] Step 12/12 : RUN $MAKE [2022-05-03T04:17:05.078Z] ---> Running in 1b6ab345dfef [2022-05-03T04:17:06.060Z] noop [2022-05-03T04:17:06.658Z] Removing intermediate container 1b6ab345dfef [2022-05-03T04:17:06.658Z] ---> 4f672cdc7665 [2022-05-03T04:17:06.932Z] Successfully built 4f672cdc7665 [2022-05-03T04:17:06.932Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:17:07.289Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T04:17:07.289Z] . [Pipeline] withDockerContainer [2022-05-03T04:17:07.579Z] prd-ubuntu20.04-docker-arm64-4c-16g-40298 does not seem to be running inside a container [2022-05-03T04:17:07.681Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/35 -v /w/workspace/device-rest-go/35:/w/workspace/device-rest-go/35:rw,z -v /w/workspace/device-rest-go/35@tmp:/w/workspace/device-rest-go/35@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-05-03T04:17:09.164Z] $ docker top 564e5e1766a6d1f980947404b3d5cd2626172ea9e8bd7d430a6e977a1bd99862 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:17:10.117Z] + go version [2022-05-03T04:17:10.117Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-03T04:17:10.150Z] $ docker stop --time=1 564e5e1766a6d1f980947404b3d5cd2626172ea9e8bd7d430a6e977a1bd99862 [2022-05-03T04:17:11.844Z] $ docker rm -f 564e5e1766a6d1f980947404b3d5cd2626172ea9e8bd7d430a6e977a1bd99862 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:17:12.499Z] + docker inspect -f . ci-base-image-arm64 [2022-05-03T04:17:12.499Z] . [Pipeline] withDockerContainer [2022-05-03T04:17:12.734Z] prd-ubuntu20.04-docker-arm64-4c-16g-40298 does not seem to be running inside a container [2022-05-03T04:17:12.844Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/35 -v /w/workspace/device-rest-go/35:/w/workspace/device-rest-go/35:rw,z -v /w/workspace/device-rest-go/35@tmp:/w/workspace/device-rest-go/35@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-05-03T04:17:15.692Z] $ docker top c6e3971bb8609332f41ecfa243f275d9923b7e6f03313c4f8af0e013d94415f3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-03T04:17:16.634Z] + make test [2022-05-03T04:17:16.634Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-03T04:17:18.653Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-03T04:18:55.609Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-03T04:18:55.884Z] ok github.com/edgexfoundry/device-rest-go/driver 0.081s coverage: 55.2% of statements [2022-05-03T04:18:56.485Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-03T04:18:56.485Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-03T04:19:28.942Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-03T04:19:28.942Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-03T04:19:28.942Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-03T04:19:32.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-03T04:19:32.393Z] $ docker stop --time=1 c6e3971bb8609332f41ecfa243f275d9923b7e6f03313c4f8af0e013d94415f3 [2022-05-03T04:19:34.186Z] $ docker rm -f c6e3971bb8609332f41ecfa243f275d9923b7e6f03313c4f8af0e013d94415f3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T04:19:35.232Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-03T04:19:35.261Z] Warning: overwriting stash ‘coverage-report’ [2022-05-03T04:19:35.930Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-03T04:19:36.353Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-03T04:19:36.718Z] + ls -al . [2022-05-03T04:19:36.718Z] total 168 [2022-05-03T04:19:36.718Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:19 . [2022-05-03T04:19:36.718Z] drwxrwxr-x 4 jenkins jenkins 4096 May 3 04:15 .. [2022-05-03T04:19:36.718Z] -rw-rw-r-- 1 jenkins jenkins 151 May 3 04:15 .dockerignore [2022-05-03T04:19:36.718Z] drwxrwxr-x 8 jenkins jenkins 4096 May 3 04:15 .git [2022-05-03T04:19:36.719Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 .github [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 329 May 3 04:15 .gitignore [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 41 May 3 04:15 .golangci.yml [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 3 04:15 Attribution.txt [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 3 04:15 CHANGELOG.md [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 3 04:15 Dockerfile [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 677 May 3 04:15 GOVERNANCE.md [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 680 May 3 04:15 Jenkinsfile [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 3 04:15 LICENSE [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 3 04:15 Makefile [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 620 May 3 04:15 OWNERS.md [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 8246 May 3 04:15 README.md [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 12 May 3 03:44 VERSION [2022-05-03T04:19:36.719Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 bin [2022-05-03T04:19:36.719Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 cmd [2022-05-03T04:19:36.719Z] -rw-r--r-- 1 jenkins jenkins 9355 May 3 04:18 coverage.out [2022-05-03T04:19:36.719Z] drwxrwxr-x 2 jenkins jenkins 4096 May 3 04:15 driver [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 3 04:15 go.mod [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 35259 May 3 04:15 go.sum [2022-05-03T04:19:36.719Z] drwxrwxr-x 3 jenkins jenkins 4096 May 3 04:15 snap [2022-05-03T04:19:36.719Z] -rw-rw-r-- 1 jenkins jenkins 713 May 3 04:15 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:19:37.137Z] + 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=f0689e2451660e374e54247122f91e779ddae9a5 --label arch=arm64 --label version=2.2.0-dev.13 . [2022-05-03T04:19:37.137Z] Sending build context to Docker daemon 140.3kB [2022-05-03T04:19:37.466Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-03T04:19:37.466Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-03T04:19:37.466Z] ---> 4f672cdc7665 [2022-05-03T04:19:37.466Z] Step 3/25 : ARG MAKE='make build' [2022-05-03T04:19:37.768Z] ---> Running in 81d57f45962b [2022-05-03T04:19:38.071Z] Removing intermediate container 81d57f45962b [2022-05-03T04:19:38.071Z] ---> e1579ad72432 [2022-05-03T04:19:38.071Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-03T04:19:38.071Z] ---> Running in 99b68cdc1ee8 [2022-05-03T04:19:38.355Z] Removing intermediate container 99b68cdc1ee8 [2022-05-03T04:19:38.355Z] ---> f2dc508c8943 [2022-05-03T04:19:38.355Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-03T04:19:38.636Z] ---> Running in a7f151adbdc3 [2022-05-03T04:19:38.908Z] Removing intermediate container a7f151adbdc3 [2022-05-03T04:19:38.908Z] ---> d93e2ea196dc [2022-05-03T04:19:38.908Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-03T04:19:38.908Z] ---> Running in 7896b38cfb6a [2022-05-03T04:19:40.877Z] Removing intermediate container 7896b38cfb6a [2022-05-03T04:19:40.877Z] ---> 76cce8e4a7af [2022-05-03T04:19:40.877Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-03T04:19:40.877Z] ---> Running in f8f2f344e812 [2022-05-03T04:19:41.856Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:19:42.833Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:19:43.803Z] OK: 224 MiB in 56 packages [2022-05-03T04:19:44.395Z] Removing intermediate container f8f2f344e812 [2022-05-03T04:19:44.395Z] ---> c58292dffab9 [2022-05-03T04:19:44.395Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-03T04:19:44.666Z] ---> Running in c966ee8f2192 [2022-05-03T04:19:44.939Z] Removing intermediate container c966ee8f2192 [2022-05-03T04:19:44.939Z] ---> 0e47d038e2cc [2022-05-03T04:19:44.939Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-03T04:19:45.532Z] ---> 33e2673072b6 [2022-05-03T04:19:45.532Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-03T04:19:45.532Z] ---> Running in 0c736c53b064 [2022-05-03T04:19:47.501Z] Removing intermediate container 0c736c53b064 [2022-05-03T04:19:47.501Z] ---> 5829d7631790 [2022-05-03T04:19:47.501Z] Step 11/25 : COPY . . [2022-05-03T04:19:48.100Z] ---> 427dbeec3406 [2022-05-03T04:19:48.100Z] Step 12/25 : RUN $MAKE [2022-05-03T04:19:48.100Z] ---> Running in 3352938fd1b8 [2022-05-03T04:19:49.072Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.0-dev.13" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-05-03T04:22:26.018Z] Removing intermediate container 3352938fd1b8 [2022-05-03T04:22:26.018Z] ---> ea606cac08eb [2022-05-03T04:22:26.018Z] Step 13/25 : FROM alpine:3.14 [2022-05-03T04:22:26.018Z] 3.14: Pulling from library/alpine [2022-05-03T04:22:26.018Z] 455c02918c45: Pulling fs layer [2022-05-03T04:22:26.018Z] 455c02918c45: Verifying Checksum [2022-05-03T04:22:26.018Z] 455c02918c45: Download complete [2022-05-03T04:22:26.018Z] 455c02918c45: Pull complete [2022-05-03T04:22:26.018Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-03T04:22:26.018Z] Status: Downloaded newer image for alpine:3.14 [2022-05-03T04:22:26.018Z] ---> ac73e934f311 [2022-05-03T04:22:26.018Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-03T04:22:26.018Z] ---> Running in 92214ba0b227 [2022-05-03T04:22:26.018Z] Removing intermediate container 92214ba0b227 [2022-05-03T04:22:26.018Z] ---> a89769dd656e [2022-05-03T04:22:26.018Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-03T04:22:26.018Z] ---> Running in 58ffde22c5dd [2022-05-03T04:22:26.018Z] Removing intermediate container 58ffde22c5dd [2022-05-03T04:22:26.018Z] ---> 6b2d6d45dc4a [2022-05-03T04:22:26.018Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-03T04:22:26.018Z] ---> Running in 886ef5b912a6 [2022-05-03T04:22:26.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-03T04:22:26.018Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-03T04:22:26.018Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-03T04:22:26.018Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-03T04:22:26.018Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-03T04:22:26.018Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-03T04:22:26.018Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-03T04:22:26.018Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-03T04:22:26.018Z] Executing busybox-1.33.1-r7.trigger [2022-05-03T04:22:26.018Z] OK: 8 MiB in 20 packages [2022-05-03T04:22:26.018Z] Removing intermediate container 886ef5b912a6 [2022-05-03T04:22:26.018Z] ---> 08c6f1b233e3 [2022-05-03T04:22:26.018Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-03T04:22:26.018Z] ---> e24be1d2de19 [2022-05-03T04:22:26.018Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-03T04:22:26.018Z] ---> ed6833d03bff [2022-05-03T04:22:26.018Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-03T04:22:26.018Z] ---> 481f56286a1a [2022-05-03T04:22:26.018Z] Step 20/25 : EXPOSE 59986 [2022-05-03T04:22:26.018Z] ---> Running in 5b6764c78062 [2022-05-03T04:22:26.018Z] Removing intermediate container 5b6764c78062 [2022-05-03T04:22:26.018Z] ---> a487c0c5eeb7 [2022-05-03T04:22:26.018Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-03T04:22:26.018Z] ---> Running in 268b31ae0cd7 [2022-05-03T04:22:26.018Z] Removing intermediate container 268b31ae0cd7 [2022-05-03T04:22:26.018Z] ---> a383c864a70e [2022-05-03T04:22:26.018Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-03T04:22:26.018Z] ---> Running in 6d244eeb554a [2022-05-03T04:22:26.019Z] Removing intermediate container 6d244eeb554a [2022-05-03T04:22:26.019Z] ---> 2d51ef99095f [2022-05-03T04:22:26.019Z] Step 23/25 : LABEL arch=arm64 [2022-05-03T04:22:26.019Z] ---> Running in 00b0923d9c8a [2022-05-03T04:22:26.019Z] Removing intermediate container 00b0923d9c8a [2022-05-03T04:22:26.019Z] ---> 1f72cfc57d62 [2022-05-03T04:22:26.019Z] Step 24/25 : LABEL git_sha=f0689e2451660e374e54247122f91e779ddae9a5 [2022-05-03T04:22:26.294Z] ---> Running in e656c80b3c9c [2022-05-03T04:22:26.571Z] Removing intermediate container e656c80b3c9c [2022-05-03T04:22:26.571Z] ---> 859e3401fa18 [2022-05-03T04:22:26.571Z] Step 25/25 : LABEL version=2.2.0-dev.13 [2022-05-03T04:22:26.571Z] ---> Running in 01bac85b1164 [2022-05-03T04:22:26.842Z] Removing intermediate container 01bac85b1164 [2022-05-03T04:22:26.842Z] ---> 042751b18cc7 [2022-05-03T04:22:26.842Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-03T04:22:26.842Z] Successfully built 042751b18cc7 [2022-05-03T04:22:26.842Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:22:26.954Z] provisioning config files... [2022-05-03T04:22:26.971Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/35@tmp/config488094221088760303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:22:27.324Z] ---> docker-login.sh [2022-05-03T04:22:27.324Z] nexus3.edgexfoundry.org:10001 [2022-05-03T04:22:27.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:27.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:27.598Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:27.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:27.598Z] [2022-05-03T04:22:27.598Z] Login Succeeded [2022-05-03T04:22:27.598Z] nexus3.edgexfoundry.org:10002 [2022-05-03T04:22:28.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:28.191Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:28.191Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:28.191Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:28.191Z] [2022-05-03T04:22:28.191Z] Login Succeeded [2022-05-03T04:22:28.191Z] nexus3.edgexfoundry.org:10003 [2022-05-03T04:22:28.461Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:28.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:28.734Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:28.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:28.734Z] [2022-05-03T04:22:28.734Z] Login Succeeded [2022-05-03T04:22:28.734Z] nexus3.edgexfoundry.org:10004 [2022-05-03T04:22:29.005Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:29.279Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:29.279Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:29.279Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:29.279Z] [2022-05-03T04:22:29.279Z] Login Succeeded [2022-05-03T04:22:29.279Z] docker.io [2022-05-03T04:22:29.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-03T04:22:29.826Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-03T04:22:29.826Z] Configure a credential helper to remove this warning. See [2022-05-03T04:22:29.826Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-03T04:22:29.826Z] [2022-05-03T04:22:30.099Z] Login Succeeded [2022-05-03T04:22:30.100Z] ---> docker-login.sh ends [Pipeline] } [2022-05-03T04:22:30.115Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T04:22:30.149Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-03T04:22:30.177Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-05-03T04:22:30.177Z] f0689e2451660e374e54247122f91e779ddae9a5 [2022-05-03T04:22:30.177Z] latest [2022-05-03T04:22:30.177Z] 2.2.0-dev.13 [2022-05-03T04:22:30.177Z] f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [2022-05-03T04:22:30.177Z] main [2022-05-03T04:22:30.177Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:30.547Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:30.905Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5 [2022-05-03T04:22:30.905Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-03T04:22:30.906Z] c79c9207b492: Preparing [2022-05-03T04:22:30.906Z] 76e1227fe68e: Preparing [2022-05-03T04:22:30.906Z] 1ab662e1bc43: Preparing [2022-05-03T04:22:30.906Z] e612560385b9: Preparing [2022-05-03T04:22:30.906Z] f73e7dbfee58: Preparing [2022-05-03T04:22:30.906Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:31.198Z] 76e1227fe68e: Pushed [2022-05-03T04:22:31.198Z] c79c9207b492: Pushed [2022-05-03T04:22:31.797Z] e612560385b9: Pushed [2022-05-03T04:22:38.489Z] 1ab662e1bc43: Pushed [2022-05-03T04:22:38.489Z] f0689e2451660e374e54247122f91e779ddae9a5: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:38.836Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:39.176Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-03T04:22:39.176Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-03T04:22:39.176Z] c79c9207b492: Preparing [2022-05-03T04:22:39.176Z] 76e1227fe68e: Preparing [2022-05-03T04:22:39.176Z] 1ab662e1bc43: Preparing [2022-05-03T04:22:39.176Z] e612560385b9: Preparing [2022-05-03T04:22:39.176Z] f73e7dbfee58: Preparing [2022-05-03T04:22:39.176Z] 76e1227fe68e: Layer already exists [2022-05-03T04:22:39.176Z] c79c9207b492: Layer already exists [2022-05-03T04:22:39.176Z] 1ab662e1bc43: Layer already exists [2022-05-03T04:22:39.176Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:39.176Z] e612560385b9: Layer already exists [2022-05-03T04:22:39.448Z] latest: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:39.799Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:40.145Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.13 [2022-05-03T04:22:40.145Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-03T04:22:40.145Z] c79c9207b492: Preparing [2022-05-03T04:22:40.145Z] 76e1227fe68e: Preparing [2022-05-03T04:22:40.145Z] 1ab662e1bc43: Preparing [2022-05-03T04:22:40.145Z] e612560385b9: Preparing [2022-05-03T04:22:40.145Z] f73e7dbfee58: Preparing [2022-05-03T04:22:40.145Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:40.145Z] c79c9207b492: Layer already exists [2022-05-03T04:22:40.145Z] 1ab662e1bc43: Layer already exists [2022-05-03T04:22:40.145Z] e612560385b9: Layer already exists [2022-05-03T04:22:40.145Z] 76e1227fe68e: Layer already exists [2022-05-03T04:22:40.417Z] 2.2.0-dev.13: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:40.775Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:41.118Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [2022-05-03T04:22:41.119Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-03T04:22:41.119Z] c79c9207b492: Preparing [2022-05-03T04:22:41.119Z] 76e1227fe68e: Preparing [2022-05-03T04:22:41.119Z] 1ab662e1bc43: Preparing [2022-05-03T04:22:41.119Z] e612560385b9: Preparing [2022-05-03T04:22:41.119Z] f73e7dbfee58: Preparing [2022-05-03T04:22:41.119Z] c79c9207b492: Layer already exists [2022-05-03T04:22:41.119Z] 76e1227fe68e: Layer already exists [2022-05-03T04:22:41.119Z] 1ab662e1bc43: Layer already exists [2022-05-03T04:22:41.119Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:41.119Z] e612560385b9: Layer already exists [2022-05-03T04:22:41.392Z] f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:41.740Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:42.088Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-05-03T04:22:42.088Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-05-03T04:22:42.088Z] c79c9207b492: Preparing [2022-05-03T04:22:42.088Z] 76e1227fe68e: Preparing [2022-05-03T04:22:42.088Z] 1ab662e1bc43: Preparing [2022-05-03T04:22:42.088Z] e612560385b9: Preparing [2022-05-03T04:22:42.088Z] f73e7dbfee58: Preparing [2022-05-03T04:22:42.365Z] c79c9207b492: Layer already exists [2022-05-03T04:22:42.365Z] 1ab662e1bc43: Layer already exists [2022-05-03T04:22:42.365Z] f73e7dbfee58: Layer already exists [2022-05-03T04:22:42.365Z] 76e1227fe68e: Layer already exists [2022-05-03T04:22:42.365Z] e612560385b9: Layer already exists [2022-05-03T04:22:42.365Z] main: digest: sha256:5872df5874941340565469e62cd599d1813c3bed4dcb17af1a58fc1efbac8fc7 size: 1366 [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-05-03T04:22:42.409Z] ===================================================== [Pipeline] echo [2022-05-03T04:22:42.418Z] taggedImages: [2022-05-03T04:22:42.418Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5 [2022-05-03T04:22:42.418Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-05-03T04:22:42.418Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.0-dev.13 [2022-05-03T04:22:42.418Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:f0689e2451660e374e54247122f91e779ddae9a5-2.2.0-dev.13 [2022-05-03T04:22:42.418Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:42.797Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:22:42.797Z] [2022-05-03T04:22:42.797Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:22:43.152Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:22:43.427Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-03T04:22:43.427Z] 8998bd30e6a1: Pulling fs layer [2022-05-03T04:22:43.427Z] 04944245beec: Pulling fs layer [2022-05-03T04:22:43.427Z] 699f458cf7ca: Pulling fs layer [2022-05-03T04:22:43.427Z] 765212b225bb: Pulling fs layer [2022-05-03T04:22:43.427Z] f23df028b6ca: Pulling fs layer [2022-05-03T04:22:43.427Z] d65c8cfc05b1: Pulling fs layer [2022-05-03T04:22:43.427Z] 2437ff75d9bd: Pulling fs layer [2022-05-03T04:22:43.427Z] f23df028b6ca: Waiting [2022-05-03T04:22:43.427Z] d65c8cfc05b1: Waiting [2022-05-03T04:22:43.427Z] 2437ff75d9bd: Waiting [2022-05-03T04:22:43.427Z] 765212b225bb: Waiting [2022-05-03T04:22:43.427Z] 04944245beec: Verifying Checksum [2022-05-03T04:22:43.427Z] 04944245beec: Download complete [2022-05-03T04:22:43.427Z] 765212b225bb: Download complete [2022-05-03T04:22:43.427Z] f23df028b6ca: Verifying Checksum [2022-05-03T04:22:43.427Z] f23df028b6ca: Download complete [2022-05-03T04:22:43.427Z] d65c8cfc05b1: Verifying Checksum [2022-05-03T04:22:43.427Z] d65c8cfc05b1: Download complete [2022-05-03T04:22:43.703Z] 699f458cf7ca: Verifying Checksum [2022-05-03T04:22:43.703Z] 699f458cf7ca: Download complete [2022-05-03T04:22:44.305Z] 8998bd30e6a1: Verifying Checksum [2022-05-03T04:22:44.305Z] 8998bd30e6a1: Download complete [2022-05-03T04:22:46.300Z] 2437ff75d9bd: Verifying Checksum [2022-05-03T04:22:46.300Z] 2437ff75d9bd: Download complete [2022-05-03T04:22:48.971Z] 8998bd30e6a1: Pull complete [2022-05-03T04:22:50.048Z] 04944245beec: Pull complete [2022-05-03T04:22:51.488Z] 699f458cf7ca: Pull complete [2022-05-03T04:22:51.765Z] 765212b225bb: Pull complete [2022-05-03T04:22:52.752Z] f23df028b6ca: Pull complete [2022-05-03T04:22:53.031Z] d65c8cfc05b1: Pull complete [2022-05-03T04:23:11.365Z] 2437ff75d9bd: Pull complete [2022-05-03T04:23:11.365Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-03T04:23:11.365Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-03T04:23:11.365Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-03T04:23:11.638Z] prd-ubuntu20.04-docker-arm64-4c-16g-40298 does not seem to be running inside a container [2022-05-03T04:23:11.743Z] $ 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/35 -v /w/workspace/device-rest-go/35:/w/workspace/device-rest-go/35:rw,z -v /w/workspace/device-rest-go/35@tmp:/w/workspace/device-rest-go/35@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-05-03T04:23:14.801Z] $ docker top e88149e3872e6e4dea89a4a39742bfec9829f321bc1579d8d9ad4ad546e290a5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:15.707Z] ---> job-cost.sh [2022-05-03T04:23:15.707Z] lf-activate-venv: SKIPPING [2022-05-03T04:23:15.707Z] INFO: No Stack... [2022-05-03T04:23:15.978Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-03T04:23:16.953Z] INFO: Archiving Costs [Pipeline] sh [2022-05-03T04:23:17.622Z] + + cut -d, -f6 [2022-05-03T04:23:17.622Z] cat /w/workspace/device-rest-go/35/archives/cost.csv [Pipeline] lock [2022-05-03T04:23:17.700Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [2022-05-03T04:23:17.709Z] Resource [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] did not exist. Created. [2022-05-03T04:23:17.709Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T04:23:18.402Z] /w/workspace/device-rest-go/35@tmp/durable-d7c80f39/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-03T04:23:19.084Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-03T04:23:19.114Z] Warning: overwriting stash ‘stack-cost’ [2022-05-03T04:23:19.159Z] Stashed 1 file(s) [Pipeline] } [2022-05-03T04:23:19.165Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-35-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-03T04:23:19.196Z] $ docker stop --time=1 e88149e3872e6e4dea89a4a39742bfec9829f321bc1579d8d9ad4ad546e290a5 [2022-05-03T04:23:20.710Z] $ docker rm -f e88149e3872e6e4dea89a4a39742bfec9829f321bc1579d8d9ad4ad546e290a5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-05-03T04:23:21.122Z] provisioning config files... [2022-05-03T04:23:21.131Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1583725960846778927tmp [Pipeline] { [Pipeline] sh [2022-05-03T04:23:21.429Z] + set +x [2022-05-03T04:23:21.429Z] + curl -s https://codecov.io/bash [2022-05-03T04:23:21.429Z] + bash -s -- [2022-05-03T04:23:21.429Z] [2022-05-03T04:23:21.429Z] _____ _ [2022-05-03T04:23:21.429Z] / ____| | | [2022-05-03T04:23:21.429Z] | | ___ __| | ___ ___ _____ __ [2022-05-03T04:23:21.429Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-03T04:23:21.429Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-03T04:23:21.429Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-03T04:23:21.429Z] Bash-1.0.6 [2022-05-03T04:23:21.429Z] [2022-05-03T04:23:21.429Z] [2022-05-03T04:23:21.429Z] ==> git version 2.25.1 found [2022-05-03T04:23:21.429Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-03T04:23:21.429Z] Release-Date: 2020-01-08 [2022-05-03T04:23:21.429Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-03T04:23:21.429Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-03T04:23:21.429Z] ==> Jenkins CI detected. [2022-05-03T04:23:21.429Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-05-03T04:23:21.429Z] project root: . [2022-05-03T04:23:21.429Z] --> token set from env [2022-05-03T04:23:21.429Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-03T04:23:21.429Z] ==> Running gcov in . (disable via -X gcov) [2022-05-03T04:23:21.429Z] ==> Python coveragepy not found [2022-05-03T04:23:21.429Z] ==> Searching for coverage reports in: [2022-05-03T04:23:21.429Z] + . [2022-05-03T04:23:21.429Z] -> Found 1 reports [2022-05-03T04:23:21.430Z] ==> Detecting git/mercurial file structure [2022-05-03T04:23:21.430Z] ==> Reading reports [2022-05-03T04:23:21.430Z] + ./coverage.out bytes=9355 [2022-05-03T04:23:21.430Z] ==> Appending adjustments [2022-05-03T04:23:21.430Z] https://docs.codecov.io/docs/fixing-reports [2022-05-03T04:23:21.430Z] + Found adjustments [2022-05-03T04:23:21.430Z] ==> Gzipping contents [2022-05-03T04:23:21.430Z] 4.0K /tmp/codecov.DfbRP6.gz [2022-05-03T04:23:21.430Z] ==> Uploading reports [2022-05-03T04:23:21.430Z] url: https://codecov.io [2022-05-03T04:23:21.430Z] query: branch=main&commit=f0689e2451660e374e54247122f91e779ddae9a5&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-03T04:23:21.430Z] -> Pinging Codecov [2022-05-03T04:23:21.430Z] 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=f0689e2451660e374e54247122f91e779ddae9a5&build=35&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F35%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-05-03T04:23:21.996Z] -> Uploading to [2022-05-03T04:23:21.997Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-03/4E5D53B4F1F92C436F7061BF334D961C/f0689e2451660e374e54247122f91e779ddae9a5/b2da9467-47ca-4b55-b4f0-3d8b24c876b4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220503T042321Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38caa21472d82ae5cf8e819488f488d33342f6391e5a29621aae952f9464e92a [2022-05-03T04:23:21.997Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-03T04:23:21.997Z] Dload Upload Total Spent Left Speed [2022-05-03T04:23:21.997Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7921 --:--:-- --:--:-- --:--:-- 7921 [2022-05-03T04:23:21.997Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] } [2022-05-03T04:23:22.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-05-03T04:23:22.279Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-05-03T04:23:22.287Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:22.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-03T04:23:22.581Z] [2022-05-03T04:23:22.581Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:22.884Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-03T04:23:22.884Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-05-03T04:23:22.884Z] 188c0c94c7c5: Pulling fs layer [2022-05-03T04:23:22.884Z] 0ef7d3d256c8: Pulling fs layer [2022-05-03T04:23:22.884Z] de9db76c5a1d: Pulling fs layer [2022-05-03T04:23:22.884Z] 0eba1c9be4d2: Pulling fs layer [2022-05-03T04:23:22.884Z] 0d57e429df01: Pulling fs layer [2022-05-03T04:23:22.884Z] 4e4be7b47b0d: Pulling fs layer [2022-05-03T04:23:22.884Z] e1f770b5df2f: Pulling fs layer [2022-05-03T04:23:22.884Z] 85a0685a4137: Pulling fs layer [2022-05-03T04:23:22.884Z] 0d57e429df01: Waiting [2022-05-03T04:23:22.884Z] 4e4be7b47b0d: Waiting [2022-05-03T04:23:22.884Z] e1f770b5df2f: Waiting [2022-05-03T04:23:22.884Z] 85a0685a4137: Waiting [2022-05-03T04:23:22.884Z] 0eba1c9be4d2: Waiting [2022-05-03T04:23:22.884Z] de9db76c5a1d: Download complete [2022-05-03T04:23:22.884Z] 0ef7d3d256c8: Verifying Checksum [2022-05-03T04:23:22.884Z] 0d57e429df01: Verifying Checksum [2022-05-03T04:23:22.884Z] 0d57e429df01: Download complete [2022-05-03T04:23:22.884Z] 4e4be7b47b0d: Verifying Checksum [2022-05-03T04:23:22.884Z] 4e4be7b47b0d: Download complete [2022-05-03T04:23:22.884Z] 188c0c94c7c5: Verifying Checksum [2022-05-03T04:23:22.884Z] 188c0c94c7c5: Download complete [2022-05-03T04:23:23.146Z] e1f770b5df2f: Verifying Checksum [2022-05-03T04:23:23.146Z] e1f770b5df2f: Download complete [2022-05-03T04:23:23.146Z] 188c0c94c7c5: Pull complete [2022-05-03T04:23:23.146Z] 0ef7d3d256c8: Pull complete [2022-05-03T04:23:23.146Z] de9db76c5a1d: Pull complete [2022-05-03T04:23:23.724Z] 0eba1c9be4d2: Verifying Checksum [2022-05-03T04:23:23.724Z] 0eba1c9be4d2: Download complete [2022-05-03T04:23:23.984Z] 85a0685a4137: Verifying Checksum [2022-05-03T04:23:23.984Z] 85a0685a4137: Download complete [2022-05-03T04:23:27.282Z] 0eba1c9be4d2: Pull complete [2022-05-03T04:23:27.282Z] 0d57e429df01: Pull complete [2022-05-03T04:23:27.282Z] 4e4be7b47b0d: Pull complete [2022-05-03T04:23:27.282Z] e1f770b5df2f: Pull complete [2022-05-03T04:23:30.568Z] 85a0685a4137: Pull complete [2022-05-03T04:23:30.568Z] Digest: sha256:7aa73c779e74679b54b21640a8329a5861c746bf05893e799573cda644736c06 [2022-05-03T04:23:30.568Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-05-03T04:23:30.568Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] withDockerContainer [2022-05-03T04:23:30.630Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T04:23:30.666Z] $ 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-05-03T04:23:32.441Z] $ docker top 1a73849bd7c91265affc6b72ed752d01bec787dedc07b50852d9b7c266a975f8 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-05-03T04:23:32.511Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins [Pipeline] sh [2022-05-03T04:23:32.788Z] + set -o pipefail [2022-05-03T04:23:32.788Z] + snyk monitor '--org=edgex-jenkins' [2022-05-03T04:23:38.128Z] [2022-05-03T04:23:38.128Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-05-03T04:23:38.128Z] [2022-05-03T04:23:38.128Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/100cb2ad-363b-48d6-95bb-098d49e3156b/history/5a333732-a2a5-46eb-a96f-2e57c6c15901 [2022-05-03T04:23:38.128Z] [2022-05-03T04:23:38.128Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-05-03T04:23:38.128Z] [2022-05-03T04:23:38.128Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-05-03T04:23:38.128Z] [2022-05-03T04:23:38.128Z] [Pipeline] } [2022-05-03T04:23:38.142Z] $ docker stop --time=1 1a73849bd7c91265affc6b72ed752d01bec787dedc07b50852d9b7c266a975f8 [2022-05-03T04:23:40.166Z] $ docker rm -f 1a73849bd7c91265affc6b72ed752d01bec787dedc07b50852d9b7c266a975f8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-03T04:23:40.930Z] + git log --format=format:%s -1 f0689e2451660e374e54247122f91e779ddae9a5 [Pipeline] sh [2022-05-03T04:23:41.222Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:23:41.223Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:41.513Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:23:41.513Z] . [Pipeline] withDockerContainer [2022-05-03T04:23:41.579Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T04:23:41.609Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-03T04:23:41.997Z] $ docker top 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:23:42.096Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:23:42.096Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:23:42.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:23:42.219Z] $ docker exec 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade ssh-agent [2022-05-03T04:23:42.334Z] SSH_AUTH_SOCK=/tmp/ssh-9x9JQhWUuauS/agent.33 [2022-05-03T04:23:42.334Z] SSH_AGENT_PID=39 [2022-05-03T04:23:42.340Z] Running ssh-add (command line suppressed) [2022-05-03T04:23:42.461Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4358601021017092586.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4358601021017092586.key) [2022-05-03T04:23:42.475Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:23:42.765Z] + git semver tag [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,004 [run_tag] DEBUG tag force:False [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,005 [check_head_tag] DEBUG check head tag [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,006 [execute] INFO git cat-file --batch-check [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,006 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,009 [execute] INFO git cat-file --batch [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,010 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,022 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,022 [execute] INFO git tag -a v2.2.0-dev.13 -m v2.2.0-dev.13 [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,022 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.0-dev.13', '-m', 'v2.2.0-dev.13'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-03T04:23:43.031Z] 2022-05-03 04:23:43,027 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-03T04:23:43.031Z] 2.2.0-dev.13 [Pipeline] } [2022-05-03T04:23:43.299Z] $ docker exec --env ******** --env ******** 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade ssh-agent -k [2022-05-03T04:23:43.395Z] unset SSH_AUTH_SOCK; [2022-05-03T04:23:43.395Z] unset SSH_AGENT_PID; [2022-05-03T04:23:43.395Z] echo Agent pid 39 killed; [2022-05-03T04:23:43.407Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:23:43.713Z] + git semver [Pipeline] } [2022-05-03T04:23:43.984Z] $ docker stop --time=1 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade [2022-05-03T04:23:45.272Z] $ docker rm -f 5652d83705f7172f902b3061797f9ca934012b4df3f9697bc675dfbfc8386ade [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:45.681Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-03T04:23:45.681Z] [2022-05-03T04:23:45.681Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:23:45.980Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-03T04:23:45.980Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-05-03T04:23:45.980Z] ab5ef0e58194: Pulling fs layer [2022-05-03T04:23:45.980Z] 9712f1f96733: Pulling fs layer [2022-05-03T04:23:45.980Z] 63f879dbbcfc: Pulling fs layer [2022-05-03T04:23:45.980Z] 0d9ebad4ef96: Pulling fs layer [2022-05-03T04:23:45.980Z] e9a5061849ea: Pulling fs layer [2022-05-03T04:23:45.980Z] d747dcd14b5f: Pulling fs layer [2022-05-03T04:23:45.980Z] 2de7ff778b66: Pulling fs layer [2022-05-03T04:23:45.980Z] 0d9ebad4ef96: Waiting [2022-05-03T04:23:45.980Z] e9a5061849ea: Waiting [2022-05-03T04:23:45.980Z] d747dcd14b5f: Waiting [2022-05-03T04:23:45.980Z] 2de7ff778b66: Waiting [2022-05-03T04:23:45.980Z] 9712f1f96733: Verifying Checksum [2022-05-03T04:23:45.980Z] 9712f1f96733: Download complete [2022-05-03T04:23:46.245Z] 63f879dbbcfc: Verifying Checksum [2022-05-03T04:23:46.245Z] 63f879dbbcfc: Download complete [2022-05-03T04:23:46.508Z] e9a5061849ea: Verifying Checksum [2022-05-03T04:23:46.509Z] e9a5061849ea: Download complete [2022-05-03T04:23:46.509Z] d747dcd14b5f: Verifying Checksum [2022-05-03T04:23:46.509Z] d747dcd14b5f: Download complete [2022-05-03T04:23:46.509Z] 0d9ebad4ef96: Verifying Checksum [2022-05-03T04:23:46.509Z] 0d9ebad4ef96: Download complete [2022-05-03T04:23:46.509Z] ab5ef0e58194: Verifying Checksum [2022-05-03T04:23:46.509Z] ab5ef0e58194: Download complete [2022-05-03T04:23:46.509Z] 2de7ff778b66: Verifying Checksum [2022-05-03T04:23:46.509Z] 2de7ff778b66: Download complete [2022-05-03T04:23:49.801Z] ab5ef0e58194: Pull complete [2022-05-03T04:23:49.801Z] 9712f1f96733: Pull complete [2022-05-03T04:23:50.060Z] 63f879dbbcfc: Pull complete [2022-05-03T04:23:54.251Z] 0d9ebad4ef96: Pull complete [2022-05-03T04:23:54.251Z] e9a5061849ea: Pull complete [2022-05-03T04:23:54.251Z] d747dcd14b5f: Pull complete [2022-05-03T04:23:55.187Z] 2de7ff778b66: Pull complete [2022-05-03T04:23:55.187Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-05-03T04:23:55.187Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-05-03T04:23:55.187Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] withDockerContainer [2022-05-03T04:23:55.255Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T04:23:55.287Z] $ 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-05-03T04:23:57.296Z] $ docker top bfa028dd091fcf4bf3e0008dace756f7bce86a059ae26fe05eaadd05bc8cc53e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:23:57.449Z] provisioning config files... [2022-05-03T04:23:57.457Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2197148985667965006tmp [2022-05-03T04:23:57.493Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5332676675198226220tmp [2022-05-03T04:23:57.504Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7882910411729266868tmp [Pipeline] { [Pipeline] echo [2022-05-03T04:23:57.517Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:57.801Z] ---> sigul-configuration.sh [2022-05-03T04:23:57.801Z] gpg: directory `/root/.gnupg' created [2022-05-03T04:23:57.801Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-05-03T04:23:57.801Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-05-03T04:23:57.801Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-05-03T04:23:57.801Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-05-03T04:23:57.801Z] gpg: CAST5 encrypted data [2022-05-03T04:23:57.801Z] gpg: encrypted with 1 passphrase [2022-05-03T04:23:57.801Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-05-03T04:23:58.086Z] + mkdir /home/jenkins [2022-05-03T04:23:58.086Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-05-03T04:23:58.372Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2022-05-03T04:23:58.384Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:23:58.669Z] ---> sigul-install.sh [2022-05-03T04:23:58.669Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-05-03T04:23:58.957Z] + git tag --list [2022-05-03T04:23:58.957Z] v1.0.0 [2022-05-03T04:23:58.957Z] v1.1.0 [2022-05-03T04:23:58.957Z] v1.1.1 [2022-05-03T04:23:58.957Z] v1.1.2 [2022-05-03T04:23:58.957Z] v1.2.0 [2022-05-03T04:23:58.957Z] v1.2.1 [2022-05-03T04:23:58.957Z] v2.0.0 [2022-05-03T04:23:58.957Z] v2.0.1-dev.1 [2022-05-03T04:23:58.957Z] v2.0.1-dev.10 [2022-05-03T04:23:58.957Z] v2.0.1-dev.11 [2022-05-03T04:23:58.957Z] v2.0.1-dev.12 [2022-05-03T04:23:58.957Z] v2.0.1-dev.13 [2022-05-03T04:23:58.957Z] v2.0.1-dev.14 [2022-05-03T04:23:58.957Z] v2.0.1-dev.2 [2022-05-03T04:23:58.957Z] v2.0.1-dev.3 [2022-05-03T04:23:58.957Z] v2.0.1-dev.4 [2022-05-03T04:23:58.957Z] v2.0.1-dev.5 [2022-05-03T04:23:58.957Z] v2.0.1-dev.6 [2022-05-03T04:23:58.957Z] v2.0.1-dev.7 [2022-05-03T04:23:58.957Z] v2.0.1-dev.8 [2022-05-03T04:23:58.957Z] v2.0.1-dev.9 [2022-05-03T04:23:58.957Z] v2.1.0 [2022-05-03T04:23:58.957Z] v2.2.0-dev.1 [2022-05-03T04:23:58.957Z] v2.2.0-dev.10 [2022-05-03T04:23:58.957Z] v2.2.0-dev.11 [2022-05-03T04:23:58.957Z] v2.2.0-dev.12 [2022-05-03T04:23:58.957Z] v2.2.0-dev.13 [2022-05-03T04:23:58.957Z] v2.2.0-dev.2 [2022-05-03T04:23:58.957Z] v2.2.0-dev.3 [2022-05-03T04:23:58.957Z] v2.2.0-dev.4 [2022-05-03T04:23:58.957Z] v2.2.0-dev.5 [2022-05-03T04:23:58.957Z] v2.2.0-dev.6 [2022-05-03T04:23:58.957Z] v2.2.0-dev.7 [2022-05-03T04:23:58.957Z] v2.2.0-dev.8 [2022-05-03T04:23:58.957Z] v2.2.0-dev.9 [Pipeline] sh [2022-05-03T04:23:59.247Z] + lftools sign git-tag v2.2.0-dev.13 [2022-05-03T04:23:59.819Z] Signing Git tag with Sigul... [2022-05-03T04:23:59.819Z] Signing v2.2.0-dev.13 [Pipeline] echo [2022-05-03T04:24:00.397Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:00.681Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-05-03T04:24:00.688Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-05-03T04:24:00.704Z] $ docker stop --time=1 bfa028dd091fcf4bf3e0008dace756f7bce86a059ae26fe05eaadd05bc8cc53e [2022-05-03T04:24:01.998Z] $ docker rm -f bfa028dd091fcf4bf3e0008dace756f7bce86a059ae26fe05eaadd05bc8cc53e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-05-03T04:24:02.424Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:24:02.425Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:24:02.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:24:02.718Z] . [Pipeline] withDockerContainer [2022-05-03T04:24:02.788Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T04:24:02.827Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-03T04:24:03.193Z] $ docker top 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:24:03.291Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:24:03.291Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:24:03.404Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:24:03.407Z] $ docker exec 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 ssh-agent [2022-05-03T04:24:03.519Z] SSH_AUTH_SOCK=/tmp/ssh-4bE9GDQHm1EK/agent.33 [2022-05-03T04:24:03.519Z] SSH_AGENT_PID=39 [2022-05-03T04:24:03.524Z] Running ssh-add (command line suppressed) [2022-05-03T04:24:03.632Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1311586803624920406.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1311586803624920406.key) [2022-05-03T04:24:03.646Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:24:04.015Z] + git semver bump pre [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,151 [bump_version] DEBUG bumping version:2.2.0-dev.13 on axis:pre with prefix:dev [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,151 [bump_version] DEBUG bumped version:2.2.0-dev.14 [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,151 [write_version] DEBUG write version:2.2.0-dev.14 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,151 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,151 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,153 [execute] INFO git cat-file --batch-check [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,154 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,160 [execute] INFO git cat-file --batch [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,160 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-05-03T04:24:04.312Z] 2022-05-03 04:24:04,165 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-03T04:24:04.312Z] 2.2.0-dev.14 [Pipeline] } [2022-05-03T04:24:04.330Z] $ docker exec --env ******** --env ******** 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 ssh-agent -k [2022-05-03T04:24:04.439Z] unset SSH_AUTH_SOCK; [2022-05-03T04:24:04.439Z] unset SSH_AGENT_PID; [2022-05-03T04:24:04.439Z] echo Agent pid 39 killed; [2022-05-03T04:24:04.449Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:24:04.757Z] + git semver [Pipeline] } [2022-05-03T04:24:05.030Z] $ docker stop --time=1 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 [2022-05-03T04:24:06.303Z] $ docker rm -f 4cf8fb54f95b3b6143b0d74795c6f9416eb6dbaa3d178722d2fadbe68502a845 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-03T04:24:06.663Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-03T04:24:06.663Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:24:06.958Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-03T04:24:06.958Z] . [Pipeline] withDockerContainer [2022-05-03T04:24:07.021Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T04:24:07.054Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-03T04:24:07.482Z] $ docker top 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-03T04:24:07.579Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-03T04:24:07.579Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-03T04:24:07.695Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-03T04:24:07.698Z] $ docker exec 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc ssh-agent [2022-05-03T04:24:07.826Z] SSH_AUTH_SOCK=/tmp/ssh-MfbVHTADcA2p/agent.32 [2022-05-03T04:24:07.826Z] SSH_AGENT_PID=38 [2022-05-03T04:24:07.832Z] Running ssh-add (command line suppressed) [2022-05-03T04:24:07.940Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2596657575052356057.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2596657575052356057.key) [2022-05-03T04:24:07.955Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-03T04:24:08.245Z] + git semver push [2022-05-03T04:24:08.504Z] 2022-05-03 04:24:08,498 [run_push] DEBUG push [2022-05-03T04:24:08.504Z] 2022-05-03 04:24:08,499 [execute] INFO git push origin semver [2022-05-03T04:24:08.504Z] 2022-05-03 04:24:08,499 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-05-03T04:24:09.443Z] 2022-05-03 04:24:09,360 [run_push] DEBUG push all version tags [2022-05-03T04:24:09.443Z] 2022-05-03 04:24:09,361 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-05-03T04:24:09.443Z] 2022-05-03 04:24:09,361 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-05-03T04:24:10.383Z] 2022-05-03 04:24:10,057 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-05-03T04:24:10.383Z] 2.2.0-dev.14 [Pipeline] } [2022-05-03T04:24:10.392Z] $ docker exec --env ******** --env ******** 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc ssh-agent -k [2022-05-03T04:24:10.495Z] unset SSH_AUTH_SOCK; [2022-05-03T04:24:10.495Z] unset SSH_AGENT_PID; [2022-05-03T04:24:10.495Z] echo Agent pid 38 killed; [2022-05-03T04:24:10.507Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-03T04:24:10.813Z] + git semver [Pipeline] } [2022-05-03T04:24:11.398Z] $ docker stop --time=1 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc [2022-05-03T04:24:12.686Z] $ docker rm -f 817740def20c8a1b4d51dcccdc1e07287e1550f1ca24b612b678eec75cc787fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-03T04:24:13.236Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-05-03T04:24:13.236Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-03T04:24:13.236Z] total 16 [2022-05-03T04:24:13.236Z] drwxr-xr-x 3 root root 4096 May 3 03:45 . [2022-05-03T04:24:13.236Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 04:23 .. [2022-05-03T04:24:13.236Z] drwxr-xr-x 2 root root 4096 May 3 03:45 cost [2022-05-03T04:24:13.236Z] -rw-r--r-- 1 root root 84 May 3 03:45 cost.csv [2022-05-03T04:24:13.236Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-03T04:24:13.236Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-05-03T04:24:13.237Z] total 16 [2022-05-03T04:24:13.237Z] drwxr-xr-x 3 jenkins jenkins 4096 May 3 03:45 . [2022-05-03T04:24:13.237Z] drwxrwxr-x 10 jenkins jenkins 4096 May 3 04:23 .. [2022-05-03T04:24:13.237Z] drwxr-xr-x 2 jenkins jenkins 4096 May 3 03:45 cost [2022-05-03T04:24:13.237Z] -rw-r--r-- 1 jenkins jenkins 84 May 3 03:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:13.523Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:14.388Z] ---> package-listing.sh [2022-05-03T04:24:14.388Z] ++ facter osfamily [2022-05-03T04:24:14.388Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-03T04:24:14.647Z] + OS_FAMILY=debian [2022-05-03T04:24:14.647Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-05-03T04:24:14.647Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-03T04:24:14.647Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-03T04:24:14.647Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-03T04:24:14.647Z] + PACKAGES=/tmp/packages_start.txt [2022-05-03T04:24:14.647Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-03T04:24:14.647Z] + PACKAGES=/tmp/packages_end.txt [2022-05-03T04:24:14.647Z] + case "${OS_FAMILY}" in [2022-05-03T04:24:14.647Z] + dpkg -l [2022-05-03T04:24:14.647Z] + grep '^ii' [2022-05-03T04:24:14.647Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-03T04:24:14.647Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-03T04:24:14.647Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-03T04:24:14.647Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-05-03T04:24:14.647Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-05-03T04:24:14.647Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-05-03T04:24:14.659Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-03T04:24:14.936Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-03T04:24:15.489Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-03T04:24:15.489Z] . [Pipeline] withDockerContainer [2022-05-03T04:24:15.549Z] prd-ubuntu20.04-docker-8c-8g-38962 does not seem to be running inside a container [2022-05-03T04:24:15.580Z] $ 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-05-03T04:24:15.804Z] $ docker top 0c3dbb308bae1b7deaf53408a2b0aa24570a04bc56e64fe4f91408e83f6e7679 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-03T04:24:16.155Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-03T04:24:16.441Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-03T04:24:16.727Z] + ls /var/log/sa-host [2022-05-03T04:24:16.727Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-03T04:24:16.812Z] provisioning config files... [2022-05-03T04:24:16.820Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2282662390860286137tmp [Pipeline] { [Pipeline] echo [2022-05-03T04:24:16.832Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:17.116Z] ---> create-netrc.sh [Pipeline] } [2022-05-03T04:24:17.123Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:17.441Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-03T04:24:17.450Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:17.733Z] ---> sudo-logs.sh [2022-05-03T04:24:17.733Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-03T04:24:17.769Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:18.051Z] ---> job-cost.sh [2022-05-03T04:24:18.051Z] lf-activate-venv: SKIPPING [2022-05-03T04:24:18.051Z] DEBUG: total: 0.2199999988079071 [2022-05-03T04:24:18.051Z] INFO: Retrieving Stack Cost... [2022-05-03T04:24:18.621Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-03T04:24:18.880Z] INFO: Archiving Costs [Pipeline] echo [2022-05-03T04:24:18.894Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-03T04:24:19.177Z] ---> logs-deploy.sh [2022-05-03T04:24:19.177Z] lf-activate-venv: SKIPPING [2022-05-03T04:24:19.177Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/35 [2022-05-03T04:24:19.177Z] INFO: archiving workspace using pattern(s): [2022-05-03T04:24:20.115Z] Archives upload complete. [2022-05-03T04:24:20.375Z] INFO: archiving logs to Nexus